SYNTHESIS NOTE
Topics›Memory›this note

Can agents learn better from their failures than successes?

Does storing reasoning strategies extracted from both successful and failed experiences improve agent learning compared to tracking only successes or raw trajectories? This matters because failures offer preventative lessons that successes alone cannot teach.

Synthesis note · 2026-05-18 · sourced from Memory

ReasoningBank (2509.25140) departs from prior agent-memory work along two axes at once. First, it stores strategy-level reasoning hints rather than reusable workflows, instance-level concepts, or raw trajectories. Second, it draws those strategies from both successful AND failed experiences — judged by the agent itself without ground-truth labels. The combination matters because each axis on its own underperforms the joint version.

The strategy-level abstraction is what differentiates it from agent-workflow-memory approaches, which store procedural sequences. A reusable workflow says "to find a place's zip code, first search by name, then extract location, then look up zip." A strategy says "when an entity attribute is requested, identify which lookup primitive returns it most directly; chain only when a single primitive cannot suffice." Strategies generalize across tasks; workflows generalize across instances of the same task.

The failure-inclusion is what differentiates it from systems that only store successful trajectories. Failed experiences contribute preventative lessons — strategies that look promising but fail under specific conditions. The agent abstracts both into actionable principles. This addresses a known gap: success-only memory teaches what worked but never what to avoid.

The deeper finding is memory-aware test-time scaling (MaTTS). Scaling test-time compute generates more rollouts per task; more rollouts generate diverse experiences; diverse experiences provide richer contrastive signals for distilling higher-quality memory; better memory guides subsequent scaling toward more promising rollouts. Memory and compute compound rather than substitute. This is a different scaling law from the parameter scaling law — accuracy improves with cumulative interaction history, not just with one-time training compute.

The implicit theory of mind: agents become more capable not by accumulating data but by accumulating judged distinctions. The self-judgment step is doing the work. ReasoningBank can label its own success/failure because the agent has access to the task-grounded signals (did the search return useful results? did the action achieve the subtask?) — labels are emergent from interaction rather than annotation. This makes the approach scalable in deployment, not just in training.

The result reframes the relationship between memory and inference compute. Prior work treated them as separate dimensions; ReasoningBank shows they are coupled, and their coupling is itself a scaling axis.

Inquiring lines that read this note 32

This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.

Does semantic diversity improve reasoning quality in reinforcement learning? Why do autonomous agents fail and how well can they detect failures? How can agents learn and retain useful knowledge across diverse environments? Can AI agents learn to improve performance from experience? How should conversational agents balance proactive goal-pursuit with user autonomy? How do different reward signals affect model reasoning and calibration differently? How do different post-training structures affect learning outcomes? How should agent memory systems balance granularity, management, and reuse? How does transparency of agent reasoning affect effective oversight? What training data structures and signals produce robust learning across distributions? Does architectural recurrence enable computational capabilities that fixed-depth models cannot achieve? Can individually safe agents collectively violate system-level constraints? Should agent evaluation measure execution quality beyond task success? Does evolutionary optimization at test time improve model performance effectively? How can model evaluations remain robust against gaming and evaluator drift? Do AI safety evaluations reliably detect unsafe model behavior?

Related concepts in this collection 4

This note in its neighbourhood — explore the map, then jump to a related concept in the list below.

Concept map
21 direct connections · 144 in 2-hop network ·medium cluster Open in graph ↗

Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph

your link semantically near linked from elsewhere

Related papers in this collection 8

Papers most semantically related to this note, ranked by cosine similarity in the embedding space.

Original note title

distilling reasoning strategies from both successes and failures outperforms raw trajectories — and creates synergy with test-time scaling