Attention Weights as an Indicator: Analyzing and Improving Document Utilization in Retrieval-Augmented Generation
Jing Jin, Yuhan Song, Wen Luo, Houfeng Wang
摘要
The generation of Retrieval-Augmented Generation (RAG) models is affected by factors such as the quality and order of input documents, indicating that their ability to utilize documents remains underdeveloped. This ability encompasses not only identifying useful documents from inputs but also minimizing positional bias and filtering irrelevant documents. To achieve this, key challenges include the model's internal estimation of document importance and positional bias. In this paper, we conduct a comprehensive study on the properties of attention weights, examining the impact of factors like aggregation methods, document quality, document position, token type, and so on. Based on our findings, we propose strategies to enhance document utilization from three perspectives: document ranking, placement, and filtering. Comprehensive experiments show that our method outperforms baselines and improves document utilization effectiveness in a trainingfree manner. 1
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection 引用了 Large Language Models Can Be Easily Distracted by Irrelevant Context
- Making Retrieval-Augmented Language Models Robust to Irrelevant Context 引用了 Large Language Models Can Be Easily Distracted by Irrelevant Context
- The Power of Noise: Redefining Retrieval for RAG Systems 引用了 Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection
它引用的 Paper13
- Self-RAG: Learning to Retrieve, Generate, and Critique through Self-ReflectionAkari Asai, Zeqiu Wu, Yizhong Wang, Avirup Sil 等ICLR 2024 · 1,798 次引用
- Large Language Models Can Be Easily Distracted by Irrelevant ContextFreda Shi, Xinyun Chen, Kanishka Misra, Nathan Scales 等ICML 2023 · 970 次引用
- Making Retrieval-Augmented Language Models Robust to Irrelevant ContextOri Yoran, Tomer Wolfson, Ori Ram, Jonathan BerantICLR 2024 · 361 次引用
- The Power of Noise: Redefining Retrieval for RAG SystemsFlorin Cuconasu, Giovanni Trappolini, Federico Siciliano, Simone Filice 等SIGIR 2024 · 212 次引用
- Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking AgentsWeiwei Sun, Lingyong Yan, Xinyu Ma, Shuaiqiang Wang 等EMNLP 2023 · 182 次引用
相关 Paper
- How Does Knowledge Selection Help Retrieval Augmented Generation?Xiangci Li, Jessica OuyangEMNLP Findings 2025 · 6 次引用
- MAIN-RAG: Multi-Agent Filtering Retrieval-Augmented GenerationChia-Yuan Chang, Zhimeng Jiang, Vineeth Rakesh, Menghai Pan 等ACL 2025
- EAReranker: Efficient Embedding Adequacy Assessment for Retrieval Augmented GenerationDongyang Zeng, Yaping Liu, Wei Zhang, Shuo Zhang 等NeurIPS 2025
- GRO-RAG: Gradient-aware Re-rank Optimization for Multi-source Retrieval-Augmented GenerationSiyuan Chen, Hang Ding, Xiaoyu Kang, Jiechao GaoICLR 2026
- InfoGain-RAG: Boosting Retrieval-Augmented Generation through Document Information Gain-based Reranking and FilteringZihan Wang, Zihan Liang, Zhou Shao, Yufei Ma 等EMNLP 2025 · 4 次引用
