arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.16075cs.CLcs.AIcs.IR
收藏

PISCO:用于检索增强生成的极简压缩方法

PISCO: Pretty Simple Compression for Retrieval-Augmented Generation

NAVER LABS Europe(NAVER LABS欧洲)

Maxime Louis, Hervé Déjean, Stéphane Clinchant

AI总结:

PISCO是一种无需预训练或标注数据的文档压缩方法,通过序列级知识蒸馏在RAG问答任务中实现16倍压缩率且精度损失极小,比现有模型高8%。

摘要:

检索增强生成(RAG)管道通过检索相关文档增强了大型语言模型(LLMs),但由于高昂的推理成本和有限的上下文大小,它们面临可扩展性问题。文档压缩是一个实用的解决方案,但当前的软压缩方法存在精度损失且需要大量预训练。在本文中,我们提出了PISCO,一种新颖的方法,在多样化的基于RAG的问答(QA)任务中实现了16倍的压缩率,且精度损失极小(0-3%)。与现有方法不同,PISCO无需预训练或标注数据,仅依赖于基于文档问题的序列级知识蒸馏。凭借在单个A100 GPU上48小时内微调7-10B LLM的能力,PISCO提供了一种高效且可扩展的解决方案。我们展示了全面的实验,表明PISCO在精度上比现有压缩模型高出8%。

英文摘要:

Retrieval-Augmented Generation (RAG) pipelines enhance Large Language Models (LLMs) by retrieving relevant documents, but they face scalability issues due to high inference costs and limited context size. Document compression is a practical solution, but current soft compression methods suffer from accuracy losses and require extensive pretraining. In this paper, we introduce PISCO, a novel method that achieves a 16x compression rate with minimal accuracy loss (0-3%) across diverse RAG-based question-answering (QA) tasks. Unlike existing approaches, PISCO requires no pretraining or annotated data, relying solely on sequence-level knowledge distillation from document-based questions. With the ability to fine-tune a 7-10B LLM in 48 hours on a single A100 GPU, PISCO offers a highly efficient and scalable solution. We present comprehensive experiments showing that PISCO outperforms existing compression models by 8% in accuracy.

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

↑