More Documents, Same Length: Isolating the Challenge of Multiple Documents in RAG. Levy, S., Mazor, N., Shalmon, L., Hassid, M., & Stanovsky, G. March, 2025. arXiv:2503.04388 [cs]
Paper doi abstract bibtex Retrieval-augmented generation (RAG) provides LLMs with relevant documents. Although previous studies noted that retrieving many documents can degrade performance, they did not isolate how the quantity of documents affects performance while controlling for context length. We evaluate various language models on custom datasets derived from a multi-hop QA task. We keep the context length and position of relevant information constant while varying the number of documents, and find that increasing the document count in RAG settings poses significant challenges for LLMs. Additionally, our results indicate that processing multiple documents is a separate challenge from handling long contexts. We also make the datasets and code available: https://github.com/shaharl6000/MoreDocsSameLen .
@misc{levy_more_2025,
title = {More {Documents}, {Same} {Length}: {Isolating} the {Challenge} of {Multiple} {Documents} in {RAG}},
shorttitle = {More {Documents}, {Same} {Length}},
url = {http://arxiv.org/abs/2503.04388},
doi = {10.48550/arXiv.2503.04388},
abstract = {Retrieval-augmented generation (RAG) provides LLMs with relevant documents. Although previous studies noted that retrieving many documents can degrade performance, they did not isolate how the quantity of documents affects performance while controlling for context length. We evaluate various language models on custom datasets derived from a multi-hop QA task. We keep the context length and position of relevant information constant while varying the number of documents, and find that increasing the document count in RAG settings poses significant challenges for LLMs. Additionally, our results indicate that processing multiple documents is a separate challenge from handling long contexts. We also make the datasets and code available: https://github.com/shaharl6000/MoreDocsSameLen .},
urldate = {2025-03-30},
author = {Levy, Shahar and Mazor, Nir and Shalmon, Lihi and Hassid, Michael and Stanovsky, Gabriel},
month = mar,
year = {2025},
note = {arXiv:2503.04388 [cs]},
}
Downloads: 0
{"_id":"JxTHRaNokjCBepZtZ","bibbaseid":"levy-mazor-shalmon-hassid-stanovsky-moredocumentssamelengthisolatingthechallengeofmultipledocumentsinrag-2025","author_short":["Levy, S.","Mazor, N.","Shalmon, L.","Hassid, M.","Stanovsky, G."],"bibdata":{"bibtype":"misc","type":"misc","title":"More Documents, Same Length: Isolating the Challenge of Multiple Documents in RAG","shorttitle":"More Documents, Same Length","url":"http://arxiv.org/abs/2503.04388","doi":"10.48550/arXiv.2503.04388","abstract":"Retrieval-augmented generation (RAG) provides LLMs with relevant documents. Although previous studies noted that retrieving many documents can degrade performance, they did not isolate how the quantity of documents affects performance while controlling for context length. We evaluate various language models on custom datasets derived from a multi-hop QA task. We keep the context length and position of relevant information constant while varying the number of documents, and find that increasing the document count in RAG settings poses significant challenges for LLMs. Additionally, our results indicate that processing multiple documents is a separate challenge from handling long contexts. We also make the datasets and code available: https://github.com/shaharl6000/MoreDocsSameLen .","urldate":"2025-03-30","author":[{"propositions":[],"lastnames":["Levy"],"firstnames":["Shahar"],"suffixes":[]},{"propositions":[],"lastnames":["Mazor"],"firstnames":["Nir"],"suffixes":[]},{"propositions":[],"lastnames":["Shalmon"],"firstnames":["Lihi"],"suffixes":[]},{"propositions":[],"lastnames":["Hassid"],"firstnames":["Michael"],"suffixes":[]},{"propositions":[],"lastnames":["Stanovsky"],"firstnames":["Gabriel"],"suffixes":[]}],"month":"March","year":"2025","note":"arXiv:2503.04388 [cs]","bibtex":"@misc{levy_more_2025,\n\ttitle = {More {Documents}, {Same} {Length}: {Isolating} the {Challenge} of {Multiple} {Documents} in {RAG}},\n\tshorttitle = {More {Documents}, {Same} {Length}},\n\turl = {http://arxiv.org/abs/2503.04388},\n\tdoi = {10.48550/arXiv.2503.04388},\n\tabstract = {Retrieval-augmented generation (RAG) provides LLMs with relevant documents. Although previous studies noted that retrieving many documents can degrade performance, they did not isolate how the quantity of documents affects performance while controlling for context length. We evaluate various language models on custom datasets derived from a multi-hop QA task. We keep the context length and position of relevant information constant while varying the number of documents, and find that increasing the document count in RAG settings poses significant challenges for LLMs. Additionally, our results indicate that processing multiple documents is a separate challenge from handling long contexts. We also make the datasets and code available: https://github.com/shaharl6000/MoreDocsSameLen .},\n\turldate = {2025-03-30},\n\tauthor = {Levy, Shahar and Mazor, Nir and Shalmon, Lihi and Hassid, Michael and Stanovsky, Gabriel},\n\tmonth = mar,\n\tyear = {2025},\n\tnote = {arXiv:2503.04388 [cs]},\n}\n\n\n\n\n\n\n\n\n\n\n\n","author_short":["Levy, S.","Mazor, N.","Shalmon, L.","Hassid, M.","Stanovsky, G."],"key":"levy_more_2025","id":"levy_more_2025","bibbaseid":"levy-mazor-shalmon-hassid-stanovsky-moredocumentssamelengthisolatingthechallengeofmultipledocumentsinrag-2025","role":"author","urls":{"Paper":"http://arxiv.org/abs/2503.04388"},"metadata":{"authorlinks":{}},"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/andreasmartin","dataSources":["jurZeGzSpYdkQ8rm4"],"keywords":[],"search_terms":["more","documents","same","length","isolating","challenge","multiple","documents","rag","levy","mazor","shalmon","hassid","stanovsky"],"title":"More Documents, Same Length: Isolating the Challenge of Multiple Documents in RAG","year":2025}