Can prompt optimization cut agent token usage without retraining?
Explores whether tuning natural-language compression guidelines—rather than fine-tuning model weights—can reduce memory costs and improve performance for long-horizon LLM agents across proprietary systems.
Agent Context Optimization (ACON) compresses both the growing interaction history and incoming observations of a long-horizon LLM agent, but it does so by optimizing a natural-language "compression guideline" rather than updating any model's weights. The paper reports that on AppWorld, OfficeBench, and Multi-objective QA — three benchmarks each requiring "15+ interaction steps" — ACON "reduces peak token usage by 26–54% while improving task success over existing compression baselines." The authors frame the two bottlenecks this is meant to solve as "prohibitive inference memory costs" from the KV cache and "reasoning degradation due to irrelevant information," i.e., unbounded context is expensive to hold and dilutes the signal the agent needs to act on.
The mechanism is prompt optimization, not reinforcement learning on the agent or compressor. ACON "iteratively refines compression guidelines based on failure analysis of the agent," and the paper's ablation finds "the default o3 with contrastive feedback yields the best performance," while dropping contrastive feedback or swapping to a weaker optimizer model lowers accuracy — though a weaker optimizer like gpt-4.1 "still yields sufficiently fine guideline compared to the baseline guideline." Because the guideline lives in text, it never touches the underlying LLM's parameters, which the authors say is what makes ACON "purely model-agnostic and directly applicable to agents based on proprietary, API-based LLMs" where gradient updates aren't an option. The optimized guideline can then be distilled into a smaller compressor model, "preserving 95% of the teacher's accuracy," and the paper reports the optimization step itself costs "less than $2 per benchmark" — cheap next to the roughly "$20" of rollout cost for collecting AppWorld training data with gpt-4.1, and cheaper still than RL approaches like GRPO that need extensive rollouts for advantage estimation. With a smaller, cheaper compressor supplying concise context, the paper reports small models act as better long-horizon agents: "32% on AppWorld, 20% on OfficeBench, and 46% on Multi-objective QA" by "mitigating the distraction of long contexts."
This sits alongside Can an external manager handle context for frozen agents?, which also keeps the agent frozen and externalizes context control, but trains its manager with end-to-end reinforcement learning on a frozen agent rather than optimizing a prompt in language space. The two papers converge on separating compression from the agent model, by different routes: AdaCoM pays RL rollout cost to learn a manager policy; ACON pays a few dollars of prompt-optimization cost against failure cases to write a better guideline, then distills it into a cheap model. Where AdaCoM's compression aggressiveness tracks the frozen agent's own reliability, ACON's result points to a second axis — the environment's noise level — treated separately in the source's discussion of when to prune harder versus retain more.
The excerpt evaluates ACON "primarily... on GPT models due to resource constraints," so how the guideline-optimization approach transfers to other model families, or to agentic settings beyond these three benchmarks, is not established here. The paper also names its own remaining limitation plainly: "the compression process itself introduces computational overhead and increased latency," so the gains in token usage and task success are not free of added compute cost at inference time.
Inquiring lines that read this note 8
This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.
How should context management strategies balance efficiency with agent reliability?- Can compression aggressiveness be set automatically for new environments without benchmark testing?
- Do weaker agents need more aggressive compression than stronger ones to stay reliable?
- Can agent reliability and environment noise level be tuned together as one compression dial?
- Does environment noise level affect how aggressively agents should compress context?
Related concepts in this collection 2
This note in its neighbourhood — explore the map, then jump to a related concept in the list below.
Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph
-
Can an external manager handle context for frozen agents?
Exploring whether a separate trained system can effectively manage a frozen agent's context window. This matters because many deployed agents are closed-source and can't be retrained, yet they suffer from context degradation.
both externalize compression from a frozen agent; AdaCoM trains an RL manager, ACON optimizes a natural-language guideline instead
-
Should compression be aggressive or conservative in different environments?
Does the right balance between pruning observations and preserving detail depend more on the task's noise level or the agent's capabilities? Understanding this trade-off could help practitioners tune compression for new agentic environments.
sibling note on the same paper's finding about when to prune aggressively versus retain conservatively
Related papers in this collection 8
Papers most semantically related to this note, ranked by cosine similarity in the embedding space.
- ACON: Optimizing Context Compression for Long-horizon LLM Agents
- LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Models
- SoL-Pi: Recursively Scaling Auto-Research Loops for Efficient Agent Harness
- Don't Break the Cache: An Evaluation of Prompt Caching for Long-Horizon Agentic Tasks
- Toward Efficient Agents: A Survey of Memory, Tool Learning, and Planning
- Holistic Agent Leaderboard: The Missing Infrastructure for AI Agent Evaluation
- How we built our multi-agent research system
- Single-Agent LLMs Outperform Multi-Agent Systems on Multi-Hop Reasoning Under Equal Thinking Token Budgets
Original note title
ACON optimizes natural-language compression guidelines instead of fine-tuning the compressor to cut agent peak token usage 26 to 54 percent