mlsanityData to 7 Oct 2026

HiAgent: Hierarchical Working Memory Management for Solving Long-Horizon Agent Tasks with Large Language Model

arXiv 2408.09559 ↗First posted 18 Aug 2024cs.CL cs.AI cs.ROcited by 101

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

Large Language Model (LLM)-based agents exhibit significant potential across various domains, operating as interactive systems that process environmental observations to generate executable actions for target tasks. The effectiveness of these agents is significantly influenced by their memory mechanism, which records historical experiences as sequences of action-observation pairs. We categorize memory into two types: cross-trial memory, accumulated across multiple attempts, and in-trial memory (working memory), accumulated within a single attempt. While considerable research has optimized performance through cross-trial memory, the enhancement of agent performance through improved working memory utilization remains underexplored. Instead, existing approaches often involve directly inputting entire historical action-observation pairs into LLMs, leading to redundancy in long-horizon tasks. Inspired by human problem-solving strategies, this paper introduces HiAgent, a framework that leverages subgoals as memory chunks to manage the working memory of LLM-based agents hierarchically. Specifically, HiAgent prompts LLMs to formulate subgoals before generating executable actions and enables LLMs to decide proactively to replace previous subgoals with summarized observations, retaining only the action-observation pairs relevant to the current subgoal. Experimental results across five long-horizon tasks demonstrate that HiAgent achieves a twofold increase in success rate and reduces the average number of steps required by 3.8. Additionally, our analysis shows that HiAgent consistently improves performance across various steps, highlighting its robustness and generalizability. Project Page: https://github.com/HiAgent2024/HiAgent .

Key facts. Cited by 101 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 52 of its 93 references that are in the map. First posted on arXiv 18 Aug 2024.

Builds on

52 of 93 references.

Closest ancestors · 4

Same direction, newest first

  1. 2023Tree-Planner: Efficient Close-loop Task Planning with Large Language Models12 Oct
  2. 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models6 Oct
  3. 2023Large Language Models as Commonsense Knowledge for Large-Scale Task Planning23 May
  4. 2022PlanBench: An Extensible Benchmark for Evaluating Large Language Models on Planning and Reasoning about Change21 Jun

Other references · 48

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  3. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  4. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  5. 2020Longformer: The Long-Document Transformercited by 3,362
  6. 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,302
  7. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
  8. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
  9. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
  10. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,422
  11. 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,348
  12. 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,197
36 more
  1. 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,143
  2. 2022Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agentscited by 1,029
  3. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 814
  4. 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 800
  5. 2024A Survey on the Memory Mechanism of Large Language Model based Agentscited by 622
  6. 2023AgentVerse: Facilitating Multi-Agent Collaboration and Exploring Emergent Behaviorscited by 580
  7. 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 574
  8. 2023LLM+P: Empowering Large Language Models with Optimal Planning Proficiencycited by 496
  9. 2018VirtualHome: Simulating Household Activities via Programscited by 411
  10. 2023Describe, Explain, Plan and Select: Interactive Planning with Large Language Models Enables Open-World Multi-Task Agentscited by 396
  11. 2024TravelPlanner: A Benchmark for Real-World Planning with Language Agentscited by 385
  12. 2023Adapting Language Models to Compress Contextscited by 350
  13. 2024AgentBoard: An Analytical Evaluation Board of Multi-turn LLM Agentscited by 319
  14. 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedbackcited by 293
  15. 2018BabyAI: A Platform to Study the Sample Efficiency of Grounded Language Learningcited by 238
  16. 2023L-Eval: Instituting Standardized Evaluation for Long Context Language Modelscited by 232
  17. 2023Leveraging Pre-trained Large Language Models to Construct and Utilize World Models for Model-based Task Planningcited by 204
  18. 2023JARVIS-1: Open-World Multi-task Agents with Memory-Augmented Multimodal Language Modelscited by 170
  19. 2019Interactive Fiction Games: A Colossal Adventurecited by 165
  20. 2023CodePlan: Repository-level Coding using LLMs and Planningcited by 139
  21. 2023ChatDB: Augmenting LLMs with Databases as Their Symbolic Memorycited by 136
  22. 2023OpenAgents: An Open Platform for Language Agents in the Wildcited by 136
  23. 2024WebCanvas: Benchmarking Web Agents in Online Environmentscited by 119
  24. 2023Randomized Positional Encodings Boost Length Generalization of Transformerscited by 114
  25. 2023Retroformer: Retrospective Large Language Agents with Policy Gradient Optimizationcited by 110
  26. 2018NL2Bash: A Corpus and Semantic Parser for Natural Language Interface to the Linux Operating Systemcited by 97
  27. 2023CLIN: A Continually Learning Language Agent for Rapid Task Adaptation and Generalizationcited by 88
  28. 2024RAP: Retrieval-Augmented Planning with Contextual Memory for Multimodal LLM Agentscited by 80
  29. 2024Seal-Tools: Self-Instruct Tool Learning Dataset for Agent Tuning and Detailed Benchmarkcited by 62
  30. 2024RoboCodeX: Multimodal Code Generation for Robotic Behavior Synthesiscited by 55
  31. 2024Compress to Impress: Unleashing the Potential of Compressive Memory in Real-World Long-Term Conversationscited by 36
  32. 2023Learning to Reason and Memorize with Self-Notescited by 30
  33. 2023Personalized Large Language Model Assistant with Evolving Conditional Memorycited by 24
  34. 2024WebSuite: Systematically Evaluating Why Web Agents Failcited by 16
  35. 2023Reasoning over Hierarchical Question Decomposition Tree for Explainable Question Answeringcited by 11
  36. 2024AQA-Bench: An Interactive Benchmark for Evaluating LLMs' Sequential Reasoning Abilitycited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 25; 2026: 75.

101 papers.

Sort:

By area:

  1. 2025RoboTwin 2.0: A Scalable Data Generator and Benchmark with Strong Domain Randomization for Robust Bimanual Robotic Manipulationcited by 477
  2. 2025Stop Overthinking: A Survey on Efficient Reasoning for Large Language Modelscited by 456
  3. 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 381
  4. 2025ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memorycited by 253
  5. 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 125
  6. 2025A Survey of Context Engineering for Large Language Modelscited by 120
  7. 2025How Memory Management Impacts LLM Agents: An Empirical Study of Experience-Following Behaviorcited by 95
  8. 2025Agent KB: Leveraging Cross-Domain Experience for Agentic Problem Solvingcited by 90
  9. 2025Memp: Exploring Agent Procedural Memorycited by 88
  10. 2025Seeing, Listening, Remembering, and Reasoning: A Multimodal Agent with Long-Term Memorycited by 88
  11. 2025OdysseyBench: Evaluating LLM Agents on Long-Horizon Complex Office Application Workflowscited by 54
  12. 2026Meta Context Engineering via Agentic Skill Evolutioncited by 42
38 more
  1. 2025Agentic AI Security: Threats, Defenses, Evaluation, and Open Challengescited by 26
  2. 2026Toward Ultra-Long-Horizon Agentic Science: Cognitive Accumulation for Machine Learning Engineeringcited by 26
  3. 2025PolySkill: Learning Generalizable Skills Through Polymorphic Abstractioncited by 25
  4. 2025RCR-Router: Efficient Role-Aware Context Routing for Multi-Agent LLM Systems with Structured Memorycited by 24
  5. 2025ArcMemo: Abstract Reasoning Composition with Lifelong LLM Memorycited by 22
  6. 2026AgentOCR: Reimagining Agent History via Optical Self-Compressioncited by 22
  7. 2026Graph-based Agent Memory: Taxonomy, Techniques, and Applicationscited by 22
  8. 2026OmniGAIA: Towards Native Omni-Modal AI Agentscited by 21
  9. 2024What are the Essential Factors in Crafting Effective Long Context Multi-Hop Instruction Datasets? Insights and Best Practicescited by 14
  10. 2025SimuHome: A Temporal- and Environment-Aware Benchmark for Smart Home LLM Agentscited by 13
  11. 2025MEMTRACK: Evaluating Long-Term Memory and State Tracking in Multi-Platform Dynamic Agent Environmentscited by 13
  12. 2025HiPlan: Hierarchical Planning for LLM-Based Agents with Adaptive Global-Local Guidancecited by 10
  13. 2026JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness Evolutioncited by 10
  14. 2025Agent2World: Learning to Generate Symbolic World Models via Adaptive Multi-Agent Feedbackcited by 9
  15. 2026MementoGUI: Learning Agentic Multimodal Memory Control for Long-Horizon GUI Agentscited by 9
  16. 2026The Vision Wormhole: Latent-Space Communication in Heterogeneous Multi-Agent Systemscited by 8
  17. 2026All-Mem: Agentic Lifelong Memory via Dynamic Topology Evolutioncited by 8
  18. 2025Beyond Hard and Soft: Hybrid Context Compression for Balancing Local and Global Information Retentioncited by 7
  19. 2026HiMAC: Hierarchical Macro-Micro Learning for Long-Horizon LLM Agentscited by 7
  20. 2026Memory Intelligence Agentcited by 6
  21. 2025A Survey of Foundation Models for IoT: Taxonomy and Criteria-Based Analysiscited by 5
  22. 2025ReflecSched: Solving Dynamic Flexible Job-Shop Scheduling via LLM-Powered Hierarchical Reflectioncited by 5
  23. 2026Evaluating Theory of Mind and Internal Beliefs in LLM-Based Multi-Agent Systemscited by 5
  24. 2026Enhancing Web Agents with a Hierarchical Memory Treecited by 5
  25. 2026LLMs Can't Play Hangman: On the Necessity of a Private Working Memory for Language Agentscited by 4
  26. 2026Multi-agent Collaboration with State Managementcited by 4
  27. 2026ElasticMem: Latent Memory as a Learnable Resource for LLM Agentscited by 4
  28. 2026FragFuse: Bypassing Access Control of Large Language Model Agents via Memory-Based Query Fragmentation and Fusioncited by 4
  29. 2026AREX: Towards a Recursively Self-Improving Agent for Deep Researchcited by 4
  30. 2026Controlling Long-Horizon Behavior in Language Model Agents with Explicit State Dynamicscited by 3
  31. 2026Mem-π: Adaptive Memory through Learning When and What to Generatecited by 3
  32. 2026Organize then Retrieve: Hierarchical Memory Navigation for Efficient Agentscited by 3
  33. 2026LLM Agents Are Latent Context Managers: Eliciting Self-Managed Context via State Proprioceptioncited by 3
  34. 2026ECHO: Prune To Act, Trace To Learn With Selective Turn Memory In Agentic RLcited by 3
  35. 2026CoEvo-Mem: Co-Evolving Retrieval Policy and Memory Bank for LLM Agentscited by 3
  36. 2025HyCodePolicy: Hybrid Language Controllers for Multimodal Monitoring and Decision in Embodied Agentscited by 2
  37. 2026Cost and Accuracy of Long-Term Memory in Distributed Multi-Agent Systems Based on Large Language Modelscited by 2
  38. 2026MemCoRe: Recovering Evidence from Progressively Compressed Factual Knowledge for Agent Memorycited by 2

50 most cited of 101 All 101 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2025Intrinsic Memory Agents: Heterogeneous Multi-Agent LLM Systems through Structured Contextual Memory
  2. 2026Memory in the LLM Era: Modular Architectures and Strategies in a Unified Framework
  3. 2026Agent Memory Distillation: Empowering Small LLM Agents with Hierarchical Teacher Memory
  4. 2026Weighted Memory Tree: Remembering What Matters for Long-Horizon LLM Agents
  5. 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions
  6. 2026Memory for Autonomous LLM Agents:Mechanisms, Evaluation, and Emerging Frontiers
  7. 2025G-Memory: Tracing Hierarchical Memory for Multi-Agent Systems
  8. 2026MemCo: Memory-Centric Collaboration for Generalizing LLM Agents to Unseen Environments