Searching for Best Practices in Retrieval-Augmented Generation
Xiaohua Wang, Zhenghua Wang, Xuan Gao, Feiran Zhang, Yixin Wu, Zhibo Xu, Tianyuan Shi, Zhengyuan Wang
Abstract
Retrieval-augmented generation (RAG) techniques have proven to be effective in integrating up-to-date information, mitigating hallucinations, and enhancing response quality, particularly in specialized domains. While many RAG approaches have been proposed to enhance large language models through query-dependent retrievals, these approaches still suffer from their complex implementation and prolonged response times. Typically, a RAG workflow involves multiple processing steps, each of which can be executed in various ways. Here, we investigate existing RAG approaches and their potential combinations to identify optimal RAG practices. Through extensive experiments, we suggest several strategies for deploying RAG that balance both performance and efficiency. Moreover, we demonstrate that multimodal retrieval techniques can significantly enhance question-answering capabilities about visual inputs and accelerate the generation of multimodal content using a “retrieval as generation” strategy.
BibTeX
@inproceedings{wang-etal-2024-searching,
title = "Searching for Best Practices in Retrieval-Augmented Generation",
author = "Wang, Xiaohua and
Wang, Zhenghua and
Gao, Xuan and
Zhang, Feiran and
Wu, Yixin and
Xu, Zhibo and
Shi, Tianyuan and
Wang, Zhengyuan and
Li, Shizheng and
Qian, Qi and
Yin, Ruicheng and
Lv, Changze and
Zheng, Xiaoqing and
Huang, Xuanjing",
editor = "Al-Onaizan, Yaser and
Bansal, Mohit and
Chen, Yun-Nung",
booktitle = "Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing",
month = nov,
year = "2024",
address = "Miami, Florida, USA",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2024.emnlp-main.981/",
doi = "10.18653/v1/2024.emnlp-main.981",
pages = "17716--17736"
}