Manuscript Offprint

arXiv:2610.20563

Scaling Discovery Requires Forgetting

Shangyin Tan, Ben Zhou, Lakshya A Agrawal, Jialin Zhang, Yilin Chen, Qiuyang Mang, Donghyun Lee, Dennis Jacob, Koushik Sen, Alex Dimakis, Matei Zaharia

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Shangyin Tan 1^{1}, Ben Zhou 1^{1}, Lakshya A Agrawal 1^{1}, Jialin Zhang 1^{1}, Yilin Chen 2^{2}, Qiuyang Mang 1^{1}, Donghyun Lee 1^{1}, Dennis Jacob 1^{1}, Koushik Sen 1^{1}, Alex Dimakis 1,3^{1,3}, Matei Zaharia 1^{1}

1^{1}UC Berkeley 2^{2}Stanford 3^{3}Bespoke Labs

Figure

Figure 1: Best score so far against total money spent on AtCoder Heuristic Contest 014 and Anthropic's VLIW kernel take-home, for the best replicate of each configuration. One autoresearch agent with the same session continued throughout and four parallel agents both plateau early. A team of four agents plateaus as well, until each dotted line, where every state and session is discarded, and the team restarts from the best candidate; each forget unblocks the plateau and the score climbs again. All three use the same configuration and have the same total money spent.

Abstract

Automated research with LLM agents has shown promising results in various domains. Through iterative refinement and scored verifiers, LLM agents are capable of discovering new ideas. There are different ways to scale automated research: let one agent iterate for longer, run several agents in parallel, or further let the parallel agents communicate and build on one another's candidates. However, we find that all three strategies eventually plateau as the agents accumulate history. Each agent becomes anchored to its own past attempts, making fewer and smaller edits. Beyond this point, additional budget brings little further improvement. In this paper, we show that the key to scaling discovery further is to forget. Periodically discarding the search state, including every agent's session and the candidate history, and restarting from the best candidate found so far, unblocks the search and pushes the same budget further.

We implement forgetting in a team of agents with communication and evaluate it on four tasks spanning heuristic programming, kernel optimization and model training. The results show up to 15% improvement compared to parallel agents, and up to 39% compared to a single agent. Our results sug-gest that, for open-ended discovery, what an agent is allowed to remember matters as much as how much compute it is given.

1 Introduction

Automated research and discovery increasingly rely on iterative refinement, where a system proposes a solution, measures it, learns from the outcome, and proposes a better one. Recently, large language model (LLM) agents have automated this cycle end-to-end. These autoresearch agents have produced new results in mathematics, algorithm design, prompt optimization, and machine learning research (Agrawal et al., 2026; Novikov et al., 2025; Karpathy, 2026). As the underlying models grow more capable, autoresearch agents can now sustain this process for hours on a single problem (Liu et al., 2026a).

With more compute and time, an autoresearch agent can be scaled in three ways. One is to run a single agent longer, giving it more opportunities to refine its ideas. Another is to run multiple agents in parallel, exploring a broader set of ideas at once. A third is to allow those agents to share their progress, so that an idea discovered by one can be developed by the others. These three strategies mirror ways of scaling a human research effort.

However, in practice none of them scales indefinitely. We find that all three strategies eventually plateau, limited by the same underlying mechanism. In every strategy, each agent carries its growing autoresearch state and session context into every new proposal. As this history accumulates, the agent's proposals become increasingly conservative, and the agent's progress stalls well before the budget is exhausted (Figure 1).

We introduce a key concept to address this plateau: forgetting. When an agent forgets, it discards its session, along with all candidate solutions and records in the filesystem state, and keeps only the best candidate. A new agent with an empty context then starts from this best candidate. Forgetting has two benefits. First, little of the progress made is lost. We observe that in iterative autoresearch, the best candidate often subsumes many effective heuristics from earlier iterations. Second, the new agent is no longer conditioned on earlier failed attempts.

Forgetting works well with communication. In multi-agent team settings, agents build on each other's candidates, so a good idea found by one agent quickly propagates to the others. We periodically make the whole team forget, where every agent reinitializes from the single best candidate. This clears the accumulated history before it constrains fresh exploration (Figure 2).

We evaluate forgetting on four tasks: writing a heuristic solver for a programming contest problem (AtCoder Heuristic Contest 014; AtCoder, 2022), solving an algorithmic optimization problem (Frontier-CS; Mang et al., 2025), optimizing a VLIW kernel (Anthropic Kernel Challenge; Anthropic, 2026), and improving a PyTorch script for training a small language model (nanochat-autoresearch; Karpathy, 2026). A team of four agents with forgetting is best on every task and improves on the strongest baseline by 1.9% to 15%. These results show that forgetting unblocks plateaued discoveries.

In summary, we make the following contributions:

  • We show that both sequential and parallel autoresearch agent scaling paradigms plateau under a fixed budget (Section 4.1). We further show that this plateau happens because the agent becomes more conservative as its session grows longer (Section 5).

• We propose forgetting: periodically discarding every agent’s session and the candidate history and restarting from the best candidate found so far (Section 3).

  • We combine forgetting with a team of agents with communication, evaluate it on four diverse tasks, and find steady improvement over strong parallel-agent baselines, by 10% on average (Section 4).

References (33)