eMoT: evolving Memory-of-Thought via Symbolic Anchoring and Memory Corrosion

Xiang Li, Jiwei Wei, Ke Liu, Yitong Qin, Jinyu Guo, Malu Zhang, Peng Wang, Yang YangarXiv 2026

TL;DR

eMoT (evolving Memory-of-Thought) is a novel framework that stabilizes multi-step reasoning in LLMs by treating reasoning paths as dynamic, self-curating memories rather than static templates. By combining this evolving procedural memory with Python-based symbolic execution and a dual-stream consistency check, eMoT allows smaller models (like Qwen-32B) to match or outperform massive models like GPT-4 on complex mathematical and logical tasks.

What Problem Does This Paper Address?

While Large Language Models (LLMs) excel at short-context generation, multi-step reasoning remains a major hurdle. Standard prompting techniques like Chain-of-Thought (CoT) treat reasoning as a transient, one-off generation process. This makes them highly susceptible to two failure modes:

  1. Numerical/Arithmetic Errors: LLMs struggle with precise, deterministic calculations.
  2. Structural Drift: Over long reasoning chains, early minor errors compound, causing the model to drift away from global task constraints even if individual intermediate steps seem locally plausible.

Existing solutions either use external tools (like Python interpreters) as post-hoc verifiers or rely on rigid, static prompt templates. However, these methods fail to capture and reuse high-level procedural logic across different problems, leading to fragile reasoning when tasks scale in complexity.

Methods

The eMoT framework operates like a temporal state machine, orchestrating a closed-loop architecture across three core modules:

Figure 1: Overview of eMoT. eMoT mitigates structural drift, intermediate errors, and hallucinated reasoning steps by integrating memory corrosion, symbolic anchoring via Python execution, and consistency-driven refinement. Memory control reinforces high-utility reasoning patterns (+α) while applying global decay ((1 −γ)) to forget stale or low-utility memories, enabling stable and self- evolving multi-step reasoning.
  1. The Memory Loop & Memory Corrosion: Instead of relying on static templates, eMoT maintains a persistent repository of reusable procedural schemas (logic scaffolds). When a problem arrives, it retrieves the most relevant schema via a Retrieval-Augmented Generation (RAG) pipeline. Successful schemas receive positive reinforcement ($+\alpha$), while unselected schemas undergo global exponential decay ($1-\gamma$). If a schema's activation score falls below a threshold ($\theta$), it is automatically purged to keep the memory space compact and free of redundant bloat.
  2. Symbolic Anchoring Engine: To eliminate arithmetic errors, eMoT distills the problem constraints and synthesizes a complete Python program in a single pass. Python acts as an external calculator, providing a deterministic "Symbolic Answer."
  3. Consistency-Driven Refinement: The framework runs a dual-stream process. The neural branch generates a memory-guided "Candidate Answer," while the symbolic branch generates a code-guided "Symbolic Answer." If they align, the answer is accepted. If they diverge, a refinement module adjudicates between the two, using the code and the intermediate reasoning trace to resolve the conflict.
Figure 2: Worked example of eMoT. The model produces a memory-guided candidate answer and a code-guided symbolic answer, which are reconciled through consistency-driven refinement; the outcome updates the evolving memory repository.

Datasets

The authors evaluated eMoT across several challenging arithmetic, algebraic, and combinatorial benchmarks:

  • Mathematical Reasoning: GSM8K, ASDiv, SVAMP, and MGSM (multilingual).
  • Stress-Testing Long-Horizon Reasoning: GSM-Hard (a variant of GSM8K featuring extreme numerical magnitudes designed to induce neural drift).
  • Combinatorial/Logic Tasks: Game of 24, WordSorting, and Checkmate.

Key Insights and Ideas

  • Reasoning Control > Model Size: One of the most striking findings is that framework-level reasoning control can compensate for raw parameter scale. Qwen-32B equipped with eMoT consistently matched or outperformed GPT-4 running advanced search strategies like Tree-of-Thoughts (ToT) or Buffer-of-Thoughts (BoT).
  • Mitigating "Commonsense Plausibility Drift": On datasets with extreme numbers (GSM-Hard), neural models often apply implicit real-world constraints incorrectly (e.g., assuming a value shouldn't be negative or excessively large) and hallucinate a "plausible" answer. Symbolic anchoring bypasses this human-like cognitive bias by strictly adhering to formal mathematical execution.
  • Dynamic Memory Lifecycle: By introducing biological-like memory corrosion (decay and purging), the system naturally builds an implicit curriculum, filtering out idiosyncratic or low-utility reasoning templates while retaining canonical problem-solving structures.

Key Results

As summarized in the paper's main results table, eMoT achieved substantial performance leaps over standard baselines:

Main results on multi-step reasoning benchmarks comparing eMoT against standard and structured baselines.
  • Game of 24: eMoT achieved a 100% perfect solve rate, outperforming GPT-4 (BoT) by 17.6%.
  • GSM-Hard: Accuracy surged from 15.9% (Direct prompting) to 71.5% with eMoT, significantly beating GPT-4 + BoT (62.0%).
  • Ablation Studies: Removing the memory module (w/o Mem) caused the largest performance drop on complex tasks like GSM-Hard (dropping from 71.5% to 66.0%), proving that procedural memory provides vital structural priors that stabilize deep reasoning chains.

Limitations and Future Work

Despite its strong performance, the authors note a few limitations:

  • Token and Latency Overhead: Running a multi-module routing framework inherently consumes more tokens and increases inference latency compared to simple zero-shot CoT.
  • Brittle Single-Pass Code Generation: If the synthesized Python code contains a syntax error, the symbolic branch fails (though eMoT gracefully falls back to the neural prediction in these cases).

Future Directions: The team plans to extend eMoT to competition-level domains (e.g., AIME, GPQA), replace single-pass code generation with iterative auto-debugging loops, and explore fully learnable memory management strategies.

Summary updated

Abstract

While Large Language Models (LLMs) achieve impressive performance on multi-step reasoning tasks, their reliability is persistently hindered by critical limitations such as unconstrained hallucinations and poor numerical computation. Fundamentally, these issues arise because standard models treat reasoning as a transient, one-off generation process rather than retaining and refining successful procedural logic. To address these challenges, we propose eMoT (evolving Memory-of-Thought), a unified framework that stabilizes multi-step reasoning by treating reasoning trajectories as dynamic, evolving memories rather than static templates. The framework primarily consists of three interconnected modules: (i) a memory corrosion mechanism that reinforces high-utility reasoning structures while gradually decaying less frequent ones; (ii) a symbolic anchoring engine that utilizes Python for deterministic computation, much like a human uses a calculator; and (iii) a consistency-driven refinement process that aligns neural inference with symbolic outcomes, reducing the accumulation of logical discrepancies. Across multiple reasoning benchmarks, eMoT improves accuracy and solution consistency over standard Chain-of-Thought and structured reasoning baselines.On the traditional task Game of 24, eMoT achieves 100% accuracy, surpassing the baseline by up to 17.6%. Evaluations on mathematical task GSM8K, ASDiv, SVAMP, and MGSM further show consistent gains in multi-step mathematical reasoning. In our evaluation, we achieve superior performance despite utilizing a lightweight backbone model with constrained baseline capabilities. Compared to alternative methods that rely on massively scaled models, our results demonstrate that the performance gains are fundamentally driven by the eMoT framework's reasoning control rather than sheer model size.
BibTeX
@misc{li2026emot,
  author = {Xiang Li and Jiwei Wei and Ke Liu and Yitong Qin and Jinyu Guo and Malu Zhang and Peng Wang and Yang Yang},
  title = {{eMoT: evolving Memory-of-Thought via Symbolic Anchoring and Memory Corrosion}},
  year = {2026},
  eprint = {2606.02054},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.02054},
}

Loading related content...

Figure