Papers
Topics
Authors
Recent
Search
2000 character limit reached

Structured Rollout Summaries

Updated 23 April 2026
  • Structured rollout summaries are schema-driven representations that compress long agent trajectories into tuples capturing hypotheses, progress, and failure signatures.
  • They enhance test-time scaling by replacing raw traces with compact summaries that improve pass rates and sample efficiency.
  • Integration with RTV and PDR algorithms facilitates parallel benchmarking and iterative refinement, yielding notable empirical gains.

Structured rollout summaries are compact, schema-driven representations of agent trajectory data that distill complex, long-horizon interactions into a form optimized for selection and reuse during test-time scaling. Designed initially for agentic coding tasks involving extended action/observation histories, structured rollout summaries replace raw execution traces with tuples capturing the key hypotheses, progress, and failure signatures associated with each attempt. This abstraction facilitates both large-scale parallel benchmarking and inference-time refinement by enabling efficient downstream ranking and conditioning of rollouts, achieving substantial empirical gains in pass rates and sample efficiency for advanced code agents (Kim et al., 16 Apr 2026).

1. Formal Definition and Motivation

Let τ=((T1,B1,O1),…,(TM,BM,OM))\tau = ((\mathcal T_1, \mathcal B_1, \mathcal O_1), \dots, (\mathcal T_M, \mathcal B_M, \mathcal O_M)) denote a rollout trajectory comprising agent thoughts Ti\mathcal T_i, bash command sets Bi\mathcal B_i, and environmental observations Oi\mathcal O_i at each of MM steps. The structured summary mapping SS compresses τ\tau into a triple

S(Ï„)={H,P,F}S(\tau) = \{H, P, F\}

where:

  • HH is a list of short natural language hypotheses about root causes of failures;
  • PP is a sequence of progress markers (filename, diff) pairs reflecting substantive agent edits;
  • Ti\mathcal T_i0 enumerates salient failure modes witnessed (error messages, test failures).

Empirically, this form of post-hoc rollup enables efficient selection and reuse, directly addressing the bottleneck in long-horizon agentic evaluation: not generation, but filtering and propagation of the most promising sub-trajectories (Kim et al., 16 Apr 2026).

2. Summary Schema and Pruning Heuristics

The Ti\mathcal T_i1 record adopts a fixed three-field schema:

  • Hypotheses Ti\mathcal T_i2: Short (≤2 sentences) explanations, e.g., "The IndexError arises because the code calls .pop() on an empty list."
  • Progress Markers Ti\mathcal T_i3: Each tuple provides a file name and a code diff hunk, e.g., Ti\mathcal T_i4.
  • Failure Modes Ti\mathcal T_i5: Substrings of error outputs, e.g., "ModuleNotFoundError: no module named 'pytz'."

To maximize information density and minimize redundant context, pruning heuristics are employed:

  • Terminal outputs or stack traces not referenced by any Ti\mathcal T_i6 are excluded.
  • Only the top-Ti\mathcal T_i7 hypotheses by LM-scored association to failure observations are retained.
  • Code diffs are deduplicated via canonicalized context lines, and progress markers pruned by edit frequency/novelty.

Summary field sizes are typically capped by prompt length, e.g., Ti\mathcal T_i8 (Kim et al., 16 Apr 2026).

Field Type Capping
Hypotheses List[str ≤ 2 sentences] ≤ 5
Progress List[(filename, code diff)] ≤ 5
Failure Modes List[str (error/test output substring)] ≤ 5

3. Construction Algorithms and Pseudocode

Structured rollout summaries are constructed via a deterministic LM summarization operator. A functional pseudocode form is given by: Oi\mathcal O_i7 The Ti\mathcal T_i9 can be instantiated via targeted LM prompts: e.g., "Given these thought–error pairs, how strongly does hypothesis Bi\mathcal B_i0 explain these errors?" Bi\mathcal B_i1 ranks diffs by occurrence count within Bi\mathcal B_i2.

This pipeline fully automates the conversion of complex traces into bounded comparison and conditioning objects suitable for large-scale inference-time processing.

4. Integration with Selection and Refinement Algorithms

Structured summaries are critical enablers for two key inference-time scaling procedures:

Recursive Tournament Voting (RTV):

  • Given Bi\mathcal B_i3 rollout summaries, RTV partitions them into groups of size Bi\mathcal B_i4 and, for Bi\mathcal B_i5 votes, prompts an LM to choose which summary in each group is most likely to yield success.
  • Winners advance to the next round; repeat until Bi\mathcal B_i6.
  • In LaTeX notation: Bi\mathcal B_i7

Parallel-Distill-Refine (PDR):

  • For each batch iteration, summarize rollouts, select top-Bi\mathcal B_i8 using RTV, and condition next-rollout generation on the best summaries
  • Context for the next round is formed from the top Bi\mathcal B_i9 selected summaries, which are then concatenated into the LM input for subsequent rollouts.

Both methods boost effective test-time compute by leveraging the information density and modularity of the summary format, sidestepping the impracticality of raw trace comparison or gradient-based ranking in high-dimensional sequence space (Kim et al., 16 Apr 2026).

5. Hyperparameterization and Model Choices

Implementations are parameterized as follows:

  • Oi\mathcal O_i0 parallel rollouts/iteration, Oi\mathcal O_i1 total iterations for refinement, Oi\mathcal O_i2 context size for PDR, Oi\mathcal O_i3 group size and Oi\mathcal O_i4 votes/group for RTV.
  • Field caps: Oi\mathcal O_i5.
  • Supported LLM families: Claude-4.5-Opus, Gemini-3.1-Pro, Claude-4.5-Sonnet, Gemini-3-Flash, GPT-5-0825.
  • Benchmarked on SWE-Bench Verified and Terminal-Bench v2.0.

This standardized configuration enables fair benchmarking and robust scaling studies.

6. Empirical Results and Observations

Use of structured rollout summaries yields significant lift in pass@1 for state-of-the-art agents:

  • Claude-4.5-Opus: 70.9% → 77.6% (SWE-Bench Verified), 46.9% → 59.1% (Terminal-Bench v2.0)
  • Gemini-3.1-Pro: 72.3% → 76.6% (SWE-Bench Verified), 52.5% → 64.8% (Terminal-Bench v2.0).

Isolated RTV achieves 5–6% (SWE-Bench) and 8–12% (Terminal-Bench) gains without refinement; PDR yields 4–6% boost in round two, and full RTV→PDR→RTV brings improvements up to 12% absolute. Refined rollouts are about 50% shorter, attributing step-count compression to more focused search trajectories (Kim et al., 16 Apr 2026).

While structured rollout summaries originate in test-time scaling of coding agents, related non-myopic acquisition function rollouts in Bayesian Optimization similarly distill Oi\mathcal O_i6-step trajectory simulations via compact policy-driven representations. Efficient Monte Carlo rollouts in the Bayesian Optimization context utilize summary statistics, variance reduction (QMC, CRN, control variates), and policy-search selection to manage high-dimensional trajectory data (Lee et al., 2020). In both domains, the central insight is that selection/reuse bottlenecks can be breached by compressing sequential history to a bounded summary that accurately encodes the information required for ranking, conditioning, or reuse.

A plausible implication is that structured rollout summarization admits generalization to other domains where trajectory-level abstraction is required for sample-efficient search or robust evaluation under compute constraints.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Structured Rollout Summaries.