NAACL 2024industry7 citations

Optimizing LLM Based Retrieval Augmented Generation Pipelines in the Financial Domain

Yiyun Zhao, Prateek Singh, Hanoz Bhathena, Bernardo Ramos, Aviral Joshi, Swaroop Gadiyaram, Saket Sharma

Abstract

Retrieval Augmented Generation (RAG) is a prominent approach in real-word applications for grounding large language model (LLM) generations in up to date and domain-specific knowledge. However, there is a lack of systematic investigations of the impact of each component (retrieval quality, prompts, generation models) on the generation quality of a RAG pipeline in real world scenarios. In this study, we benchmark 6 LLMs in 15 retrieval scenarios exploring 9 prompts over 2 real world financial domain datasets. We thoroughly discuss the impact of each component in RAG pipeline on answer generation quality and formulate specific recommendations for the design of RAG systems.

BibTeX
@inproceedings{zhao-etal-2024-optimizing,
    title = "Optimizing {LLM} Based Retrieval Augmented Generation Pipelines in the Financial Domain",
    author = "Zhao, Yiyun  and
      Singh, Prateek  and
      Bhathena, Hanoz  and
      Ramos, Bernardo  and
      Joshi, Aviral  and
      Gadiyaram, Swaroop  and
      Sharma, Saket",
    editor = "Yang, Yi  and
      Davani, Aida  and
      Sil, Avi  and
      Kumar, Anoop",
    booktitle = "Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 6: Industry Track)",
    month = jun,
    year = "2024",
    address = "Mexico City, Mexico",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.naacl-industry.23/",
    doi = "10.18653/v1/2024.naacl-industry.23",
    pages = "279--294"
}
Optimizing LLM Based Retrieval Augmented Generation Pipelines in the Financial Domain · NAACL 2024