Manuscript Offprint
arXiv:2610.19614Divergent Paths: Learning an Outcome-Predictive Representation of LLM Agent Trajectories
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
In this work, we reframe agentic trajectories as paths through a shared embedding space of actions and environmental observations. We show that successful and failed rollouts of the same task separate in this space, with simple per-task discriminators predicting held-out rollout outcomes at up to 0.95 AUROC across three agent benchmarks and three policy models. To exploit this signal across tasks, we introduce PRECOG-RM, a transformer-based model that meta-learns a representation in which outcome prediction can be performed in a few-shot setting. We show that PRECOG-RM generalizes to unseen tasks and models, and gives confident predictions of trajectory success long before termination. Deployed as an early stopping controller for Group Relative Policy Optimization (GRPO) on Tau2-Bench, PRECOG-RM cuts training FLOPs by up to 47.3% while maintaining performance comparable to baseline GRPO.
Code — https://github.com/alexgill321/precog-rm
1 Introduction
The shift from language modeling to tool-using agentic systems has expanded the medium LLMs must operate over. An agentic trajectory is made up of a sequence of interactions, each pairing an action taken by the agent with an observation returned by the environment (Yao et al. 2022), often spanning 10–100+ turns and 100K–500K+ tokens (Merrill et al. 2026; Luo et al. 2025; Vidgen et al. 2026).
This structure has made agentic trajectories the central object of a growing set of problems such as credit assignment (Feng et al. 2026; He et al. 2026; Zhang 2026), failure diagnosis (Barke et al. 2026; Tayebati et al. 2026; Ou et al. 2025), and data filtering (Yang et al. 2026; Lin et al. 2026). Most methods read the raw token sequence, where the tokens that determine an outcome are a small fraction of the surface form that carries them. Workarounds either prompt an LLM to analyze the trajectory (Zhuge et al. 2024; Ou et al. 2025), inheriting the cost and failure modes of the system under study, or compress trajectories into hand-crafted features (Tayebati et al. 2026), deciding in advance which properties matter. Neither transfers beyond the problem and domain it was built for.
Recent works instead treat actions (Feng et al. 2026; He et al. 2026) or action–observation pairs (Yang et al. 2026) as states recurring across multi-trial rollouts, so that a rollout becomes a trajectory through a space of action-observation states. Collapsing the many token realizations of an action or observation into shared states strips away the surface variation that obscures analysis signals. Unlike a fixed feature set or a prompted judge, the representation itself can be learned, allowing a single model to serve these problems across tasks and domains. A representation only matters, however, if it retains the signal these problems depend on. What credit assignment, failure diagnosis and data filtering all share is that each must tie what happened in a trajectory to how it ended. A representation that loses the outcome serves none of them.
We ask how much of a trajectory’s outcome is recoverable from its actions and observations alone. We embed each action and observation with a frozen text encoder, a space we refer to as the action–observation space (AOS), and test whether same-task success and failure rollouts separate within it. We find that they do. Across three agentic benchmarks and three models, simple discriminators fit per-task on a handful of labeled rollouts predict held-out rollout outcomes at up to 0.95 AUROC. Figure 1 shows the effect directly, with success and failure trajectories separating as their histories grow.
Per-task fitting, however, transfers nothing, and its accuracy is bounded by the number of labeled rollouts a single task provides. We instead pose outcome prediction as a representation learning problem: learn an embedding of interaction histories under which same-task rollouts heading toward success separate from those heading toward failure, relating trajectories by outcome signal similarity rather than surface similarity. We introduce PRECOG-RM, a few-shot meta-learning model inspired by Prototypical Networks (Snell, Swersky, and Zemel 2017) which learns this embedding across tasks. On a new task, a single batch of labeled rollouts defines success and failure prototypes, and prediction reduces to distances against them, with no fitting at inference. PRECOG-RM separates better than per-task discriminators when labeled rollouts are plentiful and increasingly outperforms them as they grow scarce, and it transfers to unseen tasks and policy models. A variant predicts outcomes mid-rollout, abstaining when unsure. Finally, we deploy PRECOG-RM as an early stopping controller for GRPO (Shao et al. 2024) on -Bench retail (Barres et al. 2025): rollouts whose predicted success probability crosses the confidence threshold in either direction are

Figure 1: Trajectory flow through paired action–response state clusters for 100 retail/103 rollouts from Tau2-Bench. HDBSCAN over joint action–response embeddings yields one cluster assignment per rollout step; the first 30 steps are shown. Bar height encodes cluster occupancy, and bar color encodes empirical success probability (red = 0, yellow ≈ 0.5, green = 1). Within each step, clusters are ordered by success rate from failure-associated (bottom) to success-associated (top). Thin lines trace individual rollouts between steps, colored by final outcome. Grey bars with purple outlines denote states HDBSCAN designates as noise. The bottom axis gives rollout step and mean cumulative tokens generated by that step. For more information on this diagrams construction, see Appendix A.
terminated and assigned the predicted outcome as terminal reward, leaving the optimizer and advantage estimator untouched. The controller cuts training FLOPs by up to 47.3% while keeping pass@1 within one standard deviation of the baseline.
We make four contributions: (i) a systematic study showing that same-task rollout outcomes are separable in embedded action–observation sequences, across three benchmarks and three policy models; (ii) PRECOG-RM, a meta-learned few-shot discriminator that carries this signal to unseen tasks and policies from a single batch of labeled rollouts; (iii) variants that predict outcomes mid-rollout and abstain when the signal is absent; and (iv) an end-to-end evaluation of PRECOG-RM as a GRPO rollout controller, cutting training FLOPs by up to 47.3% at near-baseline pass@1.
2.1 Problem Setup
We consider an LLM agent completing multi-step tasks from an instruction prompt . At each step the agent receives an observation and generates internal reasoning and a textual action . A trajectory terminates with a binary outcome indicating task success. The agent generates each action conditioned on the interaction history .
A single rollout is one realization of the stochastic process induced by x. On mixed-outcome tasks, identical starting conditions yield both successes and failures, so the outcome is decided along the path itself. We hypothesize that accumulates evidence of that decision as the trajectory unfolds. Our objective is a representation of trajectory histories under which same-task rollouts headed for success separate from those headed for failure, subject to the requirement that the success probability be trivially recoverable from . Concretely, at any step t, we estimate the success probability of the in-progress trajectory from its history and a small same-task support set ,
where denotes the embedded, labeled support set, and maps the embedded history and support to a probability of success. Approaches to Eq. 1 differ in where task adaptation occurs. Per-task discriminators hold fixed and fit on directly (Shen et al. 2025; Wang et al. 2025; Feng et al. 2026), which is viable only insofar as a handful of rollouts can support the fit. We instead learn across tasks such that requires no fitting at all, placing the burden of the objective on the representation. Group-based RL training (Shao et al. 2024) supplies both structures of Eq. 1 for free: each completed group of same-task rollouts is a labeled support set , and since advantages are computed from within-group statistics, uniform-outcome groups carry zero advantage, making mixed-outcome tasks precisely those on which a discriminator would be consulted.
2.2 Trajectory Embedding
Any instantiation of Eq. 1 must first decide how trajectories are encoded. A central hypothesis of this work is that the actions and environmental observations of an agentic trajectory carry most of its outcome-level signal. A sufficiently good embedding compresses each action or observation into a single state without losing outcome signal. We therefore embed each action and environmental response with a frozen text encoder, producing . A trajectory becomes a path through this
We exclude from all representations: empirically it carries no signal complementary to (Appendix B).
PRECOG-RM: few-shot prefix-outcome classification for rollout control
- Encode a rollout prefix

- Compute class prototypes

- Classify a prefix & stop

Figure 2: PRECOG-RM architecture and deployment. Action–observation pairs from a rollout prefix are embedded, linearly projected, and processed by a transformer encoder; masked mean pooling yields a trajectory representation . A per-task support set defines pass/fail class prototypes , as the mean embeddings of support rollouts. A query prefix is classified by softmax over negative Euclidean distances to the two prototypes; during generation, rollouts with are terminated and assigned the failure reward.
space, , comparable across rollouts free of token-level wording variance. We refer to this space as the action–observation space (AOS) purely as shorthand, it is a semantic embedding space restricted to actions and observations. Every representation in this work is built on it.
3 Method: PRECOG-RM
Per-task fits of g are bounded by one task's labeled rollouts, in practice a single batch: nothing they learn transfers, and raw AOS paths (2T steps in ) are too high-dimensional to fit. PRECOG-RM instead learns across tasks. A lightweight transformer encoder modeled after Prototypical Networks (Snell, Swersky, and Zemel 2017), it meta-learns an embedding space in which successful and failed rollouts of the same task separate: where the AOS relates actions and observations by semantic similarity, PRECOG-RM relates entire trajectories by outcome similarity. It consumes raw AOS paths directly, forms task-specific pass/fail prototypes at inference from a single labeled batch, and reduces g to prototype distances with no fitting on the support.
3.1 Architecture
Trajectory encoding. A learned linear projection maps each step embedding in AOS( ) to ( ), a bidirectional transformer encoder ( layers, heads) contextualizes the projected sequence, and masked mean pooling yields a fixed-length trajectory representation . Appendix C reports ablations over the encoder design.
Prototypical classification. Given a few-shot batch of labeled rollouts from a task, class prototypes are computed as mean representations, for (fail/pass), where contains the support rollouts of class , and is the representation of . Following Snell, Swersky, and Zemel (2017), a query trajectory is classified by a softmax over negative distances to the prototypes: , where is the Euclidean distance. In the terms of Eq. 1, the projection, transformer, and pooling constitute , whereas and are the fixed readouts : prototypes and distances involve no fitting on .
3.2 Training & Inference
Training. PRECOG-RM is trained offline via episodic meta-learning, each episode mimicking the few-shot condition at inference: an episode samples one task uniformly from the training pool, draws disjoint support and query sets from its rollouts ( and per class), and minimizes the negative log-likelihood of the query labels under the prototype-distance softmax, ; gradients flow through the projection and transformer encoder only, and the AOS is frozen. At inference, a single batch of labeled rollouts, e.g. a completed group from the RL loop, serves as , and every subsequent rollout is scored by in one forward pass. Because the encoder consumes AOS paths of any length, the same procedure scores an in-progress history , enabling mid-rollout prediction.
4 Experiments
4.1 Experimental Setup
Benchmarks. We use three long-horizon agent benchmarks selected for their coverage of agent use cases across multiple domains. -Bench (Barres et al. 2025) is a customer service agent benchmark spanning the airline, retail, and telecom domains. BFCLv3 (Patil et al. 2025), the Berkeley Function Calling Leaderboard multi-turn evaluation, covers base
| Dataset | Model | N | Pooled | Clustered | Learned PRECOG-RM | |||
|---|---|---|---|---|---|---|---|---|
| NC | RBF | FT n=1 | FT n=2 | FT n=5 | ||||
| TAU2-BENCH | DS-V3.2* | 28 | .901±.008 | .928±.009 | .860±.014 | .868±.013 | .852±.016 | .950±.009 |
| QWEN3-80B† | 38 | .862±.013 | .911±.010 | .917±.012 | .917±.009 | .884±.010 | .930±.013 | |
| GPT-5-MINI‡ | 41 | .851±.014 | .891±.009 | .919±.007 | .917±.011 | .891±.007 | .925±.003 | |
| BFCLv3 | DS-V3.2* | 50 | .787±.017 | .830±.024 | .857±.010 | .854±.004 | .816±.010 | .876±.012 |
| QWEN3-80B† | 40 | .887±.010 | .926±.012 | .908±.016 | .915±.022 | .912±.036 | .923±.007 | |
| GPT-5-MINI‡ | 20 | .853±.005 | .927±.011 | .913±.001 | .948±.015 | .942±.017 | .873±.020 | |
| AGENTCLINIC | DS-V3.2* | 14 | .744±.013 | .773±.012 | .688±.009 | .676±.015 | .680±.021 | .777±.037 |
| QWEN3-80B† | 13 | .785±.021 | .849±.014 | .792±.018 | .782±.004 | .744±.013 | .865±.029 | |
| GPT-5-MINI‡ | 13 | .763±.008 | .772±.015 | .768±.018 | .735±.027 | .688±.042 | .781±.021 | |
Table 1: Outcome separability on held-out test tasks (AUROC, mean ± std across folds). Within each task, stratified 3-fold CV over its rollouts: the per-task discriminators (NC, RBF on the pooled representation; fastText on clustered state-ID sequences with n-gram order n) are fit on each train fold (~33 rollouts), while PRECOG-RM (per-benchmark trained on all three models' rollouts, Appendix E) uses the same train fold as its support set, with no per-task fitting. Folds are identical across all methods; PRECOG-RM is additionally averaged over 3 training seeds. N = held-out test tasks per cell. Best per row in bold. * deepseek-v3 .2; † qwen3-next-80b-a3b-thinking; ‡ gpt-5-mini-2025-08-07
function calling, long-context, missing function, and missing parameter scenarios. AgentClinic (Schmidgall et al. 2024) evaluates tool-using clinical AI agents in the medical domain.
For all benchmarks, we screen each task with a 10-rollout sample and discard degenerate tasks, those in which every rollout succeeds or every rollout fails. Without both outcome classes, within-task separability is undefined; and since degenerate groups carry zero advantage in group-based RL (Section 2), mixed-outcome tasks are precisely those on which a discriminator would ever be consulted. For each surviving task, we generate 50 rollouts per model, embedding every action and observation into the AOS with text-embedding-3-large (d=3072), the frozen text encoder of Section 2.2. AgentClinic requires one further filter: its graded diagnosis can often be reached from internal knowledge alone, letting a discriminator separate outcomes without reading the trajectory. We therefore retain only tasks whose success rate drops under a no-tools ablation. Curation and action-observation extraction details for each benchmark are in Appendix D.
Models. To test whether our findings hold across model capabilities, we generate rollouts with three models from three families, stratified by reported performance on Tau2-Bench Telecom : DeepSeek-V3.2 (78.9%, strong), Qwen3-Next-80B-Thinking (41.5%, mixed), and GPT-5-mini (25.1%, weak).
Splits and training. Within each benchmark, one third of tasks are held out as a test split shared across all models, so cross-model transfer is always evaluated on unseen tasks. The remaining tasks form the training pools, filtered to tasks with at least 8 rollouts of each class to support episodes with . To measure how generalization scales with training diversity, we train one PRECOG-RM per pool of (benchmark, model) rollouts, 25 pools in total (Appendix E), with 3 seeds each. Every model trains for a fixed budget of 10,000 episodes with no early stopping or checkpoint selection. Hyperparameters are in Appendix G, design ablations in Appendix F.
Evaluation protocol. To evaluate on a held-out task, we draw a stratified support set of k rollouts per class (k=4 unless stated) and score the remaining rollouts, repeated over 5 seeded draws with identical draws for every method. We report AUROC averaged over draws, then tasks, then seeds.
Baselines. In addition to PRECOG-RM, we use two baseline representations over the AOS. Pooled mean-pools AOS( ) into a single vector, discarding step order, and clustered groups per-step embeddings into K per-task interaction states, collapsing a trajectory to an order-preserving state-ID path (Appendix A). Figure 1 shows an example of a clustered task. Both are fixed, non-learned choices of : all task adaptation happens in g, fit on each task's support. We fit three discriminators of increasing expressive power.
-
Nearest-Centroid (NC), on the pooled : scores a rollout by the difference of its cosine similarities to the pass and fail class means.
-
RBF-SVM, on the pooled : fits a nonlinear max-margin boundary over the pooled vector, admitting curved decision boundaries in the full AOS feature space.
-
fastText (Joulin et al. 2017), on the clustered : a linear -gram classifier over state-ID sequences, swept from an order-free bag of states () to longer subsequences ().
Together they bound what per-task fitting extracts from the AOS and set the reference we compare PRECOG-RM against.
4.2 Full-Support Discrimination
All evaluations in this section are on the held-out test tasks of Section 4.1, unseen during PRECOG-RM meta-training. On these tasks, we evaluate PRECOG-RM against the per-task baselines at maximum per-task signal. Baselines are fit on a
https://artificialanalysis.ai/evaluations/tau2-bench

Figure 3: Few-shot discrimination on held-out tasks vs. support size per class. AUROC of PRECOG-RM (per-benchmark specialist, mean over 3 seeds) and the strongest per-task baseline at each support size , on a fixed task cohort with identical seeded support draws. The dashed line marks the best baseline at : PRECOG-RM matches it with , a four-fold reduction in labeled rollouts. Per-method results in Appendix H.
fold ( 33 rollouts) of each test task and PRECOG-RM receives the same fold as its support set. PRECOG-RM here is the per-benchmark specialist: one encoder per benchmark, meta-trained on that benchmark's training tasks with rollouts from all three policies pooled. Table 1 reports per-task AUROC under stratified 3-fold cross-validation.
The baseline columns establish the separability properties of the space itself. Outcomes are separable in every condition (best per-task discriminator: 0.77–0.95 AUROC), supporting the hypothesis that embedded actions and observations retain outcome-level signal. Separability is not uniform, as ceilings shift by 0.12 AUROC across benchmarks and 0.05 across models, with AgentClinic the consistent low performer (Appendix I).
Against this ceiling, PRECOG-RM matches or exceeds the best per-task fit in eight of nine conditions, taking the best score in seven. The exception, BFCLv3/GPT-5-mini (.873 vs. .948), is the only condition where order-sensitive discriminators win, a signal our position-free encoder ignores by design (Appendix C).
4.3 Few-Shot Discrimination on Held-Out Tasks
Deployment offers far less than full support, so we next evaluate outcome separability under a few-shot setting. Figure 3 compares PRECOG-RM against the strongest per-task baseline at support rollouts per class, using identical seeded support draws on a fixed task set. PRECOG-RM im- proves on the strongest baseline at every support size on every benchmark. Its margin is largest at (+0.06–0.12 AUROC). At , it matches or exceeds the strongest baselines at , a four-fold reduction in the labeled rollouts required.
| Trained on | Evaluated on | ||
|---|---|---|---|
| DS-V3.2 | QWEN3-80B | GPT-5-MINI | |
| DS-V3.2 | .827 | .814 | .763 |
| QWEN3-80B | .768 | .886 | .826 |
| GPT-5-MINI | .776 | .820 | .861 |
| DS+Qwen | .844 | .892 | .837 |
| DS+GPT | .841 | .868 | .874 |
| Qwen+GPT | .801 | .885 | .868 |
| All models | .840 | .893 | .863 |
Table 2: Cross-model generalization: held-out-task AUROC by training-pool model composition (rows; within-benchmark pools, aggregated over benchmarks and 3 seeds) and evaluated policy (columns). Shaded cells are out-of-distribution (evaluated policy not in the pool).
4.4 Cross-Model and Cross-Benchmark Generalization
We next ask what the learned space generalizes over. Can rollouts from policies or domains unseen in meta-training still be separated? Table 2 varies training-pool composition along the policy axis. We call an evaluation out-of-distribution (OOD) when the policy or benchmark is not represented in the training pool, and in-distribution (ID) otherwise.
Every model added to the training pool improves OOD performance on the held-out model. The shaded OOD cells rise from 0.795 (mean, single-model pools) to 0.835 (two-model pools), approaching the ID reference ( 0.86). Since all models' rollouts share the same underlying tasks, an added model contributes no new tasks, and the gain is attributable to model diversity alone. The benchmark axis behaves oppositely (Appendix J). Unseen benchmarks fall to or below the AUROC of the untrained-encoder regardless of pool size. The all-benchmark trained PRECOG-RM matches the performance of domain specific trained counterparts, indicating that the learned space is domain-bound, but not sensitive to domain diversity in training.
4.5 Prefix Prediction
Above, PRECOG-RM predicts success for complete rollouts. Many applications instead call for predicting the outcome of a trajectory in progress. We train a prefix-conditioned variant of PRECOG-RM per benchmark (all three models). Support trajectories are encoded at full length, but each training query is truncated to a uniformly sampled prefix before encoding.
Different tasks naturally have decisive actions or observations at different stages in their trajectories. A useful prefix predictor must abstain when outcome signal is not yet present. We therefore evaluate confidence-gated early stopping. Using predicted class probabilities, we early stop a prefix as a predicted success if and a predicted failure

Figure 4: Confidence-gated early stopping on held-out tasks: accuracy among early-terminated rollouts vs. step-weighted compute saved, sweeping the confidence threshold (annotated). Each curve is the prefix-trained PRECOG-RM for that benchmark, evaluated in-domain. Thresholds at which fewer than of rollouts terminate early are omitted.
if . Rollouts which never cross run to completion. Figure 4 sweeps , plotting accuracy on the stopped rollouts against the fraction of generation steps saved. On Tau2-Bench and BFCLv3, gating is effective: at , of rollouts stop early with accuracy, saving of all generation steps. Relaxing to roughly doubles the savings at accuracy. AgentClinic performs near chance at all thresholds, but the model correctly abstains, stopping only of rollouts at compared to elsewhere.
5 Application: Early Stopping in GRPO
Having established PRECOG-RM as an effective few-shot outcome predictor that can discriminate a trajectory's outcome before completion, we now explore its application on one of the motivations from Section 1, RL post-training efficiency. In agentic RL, a single agentic task is often sampled eight or sixteen times, making rollout generation the primary compute bottleneck in the RL-training pipeline (Zhai and Wang 2026; Zhang et al. 2026). We therefore deploy PRECOG-RM to terminate confidently-predicted rollouts early, asking whether the saved generation compute can be realized without degrading the trained policy.
5.1 Setup
We integrate a prefix-trained PRECOG-RM as a rollout controller inside the GRPO loop. For each new task encountered during training, the first batch of rollouts is generated to completion and used as the support set, defining the task's prototypes. Every subsequent rollout is scored after each action–observation pair. When the predicted success probability crosses a confidence threshold ( or ), the rollout is terminated early and assigned the predicted outcome as its reward. Rollouts that never cross run to natural termination and receive their true environment reward.
Three knobs govern the controller. The threshold trades savings against prediction risk. is the number of rollouts per group forced to run to completion: retains of each group as unbiased reward signal; allows all rollouts to stop. Per-task support is either taken only from the current run's completed rollouts (Rolling), or kick-started by a group of pre-collected rollouts (Permanent) generated from a different model (Qwen3-Next-80B-Thinking), exploiting the cross-model generalization found in Section 4.4. Configurations are selected based on simulated early stopping calculations over baseline GRPO runs (see Appendix M for more details).
| Support | FLOPs saved (%) | Pass@1 | ||
|---|---|---|---|---|
| GRPO baseline | — | — | — | 35.0 ± 3.6 |
| rolling | 0.8 | 4 | 10.1 ± 1.4 | 35.6 ± 2.1 |
| rolling | 0.7 | 4 | 25.3 ± 3.6 | 32.2 ± 2.8 |
| rolling | 0.7 | 0 | 35.5 ± 2.2 | 32.8 ± 6.1 |
| rolling | 0.65 | 0 | 43.0 ± 4.2 | 30.8 ± 3.0 |
| permanent | 0.8 | 0 | 47.3 ± 1.8 | 31.9 ± 3.7 |
| permanent | 0.7 | 0 | 63.0 ± 2.0 | 28.3 ± 3.4 |
Table 3: GRPO on -Bench retail with PRECOG-RM early stopping (50 batches, Qwen3-8B; mean±std over 3 seeds). : confidence threshold for early termination; : rollouts per group forced to run to completion. Support is accrued from the current run (rolling) or pre-collected per task (permanent). FLOPs accounting in Appendix K. Pass@1 on the official test split at matched training end.
Protocol. We train Qwen3-8B (LoRA, ) on the official -Bench retail train split: 50 batches of 20 tasks, group size 16, three seeds per configuration, evaluating pass rate on the official test split. See Appendix G for other training details. We report compute in FLOPS based on generation/training token counts and model parameters, and account for the embedding cost of scoring separately (Appendix K).
5.2 Results
Table 3 and Figure 5 report 50-step GRPO runs. The most conservative configuration (rolling support, , ) slightly exceeds baseline performance on the test set after training (pass@1 vs. ), while consuming less compute. All other configurations trade moderate losses in training gain for significant compute savings. Four of six configurations have final test set pass@1 mean values within one standard deviation of the baseline GRPO mean. Of these, permanent support, , saves the most compute, at a reduction in training FLOPs. It has a mean pass@1 of 31.9 on the test set, which retains of the post-training gain of baseline GRPO over default Qwen3-8B. Only permanent support, , saves more compute (), but its pass@1 of 28.3 only retains of performance gain compared to baseline, indicating that this configuration crosses the point where prediction errors materially degrade the learning signal.
Training Trends. Training reward trajectories are consistent across configurations (Figure 5a late-training reward 0.29–
(a) Training Reward

(b) Eval Pass@1
(c) FLOPs Consumed
Figure 5: (a) shows mean training reward per step; the gray band is the baseline’s seed spread. (b) shows performance curves on the official test split; dashed gray is base Qwen3-8B performance (20.8%). (c) shows cumulative FLOPs consumed as a percentage of baseline FLOPs at equivalent steps. All curves average 3 seeds. Color denotes support type, linestyle the threshold , and linewidth .
0.37 vs. baseline 0.30), indicating that assigning predicted rewards to terminated rollouts does not bias the group-relative advantage signal. Compute savings differ by support strategy (Figure 5c): permanent-support configurations save from the first step, since prototypes are available before any rollout is scored, whereas rolling support begins at or above baseline cost, paying the embedding overhead of building support sets, with savings beginning once tasks accumulate viable support. All configurations except rolling saturate in cumulative FLOPs saved by late training.
6 Related Work
Representations of agent trajectories. Agentic trajectories are the central object of a growing set of analyses, including credit assignment (Feng et al. 2026; He et al. 2026; Zhang 2026), failure diagnosis (Barke et al. 2026; Tayebati et al. 2026; Ou et al. 2025), and training-data curation (Yang et al. 2026). These methods operate on raw token sequences, handcrafted features, or prompted LLM judges, each designed for a single problem and committed in advance to the trajectory features that matter. Closest to our view, TopoCurate (Yang et al. 2026) merges action-observation pairs from multtrial rollouts into a per-task interaction topology and uses it to curate training data. Related in spirit, Sun et al. (2026) recover correctness signals from the step-wise geometry of a model's hidden states. We adopt the state abstraction of the former as our entry point, but read the model-external action-observation interface rather than the policy's internals. We establish outcome separability as a general property of trajectories in this space and train a single encoder that carries it to unseen tasks and models.
Prefix-outcome prediction and process reward. Process reward models provide intermediate signal for incomplete generations through step-level annotation (Lightman et al. 2024), Monte Carlo construction (Wang et al. 2024), or implicit rewards recovered from outcome labels (Yuan et al. 2024), extending outcome-level verification (Cobbe et al. 2021; Uesato et al. 2022). This line targets mathematical reasoning and dense per-step reward; ToolPRM extends it to function calling, scoring intra-call decisions during structured generation (Lin et al. 2026). PRECOG-RM instead predicts a single terminal outcome from a multi-turn action-observation prefix, adapts to a new task from a small support set following prototypical networks (Snell, Swersky, and Zemel 2017), and uses the prediction to gate rollout continuation, substituting the predicted terminal reward for stopped rollouts.
Rollout control in RL post-training. Classical RL truncates rollouts at fixed horizons and bootstraps the unobserved return with a learned critic (Sutton 1988; Schulman et al. 2015; Mnih et al. 2016); time limits treated as terminal states are themselves a source of bias (Pardo et al. 2018). Recent LLM RL treats the rollout budget as an optimization target (Surana et al. 2026). GReSO filters prompts before generation by expected usefulness (Zheng et al. 2026). AERO adapts rollout allocation to avoid zero-advantage groups (Zhang et al. 2026). Selective Rollout is closest to our setting: it terminates agent rollouts mid-trajectory using a prefix-convergence heuristic (Zhai and Wang 2026). Work revising the GRPO objective itself (Yu et al. 2026; Liu et al. 2025; Kazemnejad et al. 2024) is orthogonal. PRECOG-RM leaves the objective, advantage estimator, and clipping rule untouched and modifies only which rollouts run to completion.
7 Conclusion
We showed that an agentic rollout’s outcome is recoverable from its embedded actions and observations: simple per-task discriminators separate same-task successes from failures across three benchmarks and three policy models. PRECOG-RM lifts this signal beyond the single task, meta-learning a representation in which outcome prediction reduces to distances against few-shot prototypes. It matches per-task fitting at full support, dominates it in the few-shot regime, and generalizes across policies. Gated by confidence, it serves as an early stopping predictor, converting predictions into compute savings. For GRPO on -Bench retail, PRECOG-RM cuts training FLOPs by up to 47.3% with pass@1 within one standard deviation of the baseline, leaving the optimizer untouched. We see outcome-predictive and other learned trajectory representations as reusable primitives for future work in agentic trajectory analysis.
References
Barke, S.; Goyal, A.; Khare, A.; Singh, A.; Nath, S.; and Bansal, C. 2026. AgentRx: Diagnosing AI Agent Failures from Execution Trajectories. arXiv preprint arXiv:2602.02475.
Barres, V.; Dong, H.; Ray, S.; Si, X.; and Narasimhan, K. 2025. -Bench: Evaluating Conversational Agents in a Dual-Control Environment. arXiv preprint arXiv:2506.07982.
Cobbe, K.; Kosaraju, V.; Bavarian, M.; Chen, M.; Jun, H.; Kaiser, L.; Plappert, M.; Tworek, J.; Hilton, J.; Nakano, R.; et al. 2021. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168.
Feng, L.; Xue, Z.; Liu, T.; and An, B. 2026. Group-in-group policy optimization for llm agent training. Advances in Neural Information Processing Systems, 38: 46375–46408.
He, S.; Feng, L.; Wei, Q.; Cheng, X.; Feng, L.; and An, B. 2026. Hierarchy-of-groups policy optimization for long-horizon agentic tasks. arXiv preprint arXiv:2602.22817.
Joulin, A.; Grave, E.; Bojanowski, P.; and Mikolov, T. 2017. Bag of Tricks for Efficient Text Classification. In Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 2, Short Papers, 427–431. Association for Computational Linguistics.
Kazemnejad, A.; Aghajohari, M.; Portelance, E.; Sordoni, A.; Reddy, S.; Courville, A.; and Roux, N. L. 2024. Vineppo: Refining credit assignment in rl training of llms. arXiv preprint arXiv:2410.01679.
Lightman, H.; Kosaraju, V.; Burda, Y.; Edwards, H.; Baker, B.; Lee, T.; Leike, J.; Schulman, J.; Sutskever, I.; and Cobbe, K. 2024. Let's Verify Step by Step. In Kim, B.; Yue, Y.; Chaudhuri, S.; Fragkiadaki, K.; Khan, M.; and Sun, Y., eds., International Conference on Learning Representations, volume 2024, 39578–39601.
Lin, J.; Shi, Y.; Peng, X.; Ding, R.; Wang, H.; Peng, Y.; Bai, B.; Song, W.; Bai, F.; Chai, H.; Zhang, W.; Huang, F.; and Wen, Y. 2026. ToolPRM: Fine-Grained Inference Scaling of Structured Outputs for Function Calling. In Liakata, M.; Moreira, V. P.; Zhang, J.; and Jurgens, D., eds., Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 18792–18804. San Diego, California, United States: Association for Computational Linguistics. ISBN 979-8-89176-390-6.
Liu, Z.; Chen, C.; Li, W.; Qi, P.; Pang, T.; Du, C.; Lee, W. S.; and Lin, M. 2025. Understanding r1-zero-like training: A critical perspective. arXiv preprint arXiv:2503.20783.
Luo, H.; Zhang, H.; Zhang, X.; Wang, H.; Qin, Z.; Lu, W.; Ma, G.; He, H.; Xie, Y.; Zhou, Q.; et al. 2025. Ultrahorizon: Benchmarking agent capabilities in ultra long-horizon scenarios. arXiv preprint arXiv:2509.21766.
McInnes, L.; Healy, J.; and Astels, S. 2017. hdbscan: Hierarchical Density Based Clustering. Journal of Open Source Software, 2(11): 205.
Merrill, M. A.; Shaw, A. G.; Carlini, N.; Li, B.; Raj, H.; Bercovich, I.; Shi, L.; Shin, J. Y.; Walshe, T.; Buchanan, E. K.; et al. 2026. Terminal-bench: Benchmarking agents on hard, realistic tasks in command line interfaces. arXiv preprint arXiv:2601.11868.
Mnih, V.; Badia, A. P.; Mirza, M.; Graves, A.; Lillicrap, T.; Harley, T.; Silver, D.; and Kavukcuoglu, K. 2016. Asynchronous methods for deep reinforcement learning. In International conference on machine learning, 1928–1937. PmLR.
Ou, T.; Guo, W.; Gandhi, A.; Neubig, G.; and Yue, X. 2025. AgentDiagnose: An Open Toolkit for Diagnosing LLM Agent Trajectories. In Habernal, I.; Schulam, P.; and Tiedemann, J., eds., Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, 207–215. Suzhou, China: Association for Computational Linguistics. ISBN 979-8-89176-334-0.
Pardo, F.; Tavakoli, A.; Levdik, V.; and Kormushev, P. 2018. Time limits in reinforcement learning. In International Conference on Machine Learning, 4045–4054. PMLR.
Patil, S. G.; Mao, H.; Yan, F.; Ji, C. C.-J.; Suresh, V.; Stoica, I.; and Gonzalez, J. E. 2025. The Berkeley Function Calling Leaderboard (BFCL): From Tool Use to Agentic Evaluation of Large Language Models. In Forty-second International Conference on Machine Learning.
Schmidgall, S.; Ziaei, R.; Harris, C.; Reis, E.; Jopling, J.; and Moor, M. 2024. AgentClinic: a multimodal agent benchmark to evaluate AI in simulated clinical environments. arXiv:2405.07960.
Schulman, J.; Moritz, P.; Levine, S.; Jordan, M.; and Abbeel, P. 2015. High-dimensional continuous control using generalized advantage estimation. arXiv preprint arXiv:1506.02438.
Shao, Z.; Wang, P.; Zhu, Q.; Xu, R.; Song, J.; Zhang, M.; Li, Y.; Wu, Y.; and Guo, D. 2024. DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models. arXiv preprint arXiv:2402.03300.
Shen, L.; Zhang, Y.; Ling, C. K.; Zhao, X.; and Chua, T.-S. 2025. CARL: Critical Action Focused Reinforcement Learning for Multi-Step Agent. arXiv preprint arXiv:2512.04949.
Snell, J.; Swersky, K.; and Zemel, R. 2017. Prototypical Networks for Few-Shot Learning. In Advances in Neural Information Processing Systems, volume 30.
Sun, L.; Dong, H.; Qiao, B.; Lin, Q.; Zhang, D.; and Rajmohan, S. 2026. LLM Reasoning as Trajectories: Step-Specific Representation Geometry and Correctness Signals. In Liakata, M.; Moreira, V. P.; Zhang, J.; and Jurgens, D., eds., Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 26872–26887. San Diego, California, United States: Association for Computational Linguistics. ISBN 979-8-89176-390-6.
Surana, R.; Mundada, G.; Jiang, X.; Wang, C.; Tang, Z.; Jiao, D.; Huang, Z.; Xiong, Y.; Wu, J.; Yu, S.; et al. 2026. Generate, Filter, Control, Replay: A Comprehensive Survey of Rollout Strategies for LLM Reinforcement Learning. arXiv preprint arXiv:2605.02913.
Sutton, R. S. 1988. Learning to predict by the methods of temporal differences. Machine learning, 3(1): 9–44.
Tayebati, S.; Kumar, D.; Darabi, N.; Ettori, D.; Krishnan, R.; and Trivedi, A. R. 2026. TRACER: Trajectory risk aggregation for critical episodes in agentic reasoning. arXiv preprint arXiv:2602.11409.
Uesato, J.; Kushman, N.; Kumar, R.; Song, F.; Siegel, N.; Wang, L.; Creswell, A.; Irving, G.; and Higgins, I. 2022. Solving Math Word Problems with Process- and Outcome-Based Feedback. arXiv preprint arXiv:2211.14275.
Vidgen, B.; Mann, A.; Fennelly, A.; Stanly, J. W.; Rothman, L.; Burstein, M.; Benchek, J.; Ostrofsky, D.; Ravichandran, A.; Sur, D.; et al. 2026. APEX-agents. arXiv preprint arXiv:2601.14242.
Wang, G.; Dai, S.; Ye, G.; Gan, Z.; Yao, W.; Deng, Y.; Wu, X.; and Ying, Z. 2025. Information Gain-based Policy Optimization: A Simple and Effective Approach for Multi-Turn LLM Agents. arXiv preprint arXiv:2510.14967.
Wang, P.; Li, L.; Shao, Z.; Xu, R.; Dai, D.; Li, Y.; Chen, D.; Wu, Y.; and Sui, Z. 2024. Math-shepherd: Verify and reinforce llms step-by-step without human annotations. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 9426–9439.
Yang, J.; Liu, Y.; Chen, Z.; Han, C.; Sun, Y.; Gu, Q.; Su, H.; Cai, X.; Wu, F.; and Kuang, K. 2026. TopoCurate: Modeling Interaction Topology for Tool-Use Agent Training. arXiv:2603.01714.
Yao, S.; Zhao, J.; Yu, D.; Shafran, I.; Narasimhan, K. R.; and Cao, Y. 2022. React: Synergizing reasoning and acting in language models. In NeurIPS 2022 Foundation Models for Decision Making Workshop.
Yu, Q.; Zhang, Z.; Zhu, R.; Yuan, Y.; Zuo, X.; Yue, Y.; Dai, W.; Fan, T.; Liu, G.; Liu, L.; et al. 2026. Dapo: An open-source llm reinforcement learning system at scale. Advances in Neural Information Processing Systems, 38: 113222–113244.
Yuan, L.; Li, W.; Chen, H.; Cui, G.; Ding, N.; Zhang, K.; Zhou, B.; Liu, Z.; and Peng, H. 2024. Free process rewards without process labels. arXiv preprint arXiv:2412.01981.
Zhai, Z.; and Wang, X. 2026. Selective Rollout: Mid-Trajectory Termination for Multi-Sample Agent RL. arXiv preprint arXiv:2605.05802.
Zhang, C. 2026. From reasoning to agentic: Credit assignment in reinforcement learning for large language models. arXiv preprint arXiv:2604.09459.
Zhang, Z.; Han, Z.; Mavromatis, C.; Zhu, Q.; Zhang, Y.; Guan, S.; Wang, D.; Zhou, X.; Wang, S.; Adeshina, S.; et al. 2026. Train Less, Learn More: Adaptive Efficient Rollout Optimization for Group-Based Reinforcement Learning. arXiv preprint arXiv:2602.14338.
Zheng, H.; Zhou, Y.; Bartoldson, B.; Kailkhura, B.; Lai, F.; Zhao, J.; and Chen, B. 2026. Act only when it pays: Efficient reinforcement learning for llm reasoning via selective rollouts. Advances in Neural Information Processing Systems, 38: 124321–124346.
Zhuge, M.; Zhao, C.; Ashley, D.; Wang, W.; Khizbullin, D.; Xiong, Y.; Liu, Z.; Chang, E.; Krishnamoorthi, R.; Tian, Y.; et al. 2024. Agent-as-a-judge: Evaluate agents with agents. arXiv preprint arXiv:2410.10934.
A Details On Clustering in the Action-Observation Space
The clustered representation of Section 4.1 abstracts agentic trajectories one step beyond the raw AOS. Embedded actions and observations are clustered by similarity into discrete per-task states, following the topology construction of Yang et al. (2026). Each task becomes a graph of interaction states connected by the transitions agents take between them, and a trajectory becomes a path through this graph. In the terms of Eq. 1, the state-ID map is a second fixed, non-learned choice of , coarser than mean pooling but order-preserving. The discriminators below are per-task choices of g fit on its output. This appendix details the construction and the discriminator family, of which the main text reports only the strongest (fastText).
A.1 Topology Construction
Given the rollouts of a single task, we form one vector per step by concatenating the action and observation embeddings of Section 2.2, , and pool all steps of all rollouts. We cluster this pool with HDBSCAN (McInnes, Healy, and Astels 2017) over cosine distances between the row-normalized step vectors (min_cluster_size=5), yielding interaction states per task, with set by the algorithm rather than fixed in advance. Steps that HDBSCAN leaves unassigned are collected into a single additional outlier state, for states in total. The clustering defines the map taking each rollout to a state-ID sequence with . For AgentClinic we drop each trajectory's final step before clustering, as its closing diagnosis turn reveals the graded answer (Appendix D). Figure 1 shows the resulting structure for one Tau2-Bench task, illustrating how pass and fail trajectories diverge as their interaction histories grow.
A.2 fastText over State-ID Sequences
The clustered discriminator of Table 1 is a fastText classifier (Joulin et al. 2017) trained per task on the state-ID sequences. Each sequence is treated as a document over the state vocabulary: every n-gram of states up to a maximum order receives a learned 20-dimensional embedding, the embeddings of all n-grams in a sequence are averaged, and a linear softmax maps the average to a pass probability, giving a scalar score interpretable as for each held-out rollout.
The maximum order controls how much sequential structure the discriminator can express. At the model is an order-free bag of states, sensitive only to which states a trajectory visits and how often; adds adjacent-state transitions; adds longer motifs. Sweeping therefore traces how separability changes as progressively more of the path's order is made available, from pure state occupancy to multi-step subsequences.
B Signal Ablations
The AOS interleaves two channels: what the agent did and what the environment returned . We ablate each channel under the Table 1 discriminator families, on the held-out test tasks of each (benchmark, model) cell (the Table 1 evaluation sets) with the same stratified 3-fold cross-validation, reporting means across folds. For each channel we report the raw ceiling, the best of NC and RBF on that channel's pooled embedding, and the clustered ceiling, the best fastText over state-ID sequences re-clustered from that channel's own step embeddings (Appendix A).
All clusterings follow Appendix A: for each task and channel, the step vectors of all rollouts are pooled, row-normalized, and clustered with HDBSCAN over cosine distances (min_cluster_size=5), with unassigned steps collected into one outlier state. The two full-trajectory columns read identical content but differ in construction. Paired is the joint construction of Appendix A. Its raw readout pools the same concatenated vectors (unit-normalized mean over steps). Indep. instead runs HDBSCAN once on the action embeddings alone and once on the observation embeddings alone, producing two disjoint state vocabularies whose IDs are offset so they never collide. It then encodes a trajectory as the interleaved sequence over the union vocabulary. Its raw readout pools all 2T single-channel step embeddings in the shared d-dimensional space (unit-normalized mean). The single-channel columns have states clustered from that channel's own step embeddings, raw readout from that channel's pooled vector.
Table 4 supports the constructions used throughout the paper. Under the raw ceiling, paired carries the most signal — best or tied on eight of nine cells — and no single channel is reliably sufficient. Hence we operate raw baselines (NC, RBF) on the paired pooled vector. Under clustering, paired again wins most often (four of nine cells, vs. three for disjoint vocabularies), so we operate clustered baselines using the joint construction of Appendix A. PRECOG-RM itself consumes the interleaved step sequence rather than concatenated pairs. Comparing the single channels shows they are largely interchangeable: either alone recovers most of the paired ceiling on every cell, and the gap between them is small ( raw) with a sign that flips by benchmark. Actions edge out observations on five of six Tau2-Bench and BFCLv3 cells, observations on AgentClinic.
B.1 Excluding Internal Reasoning
The problem setup of Section 2 excludes the agent’s internal reasoning from all trajectory representations. This subsection gives the supporting evidence, under the exact protocol of the channel ablation above: same evaluation set, folds, aggregation, and both discriminator families. Of our three policies, only Qwen3-Next-80B-Thinking exposes its reasoning traces, so the analysis covers the Tau2-Bench/Qwen3-Next-80B-Thinking cell — 37 of the 38 test tasks of Table 1 (one task lacks enough reasoning-aligned rollouts). Each step’s reasoning text is embedded with the same frozen encoder, giving three channels: AO (the paired construction, recomputed here as the reference), (reasoning steps alone), and (the concatenated step vector, mirroring the paired construction with the third channel added).
Reasoning alone is strongly predictive (raw ceiling .886), confirming that the traces reflect trajectory state, but it carries
| Dataset | Model | N | Raw ceiling | Clustered ceiling | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| indep. | paired | indep. | paired | |||||||
| Tau2-Bench | GPT-5-mini | 41 | .889 | .870 | .882 | .890 | .897 | .919 | .911 | .921 |
| Qwen3-80B | 38 | .910 | .878 | .907 | .910 | .928 | .929 | .936 | .915 | |
| DS-V3.2 | 28 | .929 | .900 | .927 | .928 | .893 | .955 | .952 | .866 | |
| BFCLv3 | GPT-5-mini | 20 | .922 | .896 | .921 | .927 | .937 | .917 | .927 | .948 |
| Qwen3-80B | 40 | .921 | .880 | .922 | .925 | .920 | .929 | .916 | .916 | |
| DS-V3.2 | 50 | .803 | .822 | .818 | .830 | .811 | .855 | .855 | .859 | |
| AgentClinic | GPT-5-mini | 13 | .770 | .754 | .767 | .772 | .664 | .708 | .689 | .769 |
| Qwen3-80B | 13 | .831 | .842 | .832 | .849 | .760 | .806 | .809 | .795 | |
| DS-V3.2 | 14 | .725 | .759 | .763 | .773 | .704 | .708 | .744 | .693 | |
Table 4: Channel ablation: per-task AUROC ceilings (mean across 3 CV folds, aggregated over each cell's held-out test tasks, the Table 1 evaluation sets) when the representation reads only actions , only observations , or the full trajectory under disjoint (indep.) or joint (paired) channel treatment. Raw = best of NC/RBF; clustered = best fastText on states clustered from that channel alone. Best per row within each ceiling in bold.
| Channel | Raw ceiling | Clustered ceiling |
|---|---|---|
| AO | .910 | .916 |
| R | .886 | .790 |
| AO⊕R | .906 | .852 |
Table 5: Reasoning channel ablation on the Tau2-Bench/Qwen3-Next-80B-Thinking evaluation set (N=38; per-task AUROC, mean across 3 CV folds; protocol and ceilings as in Table 4). AO = paired action-observation; R = reasoning alone; AO⊕R = concatenated per-step vector. Best per column in bold.
no signal complementary to the actions and observations: adding it leaves the raw ceiling essentially unchanged (.906 vs. .910). Under clustering the redundancy becomes a cost. Reasoning's clustered ceiling falls 0.096 below its raw one, where AO loses nothing, and folding it into the joint clustering drags the ceiling from .916 to .852. We therefore exclude throughout, noting the scope of this evidence: one policy and one benchmark, as the remaining policies do not expose their reasoning traces.
C Architecture Design Ablations
We fixed PRECOG-RM's configuration with a single-seed design study run before the final training sweep. The ablated encoder is trained on the Tau2-Bench/Qwen3-Next-80B-Thinking train-split tasks (4,000 episodes) and evaluated on held-out test tasks (Table 1 evaluation sets), under the standard support protocol ( per class, 5 seeded draws) in three slices: within (same cell), cross-model (Tau2-Bench under the other two policies), and cross-domain (the six cells of the other two benchmarks). This appendix ablates the encoder's inputs and architecture (Table 6); the training-recipe and readout ablations, under the same protocol, are in Appendix F. All values are mean per-task AUROC.
Rows modify one choice at a time. The action/observation flag appends a binary input dimension to each interleaved step token, marking whether the token embeds an action
| Within | X-model | X-domain | |
|---|---|---|---|
| Full configuration | .906 | .886 | .687 |
| + action/obs. flag | .902 | .891 | .675 |
| + positional embeddings | .814 | .785 | .661 |
| + permuted steps | .811 | .786 | .652 |
| No transformer | .803 | .787 | .648 |
| L=1 layer | .891 | .856 | .716 |
| L=4 layers | .895 | .889 | .659 |
| d'=32 | .884 | .866 | .679 |
| d'=256 | .881 | .870 | .701 |
| No dropout | .893 | .895 | .689 |
| Attention pooling | .901 | .894 | .694 |
Table 6: Encoder architecture ablations (AUROC, mean over held-out test tasks; single seed). Trained on Tau2-Bench/Qwen3-Next-80B-Thinking ; Within = same cell, X-model = Tau2-Bench under the other two policies, X-domain = mean over the six cells of the remaining benchmarks.
or an observation, before the linear projection. Positional embeddings add a learned per-position embedding (indexed by the token's position in the interleaved sequence) to the projected tokens before the transformer; the permuted steps control re-evaluates that positional model with step order shuffled at test time, isolating whether it actually exploits order. No transformer removes the encoder stack entirely (), leaving the linear projection followed by masked mean pooling prototypes over a pooled linear map of the frozen step embeddings. The remaining rows vary depth , projection width , dropout (on/off). Attention pooling replaces the uniform masked mean with a learned single-query attention pool. Each encoded step is scored against a learned query vector and the trajectory embedding is the softmax-weighted sum, allowing the encoder to weight informative steps rather than average them.
Two choices dominate: positional embeddings hurt (-0.09 within, and the permutation control shows the positional model does not even use the order it is given: .811 shuffled vs. .814), and removing the transformer costs -0.10. Both replicate when retrained on the mixed pool of all nine cells (full .852; positions .749; no transformer .744). Everything else is flat: no ablation improves within-cell performance over the full configuration, and the few that improve cross-model or cross-domain transfer do so only marginally and at a within-cell cost (e.g., cross-domain, -0.015 within). The final configuration is therefore the simplest consistent with the table: no positional embeddings, no type flag, , , mean pooling.
D Dataset Additional Details
For all benchmarks a rollout is a sequence of steps , each step pairing an action text with the observation text the environment returned for it. Every text is embedded independently with text-embedding-3-large ; empty fields embed a literal <empty> sentinel. For every (benchmark, model) cell we screen each task with a 10-rollout sample, discard degenerate tasks (all rollouts succeed or all fail), and generate 50 rollouts per surviving task, each scored by the benchmark's own checker for a binary reward. One third of each benchmark's tasks (54 Tau2-Bench, 60 BFCLv3, 64 AgentClinic) are held out as a test split shared across all three policies; the remainder form the training pools of Appendix E. Two class-count filters apply downstream of the split. Training pools keep tasks with at least 8 rollouts of each outcome class (these produce the training-pool counts of Table 7). Evaluation keeps test tasks with at least 5 rollouts of each class — the structural minimum for the support protocol, which draws 4 support rollouts per class and needs at least one of each class left over to score. Intersected with the test split, this yields the per-cell task counts N of Table 1. The subsections below give each benchmark's step definition and extraction rules.
D.1 Tau2-Bench
Tasks span the airline, retail, and telecom domains; the agent converses with the benchmark's simulated user (gpt-4o-mini) and calls domain APIs, and a rollout succeeds when the final database state and required communications match the task's gold specification. The Qwen3-Next-80B-Thinking screen over the official task sets (50 airline, 114 retail, 114 telecom) retained 200 tasks: 39 airline, 85 retail, 76 telecom. For each model, we then generate 50 rollouts on the same 200 tasks. At analysis time, 123 (GPT-5-mini), 111 (Qwen3-Next-80B-Thinking), and 94 (DeepSeek-V3.2) of these have mixed outcomes under the respective policy.
A step is one assistant turn. The action text concatenates the assistant's message content with its serialized tool calls (function name and arguments); turns with neither embed the <empty> sentinel. The observation is the environment text the next turn conditions on: the tool execution result, or the user simulator's reply. For the final step, which has no following turn, the observation is the last user or tool message that followed the action.
D.2 BFCLv3
Multi-turn function-calling tasks from the base, missing-function, missing-parameter, and long-context categories, scored by the benchmark's state- and response-matching checker. From the 800-task multi-turn suite, 400 tasks were trialed with the Qwen3-Next-80B-Thinking 10-rollout screen; the 200 with mixed outcomes were retained (47 base, 41 long-context, 60 missing-function, 52 missing-parameter) and extended to 50 rollouts. At analysis time, 56 (GPT-5-mini), 122 (Qwen3-Next-80B-Thinking), and 143 (DeepSeek-V3.2) have mixed outcomes.
Unlike Tau2-Bench, where an assistant turn issues at most one API call, a BFCLv3 agent may call several functions within a single assistant step. Rollout logs are therefore parsed into steps at one of two granularities. For Qwen3-Next-80B-Thinking and DeepSeek-V3.2, each individual tool call is its own step: the action is the single call (function name and arguments) and the observation is that call's return value. Assistant steps with text but no calls are kept as single steps whose observation is the next user prompt, and empty steps are dropped. For GPT-5-mini, steps instead follow the executor's turn/step structure: all calls issued within one assistant step form a single bundled action, paired with the concatenation of their return values. Every no-call step is kept as a turn boundary (the assistant's text or <none>, with the next user prompt as observation). The two granularities reflect the order in which the cells were embedded rather than a design choice; on a held-out subset of 25 Qwen3-Next-80B-Thinking and 23 DeepSeek-V3.2 tasks, the two schemes agree within 0.01 AUROC. All texts are truncated to 8,000 characters (within the encoder's 8,192-token limit).
D.3 AgentClinic
Scenarios derive from MedQA-Extended in which a doctor agent interviews a patient agent, may order tests from a measurement agent (REQUEST TEST), and ends by committing to a diagnosis (DIAGNOSIS READY), graded against the scenario's reference diagnosis. AgentClinic is not pre-screened: all 214 MedQA-Extended scenarios are rolled out 50 times by each policy, and degenerate scenarios are filtered per model afterwards, leaving 150 (GPT-5-mini), 117 (Qwen3-Next-80B-Thinking), and 112 (DeepSeek-V3.2) mixed-outcome scenarios.
A step is one doctor turn. The action is reduced to the canonical act the environment dispatches on: the question asked (speaker prefix stripped), REQUEST TEST: <test>, stripping conversational preamble so the embedding reflects what was asked or ordered rather than the surrounding conversational context. The observation is the patient's answer or the measurement result.
Two AgentClinic-specific controls apply downstream of extraction. Leakage: the closing diagnosis turn states the answer the grader scores, so every representation (pooled, clustered, and PRECOG-RM input) drops each trajectory's final step. Tool reliance: we rerun every mixed-outcome scenario with a doctor prompt that removes the ability to request tests and keep, for evaluation, only scenarios whose success rate drops by more than a 0.1 margin with statistical significance. We retain 26 of 150 scenarios for GPT-5-mini, 33 of 117 for Qwen3-Next-80B-Thinking, 43 of 112 for DeepSeek-V3.2. All AgentClinic evaluations are restricted to each model's own tool-reliant scenarios, and meta-training pools retain all
| DS-V3.2 | QWEN3-80B | GPT-5-MINI | |
|---|---|---|---|
| Tau2-Bench | 66 | 73 | 82 |
| BFCLv3 | 93 | 82 | 36 |
| AgentClinic | 71 | 79 | 99 |
Table 7: Training tasks per (benchmark, model) cell after filtering to tasks with at least 8 rollouts of each class.
mixed-outcome scenarios (Appendix E). Appendix I details the tool-ablation test and analyzes why this filter is needed.
E Training Pools
Every PRECOG-RM in this work is trained on a pool: the union of train-split rollouts from a chosen subset of the nine (benchmark, model) cells. Varying pool composition along the model and benchmark axes yields 25 pools:
• Single-model pools (9): one benchmark, one policy.
-
Two-model pools (9): one benchmark, each pair of policies.
-
Benchmark specialists (3): one benchmark, all three policies. These are the PRECOG-RM models of Table 1 and Figure 3.
-
Two-benchmark pools (3): each pair of benchmarks, all three policies.
• Generalist (1): all benchmarks, all policies.
Within a benchmark, all pools share the same underlying tasks, so adding a policy changes only whose rollouts are present, never which tasks are seen; this is what licenses attributing cross-model gains to policy diversity (Section 4.4). Table 7 lists the train-split task counts per cell after the rollouts-per-class filter of Section 4.1.
F Training Ablations
Under the protocol of Appendix C we ablate the training recipe and the inference rules around the fixed encoder.
Rows vary one choice at a time. The episode-budget rows scale meta-training length (0.2× and 2× the 4,000-episode study budget); sets the per-class support and query sizes of each training episode. Prefix training truncates each episode's queries to random step prefixes, teaching the encoder to embed partial rollouts — the variant deployed for mid-rollout scoring in Sections 4.5 and 5. Untrained encoder evaluates a randomly initialized encoder under the identical support protocol. The readout rows re-score the trained checkpoint with alternative inference rules: prototype distances in cosine rather than Euclidean geometry; kNN (k=5, mean label of the nearest support embeddings); logistic regression fit on the support embeddings; and support drawn without class stratification. Table 8 reports mean per-task AUROC.
The training recipe is forgiving: the episode budget is flat from to ; is a mild optimum over 1 and 8; and prefix training costs 0.03 within cell while slightly improving cross-domain transfer. Meta-training itself is the only necessity: the untrained encoder trails every trained variant in domain (its cross-domain advantage is the domain-bound effect discussed in Section 4.4). At inference the prototype readout is robust: cosine and logistic-regression readouts match Euclidean, kNN is clearly worse, and stratifying the support draw by class is worth a few points. Finally, the prototype distance used in training is the one recipe choice that matters on diverse pools: in separate paired runs, squared (Snell, Swersky, and Zemel 2017) and unsquared Euclidean are equivalent when training on a single-policy pool (in-domain .886 vs. .887, mean over the three Tau2-Bench cells), but on the all-policy pool the unsquared form is outperforms (BFCLv3 in-domain .877 vs. .843). All final models use unsquared Euclidean distance.
| Within | X-model | X-domain | |
|---|---|---|---|
| Full configuration | .906 | .886 | .687 |
| Training | |||
| 0.2× episodes | .891 | .885 | .716 |
| 2× episodes | .891 | .872 | .661 |
| .873 | .873 | .691 | |
| .881 | .881 | .669 | |
| Prefix training | .879 | .863 | .708 |
| Untrained encoder | .826 | .830 | .740 |
| Readout (evaluation-only) | |||
| Cosine distance | .902 | .892 | .676 |
| kNN (k=5) | .849 | .841 | .623 |
| Logistic regression | .901 | .886 | .683 |
| Unstratified support | .897 | .878 | .659 |
Table 8: Training-recipe and readout ablations (AUROC, mean over held-out test tasks; single seed; slices as in Table 6). Readout rows re-score the study's base checkpoint with alternative inference rules.
G Hyperparameter Details
Table 9 summarizes the PRECOG-RM encoder architecture and training configuration. Table 10 lists the GRPO training setup used for all early stopping experiments.
H Support Set Full Method Results
Figure 3 compares PRECOG-RM against the strongest per-task baseline at each support size; Table 11 reports every method. The protocol is identical across methods: for each held-out test task and each , the same five seeded draws of rollouts per class are used — the per-task discriminators (NC and RBF on the pooled representation, fastText on state-ID sequences) are fit on the draw, while PRECOG-RM (per-benchmark specialist, averaged over 3 training seeds) uses it as its support set with no fitting. Values are mean per-task AUROC, averaged over the benchmark's three policy cells. Higher-order fastText variants () are omitted: at these support sizes they have too few sequences to fit n-gram statistics and fall below .
PRECOG-RM leads every method at every support size on every benchmark. The margin is widest at , where per-task fitting has almost nothing to fit on, and narrows as grows. At the strongest baseline closes to within 0.03–0.05, consistent with Section 4.2's finding that given
| Parameter | Value |
|---|---|
| Embedding | |
| Text encoder | text-embedding-3-large |
| Embedding dimension | 3072 |
| Encoder Architecture | |
| Projection dimension | 128 |
| Transformer layers | 2 |
| Attention heads | 4 |
| FFN dimension | 512 |
| Dropout | 0.3 |
| Prototype distance | unsquared Euclidean |
| Episodic Training | |
| Episodes per epoch | 100 |
| Epochs | 100 |
| Support size (per class) | 4 |
| Query size (per class) | 4 |
| Learning rate | |
| Weight decay | |
| Warmup fraction | 0.05 |
| Data | |
| Rollouts per task | 50 |
| Training-pool filter | ≥ 8 rollouts per class |
| Evaluation filter | ≥ 5 rollouts per class |
| Cross-validation folds | 3 |
Table 9: PRECOG-RM encoder and training hyperparameters (the final sweep configuration; the design study of Appendices C and F uses the same architecture at 4,000 episodes).
enough supervised data the naive discriminators are able to approach PRECOG-RM's performance.
I AgentClinic Analysis
AgentClinic is the consistent low performer across Table 1, the few-shot sweep, and the generalization grids, for per-task discriminators and PRECOG-RM alike. This appendix locates the cause in the benchmark's structure: its outcome often does not flow through the observable action-observation stream.
Unlike Tau2-Bench and BFCLv3, where success requires a specific sequence of correct API calls whose effects are visible in the observations, an AgentClinic rollout succeeds if the final diagnosis is correct, and that diagnosis can frequently be produced from the model's internal medical knowledge, with the patient dialogue acting as a thin retrieval layer. We perform a no-tools ablation to quantify this. Every mixed-outcome scenario is rerun with a doctor prompt stripped of the ability to order tests. Each scenario is labeled tool-reliant if its success rate drops by more than 0.1 when tools are removed, tested one-sided against that 0.1 margin (50 with-tools rollouts against 25 or no-tools rollouts per scenario), under false-discovery-rate control at within each model. Most scenarios show no confirmed drop: for GPT-5-mini (124 of 150), for Qwen3-Next-80B-Thinking (84 of 117), and for DeepSeek-V3.2 (69 of 112). On these scenarios the trajectory's actions and observations are largely epiphenomenal to the outcome, so no representation over them should be expected to separate outcomes well.
| Parameter | Value |
|---|---|
| Model | |
| Base model | Qwen3-8B |
| LoRA rank | 32 |
| GRPO | |
| Learning rate | |
| Loss function | PPO (clip 0.8–1.2) |
| Substeps per batch | 2 |
| Group size | 16 rollouts |
| Batch size | 20 tasks |
| Training batches | 50 |
| Rollout Generation | |
| Max tokens per turn | 2,048 |
| Temperature | 1.0 |
| Max turns | 100 |
| User simulator | gpt-4o-mini |
| Early Stopping | |
| Controller | prefix-trained PRECOG-RM |
| Threshold | {0.65, 0.7, 0.8} |
| Forced completions | {0, 4} per group |
| Min steps before stopping | 1 |
| Rolling support window | 3 batches |
| Min class support | 16 |
| Embedding model | text-embedding-3-large |
| Evaluation | |
| Eval frequency | every 5 batches |
| Eval group size | 3 rollouts |
| Task split | official Tau2-retail, 74 train / 40 test |
| Seeds | 3 |
Table 10: GRPO training and early stopping configuration.
I.1 Is the Outcome Determined by the Trajectory?
A discriminator over actions and observations can only predict what the trajectory determines. The tool-reliance analysis above shows that much of AgentClinic's outcome variance comes from knowledge the trajectory never exposes. In this subsection, for a rollout that ends in a diagnosis, we reconstruct the doctor's context up to — but excluding — its final diagnosis turn, and resample that turn ten times from the same policy at generation temperature, and grade each resample using the environment's grader. If the outcome is a function of the trajectory, resampled outcomes should agree with the original; if it is decided at the final synthesis step, they should flip. We run this on 20 mixed-outcome scenarios per policy, 10 rollouts each, for a total of 2,000 resampled diagnoses per policy.
Outcomes are mostly, but not entirely, determined by the trajectory. For the three policies of our main experiments, only 40–61% of rollouts resample deterministically, and 17–34% are genuinely ambiguous: the same diagnostic history yields both correct and incorrect diagnoses depending on the sampling draw. This stochasticity is irreducible for any representation of the trajectory, and it caps achievable AUROC at .89–.95 — a ceiling with no counterpart in Tau2-Bench or BFCLv3, where the environment's state rather than a final free-text synthesis determines the reward. The fourth policy locates the effect in the policy rather than the benchmark:
| k | PRECOG-RM | NC | RBF | FT n=1 | |
|---|---|---|---|---|---|
| Tau2-Bench | 1 | .871 | .743 | .751 | .705 |
| 2 | .903 | .783 | .795 | .751 | |
| 4 | .918 | .825 | .839 | .799 | |
| 8 | .926 | .855 | .874 | .857 | |
| BFCLv3 | 1 | .840 | .724 | .729 | .691 |
| 2 | .856 | .766 | .773 | .755 | |
| 4 | .876 | .801 | .811 | .804 | |
| 8 | .885 | .830 | .840 | .852 | |
| AgentClinic | 1 | .713 | .645 | .651 | .572 |
| 2 | .763 | .696 | .702 | .595 | |
| 4 | .784 | .722 | .728 | .643 | |
| 8 | .805 | .750 | .765 | .705 |
Table 11: Few-shot outcome discrimination on held-out test tasks (AUROC, mean over tasks and the benchmark's three policy cells; identical seeded support draws across methods, five draws per task and ; AgentClinic restricted to tool-reliant scenarios). Per-task discriminators are fit on the -per-class draw; PRECOG-RM uses it as its support set. Best per row in bold.
| Policy | Cons. | Ambig. | AUROC ceil. |
|---|---|---|---|
| DeepSeek-V3.2 | .48 | .28 | .918 |
| Qwen3-Next-80B-Thinking | .61 | .17 | .948 |
| GPT-5-mini | .40 | .34 | .887 |
| GPT-5.6-Terra | .95 | .03 | .994 |
Table 12: Final-diagnosis resampling on AgentClinic (20 scenarios × 10 rollouts × 10 resamples per policy. With for the fraction of a rollout's resamples graded correct: Consistent = fraction of rollouts with ; Ambiguous = fraction with ; AUROC ceiling = expected per-task AUROC of an oracle that scores each rollout by its own , under outcomes drawn from those same — the best any trajectory representation could achieve if it recovered the prefix's outcome distribution exactly.
GPT-5.6-Terra resamples deterministically on 95% of rollouts, with a ceiling of .99 — its diagnosis is essentially fixed by the interview it conducted. On AgentClinic, then, outcome predictability from the trajectory is bounded by how reliably the policy converts its own gathered evidence into a diagnosis, and for weaker policies that conversion is itself a coin flip on a substantial minority of rollouts.
J Cross-Benchmark Generalization
Table 13 repeats the analysis of Section 4.4 along the benchmark axis: training pools contain all three policies' rollouts from one, two, or all three benchmarks, and each pool is evaluated on the held-out test tasks of every benchmark, aggregated over the three policies and 3 training seeds. As a reference, the final row reports the untrained encoder: the same architecture with randomly initialized projection and transformer weights, evaluated under the identical support protocol.
Three observations. First, benchmarks must be represented
| Trained on | Evaluated on | ||
|---|---|---|---|
| Tau2 | BFCLv3 | AGENTCLINIC | |
| Tau2-Bench | .923 | .745 | .619 |
| BFCLv3 | .763 | .879 | .617 |
| AgentClinic | .796 | .777 | .793 |
| Tau2+BFCL | .919 | .872 | .623 |
| Tau2+AC | .915 | .763 | .793 |
| BFCL+AC | .816 | .869 | .798 |
| All benchmarks | .908 | .870 | .789 |
| Untrained encoder | .829 | .807 | .678 |
Table 13: Cross-benchmark generalization: held-out-task AUROC by training-pool benchmark composition (rows; all three policies, aggregated over policies and 3 seeds) and evaluated benchmark (columns). Shaded cells are out-of-distribution (evaluated benchmark not in the pool). The untrained encoder is the same architecture with random weights under the identical support protocol.
in meta-training: every out-of-distribution cell falls below its column's ID values by a wide margin (0.10–0.26 AUROC), and adding a second foreign benchmark to the pool barely moves it (e.g. AgentClinic OOD: .617–.619 with one foreign benchmark, .623 with two). Second, OOD performance sits at or below the untrained encoder in every case. Meta-training on foreign domains does not merely fail to help; it overwrites raw AOS structure that a random projection preserves, so a deployed discriminator should not be pointed at an unseen domain on the expectation of graceful degradation. Third, benchmark diversity carries no penalty in domain: the all-benchmark generalist matches the per-benchmark specialists on every benchmark (.908/.870/.789 vs. .923/.879/.793), so a single model can cover all domains represented in its training

Figure 6: Simulated early-stopping frontier: replayed accuracy against compute saved, sweeping the stopping threshold from 0.95 (conservative, few stops) to 0.55 (aggressive) in steps of 0.05. Replayed over the completed rollouts of three baseline GRPO seeds, for support accrued during the run (rolling) and pre-collected per task (permanent).
| Configuration | Tokens (G) | FLOPs saved (%) | ||
|---|---|---|---|---|
| gen | train | emb | ||
| GRPO baseline | 2.49 | .108 | — | — |
| rolling , | 2.15 | .103 | .065 | |
| rolling , | 1.80 | .082 | .050 | |
| rolling , | 1.55 | .075 | .042 | |
| rolling , | 1.40 | .057 | .035 | |
| permanent , | 1.25 | .067 | .034 | |
| permanent , | 0.85 | .055 | .022 | |
Table 14: Token budget and resulting FLOPs savings per configuration (mean over 3 seeds, batches < 50). Tokens in billions; savings charge the controller at policy parity () and match Table 3. Baseline total: EFLOPs.
pool. Together with the cross-model results of Section 4.4, this locates the learned space as policy-general but domain-bound: coverage of the target domain is necessary, and, because support sets are byproducts of training (Section 2), essentially free to obtain.
K FLOPs Accounting
All compute in Section 5 is reported as estimated FLOPs for the policy model ( parameters), counting tokens through the three stages the controller affects:
with 2N per token in a forward pass and 6N per token in a training step (forward plus backward), for the policy model . The controller's encoder has an undisclosed parameter count , so its term cannot be measured; we report the two ends of the range instead. Setting gives the savings excluding controller overhead; setting — charging every embedded token as if the encoder were as large as the Qwen3-8B policy — gives a conservative upper bound on that overhead, and is the “net” column of Table 14 and of Table 3.
Token counts. Generation tokens — prefill plus decode, summed over every rollout in the matched 50-batch window — are exact, recorded per rollout in the training logs. Training tokens cover the trajectories that survive GRPO's group filter: groups whose rollouts all receive the same reward carry no advantage signal and are dropped, so a batch trains on the remaining 8–20 groups of 16. We count these tokens directly with the policy's own tokenizer. Controller tokens , the step texts embedded while scoring in-progress rollouts are recovered the same way.
Where the compute goes. Generation accounts for 89% of baseline FLOPs and training the remaining 11%, which is why terminating rollouts early translates almost directly into total savings. The controller's footprint is best stated in the currency that does not depend on : embedded tokens are 2.4–3.0% of generated tokens in every configuration. Charged at policy parity, this costs 0.8–2.3 points of savings.
L Separability on Shared Tasks
Table 1 evaluates each (benchmark, policy) cell on its own held-out tasks, so N varies across policies: a task enters a cell's evaluation set only if that policy produced at least five rollouts of each outcome class on it, and weaker policies fail different tasks than stronger ones. Differences down a benchmark's rows therefore confound the policy with the task set. This appendix repeats the comparison on the held-out tasks that pass the filter under all three policies, so that every row of a benchmark block is scored on identical tasks.
The overall picture is unchanged: all three representation families separate outcomes well above chance on Tau2-Bench and BFCLv3 and less well on AgentClinic, and no family dominates uniformly. What the matched comparison adds is that this ordering does not depend on which tasks each policy happened to survive — the cross-policy differences within a benchmark are properties of the policies, not of differing evaluation sets.
The shared sets are small, and deliberately so: the intersection keeps only tasks on which every policy produces both outcomes, which excludes tasks that are reliably solved by the strongest policy or reliably failed by the weakest. This has three consequences. Sampling noise is large — with N=12 a single task shifts a cell mean by several points, and per-cell differences below roughly 0.05 should not be read as real. AgentClinic is the extreme case at N=4 as its evaluation sets are each policy's own tool-reliant scenarios (Appendix D), which overlap only slightly across policies. We therefore treat this table as a consistency check on Table 1 rather than as an independent measurement.
M GRPO Additional Details
This appendix details the rollout controller's support machinery and the early stopping simulation.
M.1 Support Sets
A task's support set is what turns PRECOG-RM from an encoder into a discriminator: prototypes are formed from labeled same-task rollouts, and a task can only be scored once it has at least two support rollouts covering both outcome classes. Support is keyed per task, so coverage accrues independently for each task the scheduler visits.
Rolling support. The self-contained configuration uses only rollouts the current run has already completed. Within a batch, completed rollouts are staged rather than added immediately, and committed once the batch finishes, so every rollout in a batch is scored against the same support set and the controller cannot chase its own within-batch output. A task therefore cannot be scored until at least one batch containing it has completed with both outcomes present. Because tasks rotate through batches, support is capped by a rolling window of the three most recent batches per task, with one exception: if applying the window would leave fewer than 16 rollouts of either class, the most recent evicted rollouts of the deficient class are retained. This keeps prototypes recent without letting them collapse onto a single class as the policy improves and failures become rare.
| Dataset | Model | Pooled | Clustered | Learned | |||
|---|---|---|---|---|---|---|---|
| NC | RBF | n=1 | n=2 | n=5 | PRECOG-RM | ||
| Tau2-Bench | DS-V3.2* | .926 | .946 | .847 | .859 | .839 | .970 |
| Qwen3-80B† | .858 | .917 | .956 | .952 | .920 | .937 | |
| GPT-5-mini‡ | .882 | .933 | .950 | .943 | .901 | .950 | |
| BFCLv3 | DS-V3.2* | .802 | .823 | .896 | .894 | .867 | .855 |
| Qwen3-80B† | .938 | .960 | .940 | .938 | .915 | .931 | |
| GPT-5-mini‡ | .858 | .930 | .894 | .936 | .934 | .861 | |
| AgentClinic | DS-V3.2* | .750 | .786 | .654 | .636 | .621 | .705 |
| Qwen3-80B† | .730 | .867 | .738 | .693 | .609 | .893 | |
| GPT-5-mini‡ | .800 | .807 | .776 | .728 | .683 | .819 | |
Table 15: Outcome separability on the shared held-out tasks of each benchmark (AUROC, mean over folds; protocol identical to Table 1). Shared task counts are (Tau2-Bench), (BFCLv3), and (AgentClinic); within a benchmark, all three policy rows are scored on exactly these tasks. Best per row in bold. *deepseek-v3.2; †qwen3-next-80b-a3b-thinking; ‡gpt-5-mini-2025-08-07.
Permanent support. The alternative pre-collects 16 rollouts per task from the corpus of Section 4 and loads their step embeddings before training begins. These are never evicted, so every task is scoreable from the first batch, and the controller pays no cold-start period. Permanent and rolling support are not exclusive: when both are present the controller concatenates them, so a permanent-support run also accumulates on-policy rollouts as training proceeds. The permanent rollouts come from a different policy than the one being trained (Qwen3-Next-80B-Thinking rather than Qwen3-8B), which makes this configuration a live test of the cross-model generalization of Section 4.4.
Forced completions. Within each group of 16 rollouts, the first are exempt from early stopping and always run to termination. This guarantees that every group contributes at least true environment rewards to its advantage estimate, and under rolling support, that fresh labeled rollouts keep arriving even when the controller is stopping aggressively.
M.2 Simulated Early Stopping
Live GRPO runs are expensive, so we selected the configurations of Section 5 by first simulating early stopping: replaying the prefix-trained PRECOG-RM over the completed rollouts of three baseline GRPO seeds. Each rollout is scored after every action–observation pair exactly as in deployment and stops at the first step crossing the threshold, taking the predicted outcome as its reward. Because the full rollout and its true reward are known, the replay measures what a live run cannot: the accuracy of the stopped predictions, the compute that would have been saved, and the bias that predicted rewards inject into the group's reward signal. Figure 6 sweeps from 0.55 to 0.95 for the two support strategies — rolling, accrued from the current run's completed rollouts, and permanent, pre-collected per task and available from the first batch.
Two observations shaped the live sweep. First, permanent support dominates rolling across the entire frontier: at matched replayed accuracy it saves 12–34 additional percentage points of compute, with the gap widening as the threshold loosens (at 84% accuracy, 47.5% vs. 24.5% saved). Rolling support cannot score a task until that task has accumulated completed rollouts, and those rollouts are the expensive ones. Even at the most conservative threshold, where rolling saves only 5.2%, permanent saves 15.3% at comparable accuracy. Second, reward bias is small and shrinks with : at predicted rewards understate the group mean by 0.04 (rolling) and 0.04 (permanent), with mean absolute error 0.16 and 0.18, falling to 0.01 (rolling) and 0.03 (permanent) by . This is what licensed running the live configurations without a correction term, and it motivated retaining a floor of forced completions ( ) in the deployed configuration, where the bias is smallest but the support set is coldest.