mlsanityData to 7 Oct 2026

From History to State: Constant-Context Skill Learning for LLM Agents

arXiv 2605.05413 ↗First posted 6 May 2026cs.AIcited by 5

On the map: LLM agents and tool use → Agent skill learning and evolution

Abstract (arXiv)

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 through online RL. Across ALFWorld, WebShop, and SciWorld, our agents achieve strong performance across Qwen3-4B, Qwen3-8B and Llama-3.1-8B. With Qwen3-8B, SFT+RL reaches 89.6% unseen success on ALFWorld, 76.8% success on WebShop, and 66.4% unseen success on SciWorld. They match or exceed strong published agent-training results while reducing prompt tokens per turn by 2--7× relative to controlled ReAct prompting baselines, showing that procedural context can be moved from prompts into weights.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Agent skill learning and evolution, one of 16 directions in LLM agents and tool use. Builds on 36 of its 43 references that are in the map. First posted on arXiv 6 May 2026.

Builds on

36 of 43 references.

References · 36

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  3. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  4. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  5. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  6. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  7. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
  8. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  9. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
  10. 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,197
  11. 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,143
  12. 2025A-MEM: Agentic Memory for LLM Agentscited by 1,000
24 more
  1. 2024Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Surveycited by 641
  2. 2024A Survey on the Memory Mechanism of Large Language Model based Agentscited by 622
  3. 2025Group-in-Group Policy Optimization for LLM Agent Trainingcited by 442
  4. 2023Learning to Compress Prompts with Gist Tokenscited by 379
  5. 2022ScienceWorld: Is your Agent Smarter than a 5th Grader?cited by 298
  6. 2016Hierarchical Deep Reinforcement Learning: Integrating Temporal Abstraction and Intrinsic Motivationcited by 282
  7. 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 279
  8. 2023Parameter-Efficient Fine-Tuning Methods for Pretrained Language Models: A Critical Review and Assessmentcited by 227
  9. 2024ArCHer: Training Language Model Agents via Hierarchical Multi-Turn RLcited by 212
  10. 2024Trial and Error: Exploration-Based Trajectory Optimization for LLM Agentscited by 194
  11. 2025LightMem: Lightweight and Efficient Memory-Augmented Generationcited by 163
  12. 2026Qwen3.5-Omni Technical Reportcited by 146
  13. 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agentscited by 99
  14. 2025Agent Learning via Early Experiencecited by 79
  15. 2024Direct Multi-Turn Preference Optimization for Language Agentscited by 63
  16. 2025Beyond Single-Turn: A Survey on Multi-Turn Interactions with Large Language Modelscited by 58
  17. 2024Self-evolving Agents with reflective and memory-augmented abilitiescited by 52
  18. 2024Prompt Compression with Context-Aware Sentence Encoding for Fast and Improved LLM Inferencecited by 51
  19. 2025AgentRefine: Enhancing Agent Generalization through Refinement Tuningcited by 51
  20. 2020A Probabilistic End-To-End Task-Oriented Dialog Model with Latent Belief States towards Semi-Supervised Learningcited by 47
  21. 2024Odyssey: Empowering Minecraft Agents with Open-World Skillscited by 26
  22. 2026REMem: Reasoning with Episodic Memory in Language Agentcited by 20
  23. 2026Exploratory Memory-Augmented LLM Agent via Hybrid On- and Off-Policy Optimizationcited by 17
  24. 2026Agentic Critical Trainingcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026SkillRet: A Large-Scale Benchmark for Skill Retrieval in LLM Agents
  2. 2026SkillGym: Training Skill-Use Agents with Automatic Verifiable Environment Generation
  3. 2026SkillSmith: Enhancing Locally Deployed Agents via Automatic Skill Construction and Evolution
  4. 2026Secure Forgetting: A Framework for Privacy-Driven Unlearning in Large Language Model (LLM)-Based Agents
  5. 2026How Well Do Agentic Skills Work in the Wild: Benchmarking LLM Skill Usage in Realistic Settings
  6. 2026SkillAdaptor: Self-Adapting Skills for LLM Agents from Trajectories
  7. 2026LatentSkill: From In-Context Textual Skills to In-Weight Latent Skills for LLM Agents
  8. 2026Agent Skills for Large Language Models: Architecture, Acquisition, Security, and the Path Forward