Skip to content
NewA calmer, faster ZeroHour

Coca-Cola: Latent context compression for LLM agents

Original title: Tools Need Not Speak in Text: Latent Context Compression for Agents

Hugging Face daily papersby Yuetong Liu, Zhehao Zhou, Yitong Zhang ()1 min read
AI summary · x-ai/grok-4.7Summaries by Vani AI

Coca-Cola compresses tool observations into latent tokens and embeds them into the input embedding space of LLM agents.

The paper challenges the assumption that LLM agents must consume tool outputs as explicit text tokens. Coca-Cola compresses observations into latent tokens and uses Action-Preserving Training to align next-action distributions. Experiments on web-search agents across four QA benchmarks show 70-89% token reduction and improved performance with two model families. Code is available on GitHub.

Key facts
  • 70.01%-89.24% token consumption reduction
  • 24.45%-55.97% end-to-end runtime reduction
  • Action-Preserving Training introduced
  • Works with four QA benchmarks
  • Code at github.com/THU-Agent/Coca-cola
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

1 min read at huggingface.co

Large language model (LLM) agents typically append raw tool outputs to their context. Over multi-step interactions, long and noisy observations incur substantial context overhead and dilute the agent's attention to task-relevant information. Existing token pruning and summarization methods remain constrained by discrete text representations, limiting the achievable compression ratios.

Hugging Face daily papers

By Yuetong Liu, Zhehao Zhou, Yitong Zhang · huggingface.co

Read the full article at Hugging Face daily papers

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.