没有平均特征:为上下文压缩提供简单且强大的基线
No Mean Feat: Simple, Strong Baselines for Context Compression
AI总结:
本文提出BenchPress评估套件和简单高效基线,用于上下文压缩,通过双向注意力和均值池化方法提升性能。
摘要:
上下文压缩通过用较短的预计算表示替代长输入,降低Transformer推理成本。这对检索增强生成(RAG)有显著优势,但因评估不一致而难以衡量。本文设计了标准评估套件BenchPress,以及针对英文阅读理解的简单高效基线。BenchPress支持跨模型规模、数据集、压缩比和短至中等长度上下文的基准测试。虽然套件适用于任何压缩范式,但我们的基线专注于软上下文压缩。我们建立了两个简单基线,显著优于广泛使用的因果压缩-标记方法:均值池化和双向压缩-标记变体。结果表明,双向注意力在计算压缩表示时有益,且简单池化是一种表达性强的压缩操作符。
英文摘要:
Context compression reduces Transformer inference costs by replacing lengthy inputs with shorter pre-computed representations. It carries significant benefits for retrieval-augmented generation (RAG) and has attracted growing research attention. However, progress remains difficult to measure due to inconsistent evaluations and baselines. We design a standard, easy-to-reproduce evaluation suite for context compression, BenchPress, along with simple, high-performance baselines for English reading comprehension. BenchPress supports benchmarking across model scales, datasets, compression ratios, and short ($<$1K tokens) to mid-range ($<$8K tokens) contexts. While the suite is applicable to any compression paradigm, our baselines target soft context compression. We establish two simple baselines that strongly outperform the widely used causal compression-token approach: mean pooling and a bidirectional compression-token variant. Our results show the benefit of bidirectional attention when computing compressed representations, and that simple pooling is an expressive compression operator.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。