Lost in the Evidence? Reproducing Document Position and Context Size Effects in RAG
| UDC.coleccion | Investigación | |
| UDC.conferenceTitle | SIGIR 2026 | |
| UDC.departamento | Ciencias da Computación e Tecnoloxías da Información | |
| UDC.endPage | 2910 | |
| UDC.grupoInv | Information Retrieval Lab (IRlab) | |
| UDC.institutoCentro | CITIC - Centro de Investigación de Tecnoloxías da Información e da Comunicación | |
| UDC.startPage | 2901 | |
| dc.contributor.author | Gabín, Jorge | |
| dc.contributor.author | Pérez, Anxo | |
| dc.contributor.author | Parapar, Javier | |
| dc.date.accessioned | 2026-08-25T08:13:16Z | |
| dc.date.available | 2026-08-25T08:13:16Z | |
| dc.date.issued | 2026 | |
| dc.description | Presented at: SIGIR '26: Proceedings of the 49th International ACM SIGIR Conference on Research and Development in Information Retrieval, July 20–24, 2026, Melbourne, Australia | |
| dc.description.abstract | [Abstract]: Retrieval-Augmented Generation (RAG) systems rely on retrieved documents being concatenated into a model's input context, making both document ordering and context size critical yet controversial design choices. Prior work reports position-based effects such as lost in the middle and related long-context phenomena. However, empirical findings remain inconsistent and hard to reproduce across models, datasets, and evaluation protocols. In this paper, we present a systematic reproducibility study that revisits these claims and examines how they evolve with contemporary LLMs under a controlled evaluation framework. We first show that topic sampling is a major source of variance: small topic sets can mask or exaggerate ordering effects. Based on repeated subset sampling across multiple topic budgets, we provide a practical calibration procedure that identifies topic counts yielding stable trends at feasible cost. Using these fixed topic sets, we then reproduce and extend results on position sensitivity, re-evaluating lost in the middle and positional biases in modern LLMs. Then, we also study a more realistic RAG scenario in which relevance is mediated by a retriever rather than oracle access to ground-truth documents. In this setting, we re-examine a recent industry study and identify discrepancies to evaluation choices such as limited topic coverage and reliance on LLM-based judges. Finally, we conduct an analysis of how retrieval order and context size affect downstream LLM performance under imperfect retrieval. Our results demonstrate that both factors interact strongly with retrieval quality and model choice, and that conclusions drawn from idealised setups do not always transfer to real-world RAG pipelines. We release all code and configurations to support reproducibility and future work on robust RAG evaluation. | |
| dc.description.sponsorship | All authors acknowledge funding from the Ministry of Science, Innovation and Universities of the Government of Spain (project PID2022-137061OB-C21, MCIN/AEI/10.13039/501100011033), as well as from the Department of Education, Science, Universities, and Vocational Training of the Xunta de Galicia (grant GRC ED431C 2025/49). CITIC, as a center accredited for excellence within the Galician University System and a member of the CIGUS Network, receives subsidies from the Department of Education, Science, Universities, and Vocational Training of the Xunta de Galicia. Additionally, it is co-financed by the EU through the FEDER Galicia 2021-27 operational program (Ref. ED431G 2023/01). | |
| dc.description.sponsorship | Xunta de Galicia; GRC ED431C 2025/49 | |
| dc.description.sponsorship | Xunta de Galicia; ED431G 2023/01 | |
| dc.identifier.citation | Jorge Gabín, Anxo Perez, and Javier Parapar. 2026. Lost in the Evidence? Reproducing Document Position and Context Size Effects in RAG. In Proceedings of the 49th International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR ’26), July 20–24, 2026, Melbourne, VIC, Australia. ACM, New York, NY, USA, pp. 2901 - 2910. https://doi.org/10.1145/3805712.3808569 | |
| dc.identifier.doi | 10.1145/3805712.3808569 | |
| dc.identifier.isbn | 979-8-4007-2599-9 | |
| dc.identifier.uri | https://hdl.handle.net/2183/49081 | |
| dc.language.iso | eng | |
| dc.publisher | ACM | |
| dc.relation.projectID | info:eu-repo/grantAgreement/AEI/Plan Estatal de Investigación Científica, Técnica y de Innovación 2021-2023/PID2022-137061OB-C21/ES/BUSQUEDA, SELECCION Y ORGANIZACION DE CONTENIDOS PARA NECESIDADES DE INFORMACION RELACIONADAS CON LA SALUD - CONSTRUCCION DE RECURSOS Y PERSONALIZACION | |
| dc.relation.uri | https://doi.org/10.1145/3805712.3808569 | |
| dc.rights | Attribution-NonCommercial-NoDerivatives 4.0 International | en |
| dc.rights.accessRights | open access | |
| dc.rights.uri | http://creativecommons.org/licenses/by-nc-nd/4.0/ | |
| dc.subject | LLMs | |
| dc.subject | Retrieval-Augmented Generation | |
| dc.subject | RAG | |
| dc.subject | Question Answering | |
| dc.title | Lost in the Evidence? Reproducing Document Position and Context Size Effects in RAG | |
| dc.type | conference output | |
| dspace.entity.type | Publication | |
| relation.isAuthorOfPublication | c673c8b1-1afc-48f6-85e9-8f29f9cffb91 | |
| relation.isAuthorOfPublication | fef1a9cb-e346-4e53-9811-192e144f09d0 | |
| relation.isAuthorOfPublication.latestForDiscovery | c673c8b1-1afc-48f6-85e9-8f29f9cffb91 |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- Perez_Anxo_2026_Lost_in_the_Evidence.pdf
- Size:
- 1.19 MB
- Format:
- Adobe Portable Document Format

