The Fragility of Self-Improving AI Agents: When Memory Becomes a Curse
> "We must learn to navigate in uncertainty, rather than waiting for the map to be completed." — Karl Popper
Introduction
Self-improving agents are AI systems that learn from online task streams by maintaining a memory store of reusable workflows or reasoning patterns, promising ever-better performance over time. A Salesforce AI Research paper—a deep dissection of Agent Workflow Memory (AWM) and ReasoningBank (RBank)—reveals three fatal fragilities: variance, task order, and underspecification.
How These Systems Work
- AWM: Extracts complete workflows from successful trajectories (e.g., "search → filter → compare → order") and injects them into context.
- RBank: Extracts reasoning insights from both successes and failures, using a retriever to select relevant memories for new tasks.
- WebArena GitLab subset: best-to-worst gap of 4.4%
- SCUBA Service subset: best-to-worst gap of 6.67%
- With self-improvement applied, RBank widens the GitLab gap to 7.8%; the Map domain's standard deviation rises from 1.30% to 3.89% (a 200% relative increase)
- In 17 of 24 (71%) domain-method combinations, variance increases
- Under default ordering: RBank gains +1.5% on average
- Under two shuffled orderings: performance drops 4.5%
- Environment underspecification: Memories include infeasible advice (e.g., "call APIs" in a browser-only environment), which is repeatedly retrieved and pollutes decisions.
- Task underspecification: In WebArena task 118 ("I have jaw bruxism problem..."), the agent interpreted a shopping-navigation task as open-ended medical Q&A, generating irrelevant memories.
- Memory contagion: A lucky success (e.g., using the Haversine formula) gets stored and mechanically reused where it doesn't apply.
- Report multi-run statistics (variance, standard deviation, confidence intervals)
- Randomize task order as a baseline requirement
- Explicitly model environment constraints and pass them to memory construction
- 🚦 Single-run evaluation → likely non-reproducible
- 🚦 Ordered task sequences → "improvement" may be an order effect
- 🚦 Unclear specs → memory becomes poison
- Ye, Q., Li, Y., Pruksachatkun, Y., Zhang, J., & Wu, C. S. (2026). On the Fragility of Self-Improving Agents: Variance, Task Order, and Underspecification. *arXiv preprint arXiv:2608.18066*.
- Zhou, S., et al. (2024). Agent Workflow Memory. *NeurIPS 2024*.
- Yu, L., et al. (2024). ReasoningBank. *ICLR 2025*.
- Zhou, S., et al. (2024). WebArena: A Realistic Web Environment for Building Autonomous Agents. *ICLR 2024*.
- Koh, J. Y., et al. (2024). VisualWebArena. *ACL 2024*.
Finding 1: The Curse of Variance
Even without memory mechanisms, evaluation is noisy:
Best vs. worst runs of the same experiment can differ by 10 percentage points. Crucially, prior work reported single runs only, making results potentially non-reproducible.
Finding 2: The Task-Order Illusion
Default task ID orders in benchmarks like WebArena implicitly sort tasks easy-to-hard (early pass rates ~75%, dropping below 40% later)—a hidden curriculum:
The reported "improvement" largely reflects the favorable ordering, not genuine memory-based learning.
Finding 3: Underspecification
Agents lack explicit information about what the environment can do and what tasks require:
Mitigation Attempts
| Intervention | Content | Effect | |---|---|---| | +Rub | Give memory builder the rubric and scores | Partial | | +Env | Provide environment execution feedback | Partial | | +PMod | Explicitly forbid API calls, external sites, human confirmation | Partial | | +All | Combine all three | Closes 31% of the gap |
A significant gap remains, indicating other uncharacterized factors contribute to fragility.
Key Takeaways
For researchers:
For practitioners (three red lights):
Recommended protocols: at least 3 runs, stress tests under shuffled/adversarial orderings, periodic human audits of memory stores, and human-in-the-loop oversight.
Conclusion
The paper does not reject self-improving agents; it asks us to confront their fragility and build robust systems that recognize their own limits and proceed cautiously under uncertainty—like aircraft engineered with redundancy for every known failure mode.