Large language models (LLMs) like ChatGPT and Claude have a "context window," which functions as their short-term memory, determining how much text they can process at once. This window is measured in tokens, not words, and when it fills up, older information is discarded, leading to the model "forgetting" previous parts of a conversation or document. This limitation is a primary cause of "hallucinations," where LLMs generate false or made-up information, often by misremembering details from the middle of a long context, silently summarizing older parts of a chat, or confusing information across multiple documents. AI
IMPACT Understanding context window limitations is crucial for developers building LLM applications, as it directly impacts reliability and can lead to model hallucinations.
RANK_REASON The item explains a core concept of LLMs (context windows) and their impact on model behavior (hallucinations), rather than announcing a new model or research finding.
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →