From History to State: Constant-Context Skill Learning for LLM Agents
Haoyang Xie, Xinyuan Wang, Yancheng Wang, Puda Zhao, Feng Ju

TL;DR
This paper introduces a constant-context skill learning framework for LLM agents that improves efficiency and privacy by moving procedural context from prompts into learned weights, enabling better performance across multiple tasks.
Contribution
The authors propose a novel context-to-weights framework that learns reusable procedures in lightweight modules, reducing prompt size and enhancing privacy and performance for LLM agents.
Findings
Achieves high success rates on ALFWorld, WebShop, and SciWorld benchmarks.
Reduces prompt tokens per turn by 2-7 times compared to ReAct baselines.
Matches or exceeds published agent-training results.
Abstract
Large language model (LLM) agents are increasingly used to operate browsers, files, code and tools, making personal assistants a natural deployment target. Yet personal agents face a privacy-cost-capability tension: cloud models execute multi-step workflows well but expose sensitive intermediate context to external APIs, while local models preserve privacy but remain less reliable. Both settings also pay repeatedly for long skill prompts and growing histories. We propose constant-context skill learning, a context-to-weights framework for recurring agent workflows: reusable procedures are learned in lightweight task-family modules, while inference conditions only on the current observation and a compact state block. A deterministic tracker renders this state block from task progress and supplies aligned subgoal rewards, so each module can be trained with step-level SFT and refined…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
