You’ve asked an AI to summarize a hundred-page report, only for it to confuse 'Anil Kumar' with 'Anil Sharma' throughout. This isn't just a simple glitch; it's a deep-seated challenge revealing how AI truly understands—and misunderstands—text.
The AI's First Challenge: Identifying Names
At its core,
an AI must first identify a name before it can track it. This process, called Named Entity Recognition (NER), is like giving the AI a highlighter to mark every person, place, and organization. For example, it learns that 'Jawaharlal Nehru' is a person and 'New Delhi' is a location. But the system isn't perfect. Ambiguity is a major hurdle. The name 'Jordan' could be a person or a country, and the AI must rely entirely on surrounding words to guess correctly. When names are very similar, like 'Priya Mehta' and 'Pria Mehta', or when they share common parts, the model can struggle to draw firm boundaries, especially if they appear in similar contexts.
The 'Similar Name' Trap
Human brains are great at telling closely related names apart. We use subtle context: one 'Mr. Khan' is a director, while another is his son and an actor. An AI, however, primarily sees text as a sequence of data. Two names like 'Sanjay Verma' and 'Sanjay Sharma' are, to the model, just highly similar data points. Without clear, distinguishing information ('Sanjay Verma, the CFO,' vs. 'Sanjay Sharma, the auditor'), the AI can easily conflate them. This is because AI models are pattern-matchers, not true comprehenders. If two names consistently appear in discussions about, say, a company's finances, the model might start to merge their identities, treating mentions of one as relevant to the other.
Losing the Plot: Context Window Limits
The problem gets much worse in long documents due to something called the 'context window'—the AI's short-term memory. An AI model can only 'remember' a certain amount of text at any given time. Once you exceed this limit in a very long document, the AI starts to forget what happened in the earlier pages. So, if 'Reena Das' is introduced on page 5, by the time the AI is analyzing a mention of 'Das' on page 85, the original context might be gone. Furthermore, studies show that AI models often struggle with information buried in the middle of a long text, a phenomenon called 'lost in the middle'. The AI pays most attention to the beginning and the end of the document, making details in the middle chapters easy to miss or misattribute.
The Pronoun Puzzle: Coreference Resolution
Beyond recognizing names, AI has to connect pronouns and other references back to the right person. This task is called coreference resolution. In the sentence, 'Mr. Alok Gupta spoke with Mr. Ajay Gupta. He then left the room,' who does 'he' refer to? For a human, it's ambiguous but manageable. For an AI, it's a statistical calculation. In a long legal deposition or corporate report with multiple people having the same last name (e.g., 'Mr. Patel'), the AI can easily link a 'he' or 'she' to the wrong individual. This is a known weakness; a machine learning model might correctly link '[Clinton]' to '[Mr. Clinton]' but fail to make the transitive link to '[the president]' later in the text. Each ambiguous reference is a chance for the AI to make a mistake, and these errors accumulate over hundreds of pages.
The Data It's Trained On Matters
Finally, an AI's performance is heavily dependent on the data it was trained on. If a model has seen billions of words from news articles, it will be very good at recognizing globally famous names. However, it may be less accurate with names that are common in a specific region or culture but less represented in its training data. Research shows that models perform poorly on less popular or 'long tail' entities. If an AI hasn't seen many examples of how certain Indian names are structured or abbreviated, its ability to distinguish between them will be weaker. This isn't a malicious bias, but a statistical one—the model is simply less familiar with the patterns.
















