跳到正文
arXiv cs.AI· Xuning He, Kai Fan, Runyu Zhang, Binghuan Wang, Yuxiang Zhang, Xue Jiang, Yihong Dong·· 4 小时前AI 评分43

ASTC:面向长程 LLM Agent 的模型内软 Token 上下文压缩

In-Model Context Compression with Agentic Soft Tokens for Long-Horizon LLM Agents

AI 导读

ASTC(Agentic Soft-Token Compression)是一种免训练的模型内上下文压缩方法,利用混合 Gated Delta Network(GDN)-attention 的原生循环动力学,把已吸收信息以 agentic soft tokens 携带,同时以 hard tokens 保留精确值。

正文 · 原文

View PDF HTML (experimental)

Abstract:Long-horizon LLM agents play an important role in solving complex and sustained tasks, with ever-growing interaction contexts. However, these accumulated contexts will raise substantial computational cost and obscure key decision-relevant evidence. Existing methods typically train external compressors or context-management agents to rewrite context as shorter hard-token sequences, but such external selection may not align with the LLM's evolving representation and is necessarily lossy. In this paper, we introduce Agentic Soft-Token Compression (ASTC), a training-free compression method using soft tokens within LLM agent for long-horizon tasks. Specifically, ASTC uses the model's native recurrent dynamics to determine the already absorbed information, leveraging the commonly-used hybrid Gated Delta Network (GDN)-attention. It then carries this information forward as agentic soft tokens while retaining exact values as hard tokens. The resulting compact sequence reduces later-layer computation and yields reusable KV caches, extending the savings across the agent's trajectory. Extensive experiments on long-horizon tasks show that ASTC matches or exceeds the uncompressed agent's accuracy with up to 50.68% fewer end-to-end Attention Pairs, while trained compressors require 15.4 to 103.7 times more Attention Pairs per successful task. These findings highlight agentic soft tokens as a model-native way to carry absorbed context forward as the task representation evolves.
Comments: 26 pages, 9 figures, 11 tables. Code: this https URL
Subjects: Computation and Language (cs.CL); Artificial Intelligence (cs.AI); Machine Learning (cs.LG); Neural and Evolutionary Computing (cs.NE)
Cite as: arXiv:2610.41291 [cs.CL]
  (or arXiv:2610.41291v1 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.2610.41291

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Xuning He [view email]
[v1] Fri, 30 Oct 2026 05:52:25 UTC (1,541 KB)

来源:arXiv cs.AI · arxiv.org