Saved in:
Bibliographic Details
Main Authors: Chen, Sandy, Zeng, Leqi, Raghunathan, Abhinav, Huang, Flora, Kim, Terrence C.
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2409.07487
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913500026109952
author Chen, Sandy
Zeng, Leqi
Raghunathan, Abhinav
Huang, Flora
Kim, Terrence C.
author_facet Chen, Sandy
Zeng, Leqi
Raghunathan, Abhinav
Huang, Flora
Kim, Terrence C.
contents Large Language Models (LLMs) research in the financial domain is particularly complex due to the sheer number of approaches proposed in literature. Retrieval-Augmented Generation (RAG) has emerged as one of the leading methods in the sector due to its inherent groundedness and data source variability. In this work, we introduce a RAG framework called Mixture of Agents (MoA) and demonstrate its viability as a practical, customizable, and highly effective approach for scaling RAG applications. MoA is essentially a layered network of individually customized small language models (Hoffmann et al., 2022) collaborating to answer questions and extract information. While there are many theoretical propositions for such an architecture and even a few libraries for generally applying the structure in practice, there are limited documented studies evaluating the potential of this framework considering real business constraints such as cost and speed. We find that the MoA framework, consisting of small language models (Hoffmann et al., 2022), produces higher quality and more grounded responses across various financial domains that are core to Vanguard's business while simultaneously maintaining low costs.
format Preprint
id arxiv_https___arxiv_org_abs_2409_07487
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle MoA is All You Need: Building LLM Research Team using Mixture of Agents
Chen, Sandy
Zeng, Leqi
Raghunathan, Abhinav
Huang, Flora
Kim, Terrence C.
Computational Finance
Large Language Models (LLMs) research in the financial domain is particularly complex due to the sheer number of approaches proposed in literature. Retrieval-Augmented Generation (RAG) has emerged as one of the leading methods in the sector due to its inherent groundedness and data source variability. In this work, we introduce a RAG framework called Mixture of Agents (MoA) and demonstrate its viability as a practical, customizable, and highly effective approach for scaling RAG applications. MoA is essentially a layered network of individually customized small language models (Hoffmann et al., 2022) collaborating to answer questions and extract information. While there are many theoretical propositions for such an architecture and even a few libraries for generally applying the structure in practice, there are limited documented studies evaluating the potential of this framework considering real business constraints such as cost and speed. We find that the MoA framework, consisting of small language models (Hoffmann et al., 2022), produces higher quality and more grounded responses across various financial domains that are core to Vanguard's business while simultaneously maintaining low costs.
title MoA is All You Need: Building LLM Research Team using Mixture of Agents
topic Computational Finance
url https://arxiv.org/abs/2409.07487