# Fork-and-Flush: Escaping Idea Basins in Autoresearch Agents

> Independent runs of the same coding agent on the same open-ended task plateau at different scores, and a map of their submissions by judged functional similarity shows each run keeping to one region, an idea basin. Fork-and-flush periodically forks a run into four branches that keep the workspace and start with an empty chat context, then continues from the best: at equal compute its min–max normalized mean score over 13 tasks is 0.78, against 0.47 for a single run and 0.54 for best-of-4. On the same map, the selected branch of one fork lands 43 median steps away, in another basin.

- Authors: Ziyang Cai, Christos Ziakas, Vasilis Kontonis, Tim Pearce, Siddhartha Sen, Akshay Krishnamurthy, Shivam Garg, Dimitris Papailiopoulos
- Published: arXiv 2026 (first posted 2026-10-05)
- Links: [arXiv:2610.07447](https://arxiv.org/abs/2610.07447) · [PDF](https://arxiv.org/pdf/2610.07447v1)
- Tier: adjacent
- Page status: AI-drafted summary, not yet reviewed by a person
- Written from: full text (arXiv v1), appendices included; the thread of one of the two first authors; a post by the last author, and a post by a co-author quoting it

## The paper in brief

- **Problem.** "We show that independent runs of the same agent on the same task often plateau at substantially different scores, with gaps that persist even after considerable additional compute." (Abstract.) What the lower runs do with that compute: "Some runs appear to spend much of their subsequent effort refining solutions in less productive regions rather than discovering the higher-scoring solutions found by other runs." (§1.)
- **Why it matters.** The runs are long and costly: "A single autoresearch run can evaluate hundreds of candidate solutions and continue for multiple days." (§1.) And neither usual way of spending a budget gets around the problem. One long run tends to "settle into one basin early and spend the remaining budget on marginal refinements", and when the budget is split over several independent runs, "the individual runs remain shallow" and the work of all but one is thrown away (§4).
- **Question.** "Can we exploit the variation across independent runs to improve an ongoing run by encouraging it to explore more broadly?" (§1.)
- **Answer.** "Under an equal compute budget, fork-and-flush outperforms both the single-run and best-of-N baselines, achieving 66.0% and 44.4% relative improvements in min–max normalized average score, respectively." (§1.)

The three claims are a chain. The first is an observation about runs that are left alone. The second is an intervention built on it, and what the intervention gains. The third goes back to the first claim's instrument to say where the gain comes from.

1. Independent runs of the same agent on the same task plateau at different scores, and each keeps to one region of the solution space, which the paper calls an *idea basin*.
2. *Fork-and-flush* periodically forks a run into branches that keep the workspace and start with an empty chat context, and continues from the best. At equal compute it beats a single run and best-of-4; forking and flushing each help, and neither alone gives the whole gain.
3. A fork-and-flush run moves between basins: a branch with a cleared context can land far from where it forked, and selection takes the run there.

## What the paper starts from

**The loop** (§1). An autoresearch agent works in a loop: it "iteratively proposes a solution, evaluates it within an environment, and uses the execution feedback or submission score to guide its next experiment". The paper reads the loop by an analogy that gives it its vocabulary: "This process can be viewed loosely as idea descent, by analogy with gradient descent: feedback guides successive modifications through the space of candidate solutions."

**Terms** (§2).

- *Episode*: one stretch of work. "within an episode, the agent edits its solver, runs it, and submits for a score as often as it chooses". An episode ends "upon a self-halting action by the agent or by reaching a predefined token budget", and the harness then "resumes the agent via a short continuation prompt".
- *Workspace*, written W: "the files it has produced".
- *Conversational context*, written C: "its accumulated chat history". Left alone, a run keeps both from one episode to the next.
- *State* and *lineage*: a state is a workspace together with a context, and a lineage is "the trajectory of these states, starting from an empty base state".
- *Score*: "a deterministic grader evaluates the workspace to yield a score". A lineage counts for the best score it reached, and a method for the best score of any lineage it started within its budget.
- *Credits*: the unit of compute, "a fixed function of input/output model tokens (100 credits ≈ US$1)". "A credit meters model tokens, not wall-clock." (Appendix B.)
- *Compaction*: the agents "periodically compact their conversational histories, replacing the full trace with a summary of the progress so far" (§7). The runs that are otherwise left alone are compacted in this way too.

**The inference it rests on** (§1, §3, §4). The runs compared are the same agent on the same task from the same start. If they end at different scores and stay there, the paper reasons, the difference is in where they search and not only in their speed: the pattern "suggests that the runs differ not just in how quickly they improve, but also in which parts of the solution space they explore" (§3). More compute for a run in a poor place then buys little, and the spread between runs becomes something to use: "can we leverage the variance observed across independent runs to help an ongoing trajectory escape its current basin?" (§4.)

**The setting** (§2, §5.1, Appendix B). Thirteen tasks, each scored by "verifiable, deterministic metrics tailored to each domain, providing an unbounded signal for continuous improvement" (§2). In the table, FCS is Frontier-CS, the credits are the budget of one run, which is "set per task to where single runs plateau", and the hours are "the median time a single-run baseline takes to reach the budget" (Table 4).

| Task | Source | Problem | Credits | Hours |
|---|---|---|---|---|
| polyomino | FCS algo 0 | Pack polyominoes into a rectangle of minimal area | 25k | 29 |
| job-shop | FCS algo 46 | Job-shop scheduling, minimizing the makespan | 10k | 15 |
| AHC014 | FCS algo 159 | Port of AtCoder Heuristic Contest 014 | 10k | 68 |
| p150 | FCS algo 150 | Port of an AtCoder Heuristic Contest problem | 10k | 70 |
| p171 | FCS algo 171 | Port of an AtCoder Heuristic Contest problem | 10k | 80 |
| kernel | Anthropic take-home | Optimize a kernel for a simulated VLIW machine | 100k | 64 |
| tinyCIFAR | custom | Train a CIFAR classifier, trading accuracy against compressed size | 31k | 45 |
| sphere-pack | FCS algo 48 | Pack equal spheres in a cube | 6k | 20 |
| relay-lay | FCS algo 307 | Mobile relay layout, a facility-location problem | 6k | 6 |
| LWE-rec | FCS 2.0 | Recover the secret of 200 structured-LWE instances | 6k | 83 |
| LLM-SQL | FCS research | Reorder an LLM-over-SQL workload to maximize the cache hit rate | 6k | 23 |
| order-add | EdgeBench | Black-box optimization of a permutation against a cost oracle | 6k | 107 |
| Borden-inv | EdgeBench | Recover a groundwater contaminant source from well readings | 10k | 5 |

The agent is the same throughout: "All conditions use the same coding agent, GitHub Copilot CLI (version 1.0.73), with the same tools, prompt, and task workspace." (§2.) The model under it is "GPT-5.6-terra at high reasoning effort for eleven tasks, and GPT-5.5 at extra-high reasoning effort for kernel and tinyCIFAR" (§5.1).

**The measures** (§2, §5.1). A run's result is its best score within the budget. Scores are on each task's own scale, so "measuring outcome variance and comparing interventions requires multiple independent trajectories on each task" (§2). Across tasks the paper reports "the maximum, mean, and standard deviation of final scores for each task, alongside a min–max normalized average across all thirteen tasks" (§5.1).

**What the design rules out.**

- A difference in the agent. Every condition has the same agent, tools, prompt and workspace (§2).
- An advantage in compute. Methods are compared "under strictly matched global budgets" (§5.1), and whatever a method runs in parallel is paid for from the one budget.
- An agent that paces itself by what it has left. "No message in any condition states the credit budget or how much of it remains; agents are never told how much compute they have." (Appendix I.1.)
- Noise in the scoring. The grader is deterministic, and where a solver could vary the agent is told so: "exact source artifacts are replayed and must produce the same score" (Appendix I.1).

**Tools taken from earlier work.** The autoresearch loop (Karpathy, 2026; Novikov et al., 2025). The agent harness (Falck et al., 2026). The tasks: Frontier-CS (Mang et al., 2026), EdgeBench (Zhu et al., 2026) and Anthropic's performance-engineering take-home (Anthropic, 2026). The best-of-N baseline (Snell et al., 2024). For the map of submissions, t-distributed stochastic triplet embedding, t-STE (van der Maaten & Weinberger, 2012), and Soft Ordinal Embedding, SOE (Terada & von Luxburg, 2014). For the last experiment, a WalkSAT solver as the reference.

## The argument, claim by claim

### Claim 1: runs of the same agent plateau at different scores, each in its own idea basin

Run the same agent several times on one task, from the same start, and the runs level off at different scores and stay apart. Laid out by how alike their submissions are, each run keeps to one region of the solution space.

**The map** (§3, Appendix F). The second half of the claim needs an instrument, because "A submission may be a complex program, and its score tells us little about how it relates to other submissions." (§3.) The paper builds one in four stages.

1. *Subsampling.* From each run it keeps the graded submissions, drops exact duplicates and takes evenly spaced snapshots, "51 per run on every mapped task".
2. *Specification.* An LLM rewrites each one as "a canonical functional specification under a fixed section schema with an exhaustive parameter table". The rewrite "strips coding syntax and stylistic signal" and keeps "the algorithm, data structures, and every numeric choice".
3. *Triplet comparison.* An LLM judge compares the specifications three at a time: "given an anchor artifact a and two candidates b and c, which candidate takes an approach more similar to a?" (§3.) The numbers: "each map is built from 6,375 judgments (5,610 on p150)".
4. *Embedding.* A two-dimensional t-STE embedding is fitted to the judgments, "keeping the best of eight random restarts by training agreement". "One in five judged triplets per anchor is held out and never used in fitting".

The basins drawn on a map are clusters of its points: "The shaded regions show k-means clusters fitted to baseline artifacts." (§3.)

**Evidence.** On p171, eight runs: "Although the runs share the same initial state and underlying model, they plateau for long stretches at substantially different levels. Their final best scores range from 68.3 to 100.0, and the gaps remain wide even after considerable additional compute." (§3.) The median of the eight is 81.9 (Figure 1).

![A line chart of best score so far, from about 55 to 100, against compute spent in credits, from 0 to 10,000, for eight runs labeled s1 to s8. Every line rises steeply within the first few hundred credits and then runs flat for long stretches, with an occasional step up. The lines end at different heights, in this order from the top: s3, s4, s2, s1, s5, s6, s7, s8. s3 and s4 end close together at the top, and s6, s7 and s8 close together at the bottom, with s2, s1 and s5 spread between. Faint dots around each line mark individual submissions. A note in the corner reads 'Final scores 68.3–100.0 (median 81.9)'.](https://introspection.infinite.fun/figures/cai2026-fork-and-flush/fig1-left-score-curves.png "Figure 1 of the paper, left panel: the best score so far of eight independent runs on p171, against compute spent.")

Four more tasks show the same spread (Appendix C, Figure 5). The final scores of eight runs range over 82.2–94.9 on polyomino, 109.1–137.1 on p150, 7.8–59.8 on AHC014 and 7.2–10.8 on job-shop.

The map is a fair picture of the judge's comparisons: "Across five mapped tasks, it agrees with 85% of held-out triplet judgments on average, compared with 50% for chance and 56% for a heuristic that knows only which run produced each artifact." (§3.) Task by task the held-out agreement runs from 0.81 to 0.87 (Table 6).

On the map the runs keep apart. "Submissions from individual runs tend to concentrate in localized regions, which we call idea basins." And they stay: "Later submissions generally remain near the same region, providing a view of the repeated refinement suggested by the score plateaus." (§3.) For p171 the caption puts it flatly: "Agents converge into five distinct 'idea basins' and remain there." (Figure 1.)

![A scatter plot with axes labeled Dimension 1 and Dimension 2 and no scale. Each dot is one submitted artifact, colored by run, and thin lines join a run's artifacts in order. Five grey shaded regions are labeled basin 1 to basin 5. The dots of each run are packed into one region: s7 and s8 in basin 1, s3 and s4 in basin 2, s2 in basin 3, s1 and s5 in basin 4, and s6 in basin 5. A few dots of each run lie far outside the regions, joined by long lines to the region where the rest of the run sits.](https://introspection.infinite.fun/figures/cai2026-fork-and-flush/fig1-right-idea-map.png "Figure 1 of the paper, right panel: the artifacts of the same eight runs, embedded by judged functional similarity, with five basins shaded.")

On the other mapped tasks the basins go with the scores: "the runs clearly separate into distinct basins that track their final performance. For instance, on AHC014, the two highest-scoring runs share a single basin while all remaining runs fall into another." (Appendix C.)

- **Also reported: what drives the variance** (§6.2, Figure 4). "Our hypothesis is that outcome variance is driven by task difficulty relative to the agent's capacity." Far below the agent's ability every run succeeds, far above it every run fails, and in between the runs diverge. The thirteen tasks cannot test this, since it needs "a domain where difficulty can be dialed continuously, evaluated cheaply, and repeated enough to estimate spread with statistical confidence". So the test is on another problem and other models: MAX-3-SAT on random formulas, with Qwen3.5-4B, 9B and 27B, and the number of variables running from 10 to 100,000. Each run is scored by its attainment, the share of the gap between a random assignment and a multi-restart WalkSAT solver that it closes, and each pair of a model and a problem size gets between 8 and 32 runs. The result: "Variance peaks when a model achieves roughly half of the reference performance, collapsing at both the trivial and intractable extremes. Fitting a least-squares quadratic reveals a strict inverted-U relationship between attainment and spread, peaking at a = 0.497." The authors' reading of it: "This suggests that the observed variance stems from genuine exploration of distinct idea basins".

![A scatter plot of outcome spread across runs, sd(h), from 0 to above 0.4, against attainment a, the fraction of the reference solver, from 0 to 1. Points are colored by model, Qwen3.5-4B in blue, Qwen3.5-9B in orange and Qwen3.5-27B in green, and each has a vertical error bar. A black curve in the shape of an inverted U rises from the left, peaks beside a dashed vertical line labeled a = 0.50, and falls to near zero at a = 1. The blue points lie mostly on the rising side and at the peak, the orange points on both sides, and the green points are bunched at the far right near zero spread, except for one green point just left of the dashed line that sits far under the curve. Several error bars are long; one blue bar on the falling side spans nearly the whole height of the plot.](https://introspection.infinite.fun/figures/cai2026-fork-and-flush/fig4-variance-frontier.png "Figure 4 of the paper: the spread of outcomes across runs against mean attainment on MAX-3-SAT, one point for each pair of a model and a problem size.")

- **Objections it expects.**
  - That two submissions from one run look alike because one was edited from the other. The comparison is made on the specifications, and the rewrite is there for this: it "reduces cues from code syntax and shared scaffolding that might make submissions from the same run look similar for reasons unrelated to their approach" (§3). The judge is also kept from the outcome: "Do not use score or chronology; neither is provided." (Appendix I.2.)
  - That the map shows nothing more than which run a submission came from. "Run membership alone ('artifacts from the same run are closer') reproduces only 0.52–0.60 of held-out judgments, so the maps capture more than which run an artifact came from." (Appendix F.)
  - That two dimensions cannot hold the judgments. The maps are scored on judgments they were not fitted to, with "a train–test gap of 0.03–0.05, so they generalise rather than memorise" (Appendix F).
  - That the clusters are made by t-STE. The same judgments are fitted again with SOE, "whose hinge loss does not inflate the gaps between clusters" (Appendix F), "achieving a mean held-out agreement of 0.83", and "the observed clustering of idea basins qualitatively remains the same under SOE, albeit with less sharp boundaries" (§3).
  - That compaction already loosens a run's hold on its early ideas. "One might expect this compaction to weaken dependence on the earlier reasoning path and reopen exploration. We find that it is insufficient: trajectories still plateau at substantially different levels and remain localized in idea basins." (§7.) The introduction has it too: "Notably, this localization persists despite periodic compaction of the agents' conversational histories." (§1.)
  - That the spread belongs to today's models and will go as they improve. This is what the MAX-3-SAT experiment is for: "we expect that as models scale, the frontier of relevant research tasks will simply scale with them" (§6.2).
- **How strongly it is made.** In the short statements, hedged: "This suggests that runs may differ not just in how quickly they improve, but in which parts of the solution space they explore." (§1.) The embedding "provides further evidence that trajectories remain in localized regions" (Abstract) and "reveals localized exploration consistent with idea basins" (§1), and submissions "tend to concentrate in localized regions" (§3). Later it is flat: "Single runs each stay inside one idea basin for their whole budget." (§6.1.) One of the five mapped tasks is set aside. On job-shop "the geometric structure is weak: the two basins overlap heavily, and runs freely move between them. Because this basin structure is poorly defined, we draw no basin-based claims from job-shop." (Appendix C.)
- **What it hands on.** A spread to use, and a map to watch a run on. "This motivates the question of whether we can exploit the variation across independent runs to improve an ongoing run by encouraging it to explore more broadly." (§3.)

> **Note from Claude:** One check on a claim is to ask how its evidence could hold and the claim still be false. The score curves are eight runs on each of five tasks out of thirteen, and the maps are of the same five, all from the algorithmic track of Frontier-CS (Table 4). One of the five is set aside by the authors, so the basins rest on four tasks. What a map is checked against is the judge's own held-out answers. The paper reports no comparison of the judge with a person or with a second model, and the judge is "the same LLM deployment that wrote the specifications" (Appendix F). The basins are k-means clusters, and I cannot find how the number of clusters was chosen: p171 has five for eight runs, so three of its basins hold two runs each (Figure 1).
>
> The stages of the map are described in two ways. §3 and Appendix F give the judge's question as one anchor and two candidates. The prompt printed in Appendix I.2 asks for something else, a ranking of all three pairs: "Rank the THREE PAIRS -- AB, AC, BC". The paper does not say how one becomes the other.
>
> The MAX-3-SAT experiment has no submissions to embed and no basins in it. It shows that the spread of outcomes is widest at middling attainment, for three small models on one problem, and the step from there to "genuine exploration of distinct idea basins" is the authors' reading (§6.2). As I read Figure 4, the points of the 27B model sit almost all at the right-hand end, and its one point near the middle is far under the curve, so the rising side of the curve is drawn by the two smaller models.

### Claim 2: at equal compute, fork-and-flush beats a single run and best-of-4

Give a method one budget. Spent on a single run, on four independent runs with the best kept, or on a run that is periodically forked and flushed, the last ends highest on average, and with less spread from one attempt to the next.

**The method** (§1, §4, §5.1). Two operations. "Forking lets the agent try several candidate continuations and select one based on their scores. Flushing clears the inherited chat history while retaining the accumulated workspace, allowing the continuations to explore with less dependence on earlier reasoning." (§1.) The reason for the second: "A branch that retained C would carry the parent's reasoning that tends to re-enter the same local basin." (§4.)

The schedule is fixed in advance. A run opens with "an initial round of K=4 agents launched from empty workspaces, selecting the highest-scoring candidate as the leader". Then "Two subsequent fork-and-flush rounds are triggered strictly by budget consumption—at 33% and 66% of B." In each, "K=4 new branches fork from the leader's accumulated workspace but begin with empty chat contexts"; "Each branch receives a fixed exploration budget b_explore of approximately 0.06B"; and "the best-performing branch is adopted as the new leader, the others are discarded, and the leader continues serially until the next trigger" (§5.1). "The run's final result is the best score found by any agent throughout the trajectory." (§4.)

What a branch is told (Appendix I.1). The paper prints every text its harness adds to an agent's messages, and two of them go to branches. Half the branches get a directive: "In each round two of the K branches carry it; the others start from the same workspace with no directive". It begins "Before continuing, deliberately pick a DIFFERENT approach from the one currently implemented." And a branch that inherits a scored submission is told the score and where the submission is kept, in a notice that "is the only place a score is quoted to the agent".

![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.](https://introspection.infinite.fun/figures/cai2026-fork-and-flush/fig2-fork-and-flush.png "Figure 2 of the paper: an illustration of fork-and-flush, as score against compute (left) and as movement between idea basins (right).")

**The baselines** (§4, §5.1). "The single-run baseline spends the full budget B sequentially on a single lineage". Best-of-4 splits it, "allocating B/4 to each of four independent runs and keeping the best final result". The paper places its method between the two: "A process that never branches is a single run; one that branches exactly once from an empty workspace and terminates is best-of-N." (§4.)

**Evidence.** The headline: "Fork-and-flush achieves a min–max normalized average score of 0.78, compared with 0.47 for single-run and 0.54 for best-of-4, representing relative improvements of 66.0% and 44.4%, respectively." Task by task, "fork-and-flush achieves the highest mean score on 12 of the 13 tasks", and across tasks "its average normalized mean score (0.78) exceeds even the average normalized maximum score of the single-run baseline (0.75)" (§5.2).

The mean final score of each method on each task, with the standard deviation in parentheses (Table 1). The last row is the min–max normalized average.

| Task | Single-run | Best-of-4 | Fork-and-flush |
|---|---|---|---|
| polyomino | 88.56 (4.95) | 90.73 (3.90) | 94.41 (0.64) |
| job-shop | 9.66 (0.87) | 9.91 (0.24) | 10.33 (0.59) |
| AHC014 | 23.71 (9.18) | 20.66 (3.41) | 57.46 (29.35) |
| p150 | 123.47 (4.90) | 123.47 (5.99) | 129.74 (4.43) |
| p171 | 84.26 (13.27) | 88.88 (8.57) | 92.79 (3.39) |
| sphere-pack | 43.87 (0.83) | 43.76 (0.99) | 44.94 (0.34) |
| relay-lay | 72.59 (0.12) | 72.74 (0.04) | 72.81 (0.02) |
| LWE-rec | 155.3 (2.37) | 141.14 (10.30) | 144.60 (9.31) |
| LLM-SQL | 26.90 (0.18) | 26.93 (0.21) | 27.04 (0.01) |
| order-add | 24.60 (4.45) | 26.23 (1.16) | 49.52 (13.60) |
| Borden-inv | 64.62 (18.12) | 76.45 (9.47) | 85.85 (5.54) |
| kernel | 120.36 (9.75) | 122.50 (5.76) | 135.23 (4.45) |
| tinyCIFAR | 0.429 (0.129) | 0.560 (0.080) | 0.572 (0.115) |
| Normalized average | 0.47 (0.26) | 0.54 (0.21) | 0.78 (0.16) |

The spread narrows as well. "The average normalized standard deviation decreases to 0.16, compared with 0.26 for single-run and 0.21 for best-of-4. Relative to single-run, the standard deviation decreases on 10 of the 13 tasks." (§5.2.)

Then the two operations apart, on the eleven tasks that are not "the two longest-horizon tasks that are expensive to run" (§5.3). The flush alone is "K=1 with a flush at each forced round", and the fork alone is "K=4 branches that continue the trunk's context" (Table 3). The min–max normalized mean score of each (Table 2):

| Method | Flush | Fork | Normalized average |
|---|---|---|---|
| Single-run | no | no | 0.45 |
| Flushing | yes | no | 0.55 |
| Forking | no | yes | 0.57 |
| Fork-and-flush | yes | yes | 0.71 |

The paper's reading: "This demonstrates that while both individual components outperform the single-run baseline, neither mechanism alone accounts for the full effect. In addition, forking provides a slightly larger improvement than flushing." (§5.3.) The same ablation task by task is in Table 3, and the score curve of every fork-and-flush run, against the band of the single runs, is in Figure 7.

- **Objections it expects.**
  - That running several agents is all it takes. Best-of-4 runs four at the same total budget and reaches 0.54 (Table 1). The paper's account of why it falls short: "the individual runs remain shallow, and the accumulated workspaces of the N −1 discarded runs are completely wasted" (§4).
  - That clearing the context is all it takes, or that picking among branches is. The ablation gives 0.55 and 0.57 for the two alone, against 0.71 together (Table 2).
  - That a fork should be triggered by a plateau and not by the clock. It was tried: "early development runs using a stall-clock trigger rarely executed the intervention: across five tasks, 15 of 25 plateau-triggered runs exhausted their budget before the stall criteria were met". The fixed schedule answers by "guaranteeing the intervention fires, standardizing the branch spend, and removing task-dependent tolerance tuning" (Appendix D).
  - That the result depends on this schedule. In development runs with one forced round at 50% of the budget and with two, "Both fixed schedules outperform the single-run baseline on all six tested tasks, with neither strictly dominating (the two-round schedule wins on four tasks, the one-round on two)." (Appendix D, Table 5.)
  - That the directive does the work, by telling a branch to try something different. "The directive does not measurably change which branch wins: across the 178 mid-run rounds of the study, a directed branch was selected in 81 (46%), against the 50% expected if it had no effect (two-sided binomial p=0.26)." (Appendix I.1.)
  - That the spread grows on some tasks. "Variability increases on some tasks, including AHC014 and order-add, where these increases accompany substantial gains in mean score." (§5.2.)
  - That stronger models will leave nothing to exploit. The answer is the MAX-3-SAT experiment under claim 1: "Because open-ended research inherently targets this frontier, we expect that the variance that fork-and-flush exploits will not vanish as models scale." (§6.2.)
- **How strongly it is made.** Flatly in the conclusion: "fork-and-flush consistently outperforms serial baselines, demonstrating that fork-and-flush provides a practical path for scaling test-time compute in autonomous agents" (§8). The hedges are on the design and are in an appendix: "While we did not systematically sweep all schedule parameters", and "Though sample sizes are small, this suggests the performance gains are robust to the exact cadence of the fixed schedule." (Appendix D.) The last author's post is looser in both directions: "seems we can fix it with Fork-and-Flush", and "in my own research projects it's been working really well!" ([Papailiopoulos](https://introspection.infinite.fun/threads/dimitrispapail-fork-and-flush.md#post-1).)
- **What it hands on.** A gain to account for. §3 has already said where the paper will look: "we introduce the fork-and-flush intervention and use the same map to show how it helps trajectories move between idea basins".

> **Note from Claude:** The same check on claim 2. The headline is a ratio of averages of normalized scores, and the paper spells out the normalization only for the ablation, in the caption of Table 3. Task by task in Table 1, the one task where fork-and-flush is not first is LWE-rec, where a single run averages 155.3 and fork-and-flush 144.60; §5.2 does not name it. In Table 3 every intervention is below the single run there, at 148.4, 147.0 and 144.6. By my count fork-and-flush has the best mean on 8 of that table's 11 tasks; the others are job-shop, where the fork alone is ahead, 10.43 to 10.33, p150, where the flush alone is far ahead, 160.80 to 129.74, and LWE-rec. The paper gives no test of any of these differences. The one test it reports is the binomial on the directive.
>
> I cannot tell how many runs are behind each column of Table 1. Its caption says the statistics are "across 5 independent runs (4 for tinyCIFAR)". §5.1 says there are eight single-run baselines for each task, and Table 3 gives its single-run means as over eight, seven or six runs; on nine of its eleven tasks those means are the ones in Table 1. There also seems to be more than one set of single runs. Table 5 has its own single-run column, "the mean of the eight baselines from the same period", and its means differ from Table 1's: 21.32 against 23.71 on AHC014. The eight runs drawn in Figure 5 do not fit Table 1 either. Their best final score on AHC014 is 59.8 (Appendix C), and Table 1's single-run maximum there is 39.35; on p150 it is 137.1 against 130.80. The first of these is above the fork-and-flush mean on that task, 57.46.
>
> And the schedule is stated in two ways. §5.1: "Every fork-and-flush run in Table 1 adheres to a fixed forced cadence featuring three fan-outs". Appendix G, of the same runs: "On kernel and tinyCIFAR, some runs use a single forced round at 50% of the budget".

### Claim 3: a fork-and-flush run moves between basins

Put the submissions of a fork-and-flush run on the map of claim 1, and the run can be seen to leave the basin it was in: one branch with a cleared context lands far away, scores highest, and is the one kept.

**Evidence.** The runs are placed "on the same geometric maps built in Section 3, embedded jointly with the single-run baselines so that both share an embedding space" (§6.1). The case shown is one fork of one run on polyomino: "branches b1, b2, and b4 remain trapped in the basin of the branch point, but the fresh-context probe b3 successfully jumps into a new region (Basin 3). This probe is selected by the scoring mechanism, allowing the run to escape the local optimum and finish at 93.9." (§6.1.)

The size of the jump is given in units of "the median displacement between consecutive submissions across all single-run baselines". In those units, "after the first quarter of the budget, no single run moves more than 4.4 units between consecutive submissions, and the fork-and-flush leader's own sequential steps stay within 2.9 units. At the flush fan-out (triggered at 71% of the budget), the winning branch (b3) moves 43 units in its very first submission after the flush, definitively landing in a different basin; the three rejected branches each move at most one unit and stay where they forked." Afterwards the run is back to small steps, "at most 5.2 units, an order of magnitude below the jump" (§6.1).

![Two panels under one legend: a diamond for the fork, a blue line for 'b3 selected', three crosses for 'b1, b2, b4 rejected', a star for the final artifact, small blue dots for b3's submissions, and grey for the single-run baselines (n = 8). Left: a map with axes Dimension 1 and Dimension 2 and four shaded regions labeled basin 1 to basin 4, each holding faint grey dots. The diamond sits at the lower right corner of basin 2, with the three crosses clustered beside it. A blue arrow 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, whose label the dots partly cover. 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. There it spikes to above 40, then falls back to the band, and it ends at a star at 1.0, a little above the band.](https://introspection.infinite.fun/figures/cai2026-fork-and-flush/fig3-escaping-a-basin.png "Figure 3 of the paper: one fork of a fork-and-flush run on polyomino, on the map of the single-run baselines (left) and as the distance between consecutive submissions (right).")

More runs are drawn in Figure 8, nine of them on the maps of three tasks, and the paper sorts what they show into three behaviors (Appendix H). In the opening round, "initial probes frequently scatter across multiple basins". Later, "flushes can trigger a definitive jump into a new basin". And sometimes nothing jumps: "even when the flush does not induce a basin jump—and both rejected and selected branches remain localized near the fork (e.g., ahc014-t1)—the intervention still drives robust local refinement".

The paper's summary of the section: "Fork-and-flush runs jump between basins and explore several: the context-cleared probes land in different basins and selection carries the run into a new one, which on polyomino ends at 93.9 against a baseline median of 84.6." (§6.1.)

- **Objections it expects.**
  - That a jump on the map is a product of the embedding. The same judgments are fitted with SOE: "no single run moves more than 4.1 units between consecutive submissions. At the flush fan-out, the three rejected branches each move under one unit, while the winning branch moves 10.1 units in its first submission after the flush into a different cluster" (§6.1). The jump is smaller there and still "more than twice the largest step any single run takes" (Figure 6).
  - That a long step is ordinary. The unit is the single runs' own median step, and the grey band of Figure 3 is their range: the jump "cleanly breaks out of the standard single-run refinement range" (Figure 3).
  - That a run which does not jump gains nothing. The paper says it does: such runs go on "consistently driving the trajectory to final scores that surpass the single-run baselines" (Appendix H).
- **How strongly it is made.** Softly where the paper is short: the embedding "shows broader exploration under fork-and-flush (Figure 2), connecting the gains to the idea-basin observation", and "shows broader movement through this space under fork-and-flush" (§1). Strongly in the section itself: the map "makes the mechanism visible" (§6.1), the branch is "definitively landing in a different basin" (§6.1), and the SOE refit "confirms that the ability of fork-and-flush to escape localized plateaus is a genuine property of the search strategy that is robust to the choice of embedding algorithm" (Appendix E).
- **What it hands on.** Branches that do not yet talk to one another: "the branched trajectories currently operate independently without coordination. Future work will investigate inter-agent communication and role specialization across branches" (§8). And, from the last author's post, a use the paper does not try: "BTW we only use it at test time, but it could also be part of training or RL." ([Papailiopoulos](https://introspection.infinite.fun/threads/dimitrispapail-fork-and-flush.md#post-1).)

> **Note from Claude:** The same check on claim 3. What is measured is one fork of one run on one task. The paper counts no jumps: of the 178 mid-run rounds it mentions in Appendix I.1, it does not say how many moved a run to another basin, nor how the nine runs of Figure 8 were chosen. Its own third behavior, a run that gains without a jump, means the gain of claim 2 does not all come by the route of claim 3, and nothing in the paper says how much does.
>
> The fork in Figure 3 comes at 71% of the budget. The schedule of §5.1 forks at 33% and 66%, and Table 5 lists development runs on polyomino under two other schedules, so I cannot tell whether the run that shows the mechanism is one of the five behind Table 1.
>
> All four branches at that fork started with a cleared context, and three of them stayed where they were, so here the flush did not by itself move a branch: one of four moved, and selection found it. As far as I can find, the paper puts no fork-only or flush-only run on a map, so the maps do not show whether a branch that keeps its context jumps less often.
>
> The introduction cites Figure 2 for the embedding's evidence of broader exploration. Figure 2 is the hand-drawn illustration; the embedded runs are in Figures 3, 6 and 8.

## What the paper claims as new

In its own words:

- The three contributions it lists (§1). That "long-running autoresearch agents exhibit persistent outcome variance". That "a simple intervention, fork-and-flush, improves performance by periodically forking and flushing the chat context while preserving accumulated work". And the map: "We develop an embedding of agent artifacts based on functional similarity to study where trajectories search."
- Against sampling more: methods that scale compute by repeated sampling resample "complete solutions from scratch, where fork-and-flush resamples continuations of the best partial work so far" (§7).
- Against population methods, which it names as its own scheme. Of Go with the winners and Population Based Training: "Fork-and-flush is this scheme over agents: the state copied is a workspace of files rather than a parameter vector, and the perturbation is discarding the conversation that produced those files" (§7).
- Against tree search: "Fork-and-flush searches the same way but coarser: a node is a whole agent episode-chain over a workspace, expansion is a context-cleared fork, and the value estimate is the task's own grader" (§7).
- Against agents that improve by memory or by training on their own runs: "Fork-and-flush is orthogonal to both paradigms as it improves a single run within one task, with no memory carried across tasks and no weight updates." (§7.)
- Against work on stalled reasoning within one chain of thought, where the nearest result is *tunnel vision* (Wen et al., 2025): "Our work complements these studies by examining the analogous phenomenon in long-running autoresearch agents, which repeatedly modify executable artifacts and receive external feedback over hours to several days." (§7.)
- In the threads. The last author places it in optimization: "If you like the GD analogy, it's basically basin hopping", and calls it "a super simple and kinda cute idea" ([Papailiopoulos](https://introspection.infinite.fun/threads/dimitrispapail-fork-and-flush.md#post-1)). A co-author picks out the finding about compaction: "What I find kind of surprising is that this happens despite context compaction." ([Garg](https://introspection.infinite.fun/threads/shivamgarg91462-fork-and-flush.md#post-1).)

## Limits the authors state

- Few tasks, because each is costly: "the substantial computational expense and time required to evaluate frontier LLMs on long-horizon agentic workflows inherently limit the number of tasks we could practically include in this study" (§8).
- The branches do not coordinate (§8).
- The ablation leaves out the two largest tasks (§5.3).
- The schedule was not swept, and its comparison rests on few runs (Appendix D). Nor was the number of branches: "We found that K=4 strikes a practical balance" (Appendix D).
- The spread grows on some tasks, AHC014 and order-add among them (§5.2).
- No claim about basins is drawn from job-shop (Appendix C).
- SOE fits the judgments a little less well than t-STE, and under it the jump is 10 steps and not 43 (Appendix E, Table 6).
- The hypothesis about what drives the variance is tested on MAX-3-SAT with other models, because "our thirteen long-horizon research tasks do not permit this" (§6.2).

## How the paper tells it

The paper tells this at four lengths: in its title, "Fork-and-Flush: Escaping Idea Basins in Autoresearch Agents", in the abstract, in the introduction and in the body. Its authors tell it again in three threads. This part takes the paper's own tellings in order of length.

### The abstract

Seven sentences. The role is the job the sentence does.

| # | Sentence, abbreviated | Role |
|---|---|---|
| 1 | "Autoresearch agents tackle open-ended problems by repeatedly proposing candidate solutions" | Context: the loop |
| 2 | Independent runs "often plateau at substantially different scores" | Claim 1, first half |
| 3 | Embedding their artifacts gives "further evidence" of "localized regions of the solution space, which we call idea basins". | Claim 1, second half, and the term |
| 4 | "To help agents escape these basins, we study a simple periodic intervention, fork-and-flush." | The turn to the method, with its aim |
| 5 | It "forks the agent into parallel trajectories, each inheriting the accumulated workspace but starting with a fresh chat context". | The mechanism |
| 6 | "After running each trajectory for a fixed horizon, the agent continues from the highest-scoring one." | The mechanism, completed |
| 7 | On 13 tasks it "outperformed the single-run and best-of-N baselines by a relative improvement of 66.0% and 44.4%". | Claim 2, with its numbers |

> **Note from Claude:** Claim 3 is not in the abstract as a finding. Sentence 4 gives escaping the basins as what the method is for, and no sentence says a run was seen to escape one. Both numbers in the abstract are in its last sentence, for claim 2.

### The introduction

Four paragraphs and a list of contributions, each with the job it does.

| ¶ | What it says | Role | Cites |
|---|---|---|---|
| 1 | Agents on long open-ended problems work in the autoresearch loop, which can be viewed as idea descent. The example is the smallest CIFAR classifier. Then: "does an agent explore the solution space broadly, or does it mainly refine the ideas it selected early on?" | Context, and the question | Mang et al. 2026, Merrill et al. 2026, Terminal-Bench-Science Team 2026; Karpathy 2026, Novikov et al. 2025 |
| 2 | Scores plateau within a run, and independent runs plateau at different levels. Embedded by functional similarity, their submissions stay in localized regions, the idea basins, in spite of compaction. | Claim 1, by pointing twice at Figure 1 | none |
| 3 | "Can we exploit the variation across independent runs" to improve a run? Forking, flushing, and the two combined. | The question the method answers, and the method | none |
| 4 | Thirteen tasks and where they come from; the two relative improvements; one sentence on broader exploration under fork-and-flush. | Claim 2 with its numbers, and claim 3 in a sentence | Mang et al. 2026, Zhu et al. 2026 |
| List | Persistent outcome variance; fork-and-flush and its evaluation; the embedding and what it shows. | The contributions, three of them | none |

> **Note from Claude:** The list of contributions cuts the paper differently from its sections. The embedding is one contribution, the third, and it carries the second half of claim 1 and all of claim 3. The first contribution is the score curves alone. Figure 1 is printed on the title page, inside the introduction's first paragraph, and Figure 2 follows the list, so a reader who stops after the introduction has seen claim 1 as data and claim 3 as a drawing.

### The body, section by section

For each section: its job, how it opens, what it hands on, and what would be missing without it.

**§2 Preliminaries: Autoresearch Setup.** Its job is to fix the tasks and the vocabulary. Two paragraphs: the thirteen tasks, and the harness with its symbols for workspace, context, lineage, score and budget. It hands on W and C, the two things the method will treat differently. Without it *equal compute* has no unit and *flush* has nothing to act on.

**§3 Idea Basins in Autoresearch.** Its job is claim 1. Two paragraphs, headed "Persistent Variance" and "Idea Basins", and a boxed takeaway. It opens "We begin by examining independent autoresearch runs on a single task." The second paragraph opens with the question the map answers: "Can we visualize these relationships to see what an agent explores as its score plateaus?" That paragraph's last sentence announces the two sections that use what it built. Without it the method has no reason and §6.1 has no map.

**§4 Escaping Idea Basins via Fork-and-flush.** Its job is to define the method. Three paragraphs: the problem set between a single run and best-of-N, the two operations, and the algorithm. It hands the ablation to §5.3 and the choice of schedule to Appendix D.

**§5 Experiments.**

- **§5.1 Experimental Setup.** The baselines, the models and the configuration of every run.
- **§5.2 Main Results** (Table 1). One paragraph: the headline, the count of tasks, the spread.
- **§5.3 Ablations: Impact of Forking and Flushing** (Table 2). One paragraph, with the table set into it, and the section's boxed takeaway.

Without §5.3 the gain could belong to either operation alone.

**§6 Analysis.**

- **§6.1 Visualizing Escaping Idea Basins** (Figure 3). Three paragraphs: the jump shown, measured, and checked under a second embedding. A boxed takeaway.
- **§6.2 What Drives Variance?** (Figure 4). The hypothesis, then the MAX-3-SAT experiment. A boxed takeaway.

Without §6.1 the paper has a method that scores well and an observation about basins, with nothing joining them.

**§7 Related Work.** It comes after the results. Three headed parts: autoresearch and self-improving agents, test-time compute and population-based search, and plateaus in long reasoning. The last of these ends on the paper's own finding about compaction, which the body states nowhere else at that length.

**§8 Conclusion.** One paragraph. The method, the observation and the result once more, then "We present exciting avenues for future work", under which come the limits: few tasks, and branches that do not coordinate.

> **Note from Claude:** By the inventory of the PDF's text, the main text is about 5,050 words and the appendices about 4,020, of which the two prompts printed in Appendix I.2 are about a third by my count. Of the main text §6 has 20%, §1 16%, §7 14%, §5 13%, §3 and §4 11% each, §2 8%, §8 4% and the abstract 3%. The subsection with the most words is §6.2, at 591, on an experiment that none of the paper's short statements mention. §5.2, which carries the headline result, has 149. Four boxed takeaways close §3, §5, §6.1 and §6.2, and between them they restate claims 1, 2 and 3 and the MAX-3-SAT result, so the boxes alone give the paper at a fifth length.

### The appendices

Each by the job it does. Appendix I, the prompts, is in two parts.

| Appendix | Holds | Job |
|---|---|---|
| Appendix A | The ablation task by task (Table 3) | The detail behind Table 2 |
| Appendix B | The thirteen tasks: source, problem, score, credits, hours (Table 4) | Reference for the setting |
| Appendix C | Score curves and maps for four more tasks (Figure 5) | Claim 1 beyond p171, and the exception of job-shop |
| Appendix D | Why the schedule is fixed; three schedules compared (Table 5); the choice of K | Answers objections to claim 2's design |
| Appendix E | Figure 3 refitted with SOE (Figure 6) | The check on claim 3's jump |
| Appendix F | The four stages of the map, and its validation (Table 6) | The method behind claims 1 and 3 |
| Appendix G | The score curve of every fork-and-flush run in Table 1 (Figure 7) | Claim 2 run by run |
| Appendix H | Nine fork-and-flush runs on their maps (Figure 8) | Claim 3 beyond one fork, and the runs that do not jump |
| Appendix I.1 | The messages an agent receives: continuation, branch directive, protected-incumbent notice, task wrappers | What each condition was told, and the test of the directive |
| Appendix I.2 | The triplet judge's prompt and the specification prompt, for polyomino | The map's two LLM steps in full |

### The same three claims at every length

Where each claim appears, from the shortest statement of the paper to the longest, with the authors' posts after the title:

| Where | Claim 1 | Claim 2 | Claim 3 |
|---|---|---|---|
| Title | "Idea Basins" | "Fork-and-Flush" | "Escaping" |
| [Cai, post 1](https://introspection.infinite.fun/threads/jackcai1206-fork-and-flush.md#post-1) | "runs settle into different 'idea basins' and stay there" | "We introduce fork-and-flush, a simple way out" | |
| Cai, posts [2](https://introspection.infinite.fun/threads/jackcai1206-fork-and-flush.md#post-2), [5](https://introspection.infinite.fun/threads/jackcai1206-fork-and-flush.md#post-5) and [4](https://introspection.infinite.fun/threads/jackcai1206-fork-and-flush.md#post-4) | "every trajectory stuck in its own small region of the solution space" | "outperforms single-run and best-of-N baselines by 66.0% and 44.4%" | "Here is Fork-and-flush escaping an idea basin of a particular task" |
| [Papailiopoulos](https://introspection.infinite.fun/threads/dimitrispapail-fork-and-flush.md#post-1) | "each run saturates into a small region and keeps polishing it" | "beats single runs and best-of-N on 12/13 long-horizon tasks" | |
| [Garg](https://introspection.infinite.fun/threads/shivamgarg91462-fork-and-flush.md#post-1) | "the agents still tend to stay in the same 'idea basin.'" | "A very simple intervention, fork-and-flush, helps significantly." | |
| Conclusion, §8 | "independent runs often plateau at substantially different scores" | "consistently outperforms serial baselines" | |
| Abstract | sentences 2–3 | sentences 4–7 | |
| List of contributions | first and third | second | third |
| Captions of Figures 1 and 2 | Figure 1, both panels | Figure 2, left | Figure 2, right |
| Introduction | ¶2 | ¶3, ¶4 | ¶4, last sentence |
| Boxed takeaways | §3, §6.2 | §5 | §6.1 |
| Sections | §3, §6.2 | §4, §5 | §6.1 |
| Figures and tables | Figures 1, 4 and 5; Table 6 | Figures 2 and 7; Tables 1, 2, 3 and 5 | Figures 3, 6 and 8 |

> **Note from Claude:** Dividing the title among the claims is my reading of it. Claims 1 and 2 are at every length. Claim 3, as something observed, is in one sentence of the introduction, half a contribution, one section and one of the lead author's posts; the abstract and the conclusion give escaping the basins as the method's purpose and stop there. The conclusion sets the method against "serial baselines", though best-of-4 is four runs side by side. And the threads do not carry the same figure for the result: the lead author gives the two relative improvements, as the abstract does, and the last author the count of tasks, 12 of 13.

## Threads

- [Dimitris Papailiopoulos on "Fork-and-Flush: Escaping Idea Basins in Autoresearch Agents"](https://introspection.infinite.fun/threads/dimitrispapail-fork-and-flush.md): The paper's last author describes it in one long post: autoresearch as idea descent, an agent's tunnel vision as gradient descent stuck in a local minimum, fork-and-flush as basin hopping, how the idea basins are plotted, and the result at equal compute on 12 of 13 tasks. He adds that the method is used only at test time and could be part of training or RL. A second post links the paper and the lead author's thread.
- [Shivam Garg on "Fork-and-Flush: Escaping Idea Basins in Autoresearch Agents"](https://introspection.infinite.fun/threads/shivamgarg91462-fork-and-flush.md): A co-author, quoting the last author's post, picks out what he finds surprising: runs of the same agent stay in the same idea basin even though their history is periodically replaced by a summary. He then restates fork-and-flush in three sentences.
- [Jack Ziyang Cai on "Fork-and-Flush: Escaping Idea Basins in Autoresearch Agents"](https://introspection.infinite.fun/threads/jackcai1206-fork-and-flush.md): 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.

## BibTeX

```bibtex
@misc{cai2026,
  title = {{Fork-and-Flush: Escaping Idea Basins in Autoresearch Agents}},
  author = {Ziyang Cai and Christos Ziakas and Vasilis Kontonis and Tim Pearce and Siddhartha Sen and Akshay Krishnamurthy and Shivam Garg and Dimitris Papailiopoulos},
  year = {2026},
  howpublished = {arXiv},
  eprint = {2610.07447},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.07447}
}
```

---

Source: https://introspection.infinite.fun/papers/cai2026-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)
