RAGGED: Towards Informed Design of Retrieval Augmented Generation Systems. Hsia, J., Shaikh, A., Wang, Z., & Neubig, G. In March, 2024.
RAGGED: Towards Informed Design of Retrieval Augmented Generation Systems [link]Paper  abstract   bibtex   
Retrieval-augmented generation (RAG) greatly benefits language models (LMs) by providing additional context for tasks such as document-based question answering (DBQA). Despite its potential, the power of RAG is highly dependent on its configuration, raising the question: What is the optimal RAG configuration? To answer this, we introduce the RAGGED framework to analyze and optimize RAG systems. On a set of representative DBQA tasks, we study two classic sparse and dense retrievers, and four top-performing LMs in encoder-decoder and decoder-only architectures. Through RAGGED, we uncover that different models suit substantially varied RAG setups. While encoder-decoder models monotonically improve with more documents, we find decoder-only models can only effectively use\textless5 documents, despite often having a longer context window. RAGGED offers further insights into LMs' context utilization habits, where we find that encoder-decoder models rely more on contexts and are thus more sensitive to retrieval quality, while decoder-only models tend to rely on knowledge memorized during training.
@inproceedings{hsia_ragged_2024,
	title = {{RAGGED}: {Towards} {Informed} {Design} of {Retrieval} {Augmented} {Generation} {Systems}},
	shorttitle = {{RAGGED}},
	url = {https://www.semanticscholar.org/paper/RAGGED%3A-Towards-Informed-Design-of-Retrieval-Hsia-Shaikh/e1446fc9b11e73e9f1d867df9012fdc3d3df60d0?utm_medium=extension&utm_content=redirect&utm_source=arxiv.org},
	abstract = {Retrieval-augmented generation (RAG) greatly benefits language models (LMs) by providing additional context for tasks such as document-based question answering (DBQA). Despite its potential, the power of RAG is highly dependent on its configuration, raising the question: What is the optimal RAG configuration? To answer this, we introduce the RAGGED framework to analyze and optimize RAG systems. On a set of representative DBQA tasks, we study two classic sparse and dense retrievers, and four top-performing LMs in encoder-decoder and decoder-only architectures. Through RAGGED, we uncover that different models suit substantially varied RAG setups. While encoder-decoder models monotonically improve with more documents, we find decoder-only models can only effectively use{\textless}5 documents, despite often having a longer context window. RAGGED offers further insights into LMs' context utilization habits, where we find that encoder-decoder models rely more on contexts and are thus more sensitive to retrieval quality, while decoder-only models tend to rely on knowledge memorized during training.},
	urldate = {2024-03-19},
	author = {Hsia, Jennifer and Shaikh, Afreen and Wang, Zhiruo and Neubig, Graham},
	month = mar,
	year = {2024},
}

Downloads: 0