mlsanityData to 14 Oct 2026

CONTRAMEM: Learning Self-Evolving Procedural Memory from Contrasting Multi-Model Trajectories

arXiv 2608.22533 ↗First posted 23 Aug 2026cs.AIcited by 0

On the map: LLM agents and tool use → Agent memory systems

also in 1 more
Abstract (arXiv)

Autonomous computer-use agents are increasingly applied to long-horizon tasks requiring coordinated application calls, persistent state tracking, and verifier-sensitive writes, yet they remain prone to procedural failures: misreading application state, tool semantics, or task progress. Procedural memory promises more consistent decisions and less redundant exploration, but constructing high-quality memory without model training remains challenging. We introduce CONTRAMEM, a source-flexible, training-free framework for self-evolving procedural memory that treats same-task outcome variation as supervision: differences in correctness, efficiency, recovery, and failure modes expose outcome-relevant procedural distinctions, distilled into a compact bank of app-level Function Cards and task-level Skill Cards that evolves through localized curation rather than append-only accumulation or whole-bank rewriting. On held-out GAIA2/ARE computer-use tasks, CONTRAMEM more than doubles the success rate across the three source-model targets (26.2% to 55.3%), with consistent per-model gains (GPT-5.5: 27.5 to 61.0; Claude Sonnet 4.6: 28.0 to 52.5; DeepSeek V4 Pro: 23.0 to 52.5). The same bank transfers unchanged to the unseen Qwen3.7 Plus (18.5 to 35.5), indicating transferable procedural knowledge rather than model-specific behavior. The same construction carries over unchanged to AppWorld, beating both no memory and its own single-source self-memory variant for all three mid-tier agents on both public test splits. Under a matched trajectory budget, heterogeneous multi-model trajectories yield stronger memory than self- or same-model multi-rollout memory: the margin comes from contrastive behavioral diversity, not stronger source agents or more sampling.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 18 of its 49 references that are in the map. First posted on arXiv 23 Aug 2026.

Builds on

18 of 49 references.

Closest ancestors · 5

Same direction, newest first

  1. 2026Trajectory-Informed Memory Generation for Self-Improving Agent Systems11 Mar
  2. 2025Remember Me, Refine Me: A Dynamic Procedural Memory Framework for Experience-Driven Agent Evolution11 Dec
  3. 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models6 Oct
  4. 2025How Memory Management Impacts LLM Agents: An Empirical Study of Experience-Following Behavior21 May
  5. 2025A-MEM: Agentic Memory for LLM Agents17 Feb

Other references · 13

  1. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  3. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  4. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  5. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  6. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  7. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
  8. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
  9. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,332
  10. 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 591
  11. 2024ToolSandbox: A Stateful, Conversational, Interactive Evaluation Benchmark for LLM Tool Use Capabilitiescited by 295
  12. 2026Gaia2: Benchmarking LLM Agents on Dynamic and Asynchronous Environmentscited by 33
1 more
  1. 2026Muon-OGD: Muon-based Spectral Orthogonal Gradient Projection for LLM Continual Learningcited by 5

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Memp: Exploring Agent Procedural Memory
  2. 2026Managing Procedural Memory in LLM Agents: Control, Adaptation, and Evaluation
  3. 2026AdMem: Advanced Memory for Task-solving Agents
  4. 2026CHIME: Credit-Aware Hierarchical Memory Evolution for Long-Horizon Agentic Planning
  5. 2026DuoMem: Towards Capable On-Device Memory Agents via Dual-Space Distillation
  6. 2026HyperSkill: Self-Evolving LLM Agents via Hypergraph-Structured Skill Memory
  7. 2026BrainMem: Brain-Inspired Evolving Memory for Embodied Agent Task Planning
  8. 2026MemSkill: Learning and Evolving Memory Skills for Self-Evolving Agents