A + B: A General Generator-Reader Framework for Optimizing LLMs to Unleash Synergy Potential

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Tang, Wei, Cao, Yixin, Ying, Jiahao, Wang, Bo, Zhao, Yuyue, Liao, Yong, Zhou, Pengyuan
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911908187078656
author Tang, Wei
Cao, Yixin
Ying, Jiahao
Wang, Bo
Zhao, Yuyue
Liao, Yong
Zhou, Pengyuan
author_facet Tang, Wei
Cao, Yixin
Ying, Jiahao
Wang, Bo
Zhao, Yuyue
Liao, Yong
Zhou, Pengyuan
contents Retrieval-Augmented Generation (RAG) is an effective solution to supplement necessary knowledge to large language models (LLMs). Targeting its bottleneck of retriever performance, "generate-then-read" pipeline is proposed to replace the retrieval stage with generation from the LLM itself. Although promising, this research direction is underexplored and still cannot work in the scenario when source knowledge is given. In this paper, we formalize a general "A + B" framework with varying combinations of foundation models and types for systematic investigation. We explore the efficacy of the base and chat versions of LLMs and found their different functionalities suitable for generator A and reader B, respectively. Their combinations consistently outperform single models, especially in complex scenarios. Furthermore, we extend the application of the "A + B" framework to scenarios involving source documents through continuous learning, enabling the direct integration of external knowledge into LLMs. This approach not only facilitates effective acquisition of new knowledge but also addresses the challenges of safety and helpfulness post-adaptation. The paper underscores the versatility of the "A + B" framework, demonstrating its potential to enhance the practical application of LLMs across various domains.
format Preprint
id arxiv_https___arxiv_org_abs_2406_03963
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A + B: A General Generator-Reader Framework for Optimizing LLMs to Unleash Synergy Potential
Tang, Wei
Cao, Yixin
Ying, Jiahao
Wang, Bo
Zhao, Yuyue
Liao, Yong
Zhou, Pengyuan
Computation and Language
Retrieval-Augmented Generation (RAG) is an effective solution to supplement necessary knowledge to large language models (LLMs). Targeting its bottleneck of retriever performance, "generate-then-read" pipeline is proposed to replace the retrieval stage with generation from the LLM itself. Although promising, this research direction is underexplored and still cannot work in the scenario when source knowledge is given. In this paper, we formalize a general "A + B" framework with varying combinations of foundation models and types for systematic investigation. We explore the efficacy of the base and chat versions of LLMs and found their different functionalities suitable for generator A and reader B, respectively. Their combinations consistently outperform single models, especially in complex scenarios. Furthermore, we extend the application of the "A + B" framework to scenarios involving source documents through continuous learning, enabling the direct integration of external knowledge into LLMs. This approach not only facilitates effective acquisition of new knowledge but also addresses the challenges of safety and helpfulness post-adaptation. The paper underscores the versatility of the "A + B" framework, demonstrating its potential to enhance the practical application of LLMs across various domains.
title A + B: A General Generator-Reader Framework for Optimizing LLMs to Unleash Synergy Potential
topic Computation and Language
url https://arxiv.org/abs/2406.03963