# Jack Ziyang Cai on "Fork-and-Flush: Escaping Idea Basins in Autoresearch Agents"

> One of the paper's two first authors walks through it in six posts: whether long autoresearch runs keep exploring or refine what they found early, runs that plateau at different scores and stay in their own idea basins, the fork-and-flush intervention, one run escaping a basin, and the result on 13 tasks at equal compute.

- Author: Jack Ziyang Cai ([@jackcai1206](https://x.com/jackcai1206))
- Posted: 2026-10-11, 6 posts
- Original: https://x.com/jackcai1206/status/2109101112988950691
- About: [Fork-and-Flush: Escaping Idea Basins in Autoresearch Agents](https://introspection.infinite.fun/papers/cai2026-fork-and-flush.md)

The post text below is quoted verbatim. Figure descriptions are written by this wiki.

## 1/6

> As autoresearch agents run longer, do they keep exploring new approaches, or mostly refine the ones they found early?
> Turns out, runs settle into different "idea basins" and stay there.
> We introduce fork-and-flush, a simple way out 🧵👇

Figure: A screenshot of the paper's first page: the title, 'Fork-and-Flush: Escaping Idea Basins in Autoresearch Agents', the eight authors, Microsoft Research, and the abstract. The abstract says that independent runs of the same agent on the same task often plateau at substantially different scores, that embedding their artifacts by functional similarity gives further evidence that trajectories stay in localized regions called idea basins, and that across 13 long-horizon tasks fork-and-flush outperformed the single-run and best-of-N baselines by 66.0% and 44.4% on the min–max normalized average score under an equal compute budget.

[Post 1 on X](https://x.com/jackcai1206/status/2109101112988950691)

## 2/6

> Observation: independent runs of the same task plateau at substantially different scores, with gaps that persist even after considerable additional compute.
> Embedding each run's solutions shows every trajectory stuck in its own small region of the solution space.
> (Idea Basins)

Figure: The paper's Figure 1, without its caption. Left: best score so far against compute spent, 0 to 10,000 credits, for eight runs labeled s1 to s8. Each line rises steeply at the start and then runs flat for long stretches, and the lines end at different heights, from s3 at the top down through s4, s2, s1, s5, s6 and s7 to s8 at the bottom. A note reads 'Final scores 68.3–100.0 (median 81.9)'. Right: a map with axes Dimension 1 and Dimension 2 on which each dot is a submitted artifact, colored by run. Five grey regions are labeled basin 1 to basin 5, and each run's dots are packed into one of them: s7 and s8 in basin 1, s3 and s4 in basin 2, s2 in basin 3, s1 and s5 in basin 4, s6 in basin 5. A few early dots of each run lie far outside, joined to the rest by long thin lines.

[Post 2 on X](https://x.com/jackcai1206/status/2109101121960825166)

## 3/6

> Our intervention: "fork-and-flush"
> Periodically fork the agent into parallel copies. Each keeps the full workspace but starts with a fresh chat context. After a fixed horizon, continue from the best one.

Figure: The paper's Figure 2 with its caption. A hand-drawn illustration in two panels. Left: score against compute. Thin lines fan out from the origin and end early in crosses, and a thick blue curve continues from them, rising and then flattening. At a diamond marked 'same workspace; reset chat context', a grey dashed line labeled 'single run' goes on flat, and four branches leave the diamond: three bend downward and end in crosses, and one rises to a star and goes on as the thick blue line labeled 'fork-and-flush', ending well above the dashed line. Right: four blobs labeled idea basin A, B, C and D. A blue path wanders inside basin A to a diamond. From the diamond one branch turns back inside basin A and ends in a cross, one crosses to basin B and ends in a cross, and one, labeled 'jump into a new basin', crosses to basin C, reaches a star and continues there, labeled 'run continues in the best one'. Basin D is not visited. The caption reads: 'An illustration of fork-and-flush. Left: A single run (grey, dashed) keeps exploring similar ideas within one basin. Fork-and-flush clears the chat context on the same workspace, fans out K probes, retains the best, and discards the rest. Right: While the leader's edits remain localized, a fresh-context probe jumps to a new basin via fork-and-flush and continues there.'

[Post 3 on X](https://x.com/jackcai1206/status/2109101131259592757)

## 4/6

> Here is Fork-and-flush escaping an idea basin of a particular task
> Left: A mid-run fan-out overlaid on baseline basins. Rejected branches (×) from the fork point (⋄) remain trapped, but the selected branch (blue arrow) escapes the basin to reach its final score

Figure: The paper's Figure 3, without its caption. Left: a map with four shaded regions labeled basin 1 to basin 4, each holding faint grey dots, the single-run baselines. A diamond, the fork, sits at the lower right corner of basin 2 with three crosses, the rejected branches b1, b2 and b4, clustered beside it. A blue arrow, the selected branch b3, runs from the diamond across the map to a cluster of small blue dots and a star marked 'final 93.9', at the upper edge of the large region at the lower right. Right: step size, in multiples of the median single-run step, against the fraction of budget spent. A grey band a few units high along the bottom is the range of the single runs. The blue line stays inside the band up to a dotted vertical line just past 0.7, where the diamond and the three crosses sit near zero, spikes to above 40, and falls back to the band.

[Post 4 on X](https://x.com/jackcai1206/status/2109101139358622020)

## 5/6

> Across 13 long-horizon research and engineering tasks—with individual runs lasting up to several days—fork-and-flush outperforms single-run and best-of-N baselines by 66.0% and 44.4% (relative, min–max normalized score) under an equal compute budget.

Figure: The paper's Table 1 with its caption: the maximum, mean and standard deviation of the final score for single-run, best-of-4 and fork-and-flush on thirteen tasks, with the highest maximum and mean in each row in bold. Fork-and-flush has the bold mean on every task except LWE-rec, where single-run is bold at 155.3 against 144.60. Among the larger gaps in the means: AHC014, 23.71, 20.66 and 57.46; order-add, 24.60, 26.23 and 49.52; Borden-inv, 64.62, 76.45 and 85.85; kernel, 120.36, 122.50 and 135.23. The last row, the min–max normalized average, gives the maximum, mean and standard deviation as 0.75, 0.47 and 0.26 for single-run, 0.73, 0.54 and 0.21 for best-of-4, and 0.98, 0.78 and 0.16 for fork-and-flush.

[Post 5 on X](https://x.com/jackcai1206/status/2109101147038331038)

## 6/6

> Read the full paper on arXiv: https://arxiv.org/abs/2610.07447
> Joint work with a brilliant team: @jackcai1206 , @christos_ziakas , @vkontonis, @Tea_Pearce, @sidsen1, @akshaykrishnamurthy, @Shivam Garg & @DimitrisPapail

[Post 6 on X](https://x.com/jackcai1206/status/2109101152898072577)

---

Source: https://introspection.infinite.fun/threads/jackcai1206-fork-and-flush · Part of the [LLM Introspection Wiki](https://introspection.infinite.fun/index.md) · Index for agents: [llms.txt](https://introspection.infinite.fun/llms.txt)
