Does a Bigger Context Window Mean Better Memory: Understanding Context Windows, Model Memory, and RAG
The Confusion Starts With the Word Memory Imagine giving an AI assistant a large software repository, several months of incident reports, and a complete set of operating procedures. All of it fits inside a million-token context window. It is tempting to say that the model now remembers the repository. That description hides three different mechanisms. The model may already contain general knowledge in its weights. The current request may temporarily expose it to your documents. A retrieval system may also search an external corpus and supply only the most relevant passages. These mechanisms can work together, but they differ in where information lives, how long it lasts, how it is updated
…