Manuscript Offprint

arXiv:2609.02074

CHIME: Credit-Aware Hierarchical Memory Evolution for Long-Horizon Agentic Planning

Yongshi Ye, Tian Lan, Feihu Jiang, Muyang Ye, Bin Zhu, Qianghuai Jia, Longyue Wang, Zhao Xu, Weihua Luo, Xiaodong Shi

Abstract

Planning is a central capability that enables agents to decompose complex long-horizon tasks into manageable steps. Test-time search and training-based methods improve planning but incur high inference costs or require expensive training data. Self-evolving memory instead accumulates reusable experience from agent interaction outcomes into an external memory bank, so planning capability keeps improving at inference time without parameter updates. However, existing self-evolving memory methods share an inherent credit assignment problem: they rely on final task outcomes as feedback, but such outcomes conflate plan quality with execution errors and environmental factors, so the accumulated planning experience is often biased and noisy. To address this problem, we propose Credit-Aware Hierarchical Memory Evolution (CHIME), a self-evolving memory framework that maintains a separate planning bank and execution bank and follows an attribute-before-memorize principle: CHIME first attributes each task outcome to the plan, the execution, both, or neither, and then updates only the corresponding memory bank. Extensive experiments on four long-horizon agent benchmarks show that CHIME consistently outperforms state-of-the-art training-based and self-evolving memory baselines. Further analyses reveal several interesting findings. For example, CHIME accumulates effective memory with far fewer items. In addition, the learned memory values faithfully reflect downstream utility: high-quality planning memories are more valuable than execution memories. Finally, the accumulated memory effectively transfers across backbone models. Code will be released at https://github.com/ATH-MaaS/Marco-DeepResearch.

1 Introduction

Long-horizon tasks pose a defining challenge for agentic systems: agents must coordinate decisions across interdependent steps while sustaining adherence to task constraints throughout execution Xie et al. (2024); Wang et al. (2024); Erdogan et al. (2025). Agentic planning addresses these requirements by decomposing the overall objective into modular, independently executable subgoals Wang et al. (2024); Shen et al. (2023); Zhang et al. (2026b); Liu et al. (2026)

and establishing the dependencies and constraints among them Kim et al. (2023); Guo, Kingston, and Kavraki (2024); Lan et al. (2026), making it a central capability for solving long-horizon tasks.

This has motivated prior work to improve agents' planning capability. Test-time search Yao et al. (2023a); Hao et al. (2023); Zhou et al. (2024); Yu et al. (2026); Team et al. (2026a) improves per-task performance by exploring multiple candidate plans or trajectories, but incurs high inference costs and does not retain reusable experience. To retain and reuse planning experience across tasks, subsequent work has pursued two directions: (1) Planner model training Erdogan et al. (2025); Si et al. (2026); Liu et al. (2026); Team et al. (2026b) internalizes planning capability into model parameters, but requires costly data collection and post-training, since identifying high-quality plans relies on extensive downstream executions; (2) Self-evolving memory Chen et al. (2026); Ouyang et al. (2026) instead accumulates experience in an external, training-free memory bank, offering a more efficient and scalable alternative. We therefore focus on improving planning within the self-evolving memory paradigm in this paper. However, existing self-evolving memory methods share a fundamental limitation for agentic planning: they equate downstream task outcomes with plan quality. The same outcome can arise from different causes: success may result from a sound plan or from executor recovery from a flawed one, while failure may stem from a flawed plan, incorrect execution, or environmental issues. Using such outcomes directly as memory feedback therefore leads to a fundamental credit assignment failure. On the one hand, once biased experience is written into the memory bank, it is repeatedly retrieved and reused across tasks, allowing local misjudgments to accumulate into systematic planning errors. On the other hand, execution- or environment-level experience may be mistaken for planning memory; retrieving might low-level details then misguides high-level planning decisions instead of providing planning guidance.

To address this, we propose Credit-Aware Hierarchical Memory Evolution (CHIME), a self-evolving agentic planning framework that replaces outcome-based memory up-

∗^{*}Corresponding author: wanglongyue.wly@alibabainc.com, mandel@xmu.edu.cn.

Figure

Figure 1: Vanilla self-evolving agents vs. CHIME. Vanilla self-evolving agents write experience directly to shared memory. CHIME attributes task outcomes through a credit attribution gate before updating planning or execution memory.

dates Ye et al. (2026) with an attribute-before-memorize process. Specifically, CHIME comprises three components: (1) Hierarchical Memory Bank explicitly separates planning and execution memory into a planning bank and an execution bank, retrieving stage-specific memories through similarity retrieval and value-based reranking to separately guide the agent's planning and execution; (2) Credit Attribution Gate then reflects on the task, plan, execution, and retrieved memories to attribute reusable feedback to planning, execution, both stages, or neither, before any memory is written; it also generates stage-specific experience and identifies misleading memories; and (3) Credit-Aware Memory Evolution updates the values of retrieved memories using confidence-weighted feedback, while filtering, merging, or inserting new experience only into the attributed bank. In this way, CHIME evolves each bank only with memory attributed to that stage, preventing biased signals from persisting and execution-level memory from contaminating the planning bank.

Experiments on four long-horizon benchmarks with two backbone models show that CHIME consistently outperforms training-based and self-evolving memory baselines, improving the eval average over the strongest baseline by 2.96% and 3.68% on the two backbones, respectively. Further analyses reveal several interesting findings: (1) CHIME achieves the highest accuracy while retaining only 129 memories, versus 3,585 for the strong baseline; (2) the learned memory values faithfully reflect downstream utility, and planning memories bring more than twice the accuracy gain of execution ones (21.7%→50.8% vs. 23.7%→35.4%); (3) the Credit Attribution Gate is reliable, with repeated attributions agreeing in up to 97.9% of cases and over half of the failures rescued by the generated experience; (4) replacing model's self-reflection credit with a stronger credit model

yields a further gain of up to 3.12%; and (5) the accumulated memory effectively transfers across backbones, outperforming A-MapReduce's transferred memory by up to 4.68%. These findings confirm that attribute-before-memorize is the key to CHIME's effectiveness.

References (48)