Manuscript Offprint
arXiv:2610.12830Cross-Behavior Policy Optimization: Unified Learning from Offline Demonstrations and On- and Off-Policy Rollouts via a Shared Regression Target
ABSTRACT
Reasoning post-training draws on offline demonstrations and policy-generated rollouts, yet conventional supervised fine-tuning (SFT) followed by reinforcement learning (RL) separates their objectives and limits continued reuse of collected responses. We propose Cross-Behavior Policy Optimization (CBPO), which makes these sources compatible with one regression loss through a fixed-reference target. Because the generating policy does not enter this target, positive and negative offline completions, reference responses, and current and historical rollouts can share a common reward-labeled record format and replay buffer. As new responses enter the buffer, optimization retains the same regression objective without coordinating separate SFT and RL objectives or requiring stored behavior-policy probabilities, importance weighting, or a learned critic. Restricting the available sources gives offline, on-policy, and off-policy variants, while CBPO-Unified combines them. Across two model scales and four mathematical reasoning benchmarks, CBPO delivers leading avg@32 and pass@32 performance across benchmarks and data regimes. On Qwen3-1.7B, CBPO-Unified improves benchmark-averaged avg@32 and pass@32 over SFT→DAPO by 2.33 and 4.44 percentage points, respectively. In the replay ablation, retaining historical rollouts improves these metrics by 1.87 and 3.72 percentage points over the no-history configuration.

Figure 1: CBPO-Unified/SFT→DAPO: , with total turn = .
1 INTRODUCTION
Large language models (LLMs) have advanced rapidly in mathematical reasoning, code generation, and theorem proving. Reinforcement learning from verifiable rewards (RLVR) increasingly drives this progress by scoring reasoning trajectories with automatic verifiers (Shao et al., 2024; DeepSeek-AI, 2025; Xin et al., 2025).
Reasoning post-training can draw on three data regimes. Offline Demonstrations are collected before optimization and commonly used for supervised fine-tuning (SFT). On-Policy Rollouts are sampled from the current model and drive methods including PPO, DAPO, REINFORCE++, and GSPO (Schulman et al., 2017; Yu et al., 2025; Hu et al., 2025; Zheng et al., 2025). Off-Policy Rollouts come from earlier policies and can be reused by methods such as TBRM (Yuan et al., 2025). In practice, conventional reasoning post-training commonly follows a two-stage pipeline consisting of cold-start SFT on positive offline chain-of-thought (CoT) demonstrations followed by RLVR on model-generated rollouts, as in DeepSeekMath and DeepSeek-R1 (Shao et al., 2024; DeepSeek-AI, 2025).
This pipeline fragments optimization and data use. It assigns offline demonstrations and RL rollouts to different objectives, excludes negative demonstrations from SFT, retires positive demonstrations once RLVR begins, and replaces earlier rollout batches even when their verifier rewards remain informative. Fig. 1 shows the projected paths: SFT→DAPO turns sharply at the stage boundary (path ratio 1.2207, turning 368.75°) before reaching a lower-reward endpoint. CBPO-Unified instead follows a more direct path (1.0205, 58.20°) to a higher-reward endpoint.
The closed-form optimal policy of KL-regularized RL induces a fixed-reference regression target that combines a completion’s reference-policy log-probability, scaled verifier reward, and frozen prompt-level normalizer, yet is independent of the behavior policy that generated the completion (Rafailov et al., 2023; Brantley et al., 2025).
Building on this property, we propose Cross-Behavior Policy Optimization (CBPO), which applies one regression loss to Offline Demonstrations and On- and Off-Policy Rollouts through common reward-labeled records. CBPO-Offline uses offline demonstrations and reference responses. CBPO-OnPolicy trains on current rollouts only. CBPO-OffPolicy combines reference responses with current and historical rollouts. CBPO-Unified uses all of these sources. On Qwen3-1.7B and Qwen3-8B, each restricted CBPO variant improves aggregate avg@32 over its regime-matched baselines, while CBPO-Unified achieves the best avg@32 and pass@32 on all four benchmarks.
SFT–RL post-training and update interference. SFT on CoT data and distillation from stronger reasoners are common cold-start strategies (Shao et al., 2024; DeepSeek-AI, 2025). Reasoning systems such as DeepSeek-R1 combine such supervision with RLVR, whereas DAPO applies RL directly to the base model (Shao et al., 2024; DeepSeek-AI, 2025; Yu et al., 2025). BRIDGE coordinates SFT and RL objectives through joint bilevel updates (Chen et al., 2026). CBPO trains demonstrations and rollouts with one verifier-reward regression objective throughout training.
Offline and off-policy RLVR. Trajectory-balance and value-based methods exploit non-current rollouts through asynchronous collection or learned value functions (Bartoldson et al., 2025; Yuan et al., 2025; Wang et al., 2026). Other methods reuse off-policy samples or jointly optimize on- and off-policy data (Cohen et al., 2025; Tang et al., 2025; Li et al., 2025; Wan et al., 2026). CBPO combines positive and negative offline CoT with fresh and historical rollouts under its fixed-reference target.
3 PRELIMINARIES
We first distinguish the three data regimes considered in this work and review the conventional two-stage reasoning post-training pipeline. Let denote a prompt, a completion,

Figure 2: SFT→RLVR vs. shared-target CBPO-Unified on offline and on-/off-policy data.
and the scalar reward assigned by a verifier. For an autoregressive policy, we use for the sequence log-probability. At optimization round , denotes the current policy. A rollout collected at round is sampled from . It is on-policy when used at round and off-policy when reused at a later round .
3.1 THREE RL DATA REGIMES
We distinguish three data regimes by when trajectories are collected and if they remain eligible for subsequent updates. Offline Demonstrations constitute the dataset , which is available before policy optimization. Its completions may come from external policies whose identities need not be known. On-Policy Rollouts are the fresh batch sampled from at round . Off-Policy Rollouts at round were sampled from with . A replay buffer combines them with current rollouts as .
3.2 CONVENTIONAL TWO-STAGE REASONING POST-TRAINING
Reasoning post-training commonly follows a two-stage pipeline in which cold-start SFT on positive offline chain-of-thought demonstrations precedes RLVR on model-generated rollouts (Shao et al., 2024; DeepSeek-AI, 2025).
The SFT stage minimizes the negative log-likelihood of demonstrations selected as correct or high quality.
Because this objective increases the likelihood of every target completion regardless of reward, incorrect or low-reward demonstrations are typically filtered rather than used as ordinary SFT targets. The RLVR stage then initializes from , switches to an RL objective, and trains on newly generated on-policy rollouts. The offline demonstrations are typically not reused.
4 CROSS-BEHAVIOR POLICY OPTIMIZATION
We first derive the fixed-reference regression target and establish its per-completion invariance to the generating policy. We then describe unified replay-buffer training, define data-restricted variants, and analyze the finite-sample bias of the frozen normalizer.
4.1 FIXED-REFERENCE REGRESSION TARGET
Let be a fixed reference policy and a reward-temperature coefficient. For a prompt , consider the KL-regularized objective
Its closed-form optimizer is the reward-tilted reference distribution (Rafailov et al., 2023)
To avoid the additional log-normalizer bias that top-p truncation can introduce (Appendix A.7), we use temperature 1.0 and top-p = 1 for reference sampling. We estimate from reference samples,
Algorithm 1 CBPO-Unified Training Schedule
Require: Prompt source , offline data , reference policy , verifier , prompt batch size , responses per prompt , replay minibatch size , replay updates per trainable iteration , reference samples per prompt
Reference preprocessing
1: Initialize
2: Score with and attach reference log-probabilities
3: Collect with responses per prompt from
4: Score , attach reference log-probabilities, and initialize
5: Freeze from the reference responses per prompt
Unified optimization loop
6: for epochs after preprocessing do
7: Reset the within-epoch prompt-exclusion set
8: for prompt batches do
9: for to do
10: Draw eligible response records from and update using Eq. (4)
11: end for
12: Sample unused prompts and collect responses per prompt from
13: Score them with , attach reference log-probabilities, and append them to
14: end for
15: end for
and freeze it before optimization. Taking logs in Eq. (1) and substituting the frozen normalizer estimate gives the target
CBPO fits the completion log-probability to the target with the following response-level loss.
Each completion receives one target constructed from its sequence-level log-probability.
Behavior-policy independence. For any completion y sampled from a behavior policy , the target in Eq. (3) depends only on its verifier reward, reference log-probability, and frozen prompt normalizer, and is therefore independent of . Consequently, completions collected by different policies can be optimized with the same per-sample regression loss. The behavior policy affects which completions are collected, but not the targets assigned to them.
4.2 CBPO-UNIFIED ACROSS THREE DATA REGIMES
CBPO stores each completion as a record of , its verifier reward, and reference log-probability, with one frozen normalizer cached per prompt.
Replay initialization. We rescore offline demonstrations with the rollout verifier, yielding positive and negative subsets ( ) with reference log-probabilities. The reference responses per prompt used in Eq. (2) form and also enter training. Before optimization, we freeze and set .
Interleaved replay and collection. At round , contains indexed records with uniform replay weights . CBPO minimizes
After replay, generates . The verifier scores each completion, CBPO attaches its reference log-probability and cached normalizer, and . Fresh batches are on-policy, retained batches become off-policy, and offline demonstrations remain eligible throughout. Fig. 2 illustrates this process, and Algorithm 1 specifies the schedule.
4.3 SPECIAL FORMS OF CBPO
Restricting the trainable data sources yields three controlled variants under the same target. CBPO-Offline fixes and performs no rollout collection. CBPO-OnPolicy uses reference responses to construct the target, trains on the latest current-policy rollouts, and discards earlier rollout rounds. CBPO-OffPolicy omits offline demonstrations, initializes replay with , and retains both current and historical rollouts. CBPO-Unified combines Offline Demonstrations and On- and Off-Policy Rollouts in the evolving buffer.
4.4 FINITE-SAMPLE NORMALIZER ANALYSIS
For a fixed record, the verifier reward and reference log-probability are directly evaluated. The Monte Carlo normalizer is the only sampled term in the target. Although Eq. (2) is unbiased for , Jensen's inequality gives . Thus, the frozen log-normalizer is downward biased at finite . Let and assume . A second-order expansion yields
Our rewards lie in , so . At fixed finite model parameters and finite activations, bounded response length gives finite score norms, and the induced gradient bias is . If reference samples used in the estimate are replayed for training, an additional covariance term appears. It remains under bounded score gradients, while a leave-one-out estimate removes this dependence. Appendix A proves these bounds and relates regime-specific regression error to the KL-regularized objective gap through normalizer, sampling, approximation, and optimization errors. Hence trades normalizer accuracy against reference-sampling cost and, through the length of reference preprocessing, against the number of current-policy rollouts.
5 EXPERIMENTS
5.1 EXPERIMENTAL SETUP
Training. We use Qwen3-1.7B as the base and reference model and Qwen3-8B for the scale study. Training uses 16,254 decontaminated RLVR-Math-16k prompts and, per prompt, two positive and one negative DPSK-CoT trajectories from DeepSeek-R1-Distill-Qwen-32B (DeepSeek-AI, 2025) (Appendix B.1). Rewards are 1.0, 0.1, and 0 for correct, parseable but incorrect, and unparseable responses, respectively. Core Qwen3-1.7B training uses 650,160 generated responses, 1,280 optimizer steps, and reference samples per prompt (Appendix C).
Baselines. We compare CBPO-Offline with SFT and offline DPO (Rafailov et al., 2023), CBPO-OnPolicy with PPO (Schulman et al., 2017), DAPO (Yu et al., 2025), REINFORCE++ (Hu et al., 2025), and GSPO (Zheng et al., 2025), and CBPO-OffPolicy with TBRM (Yuan et al., 2025). CBPO-Unified is compared with BRIDGE (Chen et al., 2026) at both model sizes. Inspired by Liu et al. (2026), we adopt a compromise SFT:DAPO step ratio of 1:2.6. Comparisons match models, prompts, positive-trajectory counts, actor learning rates, generation and optimizer-step budgets, decoding, verifier, and evaluation protocol (Appendix B).
Evaluation. We evaluate 842 prompts from AIME25, MinervaMath, AMC23, and MATH500, with 32 responses each. avg@32 is mean response correctness, and pass@32 is the percentage of prompts with at least one correct response. For comparisons across five seeds, aggregate scores average the four benchmarks equally within each seed before computing the mean and sample standard deviation. Bold and underlined scores mark the best overall and within-regime scores, respectively.
5.2 PERFORMANCE ACROSS DATA REGIMES
Restricted data regimes. Tables 1 and 2 compare methods initialized from Qwen3-1.7B and Qwen3-8B, respectively. With Qwen3-1.7B, CBPO-Offline improves SFT by 1.48/1.67 aggregate avg@32/pass@32 points. Offline DPO provides a preference-based comparison using both correct and incorrect records. CBPO-Offline exceeds DPO by 1.27/1.83 aggregate avg@32/pass@32 points with Qwen3-1.7B and by 0.87/0.62 points with Qwen3-8B. CBPO-OnPolicy reaches 41.84/63.02, exceeding the strongest on-policy baseline by 0.47/1.04 points. CBPO-OffPolicy improves TBRM by 0.38 points on aggregate avg@32 and improves or matches it on six of the eight
Table 1: Qwen3-1.7B performance across data regimes and joint SFT/RL over five training seeds.
| Regime | Methods | AIME25 | MinervaMath | AMC23 | MATH500 | Avg. | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | ||
| Offline | SFT | 14.23±0.06 | 29.33±1.49 | 19.29±0.02 | 33.53±0.16 | 48.77±0.03 | 75.50±1.12 | 64.99±0.01 | 77.96±0.09 | 36.82±0.02 | 54.08±0.11 |
| DPO | 14.50±0.05 | 29.33±1.49 | 19.32±0.01 | 33.68±0.20 | 48.97±0.03 | 74.50±1.12 | 65.34±0.01 | 78.16±0.09 | 37.03±0.02 | 53.92±0.41 | |
| CBPO-Offline | 15.81±0.05 | 29.33±1.49 | 20.29±0.01 | 35.22±0.16 | 50.11±0.04 | 78.00±1.12 | 66.99±0.01 | 80.44±0.09 | 38.30±0.02 | 55.75±0.54 | |
| On-policy | PPO | 17.48±0.05 | 32.67±1.49 | 21.35±0.01 | 38.82±0.20 | 56.47±0.03 | 84.50±1.12 | 69.71±0.01 | 83.68±0.11 | 41.25±0.02 | 59.92±0.42 |
| DAPO | 17.27±0.05 | 38.00±1.83 | 21.58±0.01 | 39.78±0.16 | 56.23±0.03 | 85.50±1.12 | 70.38±0.01 | 84.64±0.09 | 41.37±0.01 | 61.98±0.67 | |
| GSPO | 17.21±0.05 | 37.33±1.49 | 21.86±0.01 | 39.78±0.16 | 55.64±0.03 | 81.50±1.37 | 70.51±0.01 | 84.64±0.09 | 41.30±0.02 | 60.81±0.33 | |
| REINFORCE++ | 16.90±0.05 | 32.67±1.49 | 21.19±0.01 | 38.31±0.16 | 52.59±0.03 | 79.50±1.12 | 68.58±0.02 | 81.84±0.09 | 39.81±0.02 | 58.08±0.41 | |
| CBPO-OnPolicy | 17.46±0.06 | 39.33±1.49 | 22.02±0.02 | 39.78±0.16 | 57.20±0.03 | 88.00±1.12 | 70.69±0.01 | 84.96±0.09 | 41.84±0.01 | 63.02±0.52 | |
| Off-policy | TBRM | 18.15±0.05 | 42.00±1.83 | 22.10±0.01 | 40.37±0.16 | 57.53±0.04 | 90.50±1.12 | 71.46±0.01 | 83.56±0.09 | 42.31±0.02 | 64.11±0.64 |
| CBPO-OffPolicy | 18.67±0.05 | 41.33±1.83 | 22.64±0.01 | 40.29±0.20 | 57.98±0.03 | 91.00±1.37 | 71.46±0.01 | 85.84±0.09 | 42.69±0.02 | 64.62±0.38 | |
| Joint SFT/RL | BRIDGE | 18.98±0.05 | 44.00±1.49 | 23.43±0.01 | 41.47±0.16 | 57.98±0.03 | 87.00±1.12 | 71.99±0.02 | 85.76±0.09 | 43.10±0.01 | 64.56±0.47 |
| Unified | CBPO-Unified | 20.67±0.06 | 49.33±1.49 | 24.47±0.01 | 42.35±0.16 | 60.17±0.03 | 94.50±1.12 | 72.99±0.01 | 87.64±0.09 | 44.57±0.02 | 68.46±0.59 |
Table 2: Qwen3-8B performance across data regimes and joint SFT/RL over five training seeds.
| Regime | Methods | AIME25 | MinervaMath | AMC23 | MATH500 | Avg. | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | ||
| Offline | SFT | 33.17±0.06 | 38.00±1.83 | 45.20±0.01 | 52.87±0.16 | 83.16±0.04 | 87.00±1.12 | 84.61±0.02 | 88.56±0.09 | 61.53±0.02 | 66.61±0.65 |
| DPO | 33.52±0.05 | 37.33±1.49 | 45.60±0.01 | 53.38±0.16 | 83.27±0.03 | 90.50±1.12 | 85.11±0.01 | 89.76±0.09 | 61.87±0.02 | 67.74±0.38 | |
| CBPO-Offline | 34.04±0.05 | 38.00±1.83 | 47.20±0.01 | 55.29±0.20 | 84.13±0.03 | 89.50±1.12 | 85.61±0.02 | 90.64±0.09 | 62.74±0.02 | 68.36±0.39 | |
| On-policy | PPO | 41.27±0.05 | 47.33±1.49 | 50.31±0.01 | 58.68±0.20 | 89.72±0.04 | 95.50±1.12 | 89.40±0.01 | 96.44±0.09 | 67.67±0.01 | 74.49±0.43 |
| DAPO | 39.40±0.05 | 42.67±1.49 | 49.08±0.01 | 58.16±0.16 | 88.53±0.03 | 97.00±1.12 | 89.60±0.01 | 96.76±0.09 | 66.65±0.01 | 73.65±0.66 | |
| GSPO | 39.04±0.05 | 42.00±1.83 | 49.12±0.01 | 58.24±0.20 | 87.13±0.03 | 97.00±1.12 | 89.16±0.01 | 96.56±0.09 | 66.11±0.02 | 73.45±0.61 | |
| REINFORCE++ | 35.96±0.05 | 40.67±1.49 | 48.76±0.01 | 57.28±0.16 | 83.53±0.03 | 95.50±1.12 | 88.93±0.02 | 95.04±0.09 | 64.29±0.02 | 72.12±0.42 | |
| CBPO-OnPolicy | 42.27±0.05 | 47.33±1.49 | 50.95±0.01 | 59.12±0.16 | 90.69±0.03 | 98.00±1.12 | 89.90±0.01 | 96.96±0.09 | 68.45±0.01 | 75.35±0.62 | |
| Off-policy | TBRM | 43.25±0.05 | 47.33±1.49 | 52.14±0.01 | 60.22±0.16 | 91.34±0.03 | 98.00±1.12 | 90.19±0.01 | 97.24±0.09 | 69.23±0.02 | 75.70±0.39 |
| CBPO-OffPolicy | 43.52±0.05 | 47.33±1.49 | 51.65±0.01 | 60.00±0.16 | 91.73±0.03 | 96.50±1.37 | 90.19±0.02 | 97.36±0.09 | 69.27±0.02 | 75.30±0.58 | |
| Joint SFT/RL | BRIDGE | 44.25±0.05 | 48.00±1.83 | 53.78±0.01 | 63.38±0.20 | 92.22±0.04 | 98.00±1.12 | 91.65±0.01 | 97.24±0.09 | 70.47±0.02 | 76.66±0.40 |
| Unified | CBPO-Unified | 46.52±0.06 | 52.67±1.49 | 56.65±0.01 | 66.84±0.16 | 93.17±0.04 | 99.50±1.12 | 94.89±0.02 | 97.88±0.11 | 72.81±0.02 | 79.22±0.41 |
benchmark-metric entries. Its aggregate pass@32 is 0.51 points higher, with lower scores on AIME25 and MinervaMath and higher scores on AMC23 and MATH500. With Qwen3-8B, the three restricted variants improve the strongest regime-matched baselines on aggregate avg@32 by 0.87, 0.78, and 0.04 points, respectively. These comparisons show that the shared regression target is effective when restricted to any one of the three data regimes.
Unified learning. CBPO-Unified achieves the best aggregate avg@32/pass@32, reaching 44.57/68.46 with Qwen3-1.7B and 72.81/79.22 with Qwen3-8B. At the two scales, it exceeds BRIDGE by 1.47/3.90 and 2.34/2.56 points, and the strongest single-regime results by 1.88/3.84 and 3.54/3.52 points, respectively. The avg@32 gains over the strongest single-regime results range from 1.53 to 2.19 points across the 1.7B benchmarks. At 8B, CBPO-Unified leads all eight benchmark-metric entries. Appendix D.1 extends the BRIDGE comparison to three teacher sources and their mixture.
Learning dynamics and cost. Fig. 3 shows that CBPO-Unified improves rapidly early in training and leads both metrics on all four benchmarks at the final checkpoint. The advantage extends beyond the final checkpoint. CBPO-Unified continues improving after the rapid early gains shared by the rollout methods, while its competitors plateau lower or fluctuate around weaker solutions. This behavior is consistent across both accuracy and coverage metrics and is especially pronounced on AIME25 and AMC23. With Qwen3-1.7B, CBPO-Unified uses 119.36 GPU hours, within of DAPO, REINFORCE++, GSPO, and TBRM. PPO requires 232.84 GPU hours because it additionally trains a critic. The 8B results show the same cost pattern. CBPO-Unified requires 437.44 GPU hours, below the non-PPO on-policy baselines and less than half the cost of PPO.
5.3 SHARED-TARGET OPTIMIZATION AND DATA REUSE
End-to-end performance. Table 3 compares SFT→DAPO with CBPO under progressively expanded training-data configurations. CBPO w/o History (PosCoT) applies the shared target to the same positive offline trajectories as SFT→DAPO and to fresh rollouts under the same current-policy

Figure 3: Qwen3-1.7B avg@32/pass@32 trajectories for twelve methods on four benchmarks.
generation budget. CBPO w/o History adds negative offline trajectories. CBPO-Unified FIFO-1 additionally trains on reference responses and retains only the latest rollout round.
CBPO w/o History (PosCoT) scores 0.13 points higher on aggregate avg@32 and 0.68 points lower on aggregate pass@32 than SFT→DAPO under matched positive offline trajectories and current-policy generation budgets. CBPO w/o History exceeds CBPO w/o History (PosCoT) by 0.33/1.40 aggregate avg@32/pass@32 points after adding negative offline trajectories, and CBPO-Unified FIFO-1 exceeds CBPO w/o History by 0.38/1.65 points after adding reference-response training.
CBPO-Unified FIFO-1 improves aggregate avg@32/pass@32 by 0.84/2.37 points over SFT→DAPO and raises avg@32 on every benchmark. Its pass@32 improves on all four benchmarks, including a 0.64-point increase on MATH500. Retaining earlier rollout rounds further improves aggregate performance by 1.49/2.07 points, so CBPO-Unified exceeds SFT→DAPO by 2.33/4.44 points overall and leads the reported results on all eight benchmark-metric combinations. Relative to the two-stage pipeline, the unified gains reach 2.36/6.66 on AIME25, 2.49/1.47 on MinervaMath, 2.89/7.50 on AMC23, and 1.61/2.12 on MATH500.
Table 3: Qwen3-1.7B comparison of SFT→DAPO and CBPO variants over five training seeds.
| Methods | AIME25 | MinervaMath | AMC23 | MATH500 | Avg. | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | |
| SFT → DAPO | 18.31±0.05 | 42.67±1.49 | 21.98±0.01 | 40.88±0.16 | 57.28±0.03 | 87.00±1.12 | 71.38±0.02 | 85.52±0.11 | 42.24±0.02 | 64.02±0.36 |
| CBPO w/o History (PosCoT) | 18.17±0.06 | 42.67±1.49 | 22.33±0.02 | 40.29±0.20 | 57.33±0.03 | 84.50±1.12 | 71.67±0.01 | 85.88±0.11 | 42.37±0.02 | 63.34±0.43 |
| CBPO w/o History | 18.77±0.05 | 42.67±1.49 | 22.52±0.02 | 41.25±0.16 | 57.98±0.03 | 89.00±1.37 | 71.54±0.01 | 86.04±0.09 | 42.70±0.01 | 64.74±0.64 |
| CBPO-Unified FIFO-1 | 18.98±0.05 | 44.67±1.83 | 22.85±0.01 | 41.25±0.16 | 58.55±0.04 | 93.50±1.37 | 71.96±0.01 | 86.16±0.09 | 43.08±0.02 | 66.39±0.61 |
| CBPO-Unified | 20.67±0.06 | 49.33±1.49 | 24.47±0.01 | 42.35±0.16 | 60.17±0.03 | 94.50±1.12 | 72.99±0.01 | 87.64±0.09 | 44.57±0.02 | 68.46±0.59 |
Replay sampling. Appendix D.4 specifies complete CBPO-Unified training runs with response-balanced, prompt-balanced, source-balanced, and age-balanced replay sampling. The comparisons use the same initialization, training seed, generation budget, and optimizer-step budget.
Historical replay diagnostics. The replay-horizon comparison in Table 4 retains the same offline and reference data across the FIFO and full-replay variants. For the finite history variants, the replay horizon is . At round , the retained rollout index set is . The corresponding training buffer is . Full replay uses all rollout rounds collected up to .
Table 4: Qwen3-1.7B with no history, FIFO-K, or full replay.
| Methods | AIME25 | MinervaMath | AMC23 | MATH500 | Avg. | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | |
| CBPO-Offline | 15.83 | 30.00 | 20.29 | 35.29 | 50.08 | 77.50 | 66.99 | 80.40 | 38.30 | 55.80 |
| CBPO w/o History | 18.75 | 43.33 | 22.52 | 41.18 | 57.97 | 90.00 | 71.54 | 86.00 | 42.70 | 65.13 |
| CBPO-Unified FIFO-1 | 18.96 | 43.33 | 22.85 | 41.18 | 58.52 | 92.50 | 71.96 | 86.20 | 43.07 | 65.80 |
| CBPO-Unified FIFO-4 | 19.27 | 46.67 | 23.10 | 41.18 | 58.91 | 92.50 | 71.91 | 86.20 | 43.30 | 66.64 |
| CBPO-Unified FIFO-16 | 19.69 | 46.67 | 23.30 | 41.54 | 59.14 | 92.50 | 72.27 | 86.40 | 43.60 | 66.78 |
| CBPO-Unified | 20.63 | 50.00 | 24.47 | 42.28 | 60.16 | 95.00 | 72.99 | 87.60 | 44.56 | 68.72 |
Extending the finite horizon from one to 16 rounds increases avg@32 on all four benchmarks. Full replay achieves the best avg@32 and pass@32 on every benchmark, supporting continued reuse of earlier rollouts under the same regression objective.
Appendix D.5 reports training-time diagnostics by explicit generating-policy age interval and current regression-residual level for replayed records. For rollouts older than 16 policy versions, high-residual replay outperforms age-balanced replay on both metrics across all four benchmarks, whereas low-residual replay underperforms it. Appendix Sections E.1 and E.2 present matched-prompt response comparisons illustrating objective continuity and historical replay, respectively.
Optimization trajectories. We project checkpoints from both runs into the shared two-dimensional parameter subspace in Fig. 1. For each projected path, is its cumulative length, is the distance between its endpoints, is the path ratio, and cumulative turning sums the directional changes between successive segments. Lower path ratio and cumulative turning indicate a more direct optimization trajectory.
Fig. 1 and Table 5 show that SFT→DAPO turns sharply at the stage boundary and ends in a lower-reward region (, cumulative turn ), whereas CBPO-Unified follows a more direct projected path toward a higher-reward region (, ). The lower path ratio and cumulative turning persist with 5 and 10 PCA components (Appendix Figs. D.3 and D.4), and layer normalization changes them only slightly (Appendix Table D.9). Appendix Table D.10 reports the objective-switch comparison in projected turning and final avg@32/pass@32.
Table 5: Geometry of the projected optimization trajectories for 2, 5, and 10 components.
| Methods | L | D | L/D | Cumulative turn |
|---|---|---|---|---|
| 2 components: 82.8744% | ||||
| SFT→DAPO | 2.1000 | 1.7203 | 1.2207 | 368.75° |
| CBPO-Unified | 1.7631 | 1.7278 | 1.0205 | 58.20° |
| 5 components: 91.6378% | ||||
| SFT→DAPO | 2.2498 | 1.8869 | 1.1923 | 295.67° |
| CBPO-Unified | 1.7688 | 1.7349 | 1.0196 | 69.76° |
| 10 components: 95.9950% | ||||
| SFT→DAPO | 2.2956 | 1.9223 | 1.1942 | 290.89° |
| CBPO-Unified | 1.7804 | 1.7497 | 1.0175 | 71.22° |
5.4 ABLATION STUDIES
Negative trajectories. For each DPSK-CoT problem, we retain three trajectories and set the number of negative trajectories to 0, 1, 2, or 3, corresponding to . Within each required reward class, trajectories are selected in their original generation order. As shown in Table 6, increasing from 0% to 33.3% improves aggregate avg@32/pass@32 by 1.10/1.89 points and produces the best result on every benchmark and metric. The avg@32 improvement is consistent across all four benchmarks, ranging from 0.91 to 1.50 points. CBPO incorporates incorrect completions through their sequence-level verifier rewards. When a completion's log-probability exceeds its shared target, its regression loss favors reducing the probability of that entire completion.
Table 6: CBPO-Unified sensitivity with three trajectories per prompt.
| AIME25 | MinervaMath | AMC23 | MATH500 | Avg. | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | |
| 0% | 19.58 | 46.67 | 23.56 | 41.54 | 59.22 | 92.50 | 71.49 | 86.60 | 43.46 | 66.83 |
| 33.3% | 20.63 | 50.00 | 24.47 | 42.28 | 60.16 | 95.00 | 72.99 | 87.60 | 44.56 | 68.72 |
| 66.7% | 19.06 | 43.33 | 23.17 | 41.18 | 59.14 | 92.50 | 71.38 | 86.80 | 43.19 | 65.95 |
| 100% | 18.65 | 43.33 | 22.94 | 40.44 | 58.13 | 92.50 | 70.28 | 85.60 | 42.50 | 65.47 |
The trend is non-monotonic. Increasing from 33.3% to 66.7% lowers aggregate avg@32/pass@32 by 1.37/2.77 points. Using only negative demonstrations lowers them by 2.06/3.25 points. Negative trajectories are therefore useful as contrastive supervision, but they cannot replace the successful trajectories that anchor high-reward reasoning behavior. Appendix D.3 separately compares adding 0, 1, or 2 negatives to two fixed positives and varying negative-response reward and content.
Reference sample size. Table 7 (Left) varies with , , and the optimizer-step budget held fixed. We start at 8 reference responses, motivated by the MATH500 performance plateau near reported for A*–PO (Brantley et al., 2025). The reference responses used in the training loss and the optimization start time are identical across configurations.
Table 7: Left: sensitivity with fixed training records, update timing, , and . Right: Current-policy sample size with fixed reference statistics and update timing.
| avg@32 | pass@32 | |
|---|---|---|
| 8 | 42.36 | 66.52 |
| 16 | 44.15 | 69.09 |
| 24 | 44.56 | 68.72 |
| 32 | 45.27 | 70.15 |
| avg@32 | pass@32 | |
|---|---|---|
| 8 | 42.15 | 67.32 |
| 16 | 44.56 | 68.72 |
| 24 | 45.81 | 70.93 |
| 32 | 46.43 | 71.67 |
Aggregate avg@32 increases monotonically from 42.36 to 45.27 across the tested reference sample sizes, while pass@32 rises overall from 66.52 to 70.15 with a decrease at . Under a fixed budget of 40 generated responses per prompt, the coupled schedule in Table 8 instead attains its highest scores at , motivating our default . Appendix D.2 reports prompt-level reference success and confidence bounds for normalizer estimation.
Current-policy sample size. All reference preprocessing is completed before the first optimizer step. Each run uses 1,280 optimizer steps, , and four current-policy collection passes over the same prompts, with matched optimizer and collection positions across configurations. For the rollout-only comparison in Table 7 (Right), and the reference training records remain fixed. We vary by collecting responses per prompt at each of the four collection passes.
Reference–rollout budget allocation. In the epoch-coupled sweep in Table 8, with and , giving a fixed budget of 40 generated responses per prompt. Changing changes the onset of updates and the current-policy sample count, while is adjusted to maintain the total bud-
Table 8: Budget-coupled sensitivity.
| avg@32 | pass@32 | |||
|---|---|---|---|---|
| 8 | 5 | 32 | 37.23 | 60.57 |
| 20 | 8 | 20 | 40.65 | 64.49 |
| 24 | 10 | 16 | 44.56 | 68.72 |
| 32 | 20 | 8 | 42.26 | 66.97 |
get of 1,280 optimizer steps. The configuration achieves the highest aggregate scores among these jointly varied configurations, reaching 44.56 and 68.72. Allocating 32 responses to reference estimation leaves eight current-policy responses and yields 42.26/66.97, supporting the default allocation of 24 reference and 16 current-policy responses under this budget.
6 CONCLUSION
We introduced Cross-Behavior Policy Optimization, which makes Offline Demonstrations and On-and Off-Policy Rollouts compatible with one regression loss through a common record representation. Verifier rewards, fixed-reference log-probabilities, and frozen prompt normalizers provide the target fields for both successful and unsuccessful completions. This representation supports their continued reuse without behavior-policy likelihoods, importance ratios, a critic, or an objective switch.
Across two model scales, CBPO improves each restricted data regime, while their combination performs best. Compared with SFT→RLVR, CBPO follows a substantially more direct path toward a higher-reward policy, and historical replay provides further gains. Balanced negative demonstrations and accurate reference normalization further strengthen the unified method. These findings establish CBPO as an effective alternative to stage-wise reasoning post-training.
7 LIMITATIONS
Experiments are limited to mathematical reasoning with Qwen3 models and rule-based verifiers, leaving generalization to other domains, model families, and noisy or subjective reward signals untested. CBPO also incurs an upfront generation cost to estimate the frozen prompt normalizer, and its behavior under offline distribution shifts across domains or model families remains untested.
ETHICS STATEMENT
This work uses existing mathematical-reasoning datasets and model-generated trajectories. No new human-subject data were collected. Confirmed overlaps between training questions and held-out evaluation problems were removed before optimization (Appendix B.1). Use of the source models and datasets is subject to their respective licenses and terms.
REPRODUCIBILITY STATEMENT
Section 5.1 specifies the model scales, data sources, reward values, training budgets, evaluation sets, and metrics. Appendix B describes the artifact sources and verifier, Appendix B.1 gives the overlap-screening protocol and retained counts, and Appendices B and C provide baseline settings, decoding, hardware, and seed usage. Reproduction requires access to the cited model and dataset artifacts under their respective terms.
AI USE STATEMENT
Generative AI tools were used for language editing and for assistance with code generation, editing, and debugging. All AI-assisted manuscript edits and code changes were reviewed and verified by the authors.
REFERENCES
Brian R. Bartoldson, Siddarth Venkatraman, James Diffenderfer, Moksh Jain, Tal Ben-Nun, Seanie Lee, Minsu Kim, Johan Obando Ceron, Yoshua Bengio, and Bhavya Kailkhura. Trajectory balance with asynchrony: Decoupling exploration and learning for fast, scalable LLM post-training. In Advances in Neural Information Processing Systems 38, 2025. URL https://papers.nips.cc/paper_files/paper/2025/hash/a58e6bd468ae63efd8c95035ea55ee41-Abstract-Conference.html.
Kianté Brantley, Mingyu Chen, Zhaolin Gao, Jason D. Lee, Wen Sun, Wenhao Zhan, and Xuezhou Zhang. Accelerating RL for LLM reasoning with optimal advantage regression. In Advances in Neural Information Processing Systems 38, 2025. URL https://papers.nips.cc/paper_files/paper/2025/hash/de8elaebdb1e8a96970a58a641eac3cc-Abstract-Conference.html.
Liang Chen, Xueting Han, Li Shen, Jing Bai, and Kam-Fai Wong. Beyond two-stage training: Cooperative SFT and RL for LLM reasoning. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, 2026. URL https://arxiv.org/abs/2509.06948.
Taco Cohen, David W. Zhang, Kunhao Zheng, Yunhao Tang, Rémi Munos, and Gabriel Synnaeve. Soft policy optimization: Online off-policy RL for sequence models. arXiv preprint arXiv:2503.05453, 2025. doi: 10.48550/arXiv.2503.05453. URL https://arxiv.org/abs/2503.05453.
DeepSeek-AI. DeepSeek-R1: Incentivizing reasoning capability in LLMs via reinforcement learning. arXiv preprint arXiv:2501.12948, 2025. doi: 10.48550/arXiv.2501.12948. URL https://arxiv.org/abs/2501.12948.
Zhaolin Gao, Jonathan D. Chang, Wenhao Zhan, Owen Oertell, Gokul Swamy, Kianté Brantley, Thorsten Joachims, J. Andrew Bagnell, Jason D. Lee, and Wen Sun. REBEL: Reinforcement learning via regressing relative rewards. In Advances in Neural Information Processing Systems 37, 2024. doi: 10.52202/079017-1660. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/5df1d92b478716877f774b82943477b3-Abstract-Conference.html.
hiyouga. hiyouga/math12k. Hugging Face dataset, 2025. URL https://huggingface.co/datasets/hiyouga/math12k. Accessed: 2026-05-24.
Wassily Hoeffding. Probability inequalities for sums of bounded random variables. Journal of the American Statistical Association, 58(301):13–30, 1963. doi: 10.1080/01621459.1963.10500830. URL https://doi.org/10.1080/01621459.1963.10500830.
Jian Hu, Jason Klein Liu, Haotian Xu, and Wei Shen. REINFORCE++: Stabilizing critic-free policy optimization with global advantage normalization. arXiv preprint arXiv:2501.03262, 2025. doi:10.48550/arXiv.2501.03262. URL https://arxiv.org/abs/2501.03262.
Haozhe Ji, Cheng Lu, Yilin Niu, Pei Ke, Hongning Wang, Jun Zhu, Jie Tang, and Minlie Huang. Towards efficient exact optimization of language model alignment. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 21648–21671. PMLR, 2024. URL https://proceedings.mlr.press/v235/ji24c.html.
Tomasz Korbak, Hady Elsahar, Germán Kruszewski, and Marc Dymetman. On reinforcement learning and distribution matching for fine-tuning language models with no catastrophic forgetting. In Advances in Neural Information Processing Systems 35, 2022. doi: 10.52202/068431-1179. URL https://proceedings.neurips.cc/paper_files/paper/2022/hash/67496dfa96afddab795530cc7c69b57a-Abstract-Conference.html.
Sergey Levine. Reinforcement learning and control as probabilistic inference: Tutorial and review. arXiv preprint arXiv:1805.00909, 2018. doi: 10.48550/arXiv.1805.00909. URL https://arxiv.org/abs/1805.00909.
Aitor Lewkowycz, Anders Andreassen, David Dohan, Ethan Dyer, Henryk Michalewski, Vinay V. Ramasesh, Ambrose Slone, Cem Anil, Imanol Schlag, Theo Gutman-Solo, Yuhuai Wu, Behnam Neyshabur, Guy Gur-Ari, and Vedant Misra. Solving quantitative reasoning problems with language models. In Advances in Neural Information Processing Systems, 2022. doi: 10.48550/arXiv.2206.14858. URL https://arxiv.org/abs/2206.14858.
Siheng Li, Zhanhui Zhou, Wai Lam, Chao Yang, and Chaochao Lu. RePO: Replay-enhanced policy optimization. arXiv preprint arXiv:2506.09340, 2025. doi: 10.48550/arXiv.2506.09340. URL https://arxiv.org/abs/2506.09340.
Hunter Lightman, Vineet Kosaraju, Yuri Burda, Harrison Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, and Karl Cobbe. Let's verify step by step. In International Conference on Learning Representations, 2024. URL https://proceedings.iclr.cc/paper_files/paper/2024/hash/aca97732e30bcf1303bc22ac3924fd16-Abstract-Conference.html.
Zhihan Liu, Lin Guan, Yixin Nie, Kai Zhang, Zhuoqun Hao, Lin Chen, Asli Celikyilmaz, Zhaoran Wang, and Na Zhang. Paying less generalization tax: A cross-domain generalization study of RL training for LLM agents. arXiv preprint arXiv:2601.18217, 2026. doi: 10.48550/arXiv.2601.18217. URL https://arxiv.org/abs/2601.18217.
Chris J. Lloyd and Paul Kabaila. Letter to the editor: Some comments on: On construction of the smallest one-sided confidence interval for the difference of two proportions. The Annals of Statistics, 38(6):3840–3841, 2010. doi: 10.1214/10-AOS866. URL https://arxiv.org/abs/1211.3594.
math-ai. math-ai/amc23. Hugging Face dataset, 2025a. URL https://huggingface.co/datasets/math-ai/amc23. Accessed: 2026-05-24.
math-ai. math-ai/math500. Hugging Face dataset, 2025b. URL https://huggingface.co/datasets/math-ai/math500. Accessed: 2026-05-24.
math-ai. math-ai/minervamath. Hugging Face dataset, 2025c. URL https://huggingface.co/datasets/math-ai/minervamath. Accessed: 2026-05-24.
Luke W. Miratrix and Philip B. Stark. Election audits using a trinomial bound. IEEE Transactions on Information Forensics and Security, 4(4):974–981, 2009. doi: 10.1109/TIFS.2009.2034189. URL https://www.stat.berkeley.edu/~stark/Preprints/trinomial09.pdf.
nlile. nlile/NuminaMath-1.5-RL-Verifiable. Hugging Face dataset, 2025. URL https://huggingface.co/datasets/nlile/NuminaMath-1.5-RL-Verifiable. Accessed: 2026-05-24.
Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning, Stefano Ermon, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward model. In Advances in Neural Information Processing Systems 36, 2023. URL https://papers.nips.cc/paper_files/paper/2023/hash/a85b405ed65c6477a4fe8302b5e06ce7-Abstract-Conference.html.
Nils Reimers and Iryna Gurevych. Sentence-BERT: Sentence embeddings using siamese BERT-networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 3982–3992. Association for Computational Linguistics, 2019. doi: 10.18653/v1/D19-1410. URL https://aclanthology.org/D19-1410/.
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017. doi: 10.48550/arXiv.1707.06347. URL https://arxiv.org/abs/1707.06347.
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. DeepSeekMath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024. doi:10.48550/arXiv.2402.03300. URL https://arxiv.org/abs/2402.03300.
Yunhao Tang, Zhaohan Daniel Guo, Zeyu Zheng, Daniele Calandriello, Remi Munos, Mark Rowland, Pierre Harvey Richemond, Michal Valko, Bernardo Avila Pires, and Bilal Piot. Generalized preference optimization: A unified approach to offline alignment. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 47725–47742. PMLR, 2024. URL https://proceedings.mlr.press/v235/tang24b.html.
Yunhao Tang, Taco Cohen, David W. Zhang, Michal Valko, and Rémi Munos. RL-finetuning LLMs from on- and off-policy data with a single algorithm. arXiv preprint arXiv:2503.19612, 2025. doi: 10.48550/arXiv.2503.19612. URL https://arxiv.org/abs/2503.19612.
Emanuel Todorov. Linearly-solvable Markov decision problems. In Advances in Neural Information Processing Systems 19, 2006. URL https://papers.nips.cc/paper_files/paper/2006/hash/d806ca13ca3449af72alea5aedbed26a-Abstract.html.
Xu Wan, Yansheng Wang, Wenqi Huang, and Mingyang Sun. Buffer matters: Unleashing the power of off-policy reinforcement learning in large language model reasoning. arXiv preprint arXiv:2602.20722, 2026. doi: 10.48550/arXiv.2602.20722. URL https://arxiv.org/abs/2602.20722.
Peng-Yuan Wang, Ziniu Li, Tian Xu, Bohan Yang, Tian-Shuo Liu, ChenYang Wang, Xiong-Hui Chen, Yi-Chen Li, Tianyun Yang, Congliang Chen, and Yang Yu. Off-policy value-based reinforcement learning for large language models. arXiv preprint arXiv:2603.23355, 2026. doi:10.48550/arXiv.2603.23355. URL https://arxiv.org/abs/2603.23355.
Huajian Xin, Z. Z. Ren, Junxiao Song, Zhihong Shao, Wanjia Zhao, Haocheng Wang, Bo Liu, Liyue Zhang, Xuan Lu, Qiushi Du, Wenjun Gao, Haowei Zhang, Qihao Zhu, Dejian Yang, Zhibin Gou, Z. F. Wu, Fuli Luo, and Chong Ruan. DeepSeek-Prover-V1.5: Harnessing proof assistant feedback for reinforcement learning and Monte-Carlo tree search. In International Conference on Learning Representations, 2025. URL https://proceedings.iclr.cc/paper_files/paper/2025/hash/b3b55c366d641c07180c40e4f978f311-Abstract-Conference.html.
Qiying Yu, Zheng Zhang, Ruofei Zhu, Yufeng Yuan, Xiaochen Zuo, Yu Yue, Weinan Dai, Tiantian Fan, Gaohong Liu, Juncai Liu, Lingjun Liu, Xin Liu, Haibin Lin, Zhiqi Lin, Bole Ma, Guangming Sheng, Yuxuan Tong, Chi Zhang, Mofan Zhang, Ru Zhang, Wang Zhang, Hang Zhu, Jinhua Zhu, Jiaze Chen, Jiangjie Chen, Chengyi Wang, Hongli Yu, Yuxuan Song, Xiangpeng Wei, Hao Zhou, Jingjing Liu, Wei-Ying Ma, Ya-Qin Zhang, Lin Yan, Yonghui Wu, and Mingxuan Wang. DAPO: An open-source LLM reinforcement learning system at scale. In Advances in Neural Information Processing Systems 38, 2025. URL https://papers.nips.cc/paper_files/paper/2025/hash/a4277440d50f1f15d2cb4c14f7e0c0d2-Abstract-Conference.html.
Yurun Yuan, Fan Chen, Zeyu Jia, Alexander Rakhlin, and Tengyang Xie. Trajectory bellman residual minimization: A simple value-based method for LLM reasoning. In Advances in Neural Information Processing Systems 38, 2025. URL https://papers.nips.cc/paper_files/paper/2025/hash/a9a3c5df70368a2f8c3fd2ed12620203-Abstract-Conference.html.
Yifan Zhang and Math-AI Team. American invitational mathematics examination (AIME) 2025. Hugging Face dataset, 2025. URL https://huggingface.co/datasets/math-ai/aime25. Accessed: 2026-05-24.
Chujie Zheng, Shixuan Liu, Mingze Li, Xiong-Hui Chen, Bowen Yu, Chang Gao, Kai Dang, Yuqiong Liu, Rui Men, An Yang, Jingren Zhou, and Junyang Lin. Group sequence policy optimization. arXiv preprint arXiv:2507.18071, 2025. doi: 10.48550/arXiv.2507.18071. URL https://arxiv.org/abs/2507.18071.
Table of Contents
A Theoretical Analysis 15
A.1 Behavior-source invariance of the CBPO target 15
A.2 Finite-sample bias of the frozen prompt normalizer 15
A.3 Population consistency and regime-dependent approximation 18
A.4 From training-record error to the KL-regularized objective 19
A.5 Finite-reference target error and finite-record bounds 20
A.6 Source mixtures, fixed archives, and replay 22
A.7 Extension to truncated reference sampling 23
B Additional Experimental Setup 25
B.1 Training–Evaluation Decontamination 27
C Hyperparameters and Training-System Settings 29
D Additional Diagnostic Protocols 30
D.1 Heterogeneous Offline Sources 30
D.2 Prompt-level Reference Normalizer Diagnostics 31
D.3 Negative-Trajectory Count and Type 32
D.4 Replay-Sampling Comparisons 34
D.5 Which Historical Rollouts Remain Useful? 35
D.6 Checkpoint-wise Turning Along the Optimization Paths 36
D.7 Reward-Temperature Sensitivity 38
E Qualitative Examples 38
E.1 Objective Continuity 39
E.2 Historical Replay 53
APPENDIX
This appendix provides the theoretical analysis, complete algorithmic details, data and verifier specifications, training configurations, additional results, diagnostic protocols, and qualitative examples for the main paper.
A THEORETICAL ANALYSIS
A.1 BEHAVIOR-SOURCE INVARIANCE OF THE CBPO TARGET
For a stored record, let denote the behavior policy that produced its completion. After verifier scoring and reference preprocessing, the record contains
Its CBPO target and loss are
Neither expression contains . Consequently, two records with identical logged fields induce the same per-sample loss and gradient even if they were collected by different behavior policies. This is the precise sense in which CBPO uses one shared target across data sources. The buffer-sampling distribution determines the weight of each record in the aggregate objective.
A.2 FINITE-SAMPLE BIAS OF THE FROZEN PROMPT NORMALIZER
This section analyzes the finite-sample bias introduced by replacing the exact reference-policy partition function with its Monte-Carlo estimate in the CBPO residual. The analysis clarifies that the direct estimator of is unbiased, whereas the log-partition term is biased at finite sample size. Under the bounded-reward and bounded-length conditions used in our implementation, this bias is bounded and vanishes as the number of reference-policy samples used for partition estimation increases.
For a fixed prompt x, define
Let , where denotes the number of reference-policy samples used to estimate the prompt-level partition function. We denote this sample count by , so in all experimental descriptions. In the implementation-coupled runs, the same also sets the update onset through . The Monte-Carlo estimator is
Then
so the direct estimator of is unbiased. However, CBPO uses the log-partition estimate inside the regression target. Since the logarithm is concave, Jensen's inequality gives
Thus the log-partition estimate is generally downward biased at finite N.
Bias bound. Assume that, for the fixed prompt x, there exists a constant such that
Also assume
Then
We now bound the bias of . For compactness, write
By Taylor's theorem applied to around Z,
where lies between and . Since , we have and , hence . Taking expectation and using , we obtain
Therefore,
Since is unbiased,
Thus
Equivalently,
Hence the log-partition bias is and converges to zero as .
Gradient bias. We next translate the log-partition bias into a gradient-bias bound for the CBPO objective at a fixed parameter value , holding the collection distribution fixed. Assume that the gradient expectations are integrable and differentiation may be interchanged with expectation. Define the exact CBPO residual
and the Monte-Carlo residual
Let denote the regime-specific training-record distribution over completions for prompt at training iteration . Its support can include the applicable offline, reference, current, and historical records. The exact and Monte-Carlo prompt-conditional losses are
Because and are fixed during policy optimization,
Define the score-gradient term
Assume its first moment under the training-record distribution is finite, and define
Assume also that the partition-estimation samples used to construct are independent of the training record used in the loss. Then
and
Let
Then
Taking expectation over the partition-estimation randomness gives
Therefore,
Using Eq. (A.1),
The gradient bias induced by the Monte-Carlo log-partition estimate is bounded at finite N and vanishes as under the stated first-moment assumption.
Reusing reference-policy samples for both normalizer estimation and training introduces a covariance term. A leave-one-out partition estimate removes this dependence. When the replay sample is drawn from the same reference samples used to estimate , and if , Taylor expansion yields the bound
where is the exact reference-sampling gradient and is the empirical gradient using . Under bounded rewards and bounded score gradients, this dependence-induced term is also . Therefore, the same asymptotic conclusion holds.
For completeness, fix and write , , and for independent reference draws . Let and . Exchangeability gives . The same Taylor expansion as above yields
For , independence gives . The remaining linear term has norm at most . The remainder has norm at most , proving the stated bound. For , omitting from its own normalizer estimate makes that estimate independent of at fixed , which removes the covariance term and leaves the log-normalizer bias for samples.
Satisfaction of the assumptions in our setting. Our math RLVR verifier assigns rewards in . For any fixed ,
Thus , and the variance satisfies
For the default , the weight lies in . At fixed , finite per-completion score gradients and finite replay support ensure the first-moment condition on required by Eq. (A.2).
A.3 POPULATION CONSISTENCY AND REGIME-DEPENDENT APPROXIMATION
Setting and notation. Fix the reference policy, reward function, and from Eq. (1). Let be the prompt distribution in the KL-regularized objective. For clarity, prompts and completions are discrete, and is the completion support for prompt . Assume bounded rewards and normalized candidate policies that are positive on and zero outside it. These conditions make positive on the same support. All collection laws and archives are supported on pairs with . All expectations below are assumed finite. The policy class contains the shared-parameter policies being fitted, so a single specifies a distribution for every prompt. Define
(A.3)
For , equals the exact residual defined above.
A regime induces a joint population training-record distribution . It includes both prompt frequencies and completion frequencies, and its prompt marginal can differ from . For a finite archive of indexed records, the empirical distribution and exact population risk are
Duplicate completions remain distinct records in the sum. is the joint distribution induced by the uniform record-index sampler in Section 4.2. The distribution describes collection at the population level, whereas describes the records actually available for optimization. For adaptive collection, will be the average conditional collection law defined in Eq. (A.16).
KL objective-gap identity. The reward-tilted policy in Eq. (1) satisfies
To verify the identity, substitute into to obtain
At , the KL term is zero. Subtracting gives Eq. (A.5) and establishes the optimality of over all supported policies. This is the standard fixed-reference KL-regularized policy identity (Rafailov et al., 2023).
Proposition 1 (Population consistency). Suppose the normalizer is exact, , and
Then has minimum zero, and every global minimizer equals for -almost every prompt. Consequently, all regimes satisfying these assumptions share the same optimal policy on the objective prompt distribution. The statement also holds for a source mixture whenever its combined support satisfies Eq. (A.6).
Proof. Since , realizability gives . Nonnegativity of the squared loss implies that every minimizer has -almost surely. Condition (A.6) transfers this equality to every pair with positive . Thus throughout for -almost every . Both policies assign zero mass outside . For a mixture with nonnegative weights summing to one, its support is the union of the supports of sources with . The same argument therefore applies to the mixture.
Approximation under a restricted policy class. Without realizability, exact population regression selects a best -weighted fit, \inf_{\pi \in \Pi} \|\log \pi - \log \pi^\star\|_q_g. Changing changes these weights and can change the best fit. The following results quantify its effect on , together with finite records, estimated targets, and incomplete optimization.
A.4 FROM TRAINING-RECORD ERROR TO THE KL-REGULARIZED OBJECTIVE
Lemma 1 (Distribution-shift transfer). For any fitted policy , define its objective joint distribution . Assume on the relevant support for some . For any , let
Then
Here includes both uncovered pairs with and pairs whose objective-to-training density ratio exceeds .
Proof. By Eq. (A.5), the objective gap divided by equals . Split this expectation over and its complement, and bound it by the corresponding absolute expectations. Cauchy–Schwarz and on give
The complementary sum is at most . Multiplying by proves the claim. When everywhere, . Thus quantitative coverage controls error transfer, while support coverage alone gives the identifiability result in Proposition 1.
Error definitions. Write , which is above with . The fitted empirical risk is
Define four errors in root-mean-square units:
(A.10)
The first term measures the best approximation in the policy class under the regime’s training distribution. The second measures the frozen target error on the archive. The third measures population-to-archive sampling error uniformly over candidate policies. The fourth is the remaining empirical optimization error and is nonnegative for . If the achieved squared empirical loss is within of its infimum, then .
Lemma 2 (Regression error decomposition). For any finite archive and any fitted ,
This is a deterministic statement for the realized data, frozen estimates, and fitted policy.
Proof. For any , choose with . The definitions and the triangle inequality imply
Letting decrease to zero proves the result. The inequality uses no independence between the reference samples, the archive, and , so it also covers reuse of reference responses for training. The bound on follows from for .
Theorem 1 (Regime-dependent objective gap). Under the assumptions of Lemma 1 and the definitions in Eq. (A.10), for every ,
Proof. Apply Lemma 1 to and substitute Lemma 2. All quantities are evaluated for the same realized archive and regime distribution, so the substitution is valid even when collection is adaptive.
Equation (A.12) separates normalizer estimation, finite-record sampling, function approximation, and optimization. Distribution shift enters through the transfer factor C and residual coverage mass . The bound applies to the objective under the specified . Under exact targets, exact population optimization, and realizability, Proposition 1 gives equality with whenever its support condition holds. For finite data and a restricted class, Eq. (A.12) instead quantifies how the regime-specific fit can differ from this optimum.
A.5 FINITE-REFERENCE TARGET ERROR AND FINITE-RECORD BOUNDS
Proposition 2 (Normalizer mean-square and uniform bounds). For each fixed prompt, let and suppose . Construct from independent draws from the reference distribution defining . Then
For a fixed set of training prompts and any , define
With probability at least , . Consequently for any archive supported on these prompts, including an archive whose composition depends on the reference samples.
Proof. If , both normalizers equal , and the mean-square and uniform bounds hold with zero error. Assume . Both and lie in . The mean-value theorem gives
Taking squared expectations and using the variance of an independent sample mean proves Eq. (A.13). For the probability bound, the bounded-sample inequality (Hoeffding, 1963) gives
Set , so the per-prompt failure probability is at most . A union bound gives simultaneously for all with probability at least . For any positive , their logarithmic difference satisfies
Applying this identity with and , and using , yields
The deterministic inequality supplies the other term in . Since for , this logarithmic radius is no larger than and is strictly smaller when
. On the simultaneous event, every empirical weighting of these prompts has root-mean-square error at most . No independence across prompts or between the normalizer and replay archive is needed for this last implication. For the rewards used here, one may take and .
Equation (A.1) bounds the signed expectation of the log-normalizer error at order . Equation (A.13) controls its root-mean-square magnitude at order . The latter magnitude, rather than the signed expectation alone, is the target-error quantity entering Theorem 1.
Adaptive collection and policy-class complexity. Let denote the ith newly collected training record and the collection history through that record. The conditional law may depend on preceding policy updates, selected prompts, and earlier samples. For a fixed number of collected records, define
Here is the point mass at . is generally random and describes the average conditional collection law. For independent samples from a fixed distribution , it reduces to . Any collection-time acceptance rule is included in .
Assume a fixed policy class with for every and every pair in the declared domain. Let . For , suppose has a finite deterministic sup-norm -net with centers in and size . Thus every is within of one center at every pair in the domain. These assumptions can be realized by a compact parameter set with continuous positive sequence probabilities on a finite prompt set and bounded-length completion space.
Proposition 3 (Uniform error for adaptive records). For , define
With probability at least ,
For a finite policy class, one may instead take an exact net of size and set .
Proof. Fix a deterministic net center and write
Then , and has conditional mean zero. The conditional exponential-moment bound is
To see this, for any conditionally bounded variable , let . Its second derivative is the variance of under the exponentially tilted conditional law. That variance is at most , since any variable in has variance at most one quarter of the squared range. Integrating this bound twice from zero gives .
Iterated conditional expectation now yields
Markov’s inequality, optimized at , bounds the upper tail of by . Applying the same argument to the lower tail gives
Moreover, . A union bound over the net gives the first term in .
For any and a net center with ,
Replacing the center by in the empirical and conditional-law expectations therefore contributes at most . This proves the squared-risk bound. Applying proves the root-mean-square bound. For , both bounds hold trivially. The concentration is uniform over a fixed class, so the fitted policy may depend on all the collected records.
Corollary 1 (Finite-sample objective bound). Assume the conditions of Propositions 2 and 3, with all collected prompts in . Take , , and let be any fitted policy. With probability at least , for every ,
Proof. Proposition 2 bounds by the logarithmic radius in Eq. (A.14), uniformly over archive prompts. Proposition 3 bounds uniformly over . The two events hold jointly with the stated probability by a union bound, irrespective of dependence between them. Substitute both bounds into Theorem 1. In particular, using reference responses both to estimate the normalizer and as training records does not require sample splitting in this argument.
A.6 SOURCE MIXTURES, FIXED ARCHIVES, AND REPLAY
Regime distributions. At a chosen training checkpoint, partition eligible records into disjoint offline, reference, current-rollout, and historical-rollout groups. Denote their empirical distributions by and their record counts by . For a regime with eligible source set , uniform record replay induces
Zero-count groups are omitted. For CBPO-Offline, consists of offline and reference records. CBPO-OnPolicy uses only the latest rollout group. CBPO-OffPolicy uses reference, current, and historical rollout groups. CBPO-Unified uses all four groups. The reference samples used only for target construction in CBPO-OnPolicy are not part of its training mixture.
With corresponding population or conditional collection laws , define . The target is unchanged across these mixtures, but their approximation errors, finite-record errors, and coverage quantities in Theorem 1 can differ. For example, if one component satisfies and has weight , then implies . Thus a source can supply coverage, while its mixture weight controls the corresponding transfer factor. More explicitly, suppose a reference component has population law and mixture weight . Under and ,
Hence with and . This statement concerns the population reference component, with its finite archive handled by the sampling term. It applies to any regime retaining that component under the stated prompt-distribution condition. The relative performance of regimes depends on the complete bound, including approximation and optimization.
Combining fresh and fixed data. Let index the fresh-data groups. Suppose each such group obeys the collection conditions of Proposition 3 at a fixed group size . Fix and choose deterministic failure levels before collecting the fresh records such that
Let be the squared-risk bound for source at failure probability . For an offline archive treated as fixed, condition on that archive and set for this component, so its conditional squared-risk discrepancy is zero. Its finite support and reward composition still enter and . Then, with probability at least ,
Proof. On the simultaneous per-source events, every satisfies
The fixed-archive terms vanish by construction. Take square roots using the inequality from Lemma 2 and then the supremum over . A union bound gives simultaneous probability at least . The fixed archive introduces no additional concentration event. Substituting Eq. (A.22) for the sampling term in Theorem 1 gives the corresponding objective bound for a fixed offline archive combined with fresh reference and rollout records. Under the uniform normalizer conditions of Corollary 1, combining this event with the normalizer event gives joint probability at least , without requiring independence.
Collection counts and optimizer reuse. The sample counts in these concentration bounds count collected records, not repeated accesses to a replay file. A uniform minibatch drawn without replacement has expected loss equal to the archive mean because each record has the same inclusion probability. Drawing another minibatch therefore optimizes the same empirical risk. Repeated replay can reduce , whereas collecting new responses changes , the sampling term, and coverage. The adaptive argument applies at a fixed collection horizon with the stated conditional laws. For an archive formed by later data-dependent filtering, Theorem 1 still applies with its actual weights, and a probabilistic sampling bound must account for that selection rule. This separates the effect of collection and retention from the effect of optimizing a fixed archive.
A.7 EXTENSION TO TRUNCATED REFERENCE SAMPLING
Setting and error decomposition. Retain the original KL-regularized objective, reference log-probabilities, and optimal policy from Eq. (1). This extension considers reference collection with temperature 1.0 and top-p < 1. Let denote the completion distribution induced by the frozen reference model and its decoding configuration. Such truncation can induce a sampling distribution different from the original used for likelihood scoring. For a fixed prompt, assume on both supports, and define
In this extension, the frozen estimate is the same unweighted sample mean as in Eq. (2), but its independent responses are drawn from . Define its finite-sample error around the decoded sampling law by . The total normalizer error from Eq. (A.10) then satisfies the exact identity
The first term is finite-sample error, while the second is the difference between the normalizers of the decoded and original reference laws.
Bias and limit. Let . Then
Moreover, almost surely and in expectation as .
Proof. The sample mean has expectation and variance . Suppress and write . Taylor's theorem at gives
The linear term has zero mean, and the expected remainder lies between and zero. Adding proves Eq. (A.25). The strong law of large numbers and continuity of on give the almost-sure limit. Since , bounded convergence gives the expectation limit. Thus the signed total bias need not be negative, and increasing removes the finite-sample component.
A distributional bound on decoding bias. Define the completion-level total variation distance
Then
Proof. For , write with . The positive and negative parts of the signed measure each have total mass , hence . Therefore . For positive ,
Apply this identity with , , and . The last inequality follows from . If , both normalizers are identical and the bound is zero. Here compares complete-response distributions. A token-level top-p threshold does not set equal to .
Mean-square and uniform bounds. The finite-sample and total errors satisfy
For uniform bounds and a fixed set of prompts, define as in Eq. (A.14) and set , with independent decoded draws per prompt and failure probability . With probability at least , . For any archive supported on these prompts, this gives
The deterministic cap also holds.
Proof. The mean-value theorem on gives . Taking squared expectations proves the first inequality of Eq. (A.27). The second follows from Eq. (A.24) and the triangle inequality in over the reference draws. For the uniform bound, makes both error components zero. For , independent decoded draws obey
Set and take a union bound with per-prompt failure probability . Apply Eq. (A.15) to and , both bounded below by , to obtain
Both normalizers also lie in , giving the deterministic cap and hence the stated . On the resulting simultaneous event, every empirical weighting has . The triangle inequality and Eq. (A.26) prove Eq. (A.28). Since and also lie in , the cap applies to the total error. These implications require no independence across prompts or between the reference estimates and the archive. Thus the log-bias and root-mean-square rates apply to the finite-sample component around , while is separate.
Gradient effect at fixed parameters. Fix and a training-record law independent of the reference draws, with the integrability and differentiation conditions used in the preceding exact-reference analysis. Retain , , and from that analysis. Differentiating the squared residual and using Eq. (A.24) gives
The factorization follows from independence. Since , the Taylor bound yields
For reused reference responses , let , , and assume . Define
Exchangeability gives
In the Taylor expansion above, the linear terms satisfy for . The contribution to this gradient difference has norm at most . The quadratic remainder is bounded using and . Therefore
For , a leave-one-out normalizer removes the reuse covariance at fixed , while its expectation still contains .
Corollary 2 (Objective gap with reference decoding). Assume the uniform normalizer conditions above and the conditions of Lemma 1 and Proposition 3. Use the actual conditional collection laws, with and , and suppose all archive prompts lie in . For any fitted , with probability at least , for every ,
Proof. Theorem 1 is a pathwise bound for any frozen normalizer error and the stated collection law. On the simultaneous normalizer event, Eq. (A.28) bounds by . Proposition 3 bounds by . A union bound combines these events without requiring independence. Substitution in Theorem 1 gives Eq. (A.31). The additional decoding contribution is at most . For source mixtures and fixed offline archives satisfying the conditions in Appendix A.6, replace in Eq. (A.31) by
With the failure levels allocated as in Eq. (A.21), a union bound gives joint probability at least
When the reference prompts have marginal , the decoded reference component has law . Accordingly, the transfer factor and uncovered mass are evaluated for this actual component and the other eligible sources. The exact-reference coverage example in Appendix A.6 uses . For the decoded mixture, any zero-tail coverage claim requires the corresponding domination condition on its actual law. Decoding therefore enters the target through and can also affect coverage through . Setting makes and recovers the ideal reference-sampling bounds.
B ADDITIONAL EXPERIMENTAL SETUP
Artifact sources and offline-record preparation. RLVR-Math-16k draws from hiyouga/math12k and NuminaMath-1.5-RL-Verifiable (hiyouga, 2025; nlile, 2025). The fixed DPSK-CoT trajectories were generated by DeepSeek-R1-Distill-Qwen-32B (DeepSeek-AI, 2025). The teacher
Delivered prompt
Message 1 – system You are a math problem solver. For each problem, think through it step by step within <think> </think> tags, then provide your final answer using \boxed{}. Requirements: • Show your complete reasoning process inside <think> tags. • Provide your final answer inside \boxed{}. Example: User: If , what is x? Assistant: <think> ; ; </think> The answer is \boxed{5}.
Message 2 – user (row-specific math problem) What is the least positive integer greater than 1 that leaves a remainder of 1 when divided by each of 2, 3, 4, 5, 6, 7, 8 and 9? (At runtime the row-specific problem is substituted here. See Table B.1 for representative instances.)
Figure B.1: Two-message chat prompt with the system instruction and a row-specific math problem.
generates 32 candidates per prompt, and every retained prompt has at least three reward-1 candidates. The same maximum response length of 2,048 tokens was used for both DPSK-CoT trajectory generation and responses generated during training. The held-out evaluation artifacts named in the main paper follow the cited releases (Lightman et al., 2024; math-ai, 2025b; Lewkowycz et al., 2022; math-ai, 2025c;a; Zhang & Math-AI Team, 2025). Offline trajectories follow the preprocessing in Sec. 4.2. Each record retains its source and collection round for replay-age and source-composition diagnostics, but these fields do not enter the CBPO loss.
Prompt construction. The RLVR-Math-16k rows store a common system message followed by a row-specific user problem. The collection and evaluation code renders this message list with the Qwen tokenizer chat template using add_generation_prompt=True and passes enable_thinking=True when supported by the tokenizer. Fig. B.1 shows the full two-message prompt delivered to the model.
Concrete prompt instances. Table B.1 shows representative online-collection user messages and verifier targets from the RLVR-Math-16k training split. Math12k rows come from hiyouga/math12k. AMC/AIME and Olympiads rows come from nlile/NuminaMath-1.5-RL-Verifiable. At runtime, each user message is appended after the system message above, then rendered through the tokenizer chat template before generation.
Reward implementation. The intermediate 0.1 reward summarized in the main paper is a format component activated when a final \boxed{...} answer can be extracted. Verifier-confirmed equivalence to the normalized ground truth contributes the remaining 0.9. The format component is used only to encourage a parseable final answer.
Baseline and reproducibility details. The baseline groups and shared training controls follow Sec. 5.1. SFT uses the same positive offline trajectories as the corresponding CBPO configuration. For the off-policy baseline, TBRM uses n = 4 (Yuan et al., 2025). The implementations of DPO, PPO, DAPO, REINFORCE++, GSPO, and BRIDGE use verl 0.7.1. The shared actor learning rate, decoding settings, hardware, and training seeds are specified in Table C.1.
Offline DPO. The initial and reference policies, prompt set, optimizer-step budget, and evaluation protocol are matched to CBPO-Offline. We use the standard sigmoid DPO loss with coefficient , full-parameter optimization, and a frozen initial reference policy. Sequence log probabilities sum over response tokens, including the end-of-sequence token, with prompt tokens excluded. Pairing cycles through the smaller group until every response in the larger group has been paired. Prompts without both labels produce no preference pairs. Pairs that exceed the prompt or re-
Table B.1: Representative RLVR-Math-16k prompts with source provenance and verifier targets.
| Problem provenance | User message | Ground truth |
|---|---|---|
| Math12k | What is the least positive integer greater than 1 that leaves a remainder of 1 when divided by each of 2, 3, 4, 5, 6, 7, 8 and 9? | 2521 |
| Math12k | Find the remainder when is divided by . | 52 |
| AMC/AIME | The workers in a factory produce widgets and whoosits. For each product, production time is constant and identical for all workers, but not necessarily equal for the two products. In one hour, 100 workers can produce 300 widgets and 200 whoosits. In two hours, 60 workers can produce 240 widgets and 300 whoosits. In three hours, 50 workers can produce 150 widgets and m whoosits. Find m. | 450 |
| AMC/AIME | How many whole numbers between 1 and 1000 do not contain the digit 1? (A) 512, (B) 648, (C) 720, (D) 728, or (E) 800. | 728 |
| Olympiads | It is known that the difference between the variable quantities z and y is proportional to the quantity x, and the difference between the quantities x and z is proportional to the quantity y. The coefficient of proportionality is the same and is a positive integer k. A certain value of the quantity z is 5/3 times the difference of the corresponding values of x and y. Find the numerical value of the coefficient k. | 3 |
| Olympiads | Mr. and Mrs. Zeta want to name baby Zeta so that the first letters of the baby's first, middle, and last names are in alphabetical order and the letters are distinct. The number of possible names is (A) 276, (B) 300, (C) 552, (D) 600, or (E) 15600. | 300 |
sponse length limit are excluded as complete pairs. Each update uses 256 preference pairs. AdamW uses weight decay 0.1, a 10-step learning-rate warmup, and a gradient-norm limit of 1.0. Record reuse and token exposure are recorded separately from the optimizer-step budget.
On-policy baselines. PPO uses generalized advantage estimation with and a critic learning rate of . DAPO uses lower and upper clipping widths of 0.2 and 0.28, a dual-clipping coefficient of 10, and token-mean loss aggregation. Its soft overlength penalty uses a 1,024-token buffer and penalty factor 1.0. REINFORCE++ uses discounted returns with and batch-level normalization over valid response tokens, without a learned critic. Its token-level policy ratios use a symmetric clipping width of 0.2. GSPO uses sequence-level importance ratios with lower and upper clipping widths of and . Advantages are standardized within each prompt group, and the loss averages over tokens within a response and then over responses. These four baselines disable both reward-side and actor-loss KL penalties. Their actor optimizers use weight decay 0.1 and a 10-step learning-rate warmup.
Cooperative SFT/RL. BRIDGE (Chen et al., 2026) shares the initial student, training prompts, positive offline trajectories, current-policy generation budget, and student optimizer-step budget with CBPO-Unified at each model size. Our implementation follows its joint student, auxiliary RL model, and shared LoRA-teacher updates. The student and auxiliary model reuse the same student-generated rollouts. The supervised/RL mixing weight is 0.5. The student and auxiliary learning rates are , and the LoRA-teacher learning rate is . LoRA uses rank 16 and scaling parameter 16 on the query, key, value, output, gate, up, and down projections. The RL loss uses symmetric clipping width 0.2, KL coefficient , and entropy coefficient . The supervised loss is averaged over response tokens. AdamW uses zero weight decay and no warmup, with a gradient-norm limit of 1.0. CBPO-Unified additionally uses negative offline trajectories, reference-response training, and historical replay. The Qwen3-1.7B CBPO w/o History (PosCoT) configuration provides a comparison under matched data-source restrictions. Cost accounting includes reference preprocessing and scoring, rollout generation, and all parameter updates, including BRIDGE's auxiliary RL model and LoRA updates. Table B.2 reports the per-run GPU hours for both model sizes.
B.1 TRAINING-EVALUATION DECONTAMINATION
Both the online prompt pool and the question text associated with offline trajectories were screened against all four evaluation benchmarks. Confirmed overlapping training questions were excluded
Table B.2: Per-run training cost in GPU hours on two NVIDIA B200 GPUs.
| Regime | Methods | Qwen3-1.7B | Qwen3-8B |
|---|---|---|---|
| Offline | SFT | 102.23 | 413.92 |
| DPO | 106.69 | 430.28 | |
| CBPO-Offline | 105.94 | 421.76 | |
| On-policy | PPO | 232.84 | 901.36 |
| DAPO | 118.43 | 473.72 | |
| GSPO | 118.65 | 475.28 | |
| REINFORCE++ | 119.73 | 478.92 | |
| CBPO-OnPolicy | 113.20 | 432.80 | |
| Off-policy | TBRM | 117.05 | 448.20 |
| CBPO-OffPolicy | 117.51 | 466.04 | |
| Joint SFT/RL | BRIDGE | 143.24 | 514.16 |
| Unified | CBPO-Unified | 119.36 | 437.44 |
before reference sampling and current-policy rollout collection. The main results in Tables 1, 2, and 3 use the resulting training data.
Data scope. The decontamination checks compare training questions before filtering with questions from the four evaluation benchmarks. The unfiltered training prompt pool contains 16,268 distinct questions. The evaluation set contains 842 distinct questions, with 30 from AIME25, 272 from MinervaMath, 40 from AMC23, and 500 from MATH500. Screening uses question text and excludes shared system instructions and examples.
Matching rules. Exact matching compares the extracted text after stripping only leading and trailing whitespace. Mathematical-expression normalization applies Unicode NFKC normalization, removes invisible characters and whitespace, and standardizes equivalent LaTeX fraction commands, display delimiters, style wrappers, and inequality notation. Numerical values, variable case, and operator distinctions are retained. This step normalizes notation rather than testing arbitrary algebraic equivalence. Approximate matching uses character 3–5-gram TF-IDF over normalized question texts, with case preserved, sublinear term frequency, and a vocabulary capped at 250,000 features. Every evaluation question is compared with every training-question text, and pairs with cosine similarity at least 0.80 enter the candidate set.
Semantic retrieval uses the Sentence-BERT framework (Reimers & Gurevych, 2019) with the all-MiniLM-L6-v2 encoder to map question text to 384-dimensional embeddings. Long questions are split into chunks of at most 254 content tokens without truncating the remaining text. Attention-masked mean pooling and L2 normalization produce chunk embeddings, whose content-length-weighted average is normalized to obtain the question embedding. The semantic candidate threshold is a cosine similarity of 0.85. Both similarity thresholds are screening rules, with candidate equivalence assessed from the mathematical conditions and requested quantity. Codex-assisted content comparison distinguishes the same problem from a changed answer request, a shared setting with a different subquestion, and a different problem.
Screening results. Table B.3 reports candidate pairs and confirmed same-problem matches. Each pair consists of one evaluation question and one distinct training-question text. The four checks produce 151 distinct candidate pairs involving 97 evaluation questions and 149 training-question texts. Content comparison identifies 14 same-problem pairs involving 13 evaluation questions and 14 training-question texts. One evaluation question matches two differently worded training versions.
Two additional pairs use the same problem instance but change the requested answer or precision, involving two evaluation questions and two training-question texts. A further 15 pairs share concrete data or a diagram but ask different subquestions, involving eight evaluation questions and 15 training-question texts. The remaining 120 candidate pairs are different problems. Table B.4 sepa-
Table B.3: Training–evaluation overlap screening before decontamination. Counts are deduplicated within each row. Checks can retrieve the same pair or question, so their counts are not additive.
| Check | Candidate pairs | Candidate test questions | Same-problem pairs | Matched test questions |
|---|---|---|---|---|
| Exact-string matching | 0 | 0 | 0 | 0 |
| Mathematical-expression normalization | 1 | 1 | 1 | 1 |
| Approximate-text matching | 90 | 52 | 6 | 5 |
| Semantic-similarity retrieval | 106 | 77 | 13 | 12 |
| Deduplicated union | 151 | 97 | 14 | 13 |
rates these categories by evaluation group. All candidates belong to the MATH500 group, with no candidates retrieved for the other three groups under the stated rules and thresholds.
Table B.4: Evaluation questions matched to the unfiltered training prompt pool. Each category counts distinct evaluation questions. A question may occur in more than one category.
| Benchmark | Evaluation questions | Same problem | Changed answer request | Shared setting, different question |
|---|---|---|---|---|
| AIME25 | 30 | 0 | 0 | 0 |
| MinervaMath | 272 | 0 | 0 | 0 |
| AMC23 | 40 | 0 | 0 | 0 |
| MATH500 | 500 | 13 | 2 | 8 |
Data versions and retained counts. The 14 same-problem training questions are excluded, leaving 16,254 questions in the training prompt pool. The two changed-answer cases and the shared-setting cases are reported separately from this removal count. The complete evaluation set remains at 842 questions. Table B.5 summarizes the numbers of training and evaluation questions before and after filtering. The screening results include full candidate texts, comparison decisions, original prompt identifiers, and file line numbers.
Table B.5: Training and evaluation question counts before and after excluding same-problem training questions.
| Unit | Before filtering | Removed | Retained |
|---|---|---|---|
| Training-question texts | 16,268 | 14 | 16,254 |
| Evaluation questions | 842 | 0 | 842 |
C HYPERPARAMETERS AND TRAINING-SYSTEM SETTINGS
Table C.1 records the core Qwen3-1.7B CBPO configuration. The data-source restrictions that define CBPO-Offline, CBPO-OnPolicy, CBPO-OffPolicy, and CBPO-Unified follow the special forms specified in Sec. 4.3. The shared target, generation settings, and optimization budget remain aligned across the corresponding comparisons.
The response budgets use 16,254 retained prompts and four responses per prompt per epoch, with six reference-collection epochs and four current-policy epochs. This gives 24 reference responses and 16 current-policy responses per prompt, for a total of 40.
Table C.1: Core Qwen3-1.7B CBPO settings for data, generation, optimization, and hardware.
| Setting | Value |
|---|---|
| Method scope | Core Qwen3-1.7B CBPO configuration |
| Base and reference model | Qwen3-1.7B |
| Online prompt pool | Decontaminated RLVR-Math-16k, 16,254 prompts |
| Held-out evaluation | 842 prompts across AIME25, MinervaMath, AMC23, and MATH500 |
| Evaluation samples | 32 responses per prompt |
| Target prompt batch size | P = 512 |
| Responses per prompt | G = 4 |
| Replay minibatch size | Q = 2048 responses |
| Sequence batch size | 16 responses |
| Gradient-accumulation steps | 128 |
| Reference normalizer samples per prompt | |
| Reward-temperature coefficient | β = 0.2 |
| Actor learning rate | |
| Target optimizer-step budget | |
| Target prompt batches per epoch | |
| Total epochs | E = 10 |
| Replay updates per trainable iteration | M = 10 |
| Total response budget | 650,160 |
| Reference-response budget | 390,096 |
| Current-policy response budget | 260,064 |
| Reference sampling temperature | 1.0 |
| Reference sampling top-p | 1.0 |
| Training temperature | 1.0 |
| Training top-p | 0.95 |
| Maximum prompt length | 1024 |
| Maximum response length | 2048 |
| Hardware | Two NVIDIA B200 GPUs |
| Training seeds for Tables 1–3 | Five independent seeds |
| Training seed for other ablations and diagnostics | 42 |
D ADDITIONAL DIAGNOSTIC PROTOCOLS
D.1 HETEROGENEOUS OFFLINE SOURCES
We compare CBPO-Unified and BRIDGE on Qwen3-1.7B under four offline-source conditions to examine sensitivity to the behavior that generated the demonstrations. The three individual sources are DeepSeek-R1-Distill-Qwen-1.5B, DeepSeek-R1-Distill-Qwen-7B, and DeepSeek-R1-Distill-Qwen-32B (DeepSeek-AI, 2025). Table D.1 abbreviates them as R1-Qwen-1.5B, R1-Qwen-7B, and R1-Qwen-32B. Each teacher generates at most 256 candidate trajectories per prompt at temperature 1.0 and top-p = 0.95, with the response-length limit reported in Table C.1. We retain the common prompt set for which R1-Qwen-1.5B produces at least two positive trajectories within this budget excluding other prompts which retains 8,724 prompts for all conditions. For every retained prompt, CBPO-Unified uses two positive and one negative offline trajectory, whereas BRIDGE uses the same two positive trajectories. The mixed condition uses the union of the three teacher-specific datasets for each method.
Aggregate performance increases for both methods from R1-Qwen-1.5B through R1-Qwen-7B to R1-Qwen-32B, and the mixed condition gives the highest aggregate scores for each method. For CBPO-Unified, mixing the three sources improves avg@32/pass@32 by 2.18/9.15 points over R1-Qwen-1.5B and by 0.67/1.75 points over R1-Qwen-32B. CBPO-Unified outperforms BRIDGE under all four source conditions, with aggregate margins of 1.73–2.43 points in avg@32 and 4.61–5.81 points in pass@32. Under the mixed condition, these margins are 2.05/5.81 points.
Table D.1: Qwen3-1.7B performance under three individual teacher sources and the union of all three sources on the common retained prompt set. The mixed condition combines the complete teacher-specific datasets for each method.
| Source | Methods | AIME25 | MinervaMath | AMC23 | MATH500 | Avg. | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| avg@32 pass | @32 avg | @32 pass | @32 avg | @32 pass | @32 avg | @32 pass | @32 avg | @32 pass | @32 | ||
| R1-Qwen-1.5B | BRIDGE | 15.21 | 26.67 | 21.76 | 40.07 | 54.30 | 75.00 | 70.23 | 82.00 | 40.37 | 55.94 |
| CBPO-Unified | 18.33 | 33.33 | 23.43 | 41.18 | 58.13 | 82.50 | 71.31 | 85.20 | 42.80 | 60.55 | |
| R1-Qwen-7B | BRIDGE | 17.60 | 33.33 | 22.55 | 40.81 | 56.41 | 82.50 | 71.01 | 82.60 | 41.89 | 59.81 |
| CBPO-Unified | 19.90 | 43.33 | 23.95 | 41.54 | 58.98 | 87.50 | 72.05 | 86.20 | 43.72 | 64.64 | |
| R1-Qwen-32B | BRIDGE | 18.33 | 43.33 | 23.01 | 41.18 | 57.66 | 85.00 | 71.31 | 83.00 | 42.58 | 63.13 |
| CBPO-Unified | 20.42 | 50.00 | 24.21 | 41.91 | 59.84 | 92.50 | 72.79 | 87.40 | 44.31 | 67.95 | |
| Mixed | BRIDGE | 18.96 | 43.33 | 23.21 | 41.54 | 57.89 | 87.50 | 71.65 | 83.20 | 42.93 | 63.89 |
| CBPO-Unified | 21.98 | 53.33 | 24.54 | 42.65 | 60.39 | 95.00 | 73.01 | 87.80 | 44.98 | 69.70 | |
D.2 PROMPT-LEVEL REFERENCE NORMALIZER DIAGNOSTICS
The diagnostic examines how the frozen normalizer varies with the reference policy's empirical success on the 16,254 training prompts retained after decontamination. For a prompt , let be the number of reward-1 completions among the 24 responses used to construct its frozen normalizer. We group prompts by , combining reference banks with at most one correct response in the first group. Table D.2 reports the number and proportion of prompts in each group, together with the frequencies of reward-0 and reward-0.1 reference responses.
Table D.2: Reference-bank composition by reference success count. Reward frequencies are computed over the recorded reference responses in each group.
| Correct responses | Prompts | Proportion (%) | Reward 0 (%) | Reward 0.1 (%) |
|---|---|---|---|---|
| 0–1 | 5,963 | 36.69 | 77.30 | 20.33 |
| 2–5 | 3,157 | 19.42 | 63.56 | 22.98 |
| 6–11 | 937 | 5.76 | 52.19 | 13.06 |
| 12–23 | 3,110 | 19.13 | 17.38 | 1.94 |
| 24 | 3,087 | 18.99 | 0.00 | 0.00 |
The reference bank contains at most one correct response for 36.69% of the retained prompts, whereas 18.99% have 24 correct responses.
Confidence bounds for the reference normalizer. For this analysis, assume independent reference responses for a fixed prompt x, and let . With and , the weights take the three values . We use their exact trinomial sampling distribution to construct confidence limits by test inversion (Miratrix & Stark, 2009). Let denote the three reward probabilities, where . For , define and . The observed value of is . Allocating to each tail gives
Each probability is evaluated from the finite multinomial distribution, and the endpoints optimize over all reward-probability vectors consistent with the corresponding tail test. These are Buehler limits under sample-mean ordering (Lloyd & Kabaila, 2010). For this fixed ordering and tail allocation, the upper limit is the smallest nondecreasing valid one-sided upper limit, and the lower limit is the largest nondecreasing valid one-sided lower limit. The numerical endpoints are enclosed outward with absolute error at most . The resulting absolute log-error bound is
To see the coverage guarantee, each inclusive tail probability, evaluated under the true at the observed statistic, is at most with probability at most . By a union bound, with probability at least , lies between the limits in Eq. (D.1). Monotonicity of the logarithm then gives the stated bound. This guarantee is pointwise in and before grouping by observed reference success. The bound controls finite-sample error in estimating the reference normalizer . Using nested reference responses in collection order, Table D.3 summarizes across all 16,254 training prompts retained after decontamination, using the same reference-success groups as Table D.2. The bucket means and 90th percentiles summarize the computed bounds across prompts within each group. The overall mean weights the group means by the prompt counts in Table D.2.
Table D.3: Pointwise 95% exact trinomial bounds on absolute log-normalizer estimation error by reference-sample budget , under independent sampling from .
| Correct reference responses | Mean | 90th percentile | ||||||
|---|---|---|---|---|---|---|---|---|
| 0–1 | 3.9088 | 3.3017 | 2.9156 | 2.6821 | 4.0156 | 3.4453 | 3.0912 | 2.8242 |
| 2–5 | 2.6713 | 1.7165 | 1.3281 | 1.0938 | 4.0156 | 2.1142 | 1.6655 | 1.3406 |
| 6–11 | 1.6336 | 0.9610 | 0.7252 | 0.5992 | 2.5843 | 1.1732 | 0.8989 | 0.7624 |
| 12–23 | 0.7080 | 0.4044 | 0.3010 | 0.2564 | 1.1295 | 0.6222 | 0.4872 | 0.3940 |
| 24 | 0.4572 | 0.2288 | 0.1526 | 0.1282 | 0.4572 | 0.2288 | 0.1526 | 0.1282 |
| Overall | 2.2693 | 1.7209 | 1.4560 | 1.3044 | 4.0156 | 3.4453 | 3.0912 | 2.8242 |
The overall mean bound decreases from 2.2693 at to 1.7209 at , 1.4560 at , and 1.3044 at . At , the mean bound is 0.1526 for the all-correct reference group and 2.9156 for the group with at most one correct response, indicating substantially different estimation uncertainty across reference-success groups.
Policy improvement across reference-sample budgets. We relate the estimation bounds to learning gains for the four Qwen3-1.7B configurations with in Table 7 (Left). For each reference-success group , let denote the empirical correctness of the frozen reference policy and the final checkpoint's mean avg@32 score, both expressed on the [0, 1] scale. The group-level gain is percentage points. The five groups are defined by the 24-response reference bank, including prompts with no correct reference response. All four budgets use the same reference-policy baseline for each group, and the training-prompt diagnostic is reported separately from the four held-out benchmarks. Fig. D.1 displays the five curves on one set of axes. Comparing these curves with the corresponding rows of Table D.3 relates changes in estimation uncertainty to gains within each fixed difficulty group.
Across all five groups, increases over the four evaluated budgets, but the marginal improvement diminishes as grows. Increasing from 24 to 32 requires generating one third more reference responses per prompt, but yields only 0–1 additional avg@32 points in each group. These limited gains do not justify the additional generation cost in our setting, so we use . This choice is consistent with the empirical saturation observed in A*-PO, which uses reference responses per prompt and reports a MATH500 performance plateau around this budget (Brantley et al., 2025).
D.3 NEGATIVE-TRAJECTORY COUNT AND TYPE
Adding negatives to fixed positive demonstrations. The count comparison retains the same two positive offline trajectories per prompt and adds 0, 1, or 2 negative offline trajectories from nested subsets in generation order. Unlike the fixed-total composition sweep in Table 6, this comparison keeps the positive demonstrations unchanged. All configurations follow the CBPO-Unified protocol.

Figure D.1: Mean avg@32 gain over the reference-policy baseline at each reference-sample budget. The five curves correspond to difficulty groups defined by the number of correct responses in the 24-response reference bank.
Eligible records are sampled uniformly, as in Sec. 4.2. Table D.4 reports the four held-out benchmarks and their unweighted average. Moving from 0 to 1 negative improves aggregate avg@32/pass@32 by 1.40/2.03 points, whereas moving from 1 to 2 negatives lowers them by 0.45/1.70 points.
Table D.4: Negative-count comparison within CBPO-Unified with two fixed positive offline trajectories per prompt. All other data sources and training settings are held fixed.
| Negatives | AIME25 | MinervaMath | AMC23 | MATH500 | Avg. | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | |
| 0 | 19.38 | 46.67 | 23.23 | 41.18 | 58.91 | 92.50 | 71.11 | 86.40 | 43.16 | 66.69 |
| 1 | 20.63 | 50.00 | 24.47 | 42.28 | 60.16 | 95.00 | 72.99 | 87.60 | 44.56 | 68.72 |
| 2 | 20.10 | 46.67 | 24.21 | 41.91 | 59.69 | 92.50 | 72.45 | 87.00 | 44.11 | 67.02 |
Negative reward and response content. For every retained prompt, the candidate bank generated by the DeepSeek-R1-Distill-Qwen-32B teacher contains the two selected positive offline trajectories, sufficient negative offline trajectories with rewards 0 and 0.1, and negative responses from both content categories considered below. The no-negative reference uses only the same two positive offline trajectories as in Table 1. Both comparisons add the first negative candidate in generation order that satisfies the corresponding negative-type criterion. The reward comparison separates unparseable completions with reward 0 from parseable but incorrect completions with reward 0.1. The content comparison distinguishes near-correct derivations from clearly invalid reasoning by manual review. A near-correct response follows a largely valid derivation but contains a localized mathematical or final-answer error. A clearly invalid response contains unsupported or incoherent derivations that do not yield a valid solution. The within-comparison changes in aggregate performance quantify the effect of adding each negative type to the same positive data.
Relative to the shared no-negative reference, reward-0.1 negatives raise aggregate avg@32/pass@32 by 1.64/2.22 points, while reward-0 negatives change them by 0.03/-0.10 points. Near-correct negatives yield a 2.02/3.92-point gain, whereas clearly invalid negatives lower the two metrics by 0.52/4.03 points. The near-correct condition improves both metrics on all
Table D.5: Negative-type comparisons with training seed 42 and fixed positive demonstrations on the same 16,254 prompts. Both groups share the no-negative reference from Table D.4, and each negative condition uses one response per prompt.
| Negative type | AIME25 | MinervaMath | AMC23 | MATH500 | Avg. | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | |
| No negative | 19.38 | 46.67 | 23.23 | 41.18 | 58.91 | 92.50 | 71.11 | 86.40 | 43.16 | 66.69 |
| Reward 0 | 19.48 | 46.67 | 23.10 | 40.81 | 59.14 | 92.50 | 71.03 | 86.40 | 43.19 | 66.59 |
| Reward 0.1 | 20.94 | 50.00 | 24.76 | 42.65 | 60.39 | 95.00 | 73.11 | 88.00 | 44.80 | 68.91 |
| Clearly invalid | 18.85 | 40.00 | 22.87 | 40.44 | 58.52 | 85.00 | 70.33 | 85.20 | 42.64 | 62.66 |
| Near-correct | 21.35 | 53.33 | 24.89 | 43.01 | 60.86 | 97.50 | 73.62 | 88.60 | 45.18 | 70.61 |
four benchmarks, and the clearly invalid condition reduces both on all four. The benefit of adding a negative trajectory therefore depends on the selected response rather than negative count alone.
Composition of the training negatives. The single negative offline trajectory per prompt used by the CBPO-Unified configuration in Table 1 is jointly categorized by verifier reward and response content. Table D.6 reports each joint category as a percentage of the 16,254 selected negative trajectories.
Table D.6: Proportion (%) of selected negative offline trajectories by verifier reward and response-content category over the five training seeds of Table 1. Each seed contributes 16,254 negative trajectories.
| Verifier reward | Response content | |
|---|---|---|
| Clearly invalid | Near-correct | |
| 0 | 40.32 ± 0.07 | 19.35 ± 0.04 |
| 0.1 | 24.19 ± 0.05 | 16.13 ± 0.03 |
Across the five training seeds, the selected negatives include 35.48% near-correct responses and 40.32% reward-0.1 responses, with 16.13% in both categories. This mixed composition is consistent with the default one-negative configuration outperforming the no-negative reference while remaining below the all-near-correct condition in the seed-42 comparison.
D.4 REPLAY-SAMPLING COMPARISONS
Matched full-training protocol. The four Qwen3-1.7B CBPO-Unified runs share the same initialization and use the settings in Table C.1, varying only the replay-sampling rule. Current-policy rollouts generated during each run enter that run's evolving replay buffer under the common collection schedule. Record draws are without replacement within each minibatch, and each update draws again from the current buffer. Evaluation follows Sec. 5.1, with results reported in Table D.7.
Age-balanced sampling. This condition follows response-balanced sampling at each update, but allocates the rollout component as evenly as possible among age 1 (current-policy samples), ages 2–4, 5–16, and more than 16 policy-version intervals. Records are sampled uniformly within each age group. Age-group membership is recomputed from the current policy version at every update.
Source-balanced sampling. At each update, the minibatch is divided as evenly as possible among the nonempty groups comprising offline trajectories, reference responses, the latest rollout batch, and earlier rollouts. The group quotas differ by at most one record, and sampling is uniform within each group.
Prompt-balanced sampling. Each update first selects 2,048 distinct prompts uniformly, then draws one response uniformly from the archived records of each selected prompt. This gives every prompt the same expected training share.
Response-balanced sampling. The response-balanced baseline draws records uniformly from the current buffer, following Sec. 4.2. A prompt's expected training share is proportional to its number of eligible responses at that update.
Table D.7: Qwen3-1.7B replay-sampling comparisons across complete training runs with matched generation and optimizer-step budgets.
| Sampling rule | AIME25 | MinervaMath | AMC23 | MATH500 | Avg. | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | |
| Age-balanced | 20.52 | 50.00 | 24.31 | 42.28 | 60.23 | 95.00 | 72.91 | 87.40 | 44.49 | 68.67 |
| Source-balanced | 20.31 | 46.67 | 24.57 | 42.65 | 60.08 | 92.50 | 73.12 | 88.00 | 44.52 | 67.45 |
| Prompt-balanced | 20.42 | 50.00 | 24.51 | 42.28 | 60.16 | 95.00 | 72.94 | 87.60 | 44.51 | 68.72 |
| Response-balanced | 20.63 | 50.00 | 24.47 | 42.28 | 60.16 | 95.00 | 72.99 | 87.60 | 44.56 | 68.72 |
D.5 WHICH HISTORICAL ROLLOUTS REMAIN USEFUL?
Age and residual diagnostics. For each sampling condition, we log the historical rollout records selected at each optimizer step before applying the parameter update. For every replay record, we record the sampling-policy version, reward, current sequence log-probability and frozen target. After training, we aggregate these records using their age and residual level at the time of replay. The policy version advances once per optimizer step. Age 1 denotes current-policy samples. Historical replay comprises ages 2 and above. The regression residual is the current sequence log-probability minus the frozen target in Eq. (3). At each optimizer step, the median absolute pre-update residual among the historical records actually replayed in that update, pooled across all ages, defines the Low/High boundary. Low and High denote the lower and upper halves after sorting by absolute residual. Historical rollouts are grouped at ages 2–4, 5–16, and more than 16 policy-version intervals. This study changes the sampling population of each age group by separately selecting low or high residual records, and compares the performance gains with the age-balanced replay setting of CBPO-Unified. Table D.8 reports the sampled records' mean absolute residual, reward-1 proportion, and mean sequence log-probability together with benchmark performance for each sampling condition. The reward-1 proportion is computed within each listed age–residual group.
Table D.8: Replay statistics aggregated over training and benchmark performance by policy age and residual level. Age is measured in policy-version intervals at the time of replay.
| Age | Residual level | Residual Abs Avg. | Log prob Avg. | Reward-1 prop.(%) | AIME25 | MinervaMath | AMC23 | MATH500 | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | avg@32 | pass@32 | |||||
| 2–4 | Low | 1.53 | -181.75 | 86.57 | 20.42 | 50.00 | 24.15 | 41.91 | 60.16 | 95.00 | 72.75 | 87.00 |
| 2–4 | High | 7.06 | -266.46 | 20.19 | 20.63 | 50.00 | 24.41 | 42.28 | 60.16 | 95.00 | 73.00 | 87.60 |
| 5–16 | Low | 2.18 | -200.82 | 62.81 | 20.31 | 46.67 | 24.00 | 41.91 | 59.92 | 92.50 | 72.60 | 86.40 |
| 5–16 | High | 8.43 | -223.48 | 51.22 | 20.83 | 53.33 | 24.60 | 42.65 | 60.39 | 95.00 | 73.30 | 88.00 |
| >16 | Low | 4.24 | -239.89 | 38.23 | 20.10 | 46.67 | 23.49 | 41.54 | 59.38 | 90.00 | 72.00 | 86.00 |
| >16 | High | 10.50 | -203.64 | 74.64 | 21.04 | 53.33 | 24.90 | 43.01 | 61.02 | 97.50 | 73.70 | 88.60 |
Across all four benchmarks, avg@32 increases with replay age in High and decreases in Low, while pass@32 follows the same directions or remains unchanged. For rollouts older than 16 policy versions, High exceeds the age-balanced CBPO-Unified baseline in Table D.7 on both metrics for every benchmark, reaching unweighted four-benchmark means of 45.16/70.61 versus 44.49/68.67 (+0.67/+1.94 percentage points). Low falls below the baseline throughout, reaching 43.74/66.05 (-0.75/-2.62 points).
As residuals grow with age, the reward-1 share rises from 20.19% to 74.64% in High but falls from 86.57% to 38.23% in Low, consistent with greater forgetting of earlier correct responses. Under the squared loss in Eq. (4), larger absolute residuals produce stronger gradients with respect to sequence log-probability, helping explain why the youngest High subset slightly outperforms Low despite its smaller reward-1 share. The oldest High subset's less negative mean log-probability is partly explained by its larger share of short correct responses whose targets are also closer to zero, so proximity to zero does not imply a smaller target mismatch. These comparisons support using residuals to identify older responses that still provide useful corrective signals for countering forgetting.
D.6 CHECKPOINT-WISE TURNING ALONG THE OPTIMIZATION PATHS
The main paper summarizes the geometry of two distinct training trajectories. The SFT→DAPO path is formed by checkpoints saved in training order during the two-stage run, whereas the CBPO-Unified path is formed by the ordered checkpoints from the unified run. Thus, the two curves below describe the local geometry of two training methods rather than two measurements of a single trajectory.
Let be the position of checkpoint in the PC1–PC2 plane used for the trajectory visualization. For each method, the displacement ending at checkpoint is
At each interior checkpoint, the turning cosine is
The corresponding turning angle in degrees is
A local turn requires both an incoming and an outgoing segment, so the horizontal axis contains only the interior node indices 2–18. The left and right vertical axes in Fig. D.2 report and , respectively. A small (equivalently, close to one) indicates locally straight movement.

Figure D.2: Checkpoint-wise turning of CBPO-Unified and SFT→DAPO trajectories.
CBPO-Unified maintains small local turns through most of training. In contrast, SFT→DAPO exhibits larger turns across many nodes and a pronounced peak of approximately 107° at checkpoint 6, exactly where the objective changes from SFT to DAPO. This peak is the largest single contribution to the two-stage trajectory's cumulative turn. In the displayed two-dimensional paths, CBPO-Unified has smaller local turns, while the SFT→DAPO path has its largest turn at the stage boundary.
Additional PCA dimensions. Figures D.3 and D.4 show the trajectories with five and ten PCA components, respectively. Table 5 reports the path geometry for the 2-, 5-, and 10-component projections.

Figure D.3: Optimization trajectories with five PCA components.

Figure D.4: Optimization trajectories with ten PCA components.
Table D.9 tests whether layer scale materially affects the geometry of the SFT→DAPO and CBPO-Unified paths. For the normalized variant, the displacement of the model parameters in each layer from the base policy is divided by the Frobenius norm of that layer's parameters in the base policy. The scale for each layer is fixed across checkpoints and shared by both methods. Across 2, 5, and 10 PCA components, normalization changes L/D by at most 0.0060 and cumulative turning by at most 2.28°.
Table D.9: Layer-scale sensitivity of the checkpoint trajectories. Each block reports cumulative explained variance for raw and layer-normalized displacements, respectively.
| Method | Cumulative turn | |||
|---|---|---|---|---|
| Raw | Normalized | Raw | Normalized | |
| 2 components: 82.8744% / 82.8637% | ||||
| SFT→DAPO | 1.2207 | 1.2267 | ||
| CBPO-Unified | 1.0205 | 1.0214 | ||
| 5 components: 91.6378% / 91.6359% | ||||
| SFT→DAPO | 1.1923 | 1.1980 | ||
| CBPO-Unified | 1.0196 | 1.0223 | ||
| 10 components: 95.9950% / 95.9948% | ||||
| SFT→DAPO | 1.1942 | 1.1999 | ||
| CBPO-Unified | 1.0175 | 1.0191 | ||
Table D.10: SFT→CBPO-OnPolicy versus CBPO-Unified. Cumulative explained variance for raw displacements is 83.4765%, 92.8952%, and 96.2445% for 2, 5, and 10 PCA components, respectively.
| Method | PCA components | Cumulative turn | Avg. | ||
|---|---|---|---|---|---|
| avg@32 | pass@32 | ||||
| SFT→CBPO-OnPolicy | 2 | 1.1695 | 42.71 | 65.22 | |
| 5 | 1.1083 | ||||
| 10 | 1.0847 | ||||
| CBPO-Unified | 2 | 1.0205 | 44.56 | 68.72 | |
| 5 | 1.0196 | ||||
| 10 | 1.0175 | ||||
D.7 REWARD-TEMPERATURE SENSITIVITY
The CBPO-Unified study varies the reward-temperature coefficient used in the shared regression target. Table D.11 reports aggregate avg@32 and pass@32 for each value of . The default row reuses the seed-42 core CBPO-Unified run reported in Table 4.
Table D.11: CBPO-Unified reward-temperature sensitivity for .
| avg@32 | pass@32 | |
|---|---|---|
| 0.1 | 41.84 | 66.59 |
| 0.2 | 44.56 | 68.72 |
| 0.4 | 43.15 | 67.45 |
| 0.8 | 42.60 | 66.29 |
E QUALITATIVE EXAMPLES
We present two groups of matched-prompt examples illustrating objective continuity and historical replay. A reward of 1 means that the rule-based verifier extracted a boxed final answer matching the stored target. The original response content and formatting markers are preserved. Each response is accompanied by its training stage or collection round, response index, and prompt hash. The collection round specifies the sampling iteration. The response index distinguishes the completions sampled for the same prompt in that round. Response indices start at zero. The prompt hash is computed with SHA-1 from the complete input after applying the conversation template, allowing the same formatted prompt to be matched across collection rounds.
E.1 OBJECTIVE CONTINUITY
Each example compares a positive offline trajectory of SFT with the responses of the same prompt from the RL stage of the SFT→DAPO and a response from CBPO-Unified.
EXAMPLE 1: PASCAL'S TRIANGLE
Problem
In the row of Pascal's triangle that starts with 1 and then 10, what is the next number?
SFT end, response index 0.
Prompt hash: e468f6edb264ab48314fa410921c04ac2ed0f46f.
Offline trajectory (verifier reward 1)
<think> Okay, let's see. The user is asking about the next number in a row of Pascal's triangle that starts with 1 and then 10. Hmm, I need to recall how Pascal's triangle works. Each row starts and ends with 1, and each number in between is the sum of the two numbers directly above it. First, I should figure out which row they're referring to. The problem says the row starts with 1 and then 10. So, the first row is just 1. The second row is 1, 1. The third row is 1, 2, 1. The fourth row is 1, 3, 3, 1. Wait, but the user mentions a row that starts with 1 and then 10. So, maybe they're talking about a specific row where the first two numbers are 1 and 10. Wait, but in Pascal's triangle, each row is indexed starting from row 0. So row 0 is 1, row 1 is 1, 1, row 2 is 1, 2, 1, row 3 is 1, 3, 3, 1, and so on. But if the row starts with 1 and then 10, that would be a row where the second element is 10. Let me check. In row n, the elements are C(n, 0), C(n, 1), ..., C(n, n). So the second element is C(n, 1) = n. So if the second element is 10, then n must be 10. Therefore, the row is row 10. So the row would be 1, 10, ... and the next number would be C(10, 2) = 45. Wait, let me confirm. The first element is C(10, 0) = 1, the second is C(10, 1) = 10, the third is C(10, 2) = 45, and so on. So the next number after 10 is 45. But let me make sure I'm not mixing up the row numbers. If the row starts with 1 and then 10, that's row 10. So the numbers are 1, 10, 45, ... So the next number after 10 is 45. Alternatively, maybe the user is thinking of a different row. Let me check again. If the row starts with 1 and then 10, that's the second element. So the row is 1, 10, ... So the third element is C(10, 2) = 45. Therefore, the next number is 45. I think that's correct. So the answer should be 45. Let me just verify with a small example. For example, in row 3, which is 1, 3, 3, 1. The second element is 3, which is C(3,1) = 3. So yes, if the second element is n, then the row is row n. Therefore, if the second element is 10, the row is row 10, and the next element is C(10,2) = 45. Yep, that makes sense. So the answer is 45. </think> To determine the next number in the row of Pascal's triangle that starts with $1$ and then $10$, we begin by understanding how Pascal's triangle is structured.Each row in Pascal's triangle is defined by the binomial coefficients. Specifically, the -th row (starting from row 0) contains the coefficients for to . The second element in the row (i.e., ) is equal to .
Given that the row starts with and then , this means the second element is . Therefore, the row corresponds to . The next number in the row is the third element, which is .
Thus, the next number in the row is:
SFT→DAPO end, response index 0.
Prompt hash: e468f6edb264ab48314fa410921c04ac2ed0f46f.
Two-stage RL response (verifier reward 0.1)
<think>Okay, let's see. The user is asking about the next number in the row of Pascal's triangle that starts with 1 and then 10. Hmm, first I need to recall how Pascal's triangle works. Each row starts and ends with 1, and each number in between is the sum of the two numbers directly above it.
So, the first row is just 1. The second row is 1 and 1. The third row is 1, 2, 1. The fourth row is 1, 3, 3, 1. And so on. Now, the user mentioned a row that starts with 1 and then 10. Wait, so the row is 1, 10, ...? But in Pascal's triangle, each row is determined by the row number. For example, row 0 is 1, row 1 is 1, 1, row 2 is 1, 2, 1, row 3 is 1, 3, 3, 1, and so on.
So, if the row starts with 1 and then 10, that would be row 4? Let me check. Row 0: 1. Row 1: 1, 1. Row 2: 1, 2, 1. Row 3: 1, 3, 3, 1. Row 4: 1, 4, 6, 4, 1. Wait, so row 4 starts with 1, then 4, 6, 4, 1. So if the row starts with 1 and then 10, that would be row 5? Let me check row 5: 1, 5, 10, 10, 5, 1. Oh, right! So the row starts with 1, then 5, 10, 10, 5, 1. Therefore, the next number after 10 would be 5.
Wait, but the user said the row starts with 1 and then 10. So the first number is 1, then the second is 10. So that's row 5. The numbers in that row are 1, 5, 10, 10, 5, 1. So after 10, the next number is 5. So the answer should be 5.
But let me make sure I'm not mixing up the rows. Let's think again. The rows are numbered starting from 0. So row 0: 1. Row 1: 1, 1. Row 2: 1, 2, 1. Row 3: 1, 3, 3, 1. Row 4: 1, 4, 6, 4, 1. Row 5: 1, 5, 10, 10, 5, 1. So yes, row 5 starts with 1, then 5, 10, 10, 5, 1. So if the row starts with 1 and then 10, that's row 5. The next number after 10 is 5. Therefore, the answer is 5.
Alternatively, maybe the user is referring to a different row? But according to the standard Pascal's triangle, each row is determined by the row number. So if the row starts with 1 and then 10, that's row 5. So the next number is 5. So the answer is 5.
</think>To determine the next number in the row of Pascal's triangle that starts with 1 and then 10, we need to identify which row this corresponds to.
Understanding Pascal's Triangle Structure
Pascal's triangle is constructed such that:
- Each row starts and ends with 1*.
- Each number in between is the sum of the two numbers above it*.
The rows are numbered starting from row 0*. Here's how the first few rows look:
- Row 0: 1
- Row 1: 1, 1
- Row 2: 1, 2, 1
- Row 3: 1, 3, 3, 1
- Row 4: 1, 4, 6, 4, 1
- Row 5: 1, 5, 10, 10, 5, 1
Identifying the Row
The question states that the row starts with 1 and then 10. This matches Row 5:
- Row 5: 1, 5, 10, 10, 5, 1
So, the row in question is Row 5.
Finding the Next Number
In Row 5, the sequence is:
- 1, 5, 10, 10, 5, 1
The numbers are:
- 1 (first number)
- 5 (second number)
- 10 (third number)
- 10 (fourth number)
- 5 (fifth number)
- 1 (sixth number)
Since the row starts with 1 and then 10, the next number is the fifth number in the sequence, which is 5*.
Final Answer
SFT→DAPO end, response index 1.
Prompt hash: e468f6edb264ab48314fa410921c04ac2ed0f46f.
Two-stage RL response (verifier reward 0)
<think>Okay, let's see. The problem is asking for the next number in the row of Pascal's triangle that starts with 1 and then 10. Hmm, first, I need to recall how Pascal's triangle works. Each row starts and ends with 1, and each number in between is the sum of the two numbers directly above it.
So, the first row is just 1. The second row is 1 and 1. The third row is 1, 2, 1. The fourth row is 1, 3, 3, 1. And so on. Each row starts and ends with 1, and the numbers in between are combinations.
Wait, the question mentions a row that starts with 1 and then 10. So, the first number is 1, the second is 10. That must be the fifth row? Let me check. Let's list the rows:
Row 0: 1
Row 1: 1, 1
Row 2: 1, 2, 1
Row 3: 1, 3, 3, 1
Row 4: 1, 4, 6, 4, 1
Row 5: 1, 5, 10, 10, 5, 1
Row 6: 1, 6, 15, 20, 15, 6, 1
Wait, so row 5 is 1, 5, 10, 10, 5, 1. So the row that starts with 1 and then 10 is row 5. But the question says "the row of Pascal's triangle that starts with 1 and then 10". So, that would be row 5. But the next number after 10 would be 5? Wait, no, the row is 1, 5, 10, 10, 5, 1. So after the first 1 and then 5, the next number is 10. Wait, the question says "the row of Pascal's triangle that starts with 1 and then 10". Wait, that's not possible because the first number is 1, then the next number is 10. So maybe the row is row 5? Let me check again.
Wait, row 4 is 1, 4, 6, 4, 1. Row 5 is 1, 5, 10, 10, 5, 1. So the row that starts with 1 and then 10 is row 5. So the numbers are 1, 5, 10, 10, 5, 1. So the next number after 10 would be 5. But the question is asking for the next number in the row that starts with 1 and then 10. So the row is 1, 5, 10, 10, 5, 1. So after 10, the next number is 5. So the answer is 5. But wait, maybe the question is phrased differently. Let me check again.
Wait, the user says "the row of Pascal's triangle that starts with 1 and then 10". So the first number is 1, then the next number is 10. So that's the row where the second number is 10. So that would be row 5. So the numbers are 1, 5, 10, 10, 5, 1. So the next number after 10 would be 5. Therefore, the answer is 5. But let me confirm.
Alternatively, maybe the user is referring to the row where the numbers are 1, 10, ... but that would be row 5, but the first number is 1, then 10. Wait, row 5 is 1, 5, 10, 10, 5, 1. So the row that starts with 1 and then 10 is row 5. So the numbers are 1, 5, 10, 10, 5, 1. So the next number after 10 is 5. So the answer is 5. Therefore, the next number is 5.
Alternatively, maybe the user is thinking of the row where the numbers are 1, 10, ... but that would be row 5? Wait, no. Let's think about the rows again. The first row is row 0: 1. Row 1: 1, 1. Row 2: 1, 2, 1. Row 3: 1, 3, 3, 1. Row 4: 1, 4, 6, 4, 1. Row 5: 1, 5, 10, 10, 5, 1. So the row starting with 1 and then 10 is row 5. So the numbers are 1, 5, 10, 10, 5, 1. So after 10, the next number is 5. Therefore, the answer is 5.
But maybe the user is confused about the row. Let me check if there's another row. For example, if the row starts with 1 and then 10, that would be row 5. So the next number is 5. Therefore, the answer is 5. So I think the answer is 5.
Collection round 320, response index 3.
Prompt hash: e468f6edb264ab48314fa410921c04ac2ed0f46f.
CBPO-Unified response (verifier reward 1)
<think> Okay, let's see. The question is about Pascal's triangle. The row starts with 1 and then 10. I need to find the next number in that row. Hmm, Pascal's triangle is built such that each number is the sum of the two numbers directly above it. But first, I should figure out which row this is. Wait, Pascal's triangle starts with row 0. Row 0 is just [1]. Row 1 is [1, 1]. Row 2 is [1, 2, 1], and so on. So the row that starts with 1 and then 10... Let me think. The first row is [1], then the second row is [1, 1], third is [1, 2, 1], fourth is [1, 3, 3, 1], and so on. So if a row starts with 1 and then 10, that must be a higher row. Let me check the pattern. In row n, the numbers are combinations of n choose k, where k goes from 0 to n. So the first number is C(n, 0) = 1, the second is C(n, 1) = n, the third is C(n, 2) = n(n-1)/2, and so on. So if the row starts with 1 and then 10, that means the second number is 10. So C(n, 1) = 10. Therefore, n = 10. So the row is row 10. Now, the next number after 10 in that row would be the third number, which is C(10, 2). Let me calculate that. C(10, 2) is 10*9/2 = 45. So the next number after 10 is 45. Wait, but let me double-check. The row starts with 1, then 10, then the next number is the third number, which is 45. So the answer should be 45. Alternatively, maybe I should verify the row structure. Let me think. If the row is [1, 10, ...], then the third number is the middle one. For row 10, the numbers are 1, 10, 45, 120, etc. So yes, the next number after 10 is 45. Another way: in Pascal's triangle, each row is the coefficients of the binomial expansion. So row 10 would be the coefficients of (a + b)^10. The coefficients are 1, 10, 45, 120, etc. So the next number after 10 is indeed 45. Therefore, the answer is 45. </think> To determine the next number in the row of Pascal's triangle that starts with $1$ and then $10$, we need to identify which row this is and then find the corresponding number in that row. --- ## Step 1: Identify the Row In Pascal's triangle, each row is labeled by its index, starting from 0. The first row (row 0) is: $$ [1] $$ The second row (row 1) is: $$ [1, 1] $$ $$The third row (row 2) is:
And so on. The general form of the -th row is:
We are told the row starts with$1$and then$10$. That implies the second number is$10$, which corresponds to:\text{binom{n}{1}} = 10 \text{ Rightarrow } n = 10
So, the row is row 10 .
Step 2: Find the Next Number in the Row
The row is:
We already know the first two numbers are:
\text{binom{10}{2}} = \frac{10}{9} \text{dot } 9 \text{ } 2 = 45
Final Answer
\text{boxed{45}} $$EXAMPLE 2: MODE OF A STEM-AND-LEAF PLOT Problem The scores on a $110$-point test were organized in the stem-and-leaf plot shown. $9 | 6$ represents $96$ points. What is the mode of the scores? \begin{tabular}{c|lllllll} \multicolumn{2}{c}{\underline{Points on the Test}}\\ 5 & 0 & 0 & 6 & 3 & 7 & 7 & 8 & 8 & 2 & 6 & 7 & 9 & 9 & 9 & 9\\ 9 & 1 & 4 & 4 & 4 & 4 & 6 & & 10 & 0 & 0 & 0 & \end{tabular} SFT end, response index 1. Prompt hash: 157af75b5df58c00c4e0ebc10d935711cd14b63e. ## Offline trajectory (verifier reward 1) <think> Okay, let's try to figure out the mode of the scores from this stem-and-leaf plot. First, I need to understand how the stem-and-leaf plot is structured. The problem says that 9 | 6 represents 96 points. So, the stem is the first digit(s), and the leaf is the last digit. Looking at the table, the rows are for different points. Let me break down each row: 1. The first row is 5 | 0 0. So that would be 50 and 50. So two scores of 50. 2. Next, 6 | 3. So that's 63. So one score of 63. 3. Then 7 | 7 8. So 77 and 78. Two scores of 77 and 78. 4. The next row is 8 | 2 6 7 9 9 9 9. So that's 82, 86, 87, 89, 89, 89. So seven scores here: 82, 86, 87, and four 89s. 5. Then 9 | 1 4 4 4 6. So that's 91, 94, 94, 94, 96. Five scores here: 91, three 94s, and 96. 6. Finally, 10 | 0 0 0. So that's 100, 100, 100. Three scores of 100. Now, I need to list out all the scores to see which ones appear most frequently. Let me list them all: From row 5 (stem 5): 50, 50 Row 6 (stem 6): 63 Row 7 (stem 7): 77, 78 Row 8 (stem 8): 82, 86, 87, 89, 89, 89, 89 Row 9 (stem 9): 91, 94, 94, 94, 96 Row 10 (stem 10): 100, 100, 100 Now let's count the frequencies: - 50: 2 times - 63: 1 time - 77: 1 time - 78: 1 time - 82: 1 time - 86: 1 time - 87: 1 time - 89: 4 times - 91: 1 time - 94: 3 times - 96: 1 time - 100: 3 times Looking at these counts, the scores with the highest frequency are 89 (4 times), 100 (3 times), 94 (3 times), and 50 (2 times). Wait, but the question asks for the mode, which is the most frequently occurring score. So the mode here would be the score that appears the most. Looking at the counts: 89 appears 4 times, which is more than 3 (for 100, 94, 50). So the mode is 89. Wait, but let me double-check. Are there any other scores with the same highest frequency? 100 and 94 both have 3 times. But 89 has 4 times, so 89 is the mode. Therefore, the mode of the scores is 89. **Final Answer** The mode of the scores is \boxed{89}. </think> To determine the **mode** of the test scores from the given stem-and-leaf plot, we first need to understand the structure of the plot. The stem-and-leaf plot is organized such that each row represents a stem (the first digit or digits of the score) and the leaves (the last digit) represent the individual scores. From the table: - **Row 5 (stem 5):** 50, 50 → 2 scores - **Row 6 (stem 6):** 63 → 1 score - **Row 7 (stem 7):** 77, 78 → 2 scores - **Row 8 (stem 8):** 82, 86, 87, 89, 89, 89, 89 → 7 scores (1 of each, except 89 appears 4 times) - **Row 9 (stem 9):** 91, 94, 94, 94, 96 → 5 scores (3 of 94) - **Row 10 (stem 10):** 100, 100, 100 → 3 scores Now, we count the frequency of each score: - 50: 2 times - 63: 1 time - 77: 1 time - 78: 1 time - 82: 1 time - 86: 1 time - 87: 1 time - 89: 4 times - 91: 1 time - 94: 3 times - 96: 1 time - 100: 3 times The **mode** is the score that appears most frequently. Among the listed scores, **89** appears **4 times**, which is the highest frequency. Therefore, the mode of the scores is:$$ \text{boxed}\{89\}SFT→DAPO end, response index 0.
Prompt hash: 157af75b5df58c00c4e0ebc10d935711cd14b63e.
Two-stage RL response (verifier reward 0.1)
<think> Okay, let's try to figure out the mode of the test scores from the stem-and-leaf plot. First, I need to understand how the stem-and-leaf plot is structured. The problem says that 9 | 6 represents 96 points. So, the stems are the tens place and the leaves are the ones place. Let me start by breaking down each row of the plot. The first row is 5 | 0 0. That should be 50 and 50, right? So two scores of 50. Next row is 6 | 3. Since the stem is 6, the leaves are 3. So that's 63. But wait, the problem says that 9 | 6 is 96, so maybe the leaves are single digits. So, 6 | 3 would be 63. So that's one score of 63. Third row is 7 | 7 8. So stem 7, leaves 7 and 8. That would be 77 and 78. So two scores here: 77 and 78. endFourth row is 8 | 2 6 7 9 9 9 9. So stem 8, leaves 2, 6, 7, 9, 9, 9, 9. So that would be 82, 86, 87, 99, 99, 99, 99. So seven scores here: 82, 86, 87, and four 99s.
Fifth row is 9 | 1 4 4 4 6. Stem 9, leaves 1, 4, 4, 4, 6. So that's 91, 94, 94, 94, 96. So five scores: 91, 94, 94, 94, 96.
Sixth row is 10 | 0 0 0. Stem 10, leaves 0, 0, 0. So that's 100, 100, 100. Three scores of 100.
Now, let me list all the scores:
From 5: 50, 50
From 6: 63
From 7: 77, 78
From 8: 82, 86, 87, 99, 99, 99, 99
From 9: 91, 94, 94, 94, 96
From 10: 100, 100, 100
Now, to find the mode, which is the number that appears most frequently. Let me count each number:
50: 2 times
63: 1 time
77: 1 time
78: 1 time
82: 1 time
86: 1 time
87: 1 time
99: 4 times
91: 1 time
94: 3 times
96: 1 time
100: 3 times
So looking at the counts:
-
50: 2
-
63: 1
-
77: 1
-
78: 1
-
82: 1
-
86: 1
-
87: 1
-
99: 4
-
91: 1
-
94: 3
-
96: 1
-
100: 3
The highest frequency is 4 for 99, then 3 for 94 and 100, and 2 for 50. So the mode is 99. Wait, but let me check if there are any other numbers with the same frequency. The 94 and 100 both have 3, but 99 has 4, so 99 is the mode.
But let me double-check the counts. For 99, there are four instances: in the 8 row, there are four 99s. Then in the 9 row, there's a 96, but 99 isn't there. So yes, 99 appears four times. The 94 appears three times: in the 9 row, three 94s. And 100 appears three times. So 99 is the mode with the highest frequency.
Therefore, the mode is 99.
But wait, let me check again. The 8 row has 82, 86, 87, and then four 99s. So 99 is there four times. The 9 row has 91, 94, 94, 94, 96. So 94 is three times. And 100 is three times. So 99 is the only one with four. So yes, the mode is 99.
I think that's correct. So the answer should be \boxed{99}.
</think>To determine the mode of the test scores from the given stem-and-leaf plot, we first need to interpret the plot and extract the individual scores.
# Step 1: Interpreting the Stem-and-Leaf Plot
Each row in the stem-and-leaf plot represents a "stem" (the tens digit) and "leaves" (the ones digit). The example given is:
- 9 | 6 represents 96*.
So, the breakdown of the scores is:
- 5 | 0 0 → 50, 50
- 6 | 3 → 63
- 7 | 7 8 → 77, 78
- 8 | 2 6 7 9 9 9 → 82, 86, 87, 99, 99, 99, 99
- 9 | 1 4 4 4 6 → 91, 94, 94, 94, 96
- 10 | 0 0 0 → 100, 100, 100
# Step 2: Counting Frequency of Each Score
We now count how many times each score appears:
- 50: 2 times
- 63: 1 time
- 77: 1 time
- 78: 1 time
- 82: 1 time
- 86: 1 time
- 87: 1 time
- 99: 4 times
- 91: 1 time
- 94: 3 times
- 96: 1 time
- 100: 3 times
Step 3: Identifying the Mode
The mode is the number that appears most frequently. Among all the scores, 99 appears 4 times, which is the highest frequency. No other number appears more than 3 times.
Final Answer
SFT→DAPO end, response index 2.
Prompt hash: 157af75b5df58c00c4e0ebc10d935711cd14b63e.
Two-stage RL response (verifier reward 0)
<think> Okay, let's see. I need to find the mode of the scores from the stem-and-leaf plot. First, I should remember what a mode is. The mode is the number that appears most frequently in a data set. So, I need to look through all the scores and count how many times each number appears. The stem-and-leaf plot is given with different stems and leaves. Let me parse it step by step. Starting with the first row: 5 | 0 0. That means the stem is 5, and the leaves are 0 and 0. So the scores are 50 and 50. So there are two 50s here. Next row: 6 | 3. The stem is 6, and the leaf is 3. So that's one score: 63. Third row: 7 | 7 8. Stem 7, leaves 7 and 8. So scores are 77 and 78. Fourth row: 8 | 2 6 7 9 9 9 9. Stem 8, leaves 2, 6, 7, 9, 9, 9, 9. So the scores are 82, 86, 87, 99, 99, 99, 99. Wait, let me check that again. The leaves are 2, 6, 7, 9, 9, 9, 9. So that's 82, 86, 87, and then four 9s. So that's four 9s here. Fifth row: 9 | 1 4 4 4 6. Stem 9, leaves 1, 4, 4, 4, 6. So the scores are 91, 94, 94, 94, 96. So here, there are three 94s and one 91 and one 96. Sixth row: 10 | 0 0 0. Stem 10, leaves 0, 0, 0. So the scores are 100, 100, 100. Three 100s. Now, let me list all the scores: From 5: 50, 50 From 6: 63 From 7: 77, 78 From 8: 82, 86, 87, 99, 99, 99, 99 From 9: 91, 94, 94, 94, 96 From 10: 100, 100, 100Now, let me count each number's frequency:
50: 2
63: 1
77: 1
78: 1
82: 1
86: 1
87: 1
99: 4
91: 1
94: 3
96: 1
100: 3
So the counts are:
50: 2
63: 1
77: 1
78: 1
82: 1
86: 1
87: 1
99: 4
91: 1
94: 3
96: 1
100: 3
Now, the mode is the number with the highest count. Looking at these counts, 99 appears 4 times, which is the highest. Then 100 appears 3 times, 94 appears 3 times, and others have 1 or 2. So the mode is 99.
Wait, but let me double-check. Are there any other numbers with the same highest count? 99 is 4, 100 is 3, 94 is 3. So 99 is the only one with 4. So yes, the mode is 99.
But hold on, the problem says "the scores on a 110-point test". The maximum score is 100, but the stem-and-leaf plot includes up to 100. But the mode is 99, which is present four times. So that's the mode.
I think that's correct. Let me check again.
Yes, 99 appears four times, and no other number appears four times. So the mode is 99.
Collection round 320, response index 0.
Prompt hash: 157af75b5df58c00c4e0ebc10d935711cd14b63e.
CBPO-Unified response (verifier reward 1)
<think> Okay, let's see. I need to find the mode of the scores from the stem-and-leaf plot. First, I should remember what a mode is. The mode is the number that appears most frequently in a data set. So, I need to look at all the scores and count how many times each number appears. The stem-and-leaf plot is given with different stems and leaves. Let me parse it step by step. The first row is 5 | 0 0. So that would be 50 and 50. Then the next row is 6 | 3. So that's 63. Then 7 | 7 8, which is 77 and 78. Then 8 | 2 6 7 9 9 9 9. So that's 82, 86, 87, 89, 89, 89. Then 9 | 1 4 4 4 6. So 91, 94, 94, 94, 96. Finally, 10 | 0 0 0. So 100, 100, 100. Let me list out all the scores: From 5: 50, 50 From 6: 63 From 7: 77, 78 From 8: 82, 86, 87, 89, 89, 89, 89 From 9: 91, 94, 94, 94, 96 From 10: 100, 100, 100 Now, let's count each score's frequency. Starting with 50: appears twice. 63: once. 77: once. 78: once. 82: once. 86: once. 87: once. 89: four times (since there are four leaves: 89, 89, 89, 89). 91: once. 94: three times (since there are three leaves: 94, 94, 94). 96: once. 100: three times (since there are three leaves: 100, 100, 100). So now, let's list the counts:- 50: 2
- 63: 1
- 77: 1
- 78: 1
- 82: 1
- 86: 1
- 87: 1
- 89: 4
- 91: 1
- 94: 3
- 96: 1
- 100: 3
Looking at these counts, the highest frequency is 4, which is for the number 89. So the mode is 89.
Wait, but let me double-check. Are there any other numbers with the same frequency? Let me check again:
- 50: 2
- 63: 1
- 77: 1
- 78: 1
- 82: 1
- 86: 1
- 87: 1
- 89: 4
- 91: 1
- 94: 3
- 96: 1
- 100: 3
Yes, 89 is the only one with 4. So the mode is 89. Therefore, the answer should be 89.
Final Answer The mode of the scores is \boxed{89}. </think>
To determine the mode of the scores from the given stem-and-leaf plot, we first need to interpret the data correctly.
Step 1: Understand the Stem-and-Leaf Plot
The plot is organized as follows:
- 5 | 0 0 → 50, 50
- 6 | 3 → 63
- 7 | 7 8 → 77, 78
- 8 | 2 6 7 9 9 9 → 82, 86, 87, 89, 89, 89, 89
- 9 | 1 4 4 4 6 → 91, 94, 94, 94, 96
- 10 | 0 0 0 → 100, 100, 100
Step 2: List All the Scores
From the above, the scores are:
-
50, 50
-
63
-
77, 78
-
82, 86, 87, 89, 89, 89, 89
-
91, 94, 94, 94, 96
-
100, 100, 100
Step 3: Count the Frequency of Each Score
Now, let's count how many times each score appears:
| Score | Frequency |
|---|---|
| 50 | 2 |
| 63 | 1 |
| 77 | 1 |
| 78 | 1 |
| 82 | 1 |
| 86 | 1 |
| 87 | 1 |
| 89 | 4 |
| 91 | 1 |
| 94 | 3 |
| 96 | 1 |
| 100 | 3 |
Step 4: Identify the Mode
The mode is the score that appears most frequently. From the table above, the score 89 appears 4 times, which is the highest frequency.
Final Answer
E.2 HISTORICAL REPLAY
For each prompt, archived CBPO-Unified responses are displayed in increasing order of collection round.
EXAMPLE 1: SIBLING COUNTING
Problem
Harry has 3 sisters and 5 brothers. His sister Harriet has \text{B}brothers. What is the product of \text{B}$?
\ 8 \quad \text{B} } \ 10 \quad \text{C} } \ 12 \quad \text{D} } \ 15 \quad \text{E} } \ 18$
Collection round 92, response index 1.
Prompt hash: c52eaec86d2a58f85ae62c76bf34e560283c2ebc.
Model response (verifier reward 0)
<think>Okay, let me try to figure out this problem. So, Harry has 3 sisters and 5 brothers. Then his sister Harriet has S sisters and B brothers. We need to find the product of S and B. The options are given, so maybe I can figure out S and B first.
First, let's think about Harry's sisters. Harry has 3 sisters. But wait, are those sisters including Harriet? Because Harriet is his sister, so if Harry has 3 sisters, that includes Harriet. So, if Harry has 3 sisters, then Harriet is one of them. So, Harriet's sisters would be the other 2 sisters. So S, which is the number of sisters Harriet has, would be 2. Wait, but let me make sure.
Wait, the problem says Harry has 3 sisters. So, that's Harry's sisters. So, Harry's sisters are 3 in total. Since Harriet is one of them, then Harriet has 3 - 1 = 2 sisters. So S is 2. That seems right.
Now, for the brothers. Harry has 5 brothers. So, the number of brothers Harry has is 5. But Harriet is his sister, so she isn't counted as a brother. So, Harriet's brothers would be the same as Harry's brothers. So B is 5. Therefore, the product S * B is 2 * 5 = 10. So the answer should be 10, which is option B.
Wait, but let me check again. Let me think differently. Maybe I need to consider the number of siblings in general.
Harry has 3 sisters and 5 brothers. So, total siblings for Harry would be 3 sisters + 5 brothers = 8 siblings. But Harry is one of them, so total people in the family would be 8 + 1 = 9? Wait, no. Wait, Harry is a boy, and his sisters are girls. So, if Harry has 3 sisters, that's 3 girls. His brothers are 5, so 5 boys. So total people in the family would be 3 girls + 5 boys + Harry = 9 people. But Harry is a boy, so the total is 3 + 5 + 1 = 9. But maybe that's not necessary here.
Now, Harriet is Harry's sister. So Harriet is one of the 3 sisters. Therefore, Harriet has 2 sisters (since there are 3 sisters in total, and she's one of them). So S = 2. Then, Harriet's brothers would be the 5 brothers Harry has. Because Harriet is a girl, her brothers are the same as Harry's brothers. So B = 5. Therefore, S * B = 2 * 5 = 10. So the answer is B.
But let me check if there's any other way this could be interpreted. For example, if the problem was about Harriet's siblings, but maybe there's a different way to count. Suppose Harriet has S sisters. If Harriet is a girl, then her sisters are the other girls in the family. Since Harry has 3 sisters, that includes Harriet. So the number of sisters Harriet has is 3 - 1 = 2. So S = 2.
For brothers, Harriet is a girl, so her brothers are the boys in the family. Harry has 5 brothers, so Harriet has 5 brothers. Therefore, B = 5. So . So the answer is B.
Alternatively, maybe someone might think that Harriet's brothers are Harry's brothers minus someone else? But no, because Harriet is a sister, so her brothers are all the boys in the family. Since Harry has 5 brothers, that's all of them. So B is 5.
So yes, the product is 10. So the answer is B.
Collection round 199, response index 3.
Prompt hash: c52eaec86d2a58f85ae62c76bf34e560283c2ebc.
Model response (verifier reward 0.1)
<think>Okay, let's try to solve this problem step by step. So, the question is about Harry's sisters and brothers, and we need to find the product of the number of sisters Harriet has (S) and the number of brothers she has (B). The options are given, so maybe we can figure it out by reasoning through the relationships.
First, let's parse the information given. Harry has 3 sisters and 5 brothers. Wait, so Harry himself is a boy, right? Because he has sisters and brothers. So, if Harry has 3 sisters, that means there are 3 sisters in the family. And he has 5 brothers, which would mean there are 5 brothers in the family. But wait, Harry is one of those brothers, so the total number of boys in the family would be Harry plus his brothers. So, 5 brothers means there are 5 boys, including Harry. So, the total number of boys is 5, and the number of girls is 3. So, the family has 3 girls and 5 boys.
Now, the question is about Harriet. Harriet is one of Harry's sisters. So, Harriet is a girl. The problem says that Harriet has S sisters and B brothers. Let's think about that.
First, S is the number of sisters Harriet has. Since Harriet is a girl, her sisters would be all the other girls in the family. The total number of girls in the family is 3, so if Harriet is one of them, then the number of sisters she has is 3 - 1 = 2. Wait, because she's one sister, so the rest are her sisters. So S = 2.
Then, B is the number of brothers Harriet has. Harriet is a girl, so her brothers are all the boys in the family. The total number of boys is 5, so B = 5.
Therefore, the product S * B is . So, the answer should be 10, which is option B.
But let me double-check to make sure I didn't make a mistake. Let's verify again.
Harry has 3 sisters. So the total number of girls in the family is 3. Harriet is one of them, so she has 3 - 1 = 2 sisters. That seems right. Then, Harry has 5 brothers, so the total number of boys is 5. Harriet is a girl, so she has 5 brothers. That's correct. So S = 2 and B = 5. Multiplying them gives 10. So the answer is B.
Wait, but let me check if there's another way this could be interpreted. For example, is Harriet's number of brothers including Harry or not? But no, because Harry is a brother to Harriet. So if Harriet has brothers, they include Harry and all the other boys. Since there are 5 boys, including Harry, then Harriet has 5 brothers. So B is definitely 5. Therefore, the product is . Yep, that seems correct. So the answer should be B.
Another way to think about it: if Harry has 3 sisters, then each of his sisters is a girl, so Harriet is one of them. So her sisters are 3 - 1 = 2. Then, Harry has 5 brothers, so Harriet's brothers are 5. So SB = 25=10. Yep, that's the same result. So I think that's solid. The answer is B.
</think>To solve the problem, we begin by analyzing the information given:
Step 1: Determine the number of girls and boys in the family
-
Harry has 3 sisters. This means there are 3 girls in the family.
-
Harry has 5 brothers. Since Harry is a boy, this means there are 5 boys in the family.
So, the family has:
-
3 girls
-
5 boys
Step 2: Analyze Harriet's siblings
-
Harriet is one of Harry's sisters, so she is a girl.
-
Number of sisters Harriet has (S):
Since there are 3 girls in total and Harriet is one of them, the number of sisters Harriet has is .
- Number of brothers Harriet has (B):
Harriet is a girl, so her brothers are the 5 boys in the family. Thus, .
Step 3: Compute the product
Final Answer
Collection round 320, response index 2.
Prompt hash: c52eaec86d2a58f85ae62c76bf34e560283c2ebc.
Model response (verifier reward 1)
<think>Okay, let's try to solve this problem step by step. So, the question is about Harry's sisters and brothers, and we need to find the product of the number of sisters Harry has (S) and the number of brothers he has (B). The options are given, so maybe we can figure it out by reasoning through the information provided.
First, let's parse the information given. Harry has 3 sisters and 5 brothers. Wait, hold on. So, Harry is a boy, right? Because he has brothers. So, if Harry has 5 brothers, that means there are 5 boys who are his brothers. But then, how many sisters does Harry have? The problem says Harry has 3 sisters. But wait, sisters are female, so if Harry is a boy, his sisters would be the girls in his family. But the problem states that Harry has 3 sisters and 5 brothers. So, the sisters are part of his family, and the brothers are also part of his family.
But then, the question is about Harriet, who is Harry's sister. So, Harriet has S sisters and B brothers. Wait, but we need to figure out S and B for Harriet, then multiply them. Let me think.
First, let's figure out how many sisters Harry has. The problem says Harry has 3 sisters. So, that means there are 3 sisters in the family. But if Harry is a boy, then his sisters are the girls in the family. So, the total number of girls in the family is 3. Therefore, Harriet, being one of those sisters, would have 3 - 1 = 2 sisters? Wait, no. Wait, if Harry has 3 sisters, that means there are 3 sisters in total. So, if Harriet is one of them, then Harriet's sisters would be the other 2 sisters. So, S, which is the number of sisters Harriet has, would be 2? Because Harriet is a sister, so the number of sisters she has is total sisters minus 1 (herself). So, 3 sisters total, so Harriet has 3 - 1 = 2 sisters.
But wait, the problem says "Harriet has S sisters and B brothers." So, S is the number of sisters Harriet has. So, if there are 3 sisters in total, then Harriet has 2 sisters. So S = 2.
Now, what about B, the number of brothers Harriet has? Well, Harriet is a girl, so her brothers would be the boys in the family. Harry has 5 brothers. But wait, Harry is a boy, so the total number of boys in the family is 5 (Harry's brothers) plus himself? Wait, no. Wait, the problem says Harry has 5 brothers. So, that means Harry has 5 brothers, which would be other boys in the family. So, if Harry is a boy, then the total number of boys in the family is Harry plus his 5 brothers, which is 6 boys. Therefore, Harriet, being a girl, would have 6 brothers. So, B = 6.
Therefore, the product S * B is 2 * 6 = 12. So, the answer should be 12, which is option C. Let me check again to make sure I didn't make a mistake.
Wait, let me verify. Harry has 3 sisters and 5 brothers. So, total number of girls in the family is 3 (since Harry's sisters are the girls). So, Harriet is one of those 3 girls. Therefore, Harriet's sisters are 3 - 1 = 2. So S = 2.
For Harriet's brothers, since Harry has 5 brothers, and Harry is a boy, the total number of boys in the family is 5 (Harry's brothers) plus Harry himself, which is 6. Therefore, Harriet, being a girl, has 6 brothers. Therefore, B = 6. So, 2 * 6 = 12. That's option C.
But let me check if there's another way to approach this. Maybe considering the family members. Let's think about the family composition. If Harry has 3 sisters and 5 brothers, then the total number of siblings is 3 sisters + 5 brothers + Harry himself? Wait, no. Wait, Harry is a boy, so his brothers are the other boys. So, if Harry has 5 brothers, that means there are 5 boys besides Harry. So, total number of boys is 1 (Harry) + 5 (brothers) = 6. The number of girls is 3 (Harry's sisters). Therefore, the total family members are 6 boys + 3 girls = 9 people.
Now, Harriet is one of the girls. So, Harriet's sisters are the other 2 girls. Therefore, S = 2. Harriet's brothers are all the boys, which is 6. Therefore, B = 6. So, 2 * 6 = 12. Yep, same answer.
Alternatively, maybe someone might think that Harry's brothers are the same as Harriet's brothers. But since Harriet is a girl, her brothers are all the boys in the family. So, Harry's brothers are part of that. So, yes, B is 6.
Another way: If Harry has 3 sisters, then Harriet is one of them, so Harriet has 2 sisters. If Harry has 5 brothers, that's 5 boys, including himself? Wait, no. Wait, Harry is a boy, so his brothers are the other boys. So, if Harry has 5 brothers, that means there are 5 boys besides Harry. Therefore, total boys are 6. So Harriet, being a girl, has 6 brothers. Therefore, S = 2, B = 6. Product is 12. So, answer is C.
I think that's solid. The answer should be \boxed{C}. </think>
To solve the problem, we need to determine the product of the number of sisters Harriet has (SB$).
Step 1: Understand the Given Information
We are told:
- Harry has 3 sisters and 5 brothers.
From this, we can infer:
- Harry is a boy, so the brothers he has are other boys in the family.
- Harry's sisters are the girls in the family, and there are 3 of them.
Step 2: Determine the Number of Sisters Harriet Has (S$)
Harriet is one of Harry's sisters, so there are:
- 3 sisters in total (including Harriet).
- Therefore, Harriet has sisters.
So, .
Step 3: Determine the Number of Brothers Harriet Has ()
Harry has 5 brothers, which means there are 5 boys in the family other than Harry. Since Harry is a boy, the total number of boys in the family is:
Harriet is a girl, so she has:
So, .
Step 4: Compute the Product
Final Answer:
$
\boxed{12}
$
EXAMPLE 2: LADDER DISPLACEMENT
Problem
A foot ladder is placed against a vertical wall of a building. The foot of the ladder is feet from the base of the building. If the top of the ladder slips feet, then the foot of the ladder will slide:
Collection round 56, response index 1.
Prompt hash: 992358e39026bcc4a7c8f1de8030ec0e31de0f4d.
Model response (verifier reward 0)
<think>Okay, let me try to figure out this ladder problem. So, there's a 25-foot ladder leaning against a building. Initially, the foot of the ladder is 7 feet from the base of the building. Then, the top of the ladder slips down by 4 feet, and we need to find how far the foot of the ladder slides away from the building. The answer choices are given, so I need to calculate it step by step.
First, I remember that when you have a ladder against a wall, it forms a right triangle with the wall and the ground. The ladder is the hypotenuse of this triangle. Initially, the ladder is 25 feet long, the distance from the base of the building to the foot of the ladder is 7 feet, so that's one leg of the triangle. The height on the wall would be the other leg. Let me verify that with the Pythagorean theorem.
So, the initial setup is:
-
Hypotenuse (ladder) = 25 ft
-
One leg (distance from wall) = 7 ft
-
The other leg (height on the wall) = ?
Using Pythagoras: , where is the hypotenuse. So, . Calculating that:
ft
So, initially, the top of the ladder is 24 feet high. Then, the top slips 4 feet down. That means the new height is feet. Now, we need to find how far the foot of the ladder has slid. Let's call this new distance feet from the building. Now, the new triangle has hypotenuse 25 ft, one leg 20 ft, and the other leg ft. Again, using Pythagoras:
ft
So, the foot of the ladder slides 15 feet. Let me check the answer choices. Option B is 15 ft. That seems correct. But wait, let me make sure I didn't mix up any steps.
Initially, the ladder was 25 ft, 7 ft from the wall, so height was 24 ft. Then, the top slips 4 ft, so new height is 20 ft. Then, the foot of the ladder is x ft from the wall. So, the difference in the distance from the wall is 15 ft. That makes sense because the ladder's length remains the same, so the horizontal distance must change. The initial distance was 7 ft, and the new distance is 15 ft, so the difference is 15 - 7 = 8 ft? Wait, no. Wait, the problem says "the foot of the ladder will slide"--so if the initial distance was 7 ft and the new distance is 15 ft, then the foot has moved away from the building. So, the answer is 15 ft, which is option B.
But let me confirm again. Let me visualize the problem. Initially, the ladder is 25 ft, 7 ft from the wall, 24 ft up. Then, the top slips down 4 ft, so it's 20 ft up. Then, the foot of the ladder is now x ft from the wall. So, the horizontal distance is x, vertical is 20, hypotenuse 25. So x is . So yes, 15 ft. So the answer is B.
I don't see any mistakes in this reasoning. The key was to use the Pythagorean theorem twice, once initially and once after the slip. The answer is 15 ft, which is option B.
Collection round 224, response index 0.
Prompt hash: 992358e39026bcc4a7c8f1de8030ec0e31de0f4d.
Model response (verifier reward 0.1)
<think>Okay, let me try to figure out this ladder problem. So, there's a 25-foot ladder leaning against a building. Initially, the foot of the ladder is 7 feet away from the base of the building. Then, the top of the ladder slips down by 4 feet, and we need to find out how far the foot of the ladder slides away from the building. The answer choices are given, so maybe I can use some geometry here.
First, I remember that when a ladder leans against a wall, it forms a right triangle with the wall and the ground. The ladder is the hypotenuse of this triangle. Initially, the ladder is 25 feet long, the horizontal distance from the base of the building to the foot of the ladder is 7 feet, and the height on the wall is the other leg of the triangle.
So, using the Pythagorean theorem, I can find the initial height of the ladder on the wall. Let me write that down:
Let's denote the initial height as . Then,
Calculating that:
Subtract 49 from both sides:
Taking the square root of both sides:
feet
So, initially, the top of the ladder is 24 feet high. Then, the top slips 4 feet down. That means the new height is 24 - 4 = 20 feet.
Now, we need to find how far the foot of the ladder slides away from the building. Let's call this distance x. So, the new triangle has a hypotenuse of 25 feet, one leg of 20 feet (the new height), and the other leg x (the new horizontal distance). Again, using the Pythagorean theorem:
Calculating that:
Subtract 400 from both sides:
Taking the square root of both sides:
feet
So, the foot of the ladder slides 15 feet from the building. Looking at the answer choices, option B is 15 feet. Therefore, the answer should be B.
Wait, let me double-check. Initially, the foot was 7 feet, and after slipping, the foot is 15 feet. That seems like a big increase, but since the ladder is longer, maybe that's correct. Let me verify the calculations again.
First triangle: , which is . Correct. Then, after slipping, , which is also . Yep, that checks out. So, the answer is definitely B.
I think that's it. The key was to realize that the ladder's length remains constant, and by setting up the Pythagorean theorem for both positions, we can find the new distance. The answer is 15 feet, which is option B.
Final Answer
\boxed{B}
</think>To solve this problem, we analyze the situation using the Pythagorean theorem, as the ladder forms a right triangle with the wall and the ground.
Step 1: Initial Setup
We are given:
-
The length of the ladder (hypotenuse) = 25 feet
-
The horizontal distance from the base of the building to the foot of the ladder (one leg) = 7 feet
-
The height of the ladder on the wall (the other leg) is unknown, denoted as
Using the Pythagorean theorem:
So, the initial height of the ladder on the wall is 24 feet.
Step 2: After the Ladder Slips
The top of the ladder slips 4 feet down, so the new height becomes:
Now, we find the new horizontal distance from the base of the building to the foot of the ladder using the Pythagorean theorem again:
Conclusion
The foot of the ladder slides from an initial distance of 7 feet to a new distance of 15 feet. Thus, the correct answer is:
Collection round 320, response index 3. Prompt hash: 992358e39026bcc4a7c8f1de8030ec0e31de0f4d. Model response (verifier reward 1) <think> Okay, let's try to solve this ladder problem. So, there's a 25-foot ladder leaning against a building. Initially, the foot of the ladder is 7 feet away from the base of the building. Then, the top of the ladder slips down by 4 feet, and we need to find out how far the foot of the ladder slides away from the building. The answer choices are given, so maybe I can figure it out step by step. 62
First, I remember that this is a classic Pythagorean Theorem problem. The ladder, the wall, and the ground form a right triangle. Initially, the ladder is the hypotenuse (25 feet), the distance from the base of the building to the foot of the ladder is one leg (7 feet), and the height on the wall is the other leg. So, I can write the Pythagorean Theorem as:
Where is the initial height of the ladder on the wall. Let me calculate that.
, and . So,
Subtracting 49 from both sides:
Taking the square root of both sides:
feet. So, initially, the ladder is 24 feet high on the wall.
Now, the top of the ladder slips down by 4 feet. That means the new height is feet. Now, we need to find the new distance from the base of the building to the foot of the ladder, let's call it . Again, using the Pythagorean Theorem:
Calculating , and . So,
Subtracting 400 from both sides:
Taking the square root:
feet.
So, the foot of the ladder slides from 7 feet to 15 feet. Therefore, the answer should be 15 feet, which is option B.
Wait, let me check if I did that right. The initial distance was 7 feet, then after slipping, the distance increases. Since the ladder is still 25 feet, moving the top down 4 feet makes the base move out more. So, yes, 15 feet seems right. Let me confirm the calculations again.
Original height: 24 feet. Then, after slipping, it's 20 feet. Then, using Pythagoras, the new distance is . Yep, that's correct. So the foot of the ladder slides from 7 to 15 feet, so the answer is B. 15 feet.
I don't see any mistakes here. The key was to first find the initial height, then subtract the slip to get the new height, and then use the Pythagorean Theorem again to find the new distance. All steps check out. So the answer must be B.
</think>To solve this ladder problem, we begin by analyzing the situation using the Pythagorean Theorem, which applies to right triangles formed by the ladder, the wall, and the ground.
Step 1: Initial Setup
We are given:
- Length of the ladder (hypotenuse) = feet
- Distance from the base of the building to the foot of the ladder (one leg) = feet
- We are to find the initial height on the wall (other leg), denoted as .
Using the Pythagorean Theorem: h_1 = \sqrt{25^2 - 7^2} = \sqrt{625 - 49} = \sqrt{576} = 24
Step 2: After the Ladder Slips
The top of the ladder slips down by feet, so the new height on the wall is: h_2 = h_1 - 4 = 24 - 4 = 20 Now, we want to find the new distance from the base of the building to the foot of the ladder, using the same Pythagorean Theorem.
d^2 + 20^2 = 25^2 d^2 + 400 = 625 d^2 = 625 - 400 = 225 d = \sqrt{225} = 15
Step 3: Determine the Change in Distance
The foot of the ladder initially was feet from the building and now is feet away. Therefore, the foot slides: feet $ However, the question asks how far the foot slides, not the total distance from the original position. The answer choices are given, and we already know from the above calculation that the new distance is 15 feet from the building. So, the foot of the ladder slides 8 feet.