arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.02766cs.CL
收藏

EffComp:基于混合强化学习与监督学习的高效提示压缩方法

EffComp: Efficient Prompt Compression via Hybrid Reinforcement & Supervised Learning

Chulalongkorn University(朱拉隆功大学);Google(谷歌)

Romtham Tungsununtham, Piyawat Lertvittayakumjorn, Atiwong Suchato, Peerapon Vateekul

AI总结:

针对现有提示压缩方法压缩增益有限、易出现幻觉且延迟高的问题,提出用于RAG式问答的EffComp框架,采用抽取式压缩结合混合训练,实现了压缩率与准确率的最优权衡且延迟极小。

摘要:

提示压缩旨在缩短输入提示的长度,以实现更廉价、更快速且潜在质量更高的大语言模型(LLM)预测。然而,现有的提示压缩方法往往存在压缩增益有限、存在幻觉风险和/或压缩延迟较高的问题。我们提出了EffComp,这是一种用于基于检索增强生成(RAG)的问答(QA)任务的高效提示压缩框架。EffComp采用BERT式文档重排序器和句子选择器模型,以实现句子级别的快速抽取式提示压缩,其抽取式特性可避免压缩提示中出现幻觉。此外,我们设计了一种混合强化学习与监督学习的训练过程,旨在在保持LLM准确率的同时优化压缩率。在多个QA数据集上的实验表明,EffComp的性能优于当前最先进的提示压缩方法,在压缩率与准确率之间实现了最佳权衡,且延迟极小,这使其可实际应用于现实场景。

英文摘要:

Prompt compression is aimed at reducing input prompt lengths to enable cheaper, faster, and potentially higher-quality LLM predictions. However, existing prompt compression methods are often limited by modest compression gains, a risk of hallucination, and/or high compression latency. We propose EffComp, an Efficient prompt Compression framework for RAG-based question answering (QA). EffComp employs BERT-style document reranker and sentence selector models to allow fast extractive prompt compression at the sentence level. Its extractive nature prevents hallucinations in the compressed prompts. Additionally, the training process using a hybrid reinforcement and supervised learning approach is designed to optimize the compression ratio while preserving LLM accuracy. Experiments on various QA datasets demonstrate that EffComp outperforms state-of-the-art prompt compression methods achieving the best trade-off between compression ratio and accuracy with minimal latency. This makes it practical for real-world applications.

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

↑