Should successful and failed episodes be processed differently?
Explores whether asymmetric treatment of trajectories—preserving successes as full demonstrations while abstracting failures into lessons—could improve both the utility and efficiency of memory in reinforcement learning agents.
Existing memory-based RL methods primarily store raw trajectories. Raw trajectories are token-heavy and noise-saturated; storing them indiscriminately produces context pollution that degrades policy improvement. The alternative — uniform abstraction across all trajectories — destroys the specificity that makes the experience useful.
SkillRL (2602.08234) introduces differential processing as the load-bearing architectural choice. Successful episodes are preserved as full demonstrations — their specific action sequences are exactly what should be reused. Failed episodes are synthesized into concise failure lessons — the specifics of what went wrong don't transfer, but the abstracted lesson does. The asymmetry mirrors how human experts treat experience: remember concrete successes vividly, generalize failures into rules.
The two trajectory types feed a hierarchical SkillBank, partitioned into general skills (universal strategic guidance) and task-specific skills (task-level heuristics). The skill library co-evolves with the agent's policy through recursive failure analysis — each new RL iteration both refines the policy and updates the skill library based on what worked and what didn't.
The differential-processing claim resolves a tension across the agent-memory literature. Does agent memory degrade when continuously consolidated? shows that uniform consolidation regresses below baseline because the consolidation step strips applicability conditions. SkillRL's asymmetric treatment is the proposed fix: preserve raw episodes where the specifics matter (successes), abstract where they don't (failures-as-lessons). This is the third positive case for the condition-preservation hypothesis — alongside ReasoningBank (strategy-level distillation with conditions) and CLIN (causal abstractions preserving "may be necessary"). See ops/tensions/strategy-distillation helps when applicability conditions survive — and hurts when they are stripped.md.
The conceptual move is that abstraction is the right operation for some trajectory types and the wrong operation for others. Treating all experience the same — uniformly raw OR uniformly abstracted — is the failure mode. The right architecture differentiates by trajectory type, with the differentiation being driven by what each type actually contributes to future decision-making.
Empirically, SkillRL achieves state-of-the-art on ALFWorld and WebShop while using substantially less context than raw-trajectory-based memory approaches. The compression comes from the abstraction-of-failures step; the performance comes from preserving the demonstrations-of-successes step. Both halves of the asymmetry are doing work.
Update (2026-05-28) — the topological expression of the success-side operation. FluxMem (2605.28773, "Rethinking Memory as Continuously Evolving Connectivity") performs the differential-processing principle's success-side step as graph topology rather than a skill library. Its Long-Term Consolidation stage clusters recurring successful trajectories and crystallizes them into stable procedural circuits — high-utility pathways that mature (monitored by a convergence metric) so that recurring tasks bypass redundant retrieval and directly activate the mature subgraph. This is SkillRL's "preserve successes as reusable demonstrations" claim recast on a heterogeneous memory graph: where SkillRL stores successful episodes as full demonstrations in a SkillBank, FluxMem stores them as crystallized connections between co-activated units. The convergence is informative — two independently developed systems land on the same operation (durably encode recurring successes for direct reuse) through different data structures, which strengthens the case that the success/failure asymmetry is a structural requirement of self-evolving agent memory, not an artifact of one architecture.
Inquiring lines that read this note 129
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.
How do self-generated feedback mechanisms enable effective model learning?- Can unified policies handle negative feedback and critique transformation simultaneously?
- How do intrinsic motivation principles explain why generating novel challenges improves learning?
- How do developmental curriculums emerge from learning progress signals?
- What makes content informative and not-yet-mastered for reinforcement during pretraining?
- How do reward models and self-improvement mechanisms interact in training?
- How does scaffolding unstable mechanics improve reinforcement learning for search?
- What status categories best represent user goal progress without penalizing external failures?
- Can population diversity in self-improvement prevent error avalanching failures?
- How should learning environments balance error prevention with pedagogical value?
- Can AI outputs inspire new directions even when they seem like failures?
- What happens when error accumulation and preference signal collapse occur together?
- What makes preventative lessons from failures more valuable than success patterns?
- How do failure examples improve distillation compared to successful trajectories alone?
- Can held-out validation gates prevent optimizer hallucinations in skill proposals?
- Does task superposition explain how models learn from multiple in-context trajectories?
- Does task ordering affect multi-task reinforcement learning outcomes?
- How do complete multi-turn trajectories differ from isolated task examples?
- How should multi-objective post-training balance competing behavioral goals?
- Can checklist-based rewards fix judgment problems in RL training?
- What behavioral changes occur during reward learning training?
- Can negative reinforcement alone match full RL performance on domain tasks?
- What failure modes do imitation and outcome methods each address?
- Does careful reward engineering matter if pretraining determines RLVR effectiveness?
- How do outcome and process rewards differ in their treatment of intermediate steps?
- How does process-focused feedback compare to outcome-focused feedback in skill training?
- How should trajectory-aware PRMs weight backtracking and planning sentences?
- Why do standard process reward models struggle with branching reasoning traces?
- Can trajectory structure replace hand-annotated process reward models entirely?
- What role does natural language play in breaking reinforcement learning performance plateaus?
- What breaks when you apply reinforcement learning after supervised fine-tuning?
- What makes session-aware multi-turn tracking necessary for asynchronous training?
- Can in-context reinforcement learning match human sample efficiency on real problems?
- Why do single-turn RL methods fail to generalize to multi-turn tasks?
- Why does storing past judgments in memory make current evaluations worse?
- Can episodic and semantic memory improve long-horizon task reasoning?
- Can episodic memory alone enable learning without parameter updates?
- How do retrieved memories differ from decision-context passages for prediction?
- Can neural modules memorize surprising tokens as adaptive long-term memory?
- Can offline recurrent passes replicate sleep-based memory consolidation in AI?
- What can agents learn from the brain's complementary learning systems?
- What makes knowledge seeding equivalent to hippocampal replay in the brain?
- Why do agents report success when they have actually failed at tasks?
- Why do completion-mode strengths not transfer to agentic settings?
- How do delayed effects complicate causal attribution in agent systems?
- How do agents learn to report success on actions that actually failed?
- What training objectives could reduce completion bias in autonomous agents?
- How do agents decide when to stop and reflect on failure?
- What hidden signals in agent logs reveal about frontier capability beyond pass-fail outcomes?
- Can stopping rules extracted from past failures improve agent reliability without retraining?
- Can importance sampling reduce variance in off-policy reward estimation?
- How do loss functions simultaneously shape both learning and decision quality?
- Can negative feedback through critiques achieve the same steering flexibility as positive preferences?
- How does SDPO relate to agents learning from verbal reflection without parameter updates?
- Can we reverse the instruction-following deficit through targeted training?
- Why does natural language feedback break performance plateaus that numerical rewards alone cannot?
- Do outcome-only reward signals miss step-level errors that compound later?
- Can multi-turn aware rewards improve alignment beyond single-turn helpfulness?
- Can binary judge feedback replace external reward signals for skill learning?
- How does in-context feedback integration differ from learned reward signals?
- How do implicit world models and self-reflection operationalize consequence-based learning?
- How do prior errors in context history amplify future mistakes in long tasks?
- How do prior errors in context history amplify future failures over time?
- How does forced exploration through diversity rewards differ from suppression-based negative reinforcement?
- How does active selection of training content differ from random reinforcement sampling?
- What training difficulty and curriculum settings prevent instability in empathetic agent RL?
- Why do memory and feedback loops matter more than model size for agent reliability?
- How do capability tracks and behavior tracks stay separable during skill deployment?
- How does structured environment-side state reduce multi-turn agent failure better than transcript replay?
- How does modularity in reward and policy design enable goal generalization?
- How do you extract reward signals when all rollouts fail?
- Can combinational creativity alone drive open-ended learning in agents?
- How can agents learn when silence is better than intervention?
- Can individual skills improve through reuse and accumulate experience across tasks?
- Can applicability conditions be preserved automatically when agents reflect on trials?
- Why do current metacognitive training loops fail when agents encounter new domains?
- Can graph topology represent successful trajectory clusters more effectively than skill libraries?
- What makes trajectory quality matter more than one-shot task success?
- Why do self-improving agents concentrate progress in the fast non-parametric loop?
- How does dual-rate learning separate episodic and procedural memory in neural networks?
- Does environment stochasticity force models to generalize better across trajectory variations?
- How do complementary learning systems explain the need for fast and slow consolidation?
- How can a forgetting policy preserve rare knowledge while preventing over-generalization?
- Can episodic memory of UI traces improve open-world agent adaptation?
- Can agents compress long trajectories without losing critical decision context?
- How does memory folding enable agents to reconsider strategies mid-task?
- How should agents compress episodic interactions into working memory without accumulation?
- What causes multi-turn agent failures: weak memory control or missing knowledge?
- How can agents distinguish over-generalized lessons from genuinely useful long-tail knowledge?
- What details do high-level trajectory abstractions lose that state-grounded recall preserves?
- How do trajectory quality and memory hygiene differ as evaluation metrics?
- What distinguishes working memory from strategic memory in agent task execution?
- Can workflow memory compound reusable skills into measurable success improvements?
- What deployment modes work best for trajectory-aware reward signals?
- Can tool-call advantage attribution distinguish between correct and incorrect calls in mixed trajectories?
- Why do sparse outcome rewards fail to credit correct tool calls in failed trajectories?
- When should agents stop recursing to optimize success versus cost?
- Can early experience replace external rewards as a learning signal?
- Why do scalar evaluation scores collapse distinguishable agent behaviors?
- Why do outcome-only rewards fail to optimize long-horizon agent behavior?
- Why do successful and failed trajectories need different memory processing?
- What drives the choice between storing raw episodes versus abstracted rules?
- Can memory consolidation fragility be detected and reversed during execution?
- What makes memory consolidation fragile compared to raw trajectory storage?
- What behavioral differences emerge from symmetric versus asymmetric peer discussion loops?
- How do agents differ in caution versus persistence across low-information scenarios?
Related concepts in this collection 8
This note in its neighbourhood — explore the map, then jump to a related concept in the list below.
Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph
-
Does agent memory degrade when continuously consolidated?
Can consolidating agent experiences into summaries actually harm long-term performance? Research on ARC-AGI tasks suggests continuous memory updates may reduce capability below the no-memory baseline.
diagnoses the failure mode SkillRL's differential processing addresses
-
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.
ReasoningBank also distills from successes AND failures but treats both as strategies; SkillRL treats successes as demonstrations (raw) and failures as lessons (abstracted) — same idea applied with different granularity
-
Can frozen language models continually improve through memory structure alone?
If agents can't update parameters, what form of textual memory lets them keep learning across trials and transfer to new tasks without retraining?
CLIN preserves applicability conditions via causal form; SkillRL preserves them by treating success-trajectories as raw
-
Can agents learn reusable sub-task routines from past experience?
Do web agents fail at long-horizon tasks because they cannot extract and reuse workflows shared across similar problems? This explores whether sub-task abstraction enables skill accumulation rather than task-by-task problem solving.
AWM compounds workflows; SkillRL compounds skills hierarchically — same compositional principle, asymmetric trajectory processing as added axis
-
Can agents learn new skills without forgetting old ones?
Explores whether externalized skill libraries—storing learned behaviors as retrievable code rather than parameter updates—can solve the catastrophic forgetting problem that plagues continual learning systems.
VOYAGER is the predecessor; SkillRL adds the success-failure asymmetry and online RL refinement
-
Can a separate trained curator improve skill libraries better than frozen agents?
Explores whether decoupling skill curation from agent execution enables better long-term learning of what skills to keep, delete, or refine. Matters because manual curation doesn't scale and heuristic approaches lack feedback.
SkillOS is the complementary axis: SkillRL differentiates *what gets stored* (success demos vs failure lessons); SkillOS differentiates *who learns from the storage* (curator vs executor). SkillRL's asymmetric trajectory processing is a candidate ingredient inside SkillOS's curator
-
Can agents adapt without pausing service to users?
Can deployed LLM agents continuously improve their capabilities while serving users without interruption? This explores whether fast behavioral updates and slow policy learning can coexist across different timescales.
MetaClaw decomposes adaptation across timescales using SkillRL-like failure-distillation as its fast-timescale mechanism; MetaClaw's contribution is adding the slow-timescale weight-update channel
-
Does creating skills inside the agent loop eliminate mismatches?
Can coupling skill creation directly to the runtime reasoning loop—rather than authoring skills offline—close the gap between when skills are made and when they're used? This matters for whether agents can ground new capabilities in their actual situated context.
synthesizes: both ground skills in the agent's own situated trajectory rather than out-of-loop authoring, here via in-loop creation, there via differential trajectory processing
Related papers in this collection 8
Papers most semantically related to this note, ranked by cosine similarity in the embedding space.
- RLVMR: Reinforcement Learning with Verifiable Meta-Reasoning Rewards for Robust Long-Horizon Agents
- AgentFly: Fine-tuning LLM Agents without Fine-tuning LLMs
- ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memory
- SkillRL: Evolving Agents via Recursive Skill-Augmented Reinforcement Learning
- Useful Memories Become Faulty When Continuously Updated by LLMs
- Self-distillation Enables Continual Learning
- Mechanistically Interpreting the Role of Sample Difficulty in RLVR for LLMs
- Artifacts as Memory Beyond the Agent Boundary
Original note title
recursive skill-augmented RL applies differential processing to trajectories — successful episodes preserved as demonstrations while failures distilled into concise lessons