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

从相似性到结构:基于混合图先验的训练自由LLM上下文压缩

From Similarity to Structure: Training-free LLM Context Compression with Hybrid Graph Priors

School of Computer Science and Engineering, University of Electronic Science and Technology of China(电子科技大学计算机科学与工程学院);School of Information and Software Engineering, University of Electronic Science and Technology of China(电子科技大学信息与软件工程学院);Department of Computer Science and Engineering, Kyung Hee University(Kyung Hee大学计算机科学与工程系);Department of Industrial and Systems Engineering, The Hong Kong Polytechnic University(香港理工大学工业与系统工程系);School of Robotics and Advanced Manufacture, Harbin Institute of Technology, Shenzhen(哈尔滨工业大学深圳校区机器人与先进制造学院)

Yitian Zhou, Chaoning Zhang, Jiaquan Zhang, Zhenzhen Huang, Jinyu Guo, Sung-Ho Bae, Lik-Hang Lee, Caiyan Qin, Yang Yang

AI总结:

本文提出一种无需训练的上下文压缩框架,利用混合图先验选择句子,通过构建稀疏句子图、提取主题骨架并结合可解释评分进行冗余抑制,实验证明在长文档基准上表现更优。

摘要:

长上下文大语言模型运行成本高且难以可靠处理极长输入,使上下文压缩成为许多系统的重要组成部分。现有压缩方法通常依赖训练好的压缩器、密集检索式选择或启发式修剪,难以在严格token预算下同时保持任务相关性、主题覆盖性和跨句连贯性。为此,我们提出一种无需训练且模型无关的压缩框架,通过结构图先验选择紧凑的句子集。我们的方法构建了结合互斥k-NN语义边和短程序列边的稀疏混合句子图,通过聚类提取主题骨架,并利用整合任务相关性、聚类代表性、桥梁中心性和循环覆盖提示的可解释评分对句子进行排序。预算化的贪心选择结合冗余抑制后,产生按原始顺序排列的可读压缩上下文。在四个数据集上的实验结果表明,我们的方法在强提取和抽象基线中具有竞争力,在长文档基准上表现更佳。

英文摘要:

Long-context large language models remain computationally expensive to run and often fail to reliably process very long inputs, which makes context compression an important component of many systems. Existing compression approaches typically rely on trained compressors, dense retrieval-style selection, or heuristic trimming, and they often struggle to jointly preserve task relevance, topic coverage, and cross-sentence coherence under a strict token budget. To address this, we propose a training-free and model-agnostic compression framework that selects a compact set of sentences guided by structural graph priors. Our method constructs a sparse hybrid sentence graph that combines mutual k-NN semantic edges with short-range sequential edges, extracts a topic skeleton via clustering, and ranks sentences using an interpretable score that integrates task relevance, cluster representativeness, bridge centrality, and a cycle coverage cue. A budgeted greedy selection with redundancy suppression then produces a readable compressed context in original order. Experimental results on four datasets show that our approach is competitive with strong extractive and abstractive baselines, demonstrating larger gains on long-document benchmarks.

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

↑