跳到主要导航 跳到搜索 跳到主要内容

On the Role of Long-tail Knowledge in Retrieval Augmented Large Language Models

  • Dongyang Li
  • , Junbing Yan
  • , Taolin Zhang
  • , Chengyu Wang*
  • , Xiaofeng He*
  • , Longtao Huang
  • , Hui Xue
  • , Jun Huang
  • *此作品的通讯作者
  • East China Normal University
  • Alibaba Group Holding Ltd.
  • NPPA Key Laboratory of Publishing Integration Development

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Retrieval augmented generation (RAG) exhibits outstanding performance in promoting the knowledge capabilities of large language models (LLMs) with retrieved documents related to user queries. However, RAG only focuses on improving the response quality of LLMs via enhancing queries indiscriminately with retrieved information, paying little attention to what type of knowledge LLMs really need to answer original queries more accurately. In this paper, we suggest that long-tail knowledge is crucial for RAG as LLMs have already remembered common world knowledge during large-scale pre-training. Based on our observation, we propose a simple but effective long-tail knowledge detection method for LLMs. Specifically, the novel Generative Expected Calibration Error (GECE) metric is derived to measure the “long-tailness” of knowledge based on both statistics and semantics. Hence, we retrieve relevant documents and infuse them into the model for patching knowledge loopholes only when the input query relates to long-tail knowledge. Experiments show that, compared to existing RAG pipelines, our method achieves over 4x speedup in average inference time and consistent performance improvement in downstream tasks.

源语言英语
主期刊名Short Papers
编辑Lun-Wei Ku, Andre F. T. Martins, Vivek Srikumar
出版商Association for Computational Linguistics (ACL)
120-126
页数7
ISBN(电子版)9798891760950
DOI
出版状态已出版 - 2024
活动62nd Annual Meeting of the Association for Computational Linguistics, ACL 2024 - Bangkok, 泰国
期限: 11 8月 202416 8月 2024

出版系列

姓名Proceedings of the Annual Meeting of the Association for Computational Linguistics
2
ISSN(印刷版)0736-587X

会议

会议62nd Annual Meeting of the Association for Computational Linguistics, ACL 2024
国家/地区泰国
Bangkok
时期11/08/2416/08/24

学术指纹

探究 'On the Role of Long-tail Knowledge in Retrieval Augmented Large Language Models' 的科研主题。它们共同构成独一无二的学术指纹。

引用此