López et al. 2025 argue that simply feeding long documents into ever-larger context windows is unreliable, since LLM reasoning degrades as input length grows, which motivates selective retrieval of query-relevant content instead.
The cited text states that LLM performance degrades on reasoning tasks as input length increases even on models with large context windows, and that RAG addresses this by retrieving and appending query-relevant information.
Written by Kimi K3 via Ollama Cloud · checked by GLM-5.3 via Ollama Cloud · 3 Oct, 04:37
Source chain
AEvery quote below was checked, without a model, to appear verbatim in its source.
- 01
“LLM performance has been shown to degrade on reasoning tasks as input length increases, even on models with large context windows”
Full-text passage · no page number · evidence E15
Naive approaches like truncation or selecting only documents that fit within the context window risk excluding valuable information4,39,41. Dividing a note into smaller chunks with adjoining strides can address context window limits but still requires multiple LLM queries per patient, which can be computationally expensive. In addition, LLM performance has been shown to degrade on reasoning tasks as input length increases, even on models with large context windows42–45, suggesting that inputting long EHR excerpts containing extraneous information can reduce performance. Retrieval-augmented generation (RAG) attempts to address this limitation by retrieving and appending query-relevant information to the input context. The retriever typically uses an encoder model to represent both the query and reference information in embedding space and retrieve information whose embeddings are close to that of the query46. Some RAG workflows embed small chunks of text that can fit within the model’s context window and store those embeddings in a database for downstream retrieval.
Passage read from www.ebi.ac.uk, which may be a preprint rather than the published version.