检索增强生成(Retrieval Augmented Generation,RAG)通过检索与用户查询相关的文档,在提升大语言模型(Large Language Models,LLMs)的知识能力方面表现出优异性能。然而,现有RAG仅专注于通过检索到的信息无差别增强查询来提升大语言模型的响应质量,很少关注大语言模型要更准确地回答原始查询真正需要何种类型的知识。本文提出,长尾知识对RAG至关重要,因为大语言模型在大规模预训练过程中已经记住了常见的世界知识。基于这一观察,我们提出了一种简单但有效的大语言模型长尾知识检测方法。具体而言,我们推导了全新的生成式期望校准误差(Generative Expected Calibration Error,GECE)指标,从统计和语义两个层面衡量知识的“长尾程度”。因此,仅当输入查询与长尾知识相关时,我们才检索相关文档并将其注入模型以修补知识漏洞。实验表明,与现有RAG流水线相比,我们的方法平均推理速度提升了4倍以上,且在下游任务中性能持续提升。
英文摘要:
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.
The 3rd Place Solution of CCIR CUP 2025: A Framework for Retrieval-Augmented Generation in Multi-Turn Legal Conversation
CAS Key Lab of Network Data Science(中国科学院网络数据重点实验室);Technology, ICT, CAS State Key Laboratory of AI Safety University of Chinese Academy of Sciences Beijing China(中国科学院计算技术研究所人工智能安全国家重点实验室中国科学院大学);Institute of Computing Technology, Chinese Academy of Sciences University of Chinese Academy of Sciences Beijing China(中国科学院计算技术研究所中国科学院大学);CAS Key Lab of Network Data(中国科学院网络数据重点实验室);State Key Laboratory of AI Safety(人工智能安全国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所)
本文提出一个用于多轮法律对话的检索增强生成框架,结合信息检索与大型语言模型,基于法律法规回答用户问题,并在CCIR CUP 2025中取得第三名。
LevelRAG: Enhancing Retrieval-Augmented Generation with Multi-hop Logic Planning over Rewriting Augmented Searchers
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);Chinese Academy of Sciences(中国科学院);University of Chinese Academy of Sciences(中国科学院大学);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳))
A Large Language Model-based Framework for Semi-Structured Tender Document Retrieval-Augmented Generation
School of Information Management Sun Yat-sen University Guangzhou, China;School of Information Management Sun Yat-sen University Guangzhou, China corresponding author
IRSC: A Zero-shot Evaluation Benchmark for Information Retrieval through Semantic Comprehension in Retrieval-Augmented Generation Scenarios
PengCheng Laboratory(鹏城实验室);Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Southern University of Science and Technology(南方科技大学)
Retrieval-Augmented Large Language Models for Evidence-Informed Guidance on Cannabidiol Use in Older Adults
Lawrence Bloomberg Faculty of Nursing, University of Toronto(多伦多大学劳伦斯·布隆伯格护理学院);KITE Research Institute, Toronto Rehabilitation Institute, University Health Network(大学健康网络多伦多康复研究所KITE研究所);College of Engineering and Technology, American University of the Middle East(中东美国大学工程与技术学院)
CausalRAG: Integrating Causal Graphs into Retrieval-Augmented Generation
Department of Computer and Data Sciences, Case Western Reserve University(计算机与数据科学系,凯斯西储大学);Department of Design and Innovation, Case Western Reserve University(设计与创新系,凯斯西储大学)
Long Context Modeling with Ranked Memory-Augmented Retrieval
University of New South Wales(新南威尔士大学);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));The Hong Kong University of Science and Technology(香港科技大学);University of Southampton(南安普顿大学);Mohamed Bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)