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 ZahariaarXiv 2026

TL;DR

As LLM agents work on complex research problems, their growing conversation history actually hinders them, causing a performance plateau where they become too conservative to innovate. This paper introduces "forgetting"—periodically wiping an agent's session history and restarting from only the best-known solution—which unblocks the search process and yields up to a 39% improvement in discovery tasks.

What Problem Does This Paper Address?

We are entering an era of "automated research," where LLM agents iteratively write code, run experiments, and refine their ideas to solve complex optimization problems. Naturally, researchers have tried to scale these agents by letting them run longer, running many in parallel, or allowing them to communicate.

However, the authors identify a fundamental "plateau" problem: as an agent’s session grows longer, it becomes anchored to its own past attempts. Instead of bold leaps, the agent starts making tiny, incremental edits or—worse—convinces itself it has reached a "practical limit" when it hasn't. This history acts as a psychological and computational weight that stifles the very discovery process we want to scale.

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.

Methods

The authors propose a simple but counterintuitive strategy: Forgetting.

The process is divided into rounds. At the end of each round, the system discards the entire agent session (the conversation history) and the search state (the record of failed attempts). It keeps only the single best candidate solution found so far. A new agent then starts the next round with an empty context, seeded only with that best candidate.

The researchers implemented this in a multi-agent "team" setting:

  • Parallel Exploration: Four agents work on the same problem simultaneously.
  • Asynchronous Communication: Agents can see their peers' best candidates and "borrow" successful code snippets, but they don't share their full conversation histories.
  • Synchronized Forgetting: Periodically, the entire team is reset, and everyone restarts from the single best candidate discovered by any member of the team.
Figure 2: The core idea. Top, autoresearch, where one agent proposes candidates iteratively inside a single continuous session with the whole history in context. Running several such agents in parallel or letting them read one another’s candidates through peer communication still keeps every session, and all of these configurations plateau. Bottom, a team of four agents with communication and forgetting. At each forget line every session and search state are discarded, and only the best candidate so far is remembered, so all four agents of the next round start fresh from that single candidate.

Datasets

The method was evaluated on four diverse optimization benchmarks:

  1. AHC014 (AtCoder Heuristic Contest): A combinatorial geometry problem involving connecting dots to form rectangles.
  2. Frontier-CS Q171: A grid-based algorithmic optimization challenge.
  3. VLIW Kernel Optimization: Optimizing Python code for a simulated Very Long Instruction Word (VLIW) machine—a task requiring deep technical reasoning.
  4. nanochat-autoresearch: Improving a PyTorch training script to minimize validation loss for a small language model.

Key Insights and Ideas

  • The "Anchoring" Effect: In long sessions, agents become risk-averse. On the VLIW task, one agent produced no new candidates for 66% of its budget, explicitly stating, "I've reached the practical limit," even though the "forgetting" team eventually found a solution nearly 40% better.
  • Forgetting Resets Creativity: After a memory wipe, agents immediately resume making larger code edits and—crucially—using more "thinking tokens." A fresh context allows the model to re-evaluate the problem from first principles rather than trying to fix a "sunk cost" approach.
  • Communication + Forgetting is the Winning Combo: Communication allows a breakthrough by one agent to spread to the team, while forgetting ensures that the "baggage" of how that breakthrough was found doesn't stifle the next round of innovation.
  • Efficiency: Forgetting is actually cheaper. Because the context window is kept small, the cost per proposal is lower than in long, continuous sessions.
Figure 5: Every session narrows, and forgetting resets it. Inside the AtCoder Heuristic Contest 014 runs of Table 1, three replicates per configuration, pooled. Each point is the median over the proposals that finished within one dollar of a replicate’s spend; the team’s line breaks at each forget, where its sessions are discarded and it restarts from the best candidate.

Key Results

The "Team of 4 with Forgetting" outperformed all other configurations (single agents and parallel agents without forgetting) on every single task:

  • AHC014: Achieved a mean score 39% higher than a single agent and 14% higher than four parallel agents.
  • VLIW Kernel: Reduced clock cycles by 23% compared to a single agent.
  • Overall: Across all four tasks, the forgetting strategy improved results by an average of 10% over parallel agents and 22% over single agents, all while using the same total token budget.

Limitations and Future Work

  • Fixed Schedules: The authors used a fixed schedule for forgetting (e.g., every 30 proposals). A more sophisticated "dynamic forgetting" trigger based on detected plateaus could be more efficient.
  • Loss of "Lessons Learned": While discarding failed attempts prevents anchoring, it also means the agent might repeat the same mistake in a later round. Finding a way to "distill" the essence of a failure without the baggage of the full session history is an open challenge.
  • Task Specificity: The study focused on code-based optimization. It remains to be seen how well "forgetting" applies to more abstract research, like mathematical proof discovery or experimental design in the physical sciences.

Summary updated

BibTeX
@misc{tan2026scaling,
  author = {Shangyin Tan and Ben Zhou and Lakshya A Agrawal and Jialin Zhang and Yilin Chen and Qiuyang Mang and Donghyun Lee and Dennis Jacob and Koushik Sen and Alex Dimakis and Matei Zaharia},
  title = {{Scaling Discovery Requires Forgetting}},
  year = {2026},
  eprint = {2610.20563},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.20563},
}
Figure