mlsanityData to 24 Nov 2026

A Matrix with Steps: An Episodic and Procedural Memory Method for Tool-Using Agents and Robots

arXiv 2611.20230 ↗Submitted 15 Nov 2026cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Agents that call tools and robots that execute tasks are challenged by two shortcomings: they repeat what failed before, and they learn from runs that they only believe succeeded. We describe the construction of a memory that addresses both, built for a production agent platform. Every run is recorded as an episode, and only an outcome confirmed by an external check, a test, a tool result or a person counts; the agent's own claim never does. What is learned from episodes is kept in a memory with two parts: an associative matrix, written with the delta rule, which finds the procedure that applies to a situation; and a section of ordered, addressable step records that answers what comes after a given step, where a step is a goal of the agent, not a motion. Because the matrix sums its associations, it keeps no order and cannot return or delete a single one; it serves as the finder, and order, outcome counts and deletion live in the records. We describe how execution outcomes are stored, how episodes are recalled and used for solving tasks, and the file format that stores the memory. In simulation, a robot that judged its own success and stopped when it believed it was done reported 96% of its tasks as done and solved 35%; with external verification it solved 79%. In a store of 100000 synthetic episodes (457MB on disk), the oldest episode was still found first, no episode from another person's memory was returned, and a success vouched for only by the model was never recalled; a lookup took 16ms on a laptop and 40ms on a server node (median). Task outcomes were measured up to about 10000 confirmed records, where the exact records solved every revisit at the first attempt.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 16 of its 31 references that are in the map. Submitted 15 Nov 2026.

Builds on

16 of 31 references.

References · 16

  1. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
  2. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,841
  3. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,483
  4. 2019Machine Unlearningcited by 1,104
  5. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 1,067
  6. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 554
  7. 2024Agent Workflow Memorycited by 482
  8. 2023Cognitive Architectures for Language Agentscited by 475
  9. 2024xLSTM: Extended Long Short-Term Memorycited by 359
  10. 2017Neural Episodic Controlcited by 156
  11. 2024AriGraph: Learning Knowledge Graph World Models with Episodic Memory for LLM Agentscited by 117
  12. 2016Model-Free Episodic Controlcited by 107
4 more
  1. 2024Human-inspired Episodic Memory for Infinite Context LLMscited by 70
  2. 2017A survey of robot learning from demonstrations for Human-Robot Collaborationcited by 45
  3. 2025Position: Episodic Memory is the Missing Piece for Long-Term LLM Agentscited by 42
  4. 2025Episodic Memories Generation and Evaluation Benchmark for Large Language Modelscited by 16

Built on by

Not cited yet.