Distributionally Robust Token Optimization in RLHF
Yeping Jin, Jiaming Hu, Ioannis Ch. Paschalidis
NeurIPS 2026
TL;DR. We introduce Distributionally Robust Optimziation in token-level RLHF to enhance model's robustness under distributional shifts of dataset.
Abstract. Large Language Models (LLMs) tend to respond correctly to prompts that align well with the data they were trained and fine-tuned on. Yet, small shifts in wording, format, or language can trigger surprisingly large failures, especially on multi-step reasoning problems. To address this problem, we propose a Distributionally Robust Token Optimization (DRTO) approach, which combines token-level Reinforcement Learning from Human Feedback (RLHF) with Distributionally Robust Optimization (DRO). DRTO constructs -divergence ambiguity sets over span-level actor losses, providing a principled way to emphasize difficult response segments during policy optimization. Empirically, DRTO enhances consistency under natural distribution shifts in multiple reasoning benchmarks among different tasks, achieving accuracy of +4.4 percentage points on MATH-500 and +2.7 percentage points on LiveCodeBench over standard RTO. Our code is available at https://github.com/noc-lab/DRTO.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes DRTO to enhance language model robustness under distribution shifts by applying span-level worst-case re-weighting to on-policy actor losses. Reviewers have concerns regarding a conceptual disconnect between the stated motivation of handling deployment-time distribution shifts and the internal mechanism of in-batch span re-weighting; the reliance on heuristic segmentation hyper-parameters lacking thorough sensitivity analysis. Additionally, the empirical evaluation is relying on single-seed runs across two 8B models without statistical tests or comparisons to simple hard-example re-weighting baselines.
Final justification
Reviewers' concerns are addressed by the rebuttal. Highly recommend authors incorporating feedbacks into the final version.
Read meta-review
Meta-review
This paper proposes DRTO to enhance language model robustness under distribution shifts by applying span-level worst-case re-weighting to on-policy actor losses. Reviewers have concerns regarding a conceptual disconnect between the stated motivation of handling deployment-time distribution shifts and the internal mechanism of in-batch span re-weighting; the reliance on heuristic segmentation hyper-parameters lacking thorough sensitivity analysis. Additionally, the empirical evaluation is relying on single-seed runs across two 8B models without statistical tests or comparisons to simple hard-example re-weighting baselines.
Final justification
Reviewers' concerns are addressed by the rebuttal. Highly recommend authors incorporating feedbacks into the final version.
1 comment
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
In this paper, the authors consider the problem of distribution shifts in the context of RLHF, and build on distributionally robust optimization ideas to propose a robust version of RTO, called DRTO. This method, given a set of prompts and outputs generated by the current LLM policy, builds a set of spans that partition each output according to the token probabilities. Then, DRTO's loss is the expected RTO token loss, where each span is weighted under a worst-case distribution that is close to the uniform distribution over the spans. The authors evaluate DRTO against popular RLHF objectives on math and coding tasks, which shows that DRTO is less likely to regress compared to RTO than other objectives, while offering higher accuracy.
Strengths and weaknesses
Strengths:
- The experiments, although limited in the backbone models used, seem diverse in the RLHF objectives used as baselines, covering many popular choices. The authors also evaluate the training time of DRTO, showing that it is comparable to RTO.
- The related work section is quite comprehensive and complete, and I think it correctly contextualizes the paper.
- The theoretical results are correctly and rigorously presented. However, they also follow from standard results in variational calculus, so their novelty is limited.
Weaknesses:
- My main concern is that the connection between DRTO's design and the distribution shift it claims to address is not established. The paper motivates the method through deployment-time shifts: "small shifts in wording, format, or language can trigger surprisingly large failures, especially on multi-step reasoning problems." However, DRTO's robust objective is a worst-case reweighting of the per-span losses within an on-policy minibatch, where the ambiguity set contains distributions close (in KL or ) to the response-balanced nominal over the spans of already-sampled responses. The worst case is therefore taken over how much weight is placed on each observed span, not over any shift in the input distribution. It is unclear why robustness in this internal reweighting sense should translate into robustness against the wording/format/language shifts used to motivate the work. This gap is compounded by the fact that the nominal distribution itself is an arbitrary choice. Assigning each response equal mass and splitting it uniformly across its spans (Eq. 5) treats all spans as a priori equally important, yet the authors themselves note (line 131, and again in the span-vs-trajectory discussion) that spans differ substantially in semantic and decision-theoretic importance---low-confidence "pivot" tokens drive the loss far more than routine high-confidence steps. If the uniform nominal weighting is not the right reference distribution, then "small perturbations around it" within an -divergence ball inherits that misspecification, and it is not clear in what sense the resulting worst case corresponds to a meaningful or deployment-relevant family of shifts. Concretely, I would find the paper much more convincing if the authors could clarify: (i) what class of deployment-time distribution shifts, if any, the span-level ambiguity set is intended to model, and whether there is a formal correspondence (e.g., a shift in the input distribution inducing a bounded shift in ); and (ii) why upweighting high-loss spans within the sampled minibatch should be expected to improve out-of-distribution generalization, as opposed to simply hardening the optimizer against high-variance spans (which is closer to what the surrogate in Eq. 16, a mean-plus-scaled-standard-deviation penalty, actually does). As written, the empirical gains in Section 4 seem plausible, but the mechanism conecting them to the stated robustness goal is asserted rather than shown, at least in my reading of the paper.
- Many of the design choices made by the authors seem arbitrary at first and are poorly motivated. This includes, as discussed in Appendix C and elsewhere, the span length of 16, the maximum span number of 8, the cut probability, and the values of . Another choice that seems arbitrary is to construct the spans using a threshold probability, since one could also use, for example, a threshold on the entropy. Please refer to my follow-up in the "Questions" section.
- Following the above point, and since the ambiguity sets are one of the key components of the method, I think it would be helpful to have a visualization with some examples of the distributions to understand how they affect the loss.
- Some aspects of the presentation could be improved. For example, I believe the symbol appears first in Eq. 6, but it was not defined prior to that point, and is only defined afterwards. Also, in Eq. 6, the LHS has as an argument, which is missing in the RHS. I understand that this is because is the radius of , but this is unclear the first time one reads the paper.
- The limited evaluation (using only two backbone models) makes some of the results borderline anecdotal, notably the fact that "DRTO is the only method that does not regress relative to RTO on any of the three benchmarks" in line 218.
Questions
-
How do you decide the hyperparameters that are needed to implement DRTO, such as the minimum and maximum span lengths, cutoff probabilities, or the radius ? Do you have a concrete general recommendation, or have you evaluated how the choices in Appendix C translate to other tasks/models?
-
In the context of the above question, is there a reason not to select , and to assign an individual weight to each token? I assume that the cost of solving (10) would then increase, but does it become prohibitive?
-
Have you thought about evaluating DRTO on non-verifiable tasks, e.g., involving preference data?
Limitations
Yes, the main limitations are mentioned in Section 5, but only very superficially.
Final justification
The authors addressed many of the weaknesses I raised, including W1, W4, W6, and Q1, and I have raised my score accordingly. However, my key concern remains W2: how DRTO actually delivers the robustness the authors claim in the abstract, namely how they address the problem that "small shifts in wording, format, or language can trigger surprisingly large failures, especially on multi-step reasoning problems." I do not find this connection strongly argued.
Formatting concerns
None
6 comments
We thank the reviewer for recognizing the broad baseline coverage, the runtime comparison, the related work, and the rigor of the derivations. We address each concern below.
W1. The KL and derivations rely on standard variational tools, so the methodological contribution should be stated more precisely.
Response. We agree. The purpose of Theorems 3.1 and 3.2 is to derive the objectives used by the two algorithms in the proposed span setting and to state when the expression is tight. The central contribution is the placement of the ambiguity set over local actor losses from current RTO rollouts, together with response-balanced nominal weighting and integration into the PPO actor update. In the final version, we will distinguish this methodological contribution from the standard variational tools used to derive its tractable forms.
W2. Why should robustness to reweighting observed span losses improve generalization under changes in wording, format, or language? What shift does the ambiguity set represent?
Response. The ambiguity set does not directly define a ball over prompts. It defines a local uncertainty model over the span losses observed in the current on-policy batch. For a fixed batch and nominal span distribution , Eq. (6) guarantees, by construction, that
for every reweighting . Thus, the formal uncertainty class is a set of nearby changes in the relative mass assigned to the observed local loss regions.
The connection to natural input shifts is through the composition of these regions. Changes in format, language, topic, or difficulty can change how frequently sampled responses contain routine regions, uncertain transitions, and failed reasoning regions, and can change their relative losses. DRTO reduces dependence on the exact composition of one training batch by optimizing against nearby reweightings of those regions. This is an induced-loss interpretation rather than a claim that every possible prompt shift is contained in the ambiguity set. The empirical question is whether this local protection transfers to the natural shifts under evaluation. Table 1 shows that neither DRTO variant falls below RTO on the five math evaluations, and Table 4 shows that the span granularity matters: on MATH-500, -DRTO reaches , compared with when the same robust principle is applied with one unit per complete response. We will explain this interpretation immediately after Eq. (6) and narrow the wording of the robustness claim accordingly.
W3. Why does the nominal distribution assign equal mass to spans within each response, although spans may differ in importance?
Response. Equation (5) first gives every response total mass , preventing long responses or responses with more detected spans from dominating the batch. It then divides that response mass equally across its spans, treating a local response region as the basic unit of uncertainty. Equal nominal mass does not imply equal final importance: the robust objectives induce greater training emphasis on higher-loss spans, so spans with larger losses receive greater influence. The cut rule determines where the units begin and end, while the robust objective determines their training weights. Keeping those roles separate is deliberate.
A token-count-proportional alternative would use
At , this choice gives
so the nominal objective becomes the ordinary token-averaged response loss and the span boundaries have no effect at . Under Eq. (5), by contrast, yields the response-balanced mean over span units. This makes the segmentation meaningful at the nominal level and ensures that the robust redistribution is not predetermined by span length. We will add this rationale after Eq. (5).
W4. Please provide examples of the nominal and worst-case span distributions.
Response. We provide a minimal example that clarifies the construction and an example taken from a logged diagnostic minibatch.
Minimal example. Consider a minibatch with two responses: Response A has two spans and Response B has three. Under Eq. (5), each response first receives total mass , which is then divided equally among its spans, giving nominal mass per span of A and per span of B. The table shows how the two adversaries redistribute this mass for a simple set of span losses, at the paper radii and .
| Span | Nominal | KL | ||
|---|---|---|---|---|
| A--1 | 0.0 | 0.250 | 0.169 | 0.215 |
| A--2 | 1.0 | 0.250 | 0.308 | 0.274 |
| B--1 | 0.0 | 0.167 | 0.113 | 0.143 |
| B--2 | 0.5 | 0.167 | 0.159 | 0.162 |
| B--3 | 1.5 | 0.167 | 0.251 | 0.206 |
The two responses carry equal total nominal mass despite having different numbers of spans, and both adversaries shift mass away from low-loss spans and toward high-loss spans, with B--3 receiving the largest proportional increase over its nominal mass. Response balancing therefore fixes the starting distribution, while the actor losses determine the redistribution.
Example from a logged diagnostic minibatch. We next report an example from a small diagnostic run using the paper span and radius settings (, , , ). The minibatch contains responses and spans, with and . The response shown has two spans, so Eq. (5) assigns each nominal mass . Both adversaries were computed jointly over all spans, so the displayed are global masses and do not sum to one within the table; the KL adversary is evaluated on the same logged loss vector for comparison.
| Span 1 | 1.1953 | 0.0625 | 0.0806 | 0.0699 | ||
| Span 2 | 3.0156 | 0.0625 | 0.1215 | 0.0918 |
Both spans begin with the same nominal mass, but the higher-loss Span 2 receives more robust weight: -DRTO raises it to times nominal and KL-DRTO to times. Span 1 is also above the minibatch mean and is upweighted, but less strongly. Condition (15) holds in both examples; in the logged minibatch, the smallest multiplier is , so the displayed weights are valid worst-case distributions rather than only surrogate-induced gradient multipliers. The logged example illustrates equal nominal weighting within a response and loss-dependent robust redistribution: the two spans begin with the same nominal mass, while their robust weights differ according to their actor losses.
W5. The ambiguity radius is not defined before Eq. (6), and its dependence is not explicit on the right-hand side.
Response. Thank you for identifying this notation issue. Before the robust objective, we will define
and write
This makes the dependence on explicit and aligns the generic notation with the KL and specializations.
W6. The statement that DRTO does not regress should be qualified given two backbones and one training seed.
Response. We agree. The statement is an observation about the reported runs, not a general guarantee: both DRTO variants match or exceed RTO on the five math evaluations, and -DRTO matches or exceeds RTO on the three code evaluations. We trained three additional independent seeds for the main -DRTO math configuration. The table below reports all four runs on the three requested benchmarks. The RTO and seed 42 rows reproduce Table 1, while seeds 123, 456, and 789 change only the random seed and otherwise follow the same -DRTO setup.
| Method and seed | GSM8K | MATH-500 | GPQA |
|---|---|---|---|
| RTO, seed 42, Table 1 | 73.2 | 18.0 | 26.3 |
| -DRTO, seed 42 | 78.7 | 22.4 | 27.3 |
| -DRTO, seed 123 | 76.9 | 20.8 | 26.3 |
| -DRTO, seed 456 | 77.9 | 23.6 | 26.3 |
| -DRTO, seed 789 | 77.4 | 21.6 | 26.3 |
| -DRTO, mean std | 77.7 0.8 | 22.1 1.2 | 26.6 0.5 |
Across the four seeds, every seed exceeds the seed-42 RTO reference on GSM8K and MATH-500, and matches or exceeds it on GPQA, so the gains on GSM8K and MATH-500 are consistent across seeds rather than specific to seed 42. Because a seed-matched RTO run is available only for seed 42, these results characterize the seed variation of -DRTO itself but not that of the -DRTO--RTO difference; given the compute cost of on-policy RLHF, seed-matched entire runs for the additional seeds were not feasible within the response period. In the meantime, we will replace unconditional wording with a description explicitly limited to the reported models, benchmarks, and runs.
Q1. How are the span settings and radius chosen, do they transfer across tasks and models, and why use the realized token probability rather than entropy?
Response. The paper uses a minimum span length of , at most spans per response, , for KL, and for . These values are used in both the Llama math and Qwen code pipelines, and the radii were fixed before the rebuttal sweeps without tuning on the evaluation benchmarks. We trained one-parameter-at-a-time ablations for the radius, the maximum span count, the minimum span length, and the cut threshold, reported for Reviewer 5qD3 Q1 and Reviewer 6Yhx Q1: for , the GSM8K and MATH-500 gains are retained at both tested positive radii, the smaller KL radius performs best among the tested KL values, an intermediate span count is preferred, and the larger cut threshold is weaker. Because the same paper settings were applied to the Qwen code pipeline without benchmark-specific retuning, the current experiments also provide an initial cross-task transfer check.
We use the probability of the realized token because it measures how surprising the action actually taken was under the rollout policy and is already available from rollout generation. Predictive entropy measures uncertainty over the full next-token distribution and can be large when several continuations are plausible even if the selected token itself is not unusual. The two quantities therefore identify different types of boundaries. As an implementation sanity check, in a sample of responses from the trained -DRTO model, the mean probability of the realized token at the selected cut points is , compared with across all response tokens, confirming that the cut rule selects genuinely low-probability positions. This is a consistency check on the segmentation rather than evidence that realized probability is preferable to entropy; entropy-based segmentation remains a meaningful alternative that targets a different notion of uncertainty, which we will note explicitly.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes Distributionally Robust Token Optimization (DRTO), which incorporates span-level distributionally robust optimization into token-level RLHF. Building on RTO, the method partitions model responses into spans, computes span-level PPO losses, and then applies robust reweighting based on KL-divergence or χ²-divergence ambiguity sets to emphasize difficult or high-risk response segments. The goal is to improve the robustness of RLHF-style optimization under distribution shifts in reasoning tasks. The paper introduces two variants, KL-DRTO and χ²-DRTO, and evaluates them on several mathematical and coding benchmarks under different natural distribution-shift settings.
Strengths and weaknesses
The proposed method is technically sound overall. The formulation based on f-divergence ambiguity sets is clear, and the two instantiations, KL-DRTO and χ²-DRTO, are naturally connected to standard principles in distributionally robust optimization. The span-level reweighting mechanism is also intuitive: by assigning larger weights to difficult response segments, the method can encourage the policy to improve on parts of the response that are more vulnerable under distribution shifts.
However, some design choices remain heuristic. In particular, the span partitioning strategy relies on low-confidence token positions and several manually selected hyperparameters, such as the minimum span length, maximum number of spans, and cut probability threshold. Similarly, the DRO radius is chosen empirically, and the paper does not fully clarify how sensitive the method is to this choice across different tasks, model backbones, and distribution-shift settings. A more systematic sensitivity analysis would make the method more convincing.
Another concern is the limited statistical validation. The experiments appear to be reported with a single training seed. Since RLHF-style optimization can have high variance, additional seeds would be important to establish the reliability of the reported improvements. Without multi-seed results or confidence intervals, it is difficult to judge whether the gains are consistently attributable to the proposed method.
The scope of the robustness claim should also be clarified. The paper mainly studies natural distribution shifts, such as prompt-format, language, and difficulty shifts. This is different from robustness against adversarial prompts, jailbreak attacks, or maliciously constructed inputs. The paper should more clearly distinguish these settings to avoid overstating the type of robustness addressed by DRTO.
Questions
- How sensitive is DRTO to the span partitioning hyperparameters, such as the minimum span length, maximum number of spans, and cut probability threshold?
- How is the DRO radius selected in practice? Does the optimal radius vary significantly across datasets, model backbones, or distribution-shift types?
- Can the authors provide multi-seed results or confidence intervals to better support the statistical reliability of the reported improvements?
- How should readers interpret the robustness improved by DRTO? Is it limited to natural distribution shifts, or does the method also provide benefits under adversarial prompts or jailbreak-style attacks?
- How does the method scale to larger model backbones beyond the tested 8B-scale models?
- Can DRTO be extended to multi-turn dialogue or more realistic interactive reasoning settings, where errors may accumulate across turns?
Limitations
The first limitation is the heuristic nature of the span partitioning mechanism. Although using low-confidence token positions to define spans is intuitive, the method depends on several manually chosen hyperparameters. The paper would benefit from a more detailed analysis of whether these choices are robust or whether performance depends strongly on careful tuning.
The second limitation is the empirical selection of the DRO radius. Since the radius controls the strength of robust reweighting, it is central to the method. A sensitivity analysis over the DRO radius would help clarify the trade-off between robustness, optimization stability, and in-distribution performance.
The third limitation is the lack of multi-seed evaluation. Given the known variance of RLHF-style training, single-seed results may not be sufficient to establish consistent improvements. Reporting results across multiple random seeds, together with standard deviations or confidence intervals, would make the empirical conclusions stronger.
The fourth limitation is the relatively narrow experimental scope. The evaluation is limited to two 8B-scale backbones and single-turn reasoning settings. Testing larger models and more realistic multi-turn scenarios would provide stronger evidence for the generality of the method. That said, this limitation is understandable given the computational cost, as long as it is clearly acknowledged.
The fifth limitation is that the paper’s robustness claims mainly concern natural distribution shifts rather than adversarial safety robustness. Prompt-format shifts, language shifts, and difficulty shifts are important, but they should not be conflated with robustness to adversarial prompts, jailbreaks, or malicious user behavior. The paper should state this boundary more explicitly.
Final justification
The authors have adequately addressed my questions. However, after considering the paper as a whole, I believe my current score remains appropriate and have therefore decided to keep it unchanged.
Formatting concerns
N/A
4 comments
We thank the reviewer for finding the formulation technically sound and for identifying the most important empirical questions. We address each question below.
Q1. How sensitive is DRTO to the minimum span length, maximum number of spans, and cut probability threshold?
Response. The paper uses a minimum span length of , at most spans per response, and . These values are used unchanged in the Llama3-8B math pipeline and the Qwen3-8B code pipeline. The minimum length avoids creating a separate unit from every isolated token fluctuation, the span cap limits excessive fragmentation, and the cut threshold identifies positions at which the realized token was unlikely under the rollout policy.
We trained ablations that vary each of these three quantities against the default. The three-benchmark results are shown below; the RTO and paper-setting rows reproduce Table 1, and the row is the trajectory-level -DRTO variant from Table 4.
| Configuration | GSM8K | MATH-500 | GPQA |
|---|---|---|---|
| RTO, Table 1 | 73.2 | 18.0 | 26.3 |
| Maximum span count : | |||
| , trajectory-level, Table 4 | 77.7 | 18.6 | 25.8 |
| , paper setting | 78.7 | 22.4 | 27.3 |
| 76.6 | 18.8 | 25.3 | |
| Minimum span length and cut threshold: | |||
| 76.1 | 23.4 | 25.8 | |
| 76.0 | 20.0 | 21.7 |
The span-count sweep is strongest at on all three benchmarks, while is consistent with the intended role of the span cap: excessive fragmentation need not improve the robust objective once the main local reasoning regions have already been isolated, and the trajectory-level variant dilutes local difficulty across the whole response. Reducing the minimum span length to increases MATH-500 from to but decreases GSM8K and GPQA from to , so it does not dominate the paper setting. The weaker result at is consistent with the design motivation for a lower threshold, which restricts cuts to more surprising realized tokens. These results support the paper settings as a balanced choice across the three benchmarks.
Q2. How is the ambiguity radius selected, and does the preferred value vary across tasks, models, or shift types?
Response. The paper uses for KL-DRTO and for -DRTO, with the same values used in both the math and code pipelines. The radii were fixed before the rebuttal sweeps and were not tuned on the evaluation benchmarks. The radius controls the strength of robust reweighting: at zero, the objective reduces to the nominal response-balanced span mean, while larger values allow greater emphasis on difficult spans. Since KL and define different geometries, we tune and interpret their radii separately.
We trained radius sweeps for both divergences, with the results below:
| Configuration | GSM8K | MATH-500 | GPQA |
|---|---|---|---|
| RTO, Table 1 | 73.2 | 18.0 | 26.3 |
| radius : | |||
| , response-balanced span mean | 76.6 | 18.4 | 25.8 |
| , paper setting | 78.7 | 22.4 | 27.3 |
| 78.7 | 22.0 | 26.3 | |
| KL radius : | |||
| 77.7 | 19.4 | 26.8 | |
| , paper setting | 77.3 | 18.8 | 26.3 |
| 76.6 | 17.8 | 26.3 |
For , the gains on GSM8K and MATH-500 are retained at both tested positive radii ( at and at ), so the main improvement is not isolated to a single precise value within this range, although GPQA favors and the sweep is not broad enough to establish general hyperparameter insensitivity. For KL, the smallest tested value performs best on these three benchmarks. The post-submission sweep suggests that KL-DRTO may benefit from a smaller radius; we retain the originally reported in the main comparison to avoid post-hoc selection on the evaluation benchmarks. The same paper settings were also applied without benchmark-specific retuning in the Qwen code pipeline, providing an initial cross-task transfer check.
Q3. Can the authors provide multiple-seed results or confidence intervals?
Response. Yes. We trained three additional independent seeds for the main -DRTO math configuration. The table below reports all four runs on the three requested benchmarks. The RTO and seed 42 rows reproduce Table 1, while seeds 123, 456, and 789 change only the random seed and otherwise follow the same -DRTO setup.
| Method and seed | GSM8K | MATH-500 | GPQA |
|---|---|---|---|
| RTO, seed 42, Table 1 | 73.2 | 18.0 | 26.3 |
| -DRTO, seed 42 | 78.7 | 22.4 | 27.3 |
| -DRTO, seed 123 | 76.9 | 20.8 | 26.3 |
| -DRTO, seed 456 | 77.9 | 23.6 | 26.3 |
| -DRTO, seed 789 | 77.4 | 21.6 | 26.3 |
| -DRTO, mean std | 77.7 0.8 | 22.1 1.2 | 26.6 0.5 |
Across the four seeds, every seed exceeds the seed-42 RTO reference on GSM8K and MATH-500, and matches or exceeds it on GPQA, so the gains on GSM8K and MATH-500 are consistent across seeds rather than specific to seed 42. Because a seed-matched RTO run is available only for seed 42, these results characterize the seed variation of -DRTO itself but not that of the -DRTO--RTO difference; given the compute cost of on-policy RLHF, seed-matched entire runs for the additional seeds were not feasible within the response period.
Q4. How should the improved robustness be interpreted? Is it limited to natural shifts, or does it include adversarial prompts and jailbreak attacks?
Response. The claim concerns natural distribution shifts. GSM(CoT) changes the prompt format, GSM(ES) changes language, MATH-500 and GPQA change difficulty and topic, and the coding suite changes the type and source of programming problems. DRTO does not search over adversarial prompts and does not provide a guarantee for jailbreaks or malicious inputs. We will make this boundary explicit wherever the robustness claim is introduced.
Q5. How does the method scale beyond the tested 8B models?
Response. The goal of this paper is to establish whether DRTO can robustify RTO and improve its performance under the evaluated distribution shifts, and the consistent gains across two backbones and two reasoning domains support that goal. DRTO changes only the aggregation of actor losses. With at most eight spans per response, KL-DRTO solves a one-dimensional dual problem and forms a weighted sum of span losses, while -DRTO computes their response-balanced mean and variance. These operations scale with the number of spans in the batch rather than directly with the number of model parameters, and Table 3 reports end-to-end training times of RTO for KL-DRTO and for -DRTO. Evaluating substantially larger models would further strengthen the generality of the evidence but requires compute beyond what was available for this study, so we identify it as an important next step.
Q6. Can DRTO be extended to multi-turn dialogue or interactive reasoning?
Response. The formulation extends naturally by assigning equal total nominal mass to each conversation and then dividing that mass across turns and spans before applying the same robust objective. This preserves response balancing while allowing difficult local regions in different turns to receive greater weight. A complete interactive evaluation must also account for state distribution changes because an early model action affects the prompts, states, and rewards encountered later. The present experiments do not test that setting, and we will state it as a concrete extension.
In the final version, we will expand the limitations discussion to cover span and radius selection, random-seed uncertainty, the two-backbone scope, the single-response evaluation setting, and the distinction between natural distribution shifts and adversarial safety.
We hope that these clarifications and additional experiments address the reviewer's main concerns, and we hope these additions further strengthen the submission.
The authors have satisfactorily addressed my concerns. Thank you for the detailed response.
Thank you for acknowledging. We respectfully ask to consider updating your score if you think we have addressed your concerns.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes Distributionally Robust Token Optimization (DRTO), which augments token-level RLHF/RTO with span-level distributionally robust optimization. The method partitions responses into spans, computes span-level actor losses, and applies divergence-based ambiguity sets to emphasize difficult or high-loss spans during policy optimization. The paper derives KL-DRTO and chi-square-DRTO variants, evaluates them on math and code reasoning with Llama3-8B and Qwen3-8B backbones, and reports improved robustness under prompt-format, language, difficulty, and coding distribution shifts with small additional training overhead.
Strengths and weaknesses
The paper has a reasonable high-level motivation: token-level RLHF methods may be brittle under distribution shift, and robust reweighting over response spans is a plausible way to emphasize difficult parts of a rollout. The KL and chi-square variants give a clean formalization, and the paper attempts to evaluate both math and code settings with runtime comparisons and ablations for token-wise reward, span segmentation, and trajectory-level robustification.
However, I find the work underdeveloped as a NeurIPS submission. The main methodological move is essentially to apply standard divergence-based DRO / hard-region reweighting to span-level losses in an existing RTO pipeline. This may be useful engineering, but the paper does not convincingly establish that the proposed formulation is meaningfully different from simpler high-loss span reweighting, focal-style weighting, or adaptive penalty heuristics. The novelty over prior robust preference optimization and segment-level reward/credit-assignment work is therefore limited.
The empirical evidence is also weak for the strength of the claims. The paper uses only two 8B backbones and reports each configuration from a single training seed, with no error bars or statistical tests. Several gains are modest, and the code results are mixed: chi-square DRTO avoids regressions relative to RTO, while KL-DRTO drops on HumanEval; moreover, the paper notes that SFT already outperforms RTO on MBPP and LiveCodeBench, which makes RTO a questionable reference point for the coding pipeline. The paper frames results as improvements over RTO rather than state of the art, but then the contribution becomes narrow and highly dependent on the chosen baseline.
The robustness framing is also too broad. The evaluated shifts are benchmark-format, language, and difficulty shifts, not adversarial or worst-case robustness. The span construction uses fixed thresholds and span-length constraints, but the paper does not provide enough sensitivity analysis for these choices. I would also expect comparisons to much simpler span reweighting baselines with matched compute, since the current ablations do not isolate whether the DRO machinery itself is doing important work.
Overall, this looks like a plausible workshop-level extension of RTO, but the empirical validation and novelty are not yet strong enough for the claims being made.
Questions
- How sensitive are the results to the cut threshold, minimum span length, maximum span count, and ambiguity radius? Please include a sensitivity plot or table.
- Since each configuration appears to use a single seed, can the authors report variance over multiple seeds for at least the main math setup?
- Can the authors compare against simpler high-loss span reweighting or focal-style baselines to show that the DRO formulation matters beyond hard-example emphasis?
- Does DRTO improve robustness in multi-turn dialogue or open-ended preference settings, or is the current evidence limited to single-turn reasoning/code tasks?
- How should practitioners choose between KL-DRTO and chi-square DRTO when their behavior differs, such as the HumanEval drop for KL-DRTO?
Limitations
The paper acknowledges several important limitations, including two 8B backbones, single-turn settings, lack of guarantees for adversarial safety failures, and rollout costs shared with on-policy RLHF. This is a fair limitation discussion. I would add single-seed uncertainty and sensitivity to span segmentation hyperparameters.
Final justification
I am updating my recommendation to borderline accept after considering the rebuttal, author discussions, and the other reviews.
Resolved or substantially improved issues:
- The authors added useful sensitivity studies over the DRO radius, span count, minimum span length, and cut threshold. These do not fully exhaust the hyperparameter space, but they reduce my concern that the gains depend on a single fragile setting.
- The added fixed high-loss span weighting baseline directly addresses my concern that DRTO might be equivalent to simple difficult-span reweighting. The new results suggest that the DRO-derived adaptive weighting provides benefits beyond this simpler heuristic, especially on MATH-500.
- The authors provided an additional seed for chi-square DRTO. This is still not a complete multi-seed comparison, but it increases confidence that the main result is not merely a one-off run.
- The authors clarified that the robustness claim concerns empirical performance under the natural shifts evaluated in the paper, rather than adversarial robustness or a formal guarantee over deployment-time prompt shifts.
Remaining concerns:
- The additional seed is not matched with a second RTO seed, so the variance of the DRTO-vs-RTO difference is still not fully characterized.
- The evaluation remains limited to 8B-scale backbones and single-response reasoning/code settings.
- The conceptual link between local span-loss DRO and robustness to test-time input shifts remains indirect and should be stated carefully in the final version.
Overall, I now think the rebuttal resolves enough of my key empirical concerns that the reasons to accept slightly outweigh the remaining concerns. My recommendation is therefore 4: borderline accept, with the expectation that the final version will include the new ablations, the hard-span weighting baseline, the additional seed result, and a narrowed statement of the robustness claim.
Formatting concerns
I did not notice any major formatting, anonymity, or readability concerns.
6 comments
We thank the reviewer for recognizing the motivation and for the detailed, constructive feedback. We address each concern and question below.
W1. The method may appear close to standard DRO or simple difficult-span weighting, and its distinction from prior robust preference optimization and segment-based reinforcement learning should be clearer.
Response. We agree that the distinction should be sharper. The contribution is not the KL or duality itself, but the placement of uncertainty over span-level actor losses from current RTO rollouts and its integration into the on-policy actor update. DRTO assigns equal total nominal mass to each response, then applies an exact KL-robust objective or a -derived mean--dispersion surrogate over its spans. This differs from offline robust preference methods and segment-level approaches that use segments for reward learning or credit smoothing; here, spans are the units over which the actor risk is optimized.
In our original manuscript, Table 4 shows that both the RTO token signal and span-level robust aggregation are important: replacing the RTO reward with PPO reduces MATH-500 from to for -DRTO and from to for KL-DRTO, while replacing spans with one robust unit per response reduces the result to . Table 1 further shows that both DRTO variants match or exceed RTO on all five math evaluations, with -DRTO improving GSM8K, GSM(CoT), GSM(ES), MATH-500, and GPQA by , , , , and points, respectively. We will revise the contribution statement to emphasize this robust span actor objective and its distinction from prior offline robust preference and segment-reward methods.
W2. The coding results are mixed, and SFT already exceeds RTO on MBPP and LiveCodeBench.
Response. RTO is the direct methodological reference because DRTO retains its preference-derived token reward and PPO actor update while changing the aggregation of the actor losses. Table 2 also reports SFT, PPO, DPO, FlowRL, and DAPO, so the empirical comparison is not limited to RTO. Relative to RTO, -DRTO improves HumanEval from to , MBPP from to , and LiveCodeBench from to . Relative to SFT, it is higher on HumanEval and lower by and points on MBPP and LiveCodeBench, respectively. KL-DRTO reaches on MBPP and matches the SFT LiveCodeBench result of , while trading off HumanEval.
We therefore do not interpret the coding results as uniform dominance by one divergence. Rather, they show complementary behavior: -DRTO is the consistent variant relative to RTO across the three code evaluations, while KL-DRTO provides stronger gains on MBPP and LiveCodeBench at the cost of HumanEval. Table 5 further shows that, when trained and evaluated in distribution on GSM8K, KL-DRTO and -DRTO score and , respectively, compared with for RTO, for PPO, and for DPO. Thus, the robust objectives preserve the in-distribution performance of RTO in that controlled experiment.
In the final version, we will present the coding results as a tradeoff between the two divergence choices rather than as an unconditional improvement by both variants on every benchmark.
W3. The robustness claim should distinguish natural distribution shifts from adversarial prompts or jailbreak attacks.
Response. We agree that the experiments concern natural changes in prompt format, language, topic, difficulty, and coding benchmark composition. They do not evaluate adversarial prompts, jailbreak attacks, or maliciously constructed inputs. We will consistently describe the empirical claim as improved performance under the natural distribution shifts evaluated in the paper and will treat adversarial safety as a separate research direction.
W4. The evaluation uses only two 8B backbones.
Response. The goal of this paper is to establish whether DRTO can robustify RTO and improve its performance under the evaluated distribution shifts, and the consistent gains across two backbones and two reasoning domains support that goal. DRTO changes only the aggregation of actor losses and does not modify the model architecture, so its added computation depends on the number of spans in a batch rather than the parameter count, and Table 3 shows only modest training overhead at the tested scale. Evaluating substantially larger models would further strengthen the generality of the evidence but requires compute beyond what was available for this study. We will clarify this scope and identify larger-scale evaluation as an important next step.
Q1. How sensitive are the results to the cut threshold, minimum span length, maximum span count, and ambiguity radius?
Response. The paper uses , a minimum span length of , at most spans per response, for KL-DRTO, and for -DRTO. These settings are used in both the Llama3-8B math pipeline and the Qwen3-8B code pipeline rather than being selected separately for each evaluation benchmark. The paper radii were fixed before the rebuttal sweeps and reused across the math and code pipelines without benchmark-specific tuning on the evaluation sets.
We trained a set of ablations that vary one parameter at a time while holding the remaining settings fixed. The results on three benchmarks are shown below. The RTO row and the default rows marked reproduce Table 1, and the row is the trajectory-level -DRTO variant already reported in Table 4. At , Eq. (16) reduces to the response-balanced mean of the span losses, so this row removes the dispersion penalty while retaining span aggregation. The minimum span length and cut threshold are each varied against the default; marks the paper setting.
| Configuration | GSM8K | MATH-500 | GPQA |
|---|---|---|---|
| RTO, Table 1 | 73.2 | 18.0 | 26.3 |
| radius , with , , : | |||
| , response-balanced span mean | 76.6 | 18.4 | 25.8 |
| , -DRTO | 78.7 | 22.4 | 27.3 |
| 78.7 | 22.0 | 26.3 | |
| KL radius , with the remaining parameters at their defaults: | |||
| 77.7 | 19.4 | 26.8 | |
| , KL-DRTO | 77.3 | 18.8 | 26.3 |
| 76.6 | 17.8 | 26.3 | |
| Maximum span count , with : | |||
| , trajectory-level, Table 4 | 77.7 | 18.6 | 25.8 |
| 78.7 | 22.4 | 27.3 | |
| 76.6 | 18.8 | 25.3 | |
| Minimum span length and cut threshold, with : | |||
| 76.1 | 23.4 | 25.8 | |
| 76.0 | 20.0 | 21.7 |
For -DRTO, the gains on GSM8K and MATH-500 are retained at both tested positive radii: and reach and , while gives only a point gain over RTO on MATH-500. This indicates that the main improvement is not isolated to a single precise radius within the tested range, although GPQA favors and the present sweep is not broad enough to establish general hyperparameter insensitivity. For KL, the smaller tested radius performs best, and improves all three reported benchmarks. The span-count sweep is strongest at , which improves MATH-500 by points over the trajectory-level variant and by points over . Reducing the minimum span length to increases MATH-500 from to , but decreases GSM8K and GPQA from to ; the alternative therefore does not dominate the paper setting, while provides the stronger balance across the three evaluations. The weaker result at is consistent with the design motivation for a lower threshold: restricting cuts to more surprising realized tokens may avoid introducing noisy or excessive boundaries.
We will present these completed sweeps as empirical selection guidance rather than as universally optimal settings.
Q2. Can the authors report variation over multiple training seeds for the main math setting?
Response. Yes. We trained three additional independent seeds for the main -DRTO math configuration. The table below reports all four runs on the three requested benchmarks. The RTO and seed 42 rows reproduce Table 1, while seeds 123, 456, and 789 change only the random seed and otherwise follow the same -DRTO setup.
| Method and seed | GSM8K | MATH-500 | GPQA |
|---|---|---|---|
| RTO, seed 42, Table 1 | 73.2 | 18.0 | 26.3 |
| -DRTO, seed 42 | 78.7 | 22.4 | 27.3 |
| -DRTO, seed 123 | 76.9 | 20.8 | 26.3 |
| -DRTO, seed 456 | 77.9 | 23.6 | 26.3 |
| -DRTO, seed 789 | 77.4 | 21.6 | 26.3 |
| -DRTO, mean std | 77.7 0.8 | 22.1 1.2 | 26.6 0.5 |
Across the four seeds, every seed exceeds the seed-42 RTO reference on GSM8K and MATH-500, and matches or exceeds it on GPQA, so the gains on GSM8K and MATH-500 are consistent across seeds rather than specific to seed 42. Because a seed-matched RTO run is available only for seed 42, these results characterize the seed variation of -DRTO itself but not that of the -DRTO--RTO difference; given the compute cost of on-policy RLHF, seed-matched entire runs for the additional seeds were not feasible within the response period.
Q3. Can the authors compare with simpler large-loss span weighting or a focal-loss-inspired rule?
Response. Yes. This comparison is designed to isolate the value of the DRO formulation from the general idea of emphasizing difficult spans. The additional baseline uses the same model initialization, training data, rollout procedure, token reward, span boundaries, actor losses, optimizer, schedule, and total training budget as DRTO. Only the rule that aggregates the span losses is changed.
This baseline gives a fixed extra weight to the spans whose detached actor losses fall in the highest loss quantile, followed by normalization, with the weighting strength fixed without using the test benchmarks. It therefore tests directly whether a simple hard-example rule is sufficient. The row provides a separate uniform-span control that retains the response-balanced span mean but performs no difficult-span reweighting.
| Aggregation rule | GSM8K | MATH-500 | GPQA |
|---|---|---|---|
| RTO, Table 1 | 73.2 | 18.0 | 26.3 |
| Response-balanced span mean, | 76.6 | 18.4 | 25.8 |
| Fixed high-loss span weighting | 77.2 | 17.2 | 26.8 |
| KL-DRTO, paper setting | 77.3 | 18.8 | 26.3 |
| -DRTO, paper setting | 78.7 | 22.4 | 27.3 |
The two controls help isolate the role of the DRO formulation. Response-balanced span averaging at recovers part of the gain on GSM8K but stays near RTO on MATH-500, while fixed high-loss span weighting, which explicitly upweights the largest-loss spans without a divergence constraint, falls below RTO on MATH-500 and remains below -DRTO on all three benchmarks. Thus, neither uniform span averaging nor this simple large-loss weighting rule reproduces the DRTO gain. These matched results support the value of the DRO-derived, batch-adaptive reweighting beyond hard-example weighting alone. We will add this comparison and the exact weighting definition to the final version.
Q4. Does DRTO improve multi-turn dialogue or open-ended preference tasks, or is the current evidence limited to single-response reasoning and code tasks?
Response. The current evaluation uses one generated response for each prompt. The same construction can be extended to multi-turn dialogue by assigning total nominal mass at the conversation level and then distributing it across turns and spans. Interactive dialogue also introduces an additional issue: an early response changes the states and rewards encountered in later turns. We therefore view multi-turn evaluation as an important extension rather than evidence already established by the present experiments, and we will state this scope explicitly.
Q5. How should practitioners choose between KL-DRTO and -DRTO, especially given the HumanEval decrease for KL-DRTO?
Response. The two variants differ in the geometry of their reweighting. KL-DRTO induces an exponential tilt in the span losses, whereas the surrogate applies a mean--dispersion penalty whose induced multiplier is affine in the centered loss when the tightness condition holds. The actual concentration depends on both the radius and the minibatch loss distribution, and the numerical radii of the two divergences are not directly comparable.
Empirically, the current results suggest a practical distinction. On math, -DRTO matches or exceeds RTO on all five benchmarks and is best in Table 1 on GSM8K, GSM(CoT), and MATH-500. KL-DRTO is best on the language-shifted GSM(ES). On code, -DRTO improves over RTO on HumanEval, MBPP, and LiveCodeBench. KL-DRTO gives larger gains on MBPP and LiveCodeBench, but decreases on HumanEval. Thus, -DRTO is the more consistent choice across the evaluated benchmarks, whereas KL-DRTO remains a useful alternative when held-out validation favors its exponential reweighting geometry for the target task.
The radius study offers a further reason to prefer -DRTO as a default within the tested range: its gains on GSM8K and MATH-500 are retained at both and , so the main improvement is not tied to a single precise radius, with additionally best on GPQA. For KL, the smaller value performs best among the tested radii. Because KL and use different divergence geometries, their numerical radii should not be compared directly. We will include a concise selection guide in the final version.
We hope that these clarifications and additional experiments address the reviewer's main concerns, and we respectfully ask the reviewer to consider increasing their score.
Comments on the paper
1 comment
Dear reviewers,
The author-reviewer discussion period will close in 20 hours. Please take a look at the authors' response and participate in the discussion if you have not already done so.
AC
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Dear Area Chair,
We sincerely thank you for the meta review. During the discussion period, we substantially addressed the three major concerns highlighted, through additional experiments and a narrower, more precise statement of the robustness claim.
First, on the conceptual link between deployment-time shifts and in-batch span reweighting, we clarified that the ambiguity set is a reference-conditional model over the observed span losses, rather than a formal model of the test-time input distribution. The χ² mean–dispersion objective and the KL entropic objective provide local regularization of the on-policy update, while the improved consistency under the evaluated natural shifts is an empirical finding rather than a formal input-space guarantee. Reviewer 5qD3 agreed with this revised framing and found that it sufficiently addressed the overclaiming concern. Reviewer o7xm noted two remaining conceptual distinctions, which we responded to in a subsequent clarification and will reflect in the revision.
Second, we added several sensitivity studies over the ambiguity radius, the maximum span count, the minimum span length, and the cut threshold. The results indicate that the main gains are not confined to a single fragile setting, while we also make explicit that these sweeps are not an exhaustive joint sensitivity analysis. Reviewer 5qD3 described these studies as helpful, and Reviewer 6Yhx confirmed that their concerns had been satisfactorily addressed.
Third, we completed four independent seeds for the main χ²-DRTO math configuration and now report the mean and standard deviation across them, including 22.1 ± 1.2 on MATH-500. We also added a matched fixed high-loss span-weighting baseline under the same training budget. This simple hard-example rule does not reproduce the χ²-DRTO gains, particularly on MATH-500, providing evidence that the improvement is not explained by fixed difficult-span weighting alone. Reviewer 5qD3 identified this comparison as directly addressing one of their main requests.
On the basis of these responses, Reviewers 5qD3 and o7xm raised the score from 3 to 4, with the expectation that the final version include the new sensitivity studies, the hard-span baseline, the multi-seed results, and a precise statement limiting the demonstrated robustness to the natural shifts evaluated. We commit to incorporating all of these revisions.
We hope that the additional experiments and clarifications, together with the reviewers' current assessments, support a favorable recommendation. Thank you for your consideration.