# Matei Zaharia says forgetting helps AI agents escape stalled optimization

> Original title: Cool results making auto-research / AI-based optimization better by having agents forget! Turns out that just running an agent for a long...

- Source: Matei Zaharia
- Published: 2026-10-15T17:11:34.000Z
- Bad Influence: https://badinfluence.news/items/kde7n0uodgzd2jiz7j5w4e5xu
- Original: https://x.com/matei_zaharia/status/2110780634201497684

## Summary

Matei Zaharia says letting agents forget improves auto-research and AI-based optimization, because long runs can lock an agent into small steps in one direction. The related paper by @ShangyinT, "Scaling Discovery Requires Forgetting," reports that coding agents running for days often stop improving early.

## Post

Cool results making auto-research / AI-based optimization better by having agents forget! Turns out that just running an agent for a long time can lock it into small steps in the same direction.

## Quoted post @ShangyinT

> Autoresearch with coding agents can now run for days on a single problem, but we've seen an increasing number of cases where they stop improving early. We address this issue with a simple idea: forgetting.
> 
> Introducing our new paper: "Scaling Discovery Requires Forgetting"

https://x.com/ShangyinT/status/2110771398209863821
