장기 수행 LLM 에이전트를 위한 에이전틱 소프트 토큰 기반 모델 내부 문맥 압축
In-Model Context Compression with Agentic Soft Tokens for Long-Horizon LLM Agents
한국어 초록
장기 수행 LLM 에이전트는 복잡하고 지속적인 과제를 해결하는 데 중요한 역할을 하며, 상호작용 문맥은 계속 늘어난다. 그러나 이렇게 누적된 문맥은 상당한 계산 비용을 높이고 의사결정과 관련된 핵심 증거를 가린다. 기존 방법은 보통 문맥을 더 짧은 하드 토큰 시퀀스로 다시 쓰도록 외부 압축기나 문맥 관리 에이전트를 학습하지만, 이러한 외부 선택은 LLM의 변화하는 표현과 맞지 않을 수 있고 필연적으로 손실이 있다. 본 논문에서는 장기 수행 과제를 위해 LLM 에이전트 내부에서 소프트 토큰을 사용하는 학습이 필요 없는 압축 방법인 Agentic Soft-Token Compression(ASTC)을 소개한다. 구체적으로 ASTC는 흔히 사용되는 하이브리드 Gated Delta Network(GDN)-어텐션을 활용하여, 모델 고유의 순환 동역학으로 이미 흡수된 정보를 판별한다. 이어서 이 정보를 에이전틱 소프트 토큰으로 이어 가면서 정확한 값은 하드 토큰으로 유지한다. 그 결과 얻은 간결한 시퀀스는 후반 층의 계산을 줄이고 재사용 가능한 KV 캐시를 만들어, 절감 효과를 에이전트의 궤적 전반으로 확장한다. 장기 수행 과제에 대한 폭넓은 실험에서 ASTC는 종단간 Attention Pair를 최대 59.84% 적게 사용하면서 비압축 에이전트의 정확도와 같거나 이를 능가하며, 학습된 압축기는 성공한 과제당 12.3배에서 194.9배 더 많은 Attention Pair를 필요로 한다. 이러한 발견은 과제 표현이 변화함에 따라 흡수된 문맥을 이어 가는 모델 고유의 방식으로서 에이전틱 소프트 토큰의 가능성을 보여 준다.
원문 초록
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 59.84% fewer end-to-end Attention Pairs, while trained compressors require 12.3 to 194.9 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.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2610.41291v2제출 시각 미확인
- arXiv:2610.41291v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.