Manuscript Offprint
arXiv:2611.09872On the Reliability of Majority-Vote Pseudo-Labels in Test-Time Reinforcement Learning
Abstract
Test-time reinforcement learning (TTRL) adapts pretrained language models to unlabeled target-domain data using self-generated pseudo-labels, whose reliability remains poorly understood. We analyze majority-vote supervision for TTRL with online Direct Preference Optimization (DPO) and decompose its error into population-majority bias and prompt-dependent finite-rollout variation. Because population-majority bias is generally unidentifiable without external supervision, we focus on mitigating the downstream effects of finite-rollout variation. We propose Prompt-Conditional Distributionally Robust DPO (PC-Dr.DPO), which conditions within-prompt robust reweighting on observed vote reliability to make updates from sampling-sensitive prompts more conservative. We further introduce a cache-based mechanism to reduce self-supervised forgetting during online adaptation. Across six mathematical and knowledge-intensive reasoning benchmarks and five model backbones, PC-Dr.DPO matches or outperforms the strongest TTRL baseline in 24 of 30 settings.
1 Introduction
Large language models (LLMs) have achieved strong performance across reasoning, planning, and knowledge-intensive tasks through large-scale pretraining and post-training alignment (OpenAI 2026; Google 2026; DeepSeek-AI 2026; Moonshot AI 2026; Qwen Team 2026). However, conventional post-training is predominantly offline: model parameters are fixed before deployment and cannot adapt to shifts in the test-time input distribution. This limitation is especially important in new or specialized domains, where labeled adaptation data and reliable external verifiers may be unavailable. It motivates test-time learning methods that adapt LLMs using unlabeled target-domain inputs and signals generated by the model itself.
Test-time reinforcement learning. Test-time reinforcement learning (TTRL) adapts a model on unlabeled target-domain prompts using self-generated rewards (Zuo et al. 2025). Existing approaches construct such rewards from either certainty-based signals, including prediction entropy and self-certainty (Prabhudesai et al. 2025; Zhao et al. 2025), or ensemble-based signals, including majority-vote consistency and agreement across alternative views of an input (Zuo et al. 2025; Zhang et al. 2025; Wang et al. 2025). Although these methods can improve reasoning without ground-truth
labels, their success depends critically on the reliability of the resulting self-supervision.
Despite encouraging empirical results, this reliability remains incompletely understood. Prior work reports improvements even under imperfect or spurious rewards (Shao et al. 2025), whereas other studies highlight risks such as memorization and contamination (Wu et al. 2025b). Recent work further documents failure and collapse patterns in TTRL (He et al. 2026). Nevertheless, the lack of a formal framework characterizing when self-generated pseudo-labels are reliable limits the principled design of test-time adaptation algorithms.
In this work, we study majority-vote pseudo-labels for TTRL with online Direct Preference Optimization (DPO) (Rafailov et al. 2024; Pang et al. 2024; Ko et al. 2024). We identify two distinct sources of majority-vote error: (i) population-majority bias, which occurs when the behavior policy's population-modal answer is incorrect, and (ii) finite-rollout variation, which occurs when the sampled majority differs from the population mode. The former cannot generally be identified or corrected without external supervision. The latter instead reflects sampling sensitivity and varies across prompts according to how decisively the behavior policy favors its modal answer over competing answers.
This prompt-level heterogeneity is important for preference construction. Figure 1 shows the distribution of the observed modal-answer fraction for Qwen2.5-Math-1.5B-Instruct on AMC. Although some prompts produce nearly unanimous rollout groups, others exhibit highly fragmented answer distributions. For the latter prompts, the selected pseudo-label is more sensitive to the particular rollout sample and may change under resampling.
Existing noise-robust preference optimization methods typically employ either a shared dataset-level noise model or a globally normalized robust objective over preference pairs (Mitchell 2023; Wu et al. 2025a). Consequently, they do not explicitly adapt the strength of robustness to the prompt-dependent reliability induced by finite-rollout sampling during test-time adaptation.
Our approach: PC-Dr.DPO. To address this mismatch, we propose Prompt-Conditional Distributionally Robust DPO (PC-Dr.DPO). PC-Dr.DPO performs robust reweighting separately within each prompt's rollout group and adapts a prompt-specific robustness temperature using observed
Pseudo-label noise is heterogeneous across problems

Figure 1: Distribution of prompt-level modal-answer agreement for Qwen2.5-Math-1.5B-Instruct on the 83-problem AMC benchmark. For each prompt , we sample rollouts and compute the fraction producing the most frequent final answer. The broad distribution indicates substantial prompt-level heterogeneity: values near one correspond to nearly unanimous rollout groups, whereas smaller values indicate fragmented answer distributions that are more sensitive to resampling.
majority-vote reliability as a proxy for sampling sensitivity. For low-reliability prompts, the resulting reweighting emphasizes preference pairs already better satisfied by the current policy, yielding more conservative updates that mitigate the downstream optimization effects of finite-rollout errors. We further introduce a cache-based stabilization mechanism to reduce self-supervised forgetting during long-horizon online adaptation.
• We propose PC-Dr.DPO, which uses prompt-level vote reliability to adapt within-prompt robust reweighting and reduce the influence of sampling-sensitive pseudo-labels. We further introduce a cache-based mechanism to mitigate self-supervised forgetting.
• We evaluate PC-Dr.DPO across six mathematical and knowledge-intensive reasoning benchmarks and five model backbones, matching or outperforming the strongest TTRL baseline in 24 of 30 settings.
2 Preliminaries
We briefly review the learning setting and the preference-optimization objectives that our analysis and method build upon. We keep the discussion minimal and focus on the notation used throughout the paper.
Problem Setup and RLVR Objective
Let denote a large language model parameterized by , and let be a dataset of question-answer pairs . Given a prompt , the model generates a response trajectory autoregressively. We consider reasoning-style responses that contain intermediate steps (e.g., CoT (Wang et al. 2023)) and a final answer extracted by a deterministic function ans().
In the standard reinforcement learning with verifiable rewards (RLVR) setting (DeepSeek-AI 2025), we assume access to a verifier that compares the extracted answer with the ground-truth answer a, yielding the binary reward . Training with verifiable rewards is commonly formulated as KL-regularized policy optimization (Ouyang et al. 2022):
where is a reference policy (typically an SFT model) and controls the strength of the KL regularization. In practice, several methods have been proposed to optimize (1), including PPO (Schulman et al. 2017), RLOO (Ahmadian et al. 2024), REMAX (Li et al. 2024), REINFORCE++ (Hu et al. 2025), and, most prominently, the GRPO family algorithms (Shao et al. 2024; Yu et al. 2025; Zheng et al. 2025).
Test-time self-reward via majority voting. Unlike standard RLVR, the TTRL setting considered here assumes neither ground-truth answers nor an external verifier at adaptation time. Instead, the model constructs self-supervision from its own rollouts. For each prompt , the behavior policy samples independent responses with and forms the pseudo-label by majority voting over their extracted answers. This pseudo-label is used either to assign pseudo-rewards or to construct pseudo-preference pairs, treating matching rollouts as correct under the pseudo-label and the remaining rollouts as incorrect. Section 3 analyzes the reliability of this supervision under a DPO-style objective.
Direct Preference Optimization
Rather than performing explicit policy-gradient optimization, Direct Preference Optimization (DPO) (Rafailov et al. 2024) provides a supervised objective for optimizing the KL-regularized reward maximization problem using winner-loser preference pairs.
Let denote a dataset of preference tuples , where indicates that is preferred to under prompt . DPO minimizes
where the per-pair log-preference score is
and
Here, denotes the sigmoid function. We refer to as the DPO margin and to as the corresponding log-preference score.
Standard DPO operates on a fixed offline preference dataset. Online variants instead generate preference data iteratively from a behavior policy (Pang et al. 2024).
Distributionally Robust DPO
Dr.DPO (Wu et al. 2025a) applies KL-based distributionally robust reweighting to reduce the influence of pairs that are inconsistent with the current policy-relative preference ordering. Let denote a preference sample and let p be the empirical distribution over the preference dataset . Motivated by the dual form of a KL-constrained distributionally robust objective, Dr.DPO uses the fixed-temperature loss
where is the DPO log-preference score defined in Equation (3).
Define the current pairwise preference probability as
so that . The objective in Equation (5) induces the normalized exponential density ratio
and hence
The corresponding gradient is
Smaller values of produce a sharper exponential tilt toward pairs with larger current preference probabilities. The KL-DRO derivation and a detailed analysis of the effect of on the resulting gradient are provided in Appendix A.1.
3 Analysis of Majority-Vote Pseudo-Labels
We first analyze the reliability of majority-vote pseudo-labels in test-time reinforcement learning by separating two sources of error: population-majority bias, where the modal answer under the behavior policy is incorrect, and finite-rollout variation, where a sampled majority differs from that population mode.
Throughout this section, we condition on a fixed behavior policy and adopt an i.i.d. preference-pair abstraction. Each sample is independently constructed from m rollouts for a sampled prompt using majority-vote preference labeling. The analysis applies separately to each online update, with fixed to the rollout-generating policy at that update. Let denote the resulting distribution over preference samples.
Generalization under Approximate Preference Labels
Let be the preference-sample space and a class of pairwise predictors. For , let denote the latent true preference label, with corresponding to . Since the pair is ordered by the pseudo-labeling procedure, indicates whether the constructed ordering agrees with the true preference. We write .
For DPO, the predictor is instantiated by the policy-relative margin
where is the inverse-temperature parameter. The corresponding binary logistic loss is . Because the generalization result below requires a loss bounded in , we assume for every and , and define . This positive rescaling preserves empirical minimizers.
Let . The true population risk is defined using . Since is unavailable at test time, empirical optimization instead uses the pseudo-preference distribution :
(9)
where .
Define the induced loss class and its covering complexity by
(10)
Following Menon et al. (2021), denotes the uniform covering number of over samples of size n. For brevity, define the sample-dependent generalization term
where is the empirical variance of .
Theorem 1 (Approximate preference distillation). For any , with probability at least over , every satisfies
The second term in Equation (12) is the expected total-variation distance between the pseudo-preference and true conditional preference distributions. Unlike , this mismatch need not vanish as N increases and therefore contributes persistently to the bound when pseudo-label error is systematic. The complete proof is given in Appendix A.2.
Majority-Vote Error Decomposition
To expose the central mechanism, we consider a binary answer space and assume deterministic ground-truth preferences. For any pair with distinct final answers, the true preference distribution assigns probability one to the response whose extracted answer equals the ground-truth answer . Define the per-rollout correctness probability and the population-majority answer under the behavior policy by
(13)
In the binary setting, when , whereas the population majority is incorrect when . We assume that the rollout count is odd, so the sampled majority is unique, and adopt a fixed tie-breaking rule for the population boundary case .
Given rollouts , define the sampled-majority answer by
A response agreeing with is treated as the winner, whereas a response containing the alternative answer is treated as the loser. Thus, the pseudo-preference distribution assigns probability one to the constructed ordering, so .
Define the conditional majority-vote error probability by
Under the binary deterministic-preference abstraction, the expected total-variation term in Theorem 1 equals , as shown in Appendix A.3. Consequently, with the same probability , every satisfies
where the expectation is taken with respect to the prompt marginal induced by .
Population Bias and Finite-Rollout Variation
We now decompose the majority-vote error into population-majority bias and finite-rollout variation:
(17)
Proposition 1 (Exact majority-error decomposition). Under the binary-answer abstraction, for every prompt x,
(18)
Lemma 1 (Majority-vote concentration). For every prompt x with ,
Combining Proposition 1 and Lemma 1, for any ,
(20)
Corollary 1 (Generalization under majority-vote supervision). Suppose that almost surely, and let
Then
Consequently, with probability at least over , every satisfies
Proofs are provided in Appendix A.4–A.5.
Interpretation. For a fixed behavior policy, captures population-majority bias and does not decrease with the rollout count . By contrast, finite-rollout variation decays exponentially in . Increasing can therefore stabilize the sampled majority but cannot correct an incorrect population majority. Appendix C.1 empirically illustrates this distinction using Qwen2.5-Math-1.5B-Instruct on AMC with .
4 Our Method: Prompt-Conditional Dr.DPO
The preceding analysis separates majority-vote error into population-majority bias and finite-rollout variation under a simplified binary-answer abstraction. Without external supervision, the former is generally unidentifiable: an incorrect but decisive population majority may still appear highly reliable. We therefore focus on mitigating the downstream optimization effects of finite-rollout variation. Our method uses observed vote concentration as a proxy for sampling sensitivity and adjusts the strength of robust reweighting separately for each prompt.
Prompt-Conditional Robust Objective
Let denote the empirical distribution over preference samples . Standard Dr.DPO applies a globally normalized exponential tilt with a shared temperature across all preference pairs. To account for prompt-dependent reliability, we instead consider the conditional uncertainty set
This set keeps the prompt marginal fixed while permitting prompt-specific reweighting of the conditional pair distribution. Given the DPO score defined in Equation (3), the corresponding robust score is
Because , the inner optimization decomposes across prompts:
Applying KL-ball duality to each conditional problem gives
Let denote the prompt-specific dual temperature associated with the prescribed radius . Following the fixed-temperature formulation of Dr.DPO, we hold fixed during the policy update and omit the additive term , which is independent of . This yields the prompt-conditional score
The temperature controls the sharpness of the conditional exponential tilt. Smaller values concentrate weight on pairs with larger current DPO scores, whereas larger values produce weights closer to uniform within the prompt group.
Finite-sample objective. At adaptation step , rollouts are sampled from , which also serves as the reference policy: . For each prompt , let
denote the resulting preference pairs. The prompt-conditional objective is
Unlike standard Dr.DPO, which normalizes globally over preference pairs, Equation (27) normalizes within each prompt group. Let
The induced weights and gradient are
As , the objective approaches and the weights concentrate on the highest-scoring pairs; as , the weights become uniform over .
Reliability-Conditioned Temperature
For each prompt , let , and let denote the sampled modal-answer. We define
The modal-answer fraction does not determine whether the resulting pseudo-label is correct. Instead, it serves as an observable proxy for finite-rollout stability.
We set
Thus, weaker observed majorities receive smaller temperatures and sharper within-prompt reweighting, whereas stronger majorities receive smoother weights closer to uniform averaging. The temperature is computed from the rollout group and held fixed during policy differentiation.
Proposition 2 (Effect of prompt-conditional temperature). Fix and a prompt group . Let and define
Then is nondecreasing in . Moreover, if for all , then
Consequently, with the current pairwise scores held fixed, decreasing decreases this upper bound on the prompt-level update magnitude.
The proof is provided in Appendix A.1. Intuitively, a smaller temperature places greater weight on pairs with larger , for which the residual factors are smaller. This moderates the gradient-norm upper bound for prompts whose sampled majorities appear less stable.
Cache-Based Stabilization Against Self-Forgetting
Some prompts become degenerate during online adaptation: all sampled rollouts produce the same final answer, so no valid winner–loser pair can be constructed and . We exclude such prompts from the preference update.
When a prompt first becomes degenerate, we cache its rollout completions, denoted by . Because all cached completions share the same final answer, we denote this answer by . If the prompt is encountered again and its new sampled-majority answer disagrees with , we discard the newly generated pseudo-preference pairs and instead apply the cache loss
This replay-style safeguard discourages a later conflicting pseudo-label from overwriting previously stable self-supervision.
Overall Objective and Update Rule
For a mini-batch of prompts , let denote the prompts that trigger the cache rule, and define
The complete update objective is
(35) where controls the relative weight of the cache loss. (When , the second term is omitted.)
At each adaptation step, we perform one or more gradient updates on Equation (35) and set the resulting policy as . Using keeps each DPO update local to the behavior policy that generated the corresponding rollout data.
Trajectory-score-based answer selection. Majority voting over discrete answers ignores within-answer heterogeneity. To incorporate the model's internal preference signal, we compute an implicit DPO score for each rollout using successive-policy likelihood ratios. At update step , we treat as a lagged reference and define
We aggregate these scores by extracted final answer and select , with ties resolved by a fixed rule. Rollouts producing the selected answer are treated as winners, whereas those producing other answers are treated as losers when constructing . Frequency-based majority voting is recovered by assigning every trajectory unit score. At the first adaptation step, when is unavailable, we use frequency-based selection. This rule affects only preference construction and leaves Equation (35) unchanged.
Algorithm 1 PC-Dr.DPO (Test-Time Adaptation)
Require: Initial policy ; rollout size ; base temperature ; cache weight .
1: Initialize cache .
2: for do
3: Sample mini-batch of prompts .
4: for all do
5: Sample rollouts .
6: Determine the sampled pseudo-answer .
7: Construct pair set from winners vs. losers.
8: Compute majority fraction and set .
9: if (degenerate) then
10: Cache unique rollouts for (if not already cached).
11: end if
12: end for
13: Optimize by minimizing (35).
14: end for
15: return Adapted policy .
5 Experimental Setup
Models. We evaluate PC-Dr.DPO across multiple architectures and model scales, including Qwen2.5-1.5B/3B/7B-Instruct and Qwen2.5-Math-1.5B-Instruct (Qwen Team 2025). We also evaluate Llama-3.2-3B-Instruct (Meta AI 2024) to assess whether the method generalizes across model families. We use instruction-tuned variants throughout to avoid chat-template mismatches under distribution shift, ensuring that performance differences primarily reflect test-time adaptation rather than formatting artifacts.
Table 1: Test-time adaptation accuracy (%) under Avg@32 evaluation. The best result among adaptation methods is bolded. * denotes training collapse.
| Method | Math Reasoning | Knowledge Reasoning | ||||
|---|---|---|---|---|---|---|
| A24 | A25 | AMC | M500 | GPQA-D | MMLU-M | |
| Qwen2.5-1.5B-Instruct | ||||||
| Base | 2.9 | 0.8 | 22.0 | 50.7 | 24.1 | 39.5 |
| RENT | 0.0 | * | 19.2 | 55.7 | * | 5.2 |
| TTRL | 3.3 | * | 33.6 | 62.3 | 23.5 | 10.9 |
| Co-Reward | 3.3 | * | 31.4 | 59.6 | 23.3 | 10.8 |
| PC-Dr.DPO | 3.3 | * | 32.3 | 62.9 | 28.8 | 45.3 |
| Qwen2.5-3B-Instruct | ||||||
| Base | 6.9 | 2.4 | 34.3 | 63.5 | 29.6 | 53.6 |
| RENT | * | * | * | 56.5 | 7.8 | 46.4 |
| TTRL | 16.7 | 3.3 | 44.8 | 70.9 | 28.8 | 46.0 |
| Co-Reward | 13.1 | 3.3 | 41.0 | 69.6 | 28.8 | * |
| PC-Dr.DPO | 13.3 | 3.3 | 45.8 | 73.3 | 28.8 | 64.7 |
| Qwen2.5-7B-Instruct | ||||||
| Base | 12.2 | 6.1 | 43.1 | 74.0 | 34.3 | 72.4 |
| RENT | 10.0 | 16.7 | 47.6 | * | 33.5 | * |
| TTRL | 20.0 | 17.4 | 52.7 | 79.5 | 36.9 | 76.1 |
| Co-Reward | 16.7 | 13.3 | 47.0 | 75.2 | 31.8 | 73.7 |
| PC-Dr.DPO | 20.0 | 13.3 | 53.0 | 80.3 | 35.8 | 77.2 |
| Qwen2.5-Math-1.5B-Instruct | ||||||
| Base | 11.1 | 8.0 | 46.8 | 73.2 | 25.8 | 55.2 |
| RENT | 15.8 | 11.5 | 48.6 | 64.8 | 25.0 | 60.8 |
| TTRL | 19.1 | 15.2 | 53.7 | 77.9 | 28.4 | 65.9 |
| Co-Reward | 17.9 | 10.0 | 49.1 | 76.9 | 27.7 | 71.0 |
| PC-Dr.DPO | 23.5 | 13.3 | 55.9 | 78.2 | 29.5 | 69.2 |
| Llama-3.2-3B-Instruct | ||||||
| Base | 7.4 | 0.3 | 18.5 | 40.3 | 26.4 | 43.5 |
| RENT | * | * | * | * | 16.2 | 15.4 |
| TTRL | 13.3 | * | 29.9 | 57.4 | 27.9 | * |
| Co-Reward | 11.0 | * | 28.9 | 49.3 | 26.8 | 35.8 |
| PC-Dr.DPO | 16.7 | * | 34.6 | 58.4 | 28.0 | 45.8 |
Benchmarks. We compare PC-Dr.DPO with three TTRL baselines: the certainty-based method RENT (Prabhudesai et al. 2025) and the ensemble-based methods TTRL and Co-Reward (Zuo et al. 2025; Zhang et al. 2025). Evaluation covers four mathematical-reasoning benchmarks—AIME24, AIME25, AMC23, and MATH500 (Hendrycks et al. 2021)—and two knowledge-intensive reasoning benchmarks, GPQA-Diamond (Rein et al. 2023) and MMLU-Pro (Wang et al. 2024). Due to computational constraints, we evaluate MMLU-Pro on its mathematics subset, which contains 1,351 examples.
Test-time adaptation is performed on the full evaluation set, or on the official test split when available. All methods use the same fixed adaptation budget for each benchmark, and we report accuracy at the final checkpoint rather than selecting the best intermediate checkpoint. This protocol avoids favoring methods that improve early but subsequently collapse, reflecting the practical setting in which the onset of degradation is not known in advance.
Implementation details. We implement PC-Dr.DPO in the veRL framework (Sheng et al. 2025) and run all experiments on a single node with eight NVIDIA H100 GPUs. We use Adam with a constant learning rate of . For PC-Dr.DPO, we sample rollouts per prompt and construct eight preference pairs for each policy update. For TTRL and Co-Reward, we likewise sample 32 rollouts per prompt and downsample them to eight training examples. For RENT, we directly sample eight rollouts per prompt. This keeps the number of examples entering each policy update consistent across methods. Rollouts are generated with temperature and nucleus-sampling parameter . Additional hyperparameter settings are provided in Appendix B.1.

Figure 2: Adaptation dynamics of Qwen2.5-Math-1.5B-Instruct on the AMC benchmark. Left: fraction of problems in the initial majority-vote-solvable set that are recovered by the adapted policy. Middle: difference between the number of problems solved by the current policy and the initial majority-vote reference; the dashed line at zero denotes full recovery. Right: decomposition of the currently solved problems into those recovered from the initial majority-vote-solvable set and newly discovered solutions. The policy progressively recovers most initially available solutions while occasionally solving problems outside the initial set.
Main Results
Table 1 reports test-time adaptation accuracy under Avg@32 evaluation. Avg@32 denotes the mean correctness over 32 sampled rollouts generated with temperature and top-p = 0.9. Results marked with * indicate adaptation runs that collapsed before the final checkpoint; representative failure cases are provided in Appendix C.2.
Across 24 of the 30 model-benchmark combinations, PC-Dr.DPO matches or outperforms the strongest TTRL baseline. These results demonstrate the benefit of prompt-conditional reweighting for reducing the optimization effects of finite-rollout variation during test-time adaptation.
Ablation Studies
We conduct two ablation studies. First, we evaluate the contributions of the reliability-conditioned temperature and score-based majority selection using Qwen2.5-3B-Instruct on AMC and MATH500. Second, we study the effect of the rollout-caching mechanism using Llama-3.2-3B-Instruct on MATH500.
Temperature and majority selection. Table 2 isolates the two principal design choices in PC-Dr.DPO. The constant-temperature variant replaces the reliability-conditioned schedule in Equation (31) with . The frequency-based variant replaces score-based majority selection with standard answer-frequency voting while retaining the adaptive temperature.
Table 2: Ablation of the reliability-conditioned temperature and score-based majority selection on Qwen2.5-3B-Instruct. We report Avg@32 accuracy (%); the best adapted result is bolded.
| Method | AMC | MATH500 |
|---|---|---|
| Base model | 34.3 | 63.5 |
| PC-Dr.DPO w/ constant | 42.0 | 72.3 |
| PC-Dr.DPO w/ frequency MV | 44.6 | 71.4 |
| PC-Dr.DPO | 45.8 | 73.3 |
We further ablate the cache-replay mechanism using Llama-3.2-3B-Instruct on MATH500. During adaptation, replaying previously cached preference groups periodically anchors the policy to earlier self-consistent solutions and mitigates self-supervised forgetting. Removing this mechanism reduces Avg@32 accuracy from 58.4% to 56.3%. Additional analysis is provided in Appendix C.3.
Qualitative Analysis
We analyze Qwen2.5-Math-1.5B-Instruct on AMC to better understand the dynamics of test-time adaptation under majority-vote supervision. Both TTRL and PC-Dr.DPO derive reinforcement signals from majority-voted responses among the model's own rollouts. The set of problems solved by the initial rollout majority therefore provides a useful reference for measuring how effectively adaptation converts self-consistent solutions into improved policy performance.
Empirically, we observe two distinct behaviors. For some problems, adaptation successfully recovers solutions contained in the initial majority-vote-solvable set and may additionally solve previously unsolved problems, potentially through transfer of shared reasoning structure across related prompts. For others, adaptation fails to recover the initially available solutions and may even degrade performance. We attribute this failure mode to the repeated reinforcement of incorrect population-majority pseudo-labels, which can introduce systematic bias into the adapted policy. Additional trajectories and representative examples on MATH500 across multiple model backbones are provided in Appendix C.4.
6 Conclusion
We analyzed majority-vote supervision in online-DPO TTRL, separating population-majority bias from prompt-dependent finite-rollout variation. To mitigate the latter, we introduced PC-Dr.DPO with reliability-conditioned within-prompt reweighting and cache replay. Across six benchmarks and five backbones, PC-Dr.DPO matches or exceeds the strongest TTRL baseline in 24 of 30 settings.
References
Ahmadian, A.; Cremer, C.; Gallé, M.; Fadaee, M.; Kreutzer, J.; Pietquin, O.; Üstün, A.; and Hooker, S. 2024. Back to Basics: Revisiting REINFORCE Style Optimization for Learning from Human Feedback in LLMs. arXiv:2402.14740.
DeepSeek-AI. 2025. DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning. arXiv:2501.12948.
DeepSeek-AI. 2026. DeepSeek V4 Technical Documentation. https://fe-static.deepseek.com/chat/transparency/deepseek-V4-model-card-EN.pdf. Accessed: 2026-07-27.
Google. 2026. Gemini 3.5: Frontier Intelligence with Action. https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-5/. Accessed: 2026-07-27.
He, B.; Zuo, Y.; Liu, Z.; Zhao, S.; Fu, Z.; Yang, J.; Qian, C.; Zhang, K.; Fan, Y.; Cui, G.; et al. 2026. How Far Can Unsupervised RLVR Scale LLM Training? arXiv preprint arXiv:2603.08660.
Hendrycks, D.; Burns, C.; Kadavath, S.; Arora, A.; Basart, S.; Tang, E.; Song, D.; and Steinhardt, J. 2021. Measuring mathematical problem solving with the math dataset. arXiv preprint arXiv:2103.03874.
Hu, J.; Liu, J. K.; Xu, H.; and Shen, W. 2025. REINFORCE++: An Efficient RLHF Algorithm with Robustness to Both Prompt and Reward Models. arXiv:2501.03262.
Ko, J.; Dingliwal, S.; Ganesh, B.; Sengupta, S.; Bodapati, S.; and Galstyan, A. 2024. SeRA: Self-Reviewing and Alignment of Large Language Models using Implicit Reward Margins. arXiv:2410.09362.
Li, Z.; Xu, T.; Zhang, Y.; Lin, Z.; Yu, Y.; Sun, R.; and Luo, Z.-Q. 2024. ReMax: A Simple, Effective, and Efficient Reinforcement Learning Method for Aligning Large Language Models. arXiv:2310.10505.
Menon, A. K.; Rawat, A. S.; Reddi, S.; Kim, S.; and Kumar, S. 2021. A statistical perspective on distillation. In International Conference on Machine Learning, 7632–7642. PMLR.
Meta AI. 2024. Llama 3.2: Revolutionizing Edge AI and Vision with Open, Customizable Models. https://ai.meta.com/blog/llama-3-2-connect-2024-vision-edge-mobile-devices/.
Mitchell, E. 2023. A Note on DPO with Noisy Preferences & Relationship to IPO. https://ericmitchell.ai/cdpo.pdf. Version 1.1, November 25, 2023.
Moonshot AI. 2026. Kimi K3: Open Frontier Intelligence. https://www.kimi.com/blog/kimi-k3. Accessed: 2026-07-27.
OpenAI. 2026. GPT-5.6: Frontier Intelligence That Scales with Your Ambition. https://openai.com/index/gpt-5-6/. Accessed: 2026-07-27.
Ouyang, L.; Wu, J.; Jiang, X.; Almeida, D.; Wainwright, C. L.; Mishkin, P.; Zhang, C.; Agarwal, S.; Slama, K.; Ray, A.; Schulman, J.; Hilton, J.; Kelton, F.; Miller, L.; Simens, M.; Askell, A.; Welinder, P.; Christiano, P.; Leike, J.; and
Lowe, R. 2022. Training language models to follow instructions with human feedback. arXiv:2203.02155.
Pang, R. Y.; Yuan, W.; Cho, K.; He, H.; Sukhbaatar, S.; and Weston, J. 2024. Iterative Reasoning Preference Optimization. arXiv:2404.19733.
Prabhudesai, M.; Chen, L.; Ippoliti, A.; Fragkiadaki, K.; Liu, H.; and Pathak, D. 2025. Maximizing Confidence Alone Improves Reasoning. arXiv:2505.22660.
Qwen Team. 2025. Qwen2.5 Technical Report. arXiv:2412.15115.
Qwen Team. 2026. Qwen3.7. https://qwen.ai/blog?id=qwen3.7. Accessed: 2026-07-27.
Rafailov, R.; Sharma, A.; Mitchell, E.; Ermon, S.; Manning, C. D.; and Finn, C. 2024. Direct Preference Optimization: Your Language Model is Secretly a Reward Model. arXiv:2305.18290.
Rein, D.; Hou, B. L.; Stickland, A. C.; Petty, J.; Pang, R. Y.; Dirani, J.; Michael, J.; and Bowman, S. R. 2023. Gpqa: A graduate-level google-proof q&a benchmark. arXiv preprint arXiv:2311.12022.
Schulman, J.; Wolski, F.; Dhariwal, P.; Radford, A.; and Klimov, O. 2017. Proximal Policy Optimization Algorithms. arXiv:1707.06347.
Shao, R.; Li, S. S.; Xin, R.; Geng, S.; Wang, Y.; Oh, S.; Du, S. S.; Lambert, N.; Min, S.; Krishna, R.; Tsvetkov, Y.; Hajishirzi, H.; Koh, P. W.; and Zettlemoyer, L. 2025. Spurious Rewards: Rethinking Training Signals in RLVR. arXiv:2506.10947.
Shao, Z.; Wang, P.; Zhu, Q.; Xu, R.; Song, J.; Bi, X.; Zhang, H.; Zhang, M.; Li, Y. K.; Wu, Y.; and Guo, D. 2024. DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models. arXiv:2402.03300.
Sheng, G.; Zhang, C.; Ye, Z.; Wu, X.; Zhang, W.; Zhang, R.; Peng, Y.; Lin, H.; and Wu, C. 2025. HybridFlow: A Flexible and Efficient RLHF Framework. In Proceedings of the Twentieth European Conference on Computer Systems, EuroSys '25, 1279–1297. ACM.
Wang, R.; Huang, W.; Cao, Q.; Iwasawa, Y.; Matsuo, Y.; and Guo, J. 2025. Self-Harmony: Learning to Harmonize Self-Supervision and Self-Play in Test-Time Reinforcement Learning. arXiv preprint arXiv:2511.01191.
Wang, X.; Wei, J.; Schuurmans, D.; Le, Q.; Chi, E.; Narang, S.; Chowdhery, A.; and Zhou, D. 2023. Self-Consistency Improves Chain of Thought Reasoning in Language Models. arXiv:2203.11171.
Wang, Y.; Ma, X.; Zhang, G.; Ni, Y.; Chandra, A.; Guo, S.; Ren, W.; Arulraj, A.; He, X.; Jiang, Z.; et al. 2024. Mmlu-pro: A more robust and challenging multi-task language understanding benchmark. Advances in Neural Information Processing Systems, 37: 95266–95290.
Wu, J.; Xie, Y.; Yang, Z.; Wu, J.; Chen, J.; Gao, J.; Ding, B.; Wang, X.; and He, X. 2025a. Towards Robust Alignment of Language Models: Distributionally Robustifying Direct Preference Optimization. arXiv:2407.07880.
Wu, M.; Zhang, Z.; Dong, Q.; Xi, Z.; Zhao, J.; Jin, S.; Fan, X.; Zhou, Y.; Lv, H.; Zhang, M.; Fu, Y.; Liu, Q.; Zhang, S.; and
Zhang, Q. 2025b. Reasoning or Memorization? Unreliable Results of Reinforcement Learning Due to Data Contamination. arXiv:2507.10532.
Yu, Q.; Zhang, Z.; Zhu, R.; Yuan, Y.; Zuo, X.; Yue, Y.; Dai, W.; Fan, T.; Liu, G.; Liu, L.; Liu, X.; Lin, H.; Lin, Z.; Ma, B.; Sheng, G.; Tong, Y.; Zhang, C.; Zhang, M.; Zhang, W.; Zhu, H.; Zhu, J.; Chen, J.; Chen, J.; Wang, C.; Yu, H.; Song, Y.; Wei, X.; Zhou, H.; Liu, J.; Ma, W.-Y.; Zhang, Y.-Q.; Yan, L.; Qiao, M.; Wu, Y.; and Wang, M. 2025. DAPO: An Open-Source LLM Reinforcement Learning System at Scale. arXiv:2503.14476.
Zhang, Z.; Zhu, J.; Ge, X.; Zhao, Z.; Zhou, Z.; Li, X.; Feng, X.; Yao, J.; and Han, B. 2025. Co-reward: Self-supervised reinforcement learning for large language model reasoning via contrastive agreement. arXiv e-prints, arXiv–2508.
Zhao, X.; Kang, Z.; Feng, A.; Levine, S.; and Song, D. 2025. Learning to Reason without External Rewards. arXiv:2505.19590.
Zheng, C.; Liu, S.; Li, M.; Chen, X.-H.; Yu, B.; Gao, C.; Dang, K.; Liu, Y.; Men, R.; Yang, A.; Zhou, J.; and Lin, J. 2025. Group Sequence Policy Optimization. arXiv:2507.18071.
Zuo, Y.; Zhang, K.; Sheng, L.; Qu, S.; Cui, G.; Zhu, X.; Li, H.; Zhang, Y.; Long, X.; Hua, E.; Qi, B.; Sun, Y.; Ma, Z.; Yuan, L.; Ding, N.; and Zhou, B. 2025. TTRL: Test-Time Reinforcement Learning. arXiv:2504.16084.
A Detailed Proofs
KL-DRO Derivation and Gradient Behavior
Let denote a preference sample and recall
(37)
Let p denote the empirical distribution over the preference pairs.
KL-constrained formulation. Consider the distributionally robust score
where controls the allowable deviation from . Assume and let be the corresponding density ratio. Then , , and
Hence, Equation (38) is equivalent to
Introduce a multiplier for the divergence constraint and for the normalization constraint. The Lagrangian is
(40)
For , the convex conjugate of is
with maximizer . Maximizing Equation (40) over r therefore gives
Differentiating with respect to yields
and thus
Substituting Equation (42) into Equation (41) gives
For any , the associated exponentially tilted distribution is
Under the fixed-temperature approximation, we associate each prescribed robustness radius with a temperature , which is treated as independent of and held fixed during the policy update.
Fixed-temperature objective. Assume that minimizes the dual objective in Equation (43) under this fixed-temperature parameterization. Then
Because and are fixed during the policy update, the term is independent of and can be omitted. Writing and negating the remaining robust score gives the Dr.DPO loss
Gradient. Define
Since
differentiating Equation (46) gives
Effect of the temperature. Consider a finite collection of preference pairs and let
The normalized exponentially tilted weights are
The corresponding gradient is
Define the weighted residual logistic factor
Let . Then
Differentiating the weighted mean of gives
where the inequality follows because is increasing in . Consequently, is nondecreasing in , or equivalently, decreases as decreases.
If the pairwise margin gradients satisfy
then
Thus, decreasing decreases an upper bound on the update magnitude.
Proof of Theorem 1
We first restate the uniform empirical-Bernstein result used in the proof.
Lemma (Uniform empirical-Bernstein bound; adapted from (Menon et al. 2021)). Let , let be a class of predictors , and let be a fixed measurable map. Define
and the induced loss class
Let
where denotes the uniform covering number of on m points.
For a sample , define
and let
Then, for any , with probability at least over , every satisfies
Proof of Theorem 1. For a preference sample , write
Let , denote the true and pseudo-preference distributions associated with s, respectively.
Define the true population risk, pseudo-preference population risk, and pseudo-preference empirical risk by
Consider the induced pseudo-preference loss class
and define
Because and , every function in takes values in .
Let denote the empirical variance of
Applying the empirical-Bernstein bound with gives that, with probability at least over , every satisfies
It remains to control the discrepancy between the true and pseudo-preference population risks. Let
Since both and are probability vectors,
Therefore,
(62)
The inequality follows from , which implies
Taking expectations in Equation (62) yields
(63)
Consequently,
□
Total-Variation Identity for Deterministic Binary Preferences
Lemma (Total-variation identity for deterministic binary preferences). Assume both the true and pseudo-preference distributions are deterministic. Then
Consequently,
Proof. Let denote the true preference label and let denote the pseudo-preference label induced by the sampled-majority answer. Under the deterministic binary construction,
where and . Hence,
(67)
Taking expectations and applying the law of total expectation gives
(68)
Proof of Majority-Vote Concentration
Proof. Fix a prompt x and let
for . Conditional on , the variables are i.i.d. Bernoulli random variables satisfying
Define their empirical mean by
Under the binary-answer abstraction, if , then the population-majority answer is . Therefore, disagreement between the sampled and population majorities implies . Hence, Hoeffding's inequality gives
(69)
If instead , then the population-majority answer is incorrect. Disagreement with that population majority implies , and Hoeffding's inequality yields
(70)
For even m, these inclusions remain valid under any deterministic tie-breaking rule. Combining the two cases gives
For completeness, under the binary abstraction,
Thus, when , we have and
When , we have and
Proof of Bias-Variation Separation
Proof. Under the binary-answer abstraction, the exact majority-error decomposition gives
where
Since , we have , and therefore
Define
Under the uniform gap assumption
the majority-vote concentration result proved above yields
Hence,
(73)
Table 3: Hyperparameters used in our experiments.
| Hyperparameter | Value |
|---|---|
| Max prompt length | 1,024 |
| Max response length | 3,072 |
| Training batch size | 24 AIME2424 AIME2516 AMC32 MATH50016 GPQA-Diamond32 MMLU-Pro Math |
| Dataset size | 30 AIME2430 AIME2583 AMC500 MATH500198 GPQA-Diamond1,351 MMLU-Pro Math |
| Total epochs | 240 AIME24240 AIME2580 AMC40 MATH50040 GPQA-Diamond80 MMLU-Pro Math |
| PPO mini-batch size | 4 |
| PPO micro-batch size | 8 |
| Optimizer | Adam |
| Learning rate | |
| DPO inverse temperature | 0.1 |
| Base DRO temperature | 2 |
| Preference pairs per prompt | 8 |
| Rollout scoring strategy | implicit_dpo_reward |
| Pair-construction strategy | random |
| Training rollouts per prompt | 32 |
| Training sampling | Temperature: 0.8Top-p: 0.9Top-k: -1 |
| Validation rollouts per prompt | 32 |
| Validation sampling | Temperature: 0.8Top-p: 0.9Top-k: -1 |
In particular,
The majority-vote generalization bound gives, with probability at least over , simultaneously for every ,
Substituting Equation (74) yields
which proves the result.
B Implementation Details
Hyperparameters
For PC-Dr.DPO, ppo_micro_batch_size is set equal to the number of preference pairs constructed per prompt, ensuring that each prompt group remains intact during within-prompt robust reweighting.
C More Results
Effect of the Rollout Count
Figure 3 compares rollout counts for Qwen2.5-Math-1.5B-Instruct on AMC. Larger rollout counts reduce variation in the sampled pseudo-labels and yield more stable validation trajectories. This observation is consistent with our analysis: increasing suppresses finite-rollout variation.
Self-Reinforcing Collapse under Incorrect Population Majorities
Figure 4 shows the adaptation dynamics of Qwen2.5-1.5B-Instruct on AIME25. The sampled pseudo-label accuracy remains close to zero, indicating that most prompt-level supervision signals are incorrect. Nevertheless, the modal-answer fraction increases throughout training and eventually approaches one. The policy therefore becomes more internally consistent without becoming more correct. Repeated optimization against these increasingly decisive but incorrect pseudo-labels reinforces population-majority bias, while validation Avg@32 accuracy ultimately collapses to zero.
Analysis of Cache Replay
Figure 5 examines the cache-replay mechanism using Llama-3.2-3B-Instruct on MATH500. During adaptation, the cache accumulates preference groups associated with previously mastered prompts and periodically replays them in subsequent updates. As shown in Figure 5(a), replay events revisit a subset of these earlier solutions throughout training.
Figures 5(b)–(c) compare adaptation with and without cache replay. Without replay, pseudo-label accuracy gradually decreases and validation performance exhibits larger regressions. Replaying cached preference groups anchors the policy to earlier self-consistent solutions, improving the retention of previously acquired behavior and raising final Avg@32 accuracy from 56.3% to 58.4%. These results support the use of cache replay as a mechanism for mitigating self-supervised forgetting during online adaptation.
Additional Adaptation Dynamics on MATH500
Figure 6 presents additional adaptation trajectories on MATH500 for Llama-3.2-3B-Instruct and Qwen2.5-Math-1.5B-Instruct. For each run, the problems solved by the initial rollout majority define a fixed reference set. The left panels report the fraction of this set recovered by the current policy, the middle panels show the difference between the current number of solved problems and the initial majority-vote reference, and the right panels decompose the currently solved problems into recovered and newly discovered solutions.
Across both backbones, adaptation progressively recovers most solutions available in the initial reference set. Llama-3.2-3B-Instruct recovers approximately 90% of the initially solvable problems, whereas Qwen2.5-Math-1.5B-Instruct approaches nearly complete recovery. Both models also solve some problems outside the initial reference set, showing that the initial majority-vote-solvable set is not a strict performance upper bound. Nevertheless, incomplete
(a) Pseudo-label Accuracy

(b) Validation Avg@32
Figure 3: Effect of the rollout count during test-time adaptation of Qwen2.5-Math-1.5B-Instruct on AMC. Left: pseudo-label accuracy across adaptation steps. The faint trajectories show the per-step measurements, while the darker curves show their smoothed trends. Right: validation Avg@32 accuracy throughout adaptation. Increasing reduces the variability of sampled pseudo-labels and produces more stable downstream improvement.
(a) Pseudo-label Accuracy

(b) Validation Avg@32
(c) Modal-Answer Fraction
Figure 4: Self-reinforcing collapse of Qwen2.5-1.5B-Instruct during test-time adaptation on AIME25. Left: accuracy of the sampled pseudo-labels relative to the ground-truth answers. Middle: validation Avg@32 accuracy, which eventually decreases to zero. Right: average modal-answer fraction within each rollout group. Although the modal-answer fraction steadily approaches one, the pseudo-label accuracy remains close to zero. Thus, the policy becomes increasingly confident in predominantly incorrect pseudo-labels, reinforcing systematic population-majority bias and ultimately producing adaptation collapse.
recovery remains, indicating that some initially available solutions are lost during adaptation. These trajectories illustrate the competing effects of solution recovery, cross-prompt transfer, and degradation induced by systematic pseudo-label errors, which can steer policy updates away from previously available solutions.
(a) Cache-Replay Dynamics

(b) Pseudo-label Accuracy
(c) Validation Avg@32
With cache replay
Without cache replay
Figure 5: Effect of cache replay during adaptation of Llama-3.2-3B-Instruct on MATH500. Left: cache-replay dynamics, including the cumulative number of prompts whose solutions have been cached and the number of previously mastered prompts recalled at each adaptation step. Middle: pseudo-label accuracy with and without cache replay; faint curves show per-step values and darker curves show smoothed trajectories. Right: validation Avg@32 accuracy throughout adaptation. Cache replay periodically revisits earlier self-consistent solutions, reducing degradation in pseudo-label quality and mitigating self-supervised forgetting. Removing cache replay lowers final Avg@32 accuracy from 58.4% to 56.3%.

(a) Llama-3.2-3B-Instruct
Net gain over the majority-vote bound

(h) Owen2.5-Math-1.5B-Instruct
Net gain over the majority-vote bound
Figure 6: Additional adaptation dynamics on MATH500 for Llama-3.2-3B-Instruct and Qwen2.5-Math-1.5B-Instruct. In each row, the problems solved by the initial rollout majority define a fixed reference set. Left: fraction of this initial set recovered by the current policy. Middle: difference between the number of problems solved by the current policy and the initial majority-vote reference; the dashed line at zero denotes full numerical recovery of the initial reference level. Right: decomposition of the currently solved problems into solutions recovered from the initial reference set and newly discovered solutions. Both backbones recover most initially available solutions and occasionally solve problems outside the initial reference set, while incomplete recovery indicates degradation induced by systematic pseudo-label errors.