Lost in the Evidence? Reproducing Document Position and Context Size Effects in RAG

UDC.coleccionInvestigación
UDC.conferenceTitleSIGIR 2026
UDC.departamentoCiencias da Computación e Tecnoloxías da Información
UDC.endPage2910
UDC.grupoInvInformation Retrieval Lab (IRlab)
UDC.institutoCentroCITIC - Centro de Investigación de Tecnoloxías da Información e da Comunicación
UDC.startPage2901
dc.contributor.authorGabín, Jorge
dc.contributor.authorPérez, Anxo
dc.contributor.authorParapar, Javier
dc.date.accessioned2026-08-25T08:13:16Z
dc.date.available2026-08-25T08:13:16Z
dc.date.issued2026
dc.descriptionPresented 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.sponsorshipAll 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.sponsorshipXunta de Galicia; GRC ED431C 2025/49
dc.description.sponsorshipXunta de Galicia; ED431G 2023/01
dc.identifier.citationJorge 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.doi10.1145/3805712.3808569
dc.identifier.isbn979-8-4007-2599-9
dc.identifier.urihttps://hdl.handle.net/2183/49081
dc.language.isoeng
dc.publisherACM
dc.relation.projectIDinfo: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.urihttps://doi.org/10.1145/3805712.3808569
dc.rightsAttribution-NonCommercial-NoDerivatives 4.0 Internationalen
dc.rights.accessRightsopen access
dc.rights.urihttp://creativecommons.org/licenses/by-nc-nd/4.0/
dc.subjectLLMs
dc.subjectRetrieval-Augmented Generation
dc.subjectRAG
dc.subjectQuestion Answering
dc.titleLost in the Evidence? Reproducing Document Position and Context Size Effects in RAG
dc.typeconference output
dspace.entity.typePublication
relation.isAuthorOfPublicationc673c8b1-1afc-48f6-85e9-8f29f9cffb91
relation.isAuthorOfPublicationfef1a9cb-e346-4e53-9811-192e144f09d0
relation.isAuthorOfPublication.latestForDiscoveryc673c8b1-1afc-48f6-85e9-8f29f9cffb91

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Perez_Anxo_2026_Lost_in_the_Evidence.pdf
Size:
1.19 MB
Format:
Adobe Portable Document Format