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

数据分布至关重要:一种以数据为中心的视角来探讨大型语言模型中的上下文压缩

Data Distribution Matters: A Data-Centric Perspective on Context Compression for Large Language Model

Future Living Lab of Alibaba(阿里巴巴未来生活实验室);Tsinghua University(清华大学);Zhejiang University(浙江大学)

Kangtao Lv, Jiwei Tang, Langming Liu, Haibin Chen, Weidong Zhang, Shilei Liu, Yongwei Wang, Yujin Yuan, Wenbo Su, Bo Zheng

AI总结:

本文从数据分布角度探讨了大型语言模型中的上下文压缩问题,发现输入熵与压缩质量负相关,而内在数据差距影响压缩增益,提出优化压缩的实用指南。

摘要:

大型语言模型(LLMs)在长上下文场景中的部署受到计算效率低下和显著信息冗余的阻碍。尽管最近的进展广泛采用了上下文压缩来解决这些问题,但现有研究仅关注模型层面的改进,数据分布本身对上下文压缩的影响仍鲜有研究。为填补这一空白,我们首次采用以数据为中心的视角,系统地研究数据分布如何影响压缩质量,包括两个维度:输入数据和内在数据(即模型内部预训练的知识)。我们使用基于自编码器的框架来评估压缩表示的语义完整性,以系统地研究这一问题。我们的实验结果揭示了:(1)编码器测量的输入熵与压缩质量呈负相关,而在冻结解码器设置下,解码器测量的熵无显著关系;(2)编码器和解码器之间内在数据的差距显著降低压缩增益,且难以缓解。基于这些发现,我们进一步提出了优化压缩增益的实用指南。

英文摘要:

The deployment of Large Language Models (LLMs) in long-context scenarios is hindered by computational inefficiency and significant information redundancy. Although recent advancements have widely adopted context compression to address these challenges, existing research only focus on model-side improvements, the impact of the data distribution itself on context compression remains largely unexplored. To bridge this gap, we are the first to adopt a data-centric perspective to systematically investigate how data distribution impacts compression quality, including two dimensions: input data and intrinsic data (i.e., the model's internal pretrained knowledge). We evaluate the semantic integrity of compressed representations using an autoencoder-based framework to systematically investigate it. Our experimental results reveal that: (1) encoder-measured input entropy negatively correlates with compression quality, while decoder-measured entropy shows no significant relationship under a frozen-decoder setting; and (2) the gap between intrinsic data of the encoder and decoder significantly diminishes compression gains, which is hard to mitigate. Based on these findings, we further present practical guidelines to optimize compression gains.

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

↑