arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.05385cs.IRcs.AI
收藏

TeaRAG:一种令牌高效的智能检索增强生成框架

TeaRAG: A Token-Efficient Agentic Retrieval-Augmented Generation Framework

University of Science and Technology of China(中国科学技术大学);City University of Hong Kong(香港城市大学);Xiaohongshu Inc.(小红书公司)

Chao Zhang, Yuhao Wang, Derong Xu, Haoxin Zhang, Yuanjie Lyu, Yuhao Chen, Shuochen Liu, Tong Xu, Xiangyu Zhao, Yan Gao, Yao Hu, Enhong Chen

AI总结:

研究提出TeaRAG框架解决智能RAG令牌开销大问题,通过基于简洁三元组的图检索压缩检索内容,用IP-DPO减少推理步骤,在多个数据集上实验,提高了平均精确匹配,减少了输出令牌。

摘要:

检索增强生成(RAG)利用外部知识提高大语言模型(LLMs)的可靠性。智能RAG通过自主多轮检索和推理解决查询,但存在令牌开销大的问题。本文提出TeaRAG框架,通过基于简洁三元组的图检索增强基于块的语义检索来压缩检索内容,构建知识关联图并利用个性化PageRank突出关键知识,减少每次检索的令牌数。还提出迭代过程感知直接偏好优化(IP-DPO)减少推理步骤,通过知识匹配机制评估知识充分性并惩罚过多推理步骤。在六个数据集上,TeaRAG在Llama3-8B-Instruct和Qwen2.5-14B-Instruct上分别将平均精确匹配提高4%和2%,同时减少输出令牌61%和59%。

英文摘要:

Retrieval-Augmented Generation (RAG) utilizes external knowledge to augment Large Language Models' (LLMs) reliability. For flexibility, agentic RAG employs autonomous, multi-round retrieval and reasoning to resolve queries. Although recent agentic RAG has improved via reinforcement learning, they often incur substantial token overhead from search and reasoning processes. This trade-off prioritizes accuracy over efficiency. To address this issue, this work proposes TeaRAG, a token-efficient agentic RAG framework capable of compressing both retrieval content and reasoning steps. 1) First, the retrieved content is compressed by augmenting chunk-based semantic retrieval with a graph retrieval using concise triplets. A knowledge association graph is then built from semantic similarity and co-occurrence. Finally, Personalized PageRank is leveraged to highlight key knowledge within this graph, reducing the number of tokens per retrieval. 2) Besides, to reduce reasoning steps, Iterative Process-aware Direct Preference Optimization (IP-DPO) is proposed. Specifically, our reward function evaluates the knowledge sufficiency by a knowledge matching mechanism, while penalizing excessive reasoning steps. This design can produce high-quality preference-pair datasets, supporting iterative DPO to improve reasoning conciseness. Across six datasets, TeaRAG improves the average Exact Match by 4% and 2% while reducing output tokens by 61% and 59% on Llama3-8B-Instruct and Qwen2.5-14B-Instruct, respectively. Code is available at https://github.com/Applied-Machine-Learning-Lab/TeaRAG.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑