---
title: "Beyond Excess and Deficiency — paper by Bu et al. (2025)"
description: "Adaptive length bias mitigation adjusts how much answer length affects rewards for each prompt, reducing verbosity while preserving…"
canonical: "https://research.elamur.ai/free/en/papers/bu-2025-beyond-excess-deficiency-adaptive-length/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/bu-2025-beyond-excess-deficiency-adaptive-length/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2025](https://md.research.elamur.ai/free/en/papers/2025/) / Beyond Excess and Deficiency: Adaptive Length Bias Mitigation in Reward Models for RLHF

# Beyond Excess and Deficiency: Adaptive Length Bias Mitigation in Reward Models for RLHF

Paper · 2025 · Yuyan Bu, Liangyu Huo, Yi Jing et al.

**Authors:** Yuyan Bu, [Liangyu Huo](https://md.research.elamur.ai/free/en/authors/liangyu-huo/), [Yi Jing](https://md.research.elamur.ai/free/en/authors/yi-jing/) and [Qing Yang](https://md.research.elamur.ai/free/en/authors/qing-yang/) · **Year:** 2025 · **Venue:** Findings of the Association for Computational Linguistics: NAACL 2025 · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[Cited by **6** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/bu-2025-beyond-excess-deficiency-adaptive-length/cited-by/) · Findings of the Association for Computational Linguistics: NAACL 2025 · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2025.findings-naacl.169/)
- [PDF](https://aclanthology.org/2025.findings-naacl.169.pdf)
- [DOI 10.18653/v1/2025.findings-naacl.169](https://doi.org/10.18653/v1/2025.findings-naacl.169)

## Summary

When a system learns from comparisons between answers, it can pick up an easy rule that frequently works in the training data. If people often choose the more detailed answer, the system may learn to favor anything longer, including passages that add little. Removing the influence of length altogether creates a different problem. Some requests call for an explanation whose useful detail takes space, while others can be answered in a few direct sentences. The authors ask whether the scoring system used to train [large language models](https://md.research.elamur.ai/free/en/concepts/large-language-models/) can learn when length is relevant to a particular request.

Their method, Adaptive Length Bias Mitigation, or ALBM, gives the scorer separate outputs for answer quality and for the part of the preference signal associated with length. Both outputs are trained on the same human comparisons, with additional training terms that encourage their scores to behave differently as answer length changes. A further output estimates the weight of the length score from the prompt alone. The scorer uses that weight for both answers in a comparison. The training data supply the preferred answer, and the scorer learns the weight through its effect on the ranking.

On WebGPT, ALBM achieves preference accuracy of 0.6318, compared with 0.6223 for ordinary reward training. Its Spearman correlation between scores and answer length is -0.0209, compared with 0.5105 for the ordinary scorer. The aggregate figures capture a tradeoff that becomes clearer when the authors split the comparisons by which answer humans chose. ALBM makes fewer errors than the ordinary scorer when the shorter answer wins, and more when the longer answer wins. The two debiasing baselines move farther in both directions. Across the additional datasets and starting systems tested, ALBM retains higher preference accuracy than those two baselines.

The authors also use the scorers to train systems that generate answers. The policy trained with ALBM produces shorter answers on average than the policy trained with ordinary rewards, with reported average lengths of 228 and 261, respectively. In comparisons judged by GPT-4o, ALBM-trained answers have an overall win rate of 0.37 and a loss rate of 0.28 against the ordinary-reward policy. The results suggest that weakening a general incentive to write more can coexist with a preference for fuller answers where the prompt calls for them. The authors also report that length hacking was absent in some of their preliminary settings, so the need for this intervention depends on the training conditions.

## Deep dive: Beyond Excess and Deficiency: Adaptive Length Bias Mitigation in Reward Models for RLHF

Adaptive length bias mitigation adjusts how much answer length affects rewards for each prompt, reducing verbosity while preserving preference accuracy. · about 35 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### A preference label records a choice between whole answers

Reinforcement learning from human feedback, abbreviated RLHF, uses human judgments to guide the behavior of an answer generator. In the pipeline considered here, supervised [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) first gives the generator a starting policy. A policy specifies a distribution over responses to an input. The next stage trains a reward scorer on examples in which one answer to a prompt was chosen over another. Reinforcement learning then uses that scorer to evaluate new answers as the policy learns. One reason to train the scorer is that the optimization stage can obtain a reward for a new answer without collecting a fresh human comparison every time. The paper places this setup in the line of work represented by [Training language models to follow instructions with human feedback](https://md.research.elamur.ai/free/en/papers/ouyang-2022-training-language-models-follow-instructions/).

Each preference label gives the scorer a clear target for a pair and an ambiguous explanation for that target. A longer answer can win because it covers a point the other answer misses, because its argument is organized more clearly, or because it explains a difficult idea in terms the reader can follow. The annotation records which complete answer the person chose. It does not separately identify how much of the decision came from detail, presentation, or length. A scorer trained to reproduce the choice can consequently find a statistical pattern in length that is easier to reuse than the reasons people preferred individual answers.

The ambiguity matters because during reinforcement learning the scorer becomes an objective. In a held-out comparison, a scoring shortcut can produce incorrect orderings. In policy training, the same shortcut can also affect the answers that are available to be scored. If adding material tends to raise the reward, an optimizing policy has an incentive to produce longer answers. An increase in reward can then reflect use of the shortcut even when the added material does little for the reader. The authors describe this as length hacking, a particular instance of reward hacking. They place it alongside earlier work on the limits of using learned reward as an objective, including [Scaling Laws for Reward Model Overoptimization](https://md.research.elamur.ai/free/en/papers/gao-2022-scaling-laws-reward-model-overoptimization/).

#### A useful explanation and an unnecessarily long answer can share a length

The authors illustrate the problem with requests that differ in what the user needs. A request for an explanation suitable for a young child may call for concrete language, supporting detail, and more room to develop the explanation. A focused question about what causes the pungency of garlic calls for an answer that reaches the specific point. Length can accompany success in the first case and be mostly incidental in the second. Both answers still have to meet the request. A lengthy explanation can miss its audience, and a short factual answer can omit the actual cause.

This motivates the paper’s distinction between length-sensitive and length-neutral prompts. In the conceptual distinction, a length-sensitive request is one for which answer length has some bearing on what the user is likely to prefer. In a length-neutral request, a broad preference for added length has less justification. The experimental subsets operationalize that distinction using the relative lengths of answers and the observed preferences. The motivation is about what a prompt calls for, while the experiment observes the outcome of a comparison between particular answers. A person can choose the shorter answer because it is more accurate and still be willing to read a fuller answer if the added material serves the request.

The risk of treating length uniformly follows from this difference. With an ordinary scorer, observing many examples in which longer answers win can create a common preference for them across prompts. An intervention designed to flatten that relationship everywhere can also weaken the signal from comparisons where the longer answer does something the reader needs. The paper’s question is how to retain a usable association with length where supported by the task while keeping it from becoming a general way to earn reward.

#### Where earlier interventions acted

The paper distinguishes pipelines with an explicit reward scorer from those that optimize preferences through an implicit reward. In an explicit pipeline, the trained scorer is a separate component that assigns a value to the answer. The implicit family includes [Direct Preference Optimization](https://md.research.elamur.ai/free/en/papers/rafailov-2023-direct-preference-optimization-language-model/), which expresses the preference-learning objective through the policy. The authors describe length reliance in both families. Within implicit approaches, previous work has incorporated length into the preference loss or adjusted the reward used to label answers sampled from the current policy. The related work includes [Disentangling Length from Quality in Direct Preference Optimization](https://md.research.elamur.ai/free/en/papers/park-2024-disentangling-length-quality-direct-preference/) and [RLHF Workflow](https://md.research.elamur.ai/free/en/papers/dong-2024-rlhf-workflow-reward-modeling-online/).

In explicit pipelines, researchers have also intervened during the reinforcement learning stage itself. The paper describes stronger regularization toward the starting policy, excluding outputs past a length threshold, scaling rewards, and adding a length penalty. These techniques change what happens as the policy is optimized. For example, stronger regularization makes it harder for the policy to move far from the generator that started training, which can restrain a move towards much longer answers. The authors describe prior work as finding a cost to policy optimization when such interventions reduce reliance on length too aggressively.

Other approaches act earlier, while the scorer is learning. An intervention in the data can balance preferences across differences in response length, so an association between the chosen label and the longer answer is less readily available during training. The paper uses a length-balancing baseline associated with [A Long Way to Go](https://md.research.elamur.ai/free/en/papers/singhal-2023-long-way-go-investigating-length/). An intervention in the scorer can instead use separate outputs for quality and length. The paper draws on this family of approaches, represented in its comparisons by [ODIN](https://md.research.elamur.ai/free/en/papers/chen-2024-odin-disentangled-reward-mitigates-hacking/).

ALBM operates at the scoring stage and builds on the separation of outputs. Once there is a score associated with length and another intended to capture quality, the remaining question is how to use them. A score that always includes the same length contribution treats each prompt alike in that respect. A score that drops the length component supplies a common solution in the other direction. The proposed scorer conditions the contribution on the prompt. This makes the reward itself the place where the system can learn that the value of additional detail varies with the request.

### The method, step by step

#### From a comparison to a scalar reward

Start with a prompt and a pair of answers. One answer has already been selected by the preference annotation. The reward scorer reads the prompt with the chosen answer and assigns a score. It then reads the same prompt with the rejected answer and assigns another score. Training encourages the chosen answer to receive the higher value. During later policy training, the resulting scorer can evaluate an answer without a paired alternative because it learned a scalar function for a single prompt and response.

The ordinary reward scorer is initialized from the supervised generator. Following the setup the authors associate with [Llama 2](https://md.research.elamur.ai/free/en/papers/touvron-2023-llama-2-open-foundation-fine/), it adds a randomly initialized linear layer at the output. The backbone is the part inherited from the generator that turns the input into a feature representation. The linear layer, frequently called a head, turns that representation into a scalar. The paper writes the computation as follows.

```
rθ(x, y) = (gψ ∘ fϕ)(x, y)
```

Here `x` is the prompt, `y` is an answer, and `rθ` is the reward function with trainable parameters `θ`. The backbone `fϕ` has parameters `ϕ`, and `gψ` is the linear head with parameters `ψ`. The composition symbol `∘` means that the backbone is applied to the input first and the head is applied to its output. The equals sign states that the reward is the result of that computation. The parameters of the backbone and the head together constitute `θ`.

The ordinary training loss uses the Bradley–Terry formulation for paired comparisons. What matters to the ranking is the score gap. A gap favoring the human choice lowers the training loss, with stronger support as the score assigned to the chosen answer rises relative to its rival.

```
L_RM = −𝔼[log σ(rθ(x, y_w) − rθ(x, y_l))]
```

`L_RM` denotes the ordinary reward training loss. `𝔼` is an expectation over the labeled comparisons, estimated during training from the data. `log` is the logarithm, `σ` is the sigmoid, and `rθ` is the scalar scoring function just defined. Both calls receive the same prompt `x`. The subscript `w` in `y_w` identifies the chosen answer, and `l` in `y_l` identifies the rejected answer. The subtraction inside the sigmoid gives the chosen answer’s score advantage. The leading minus sign turns the log of the assigned probability into a quantity to minimize. With a negative gap the sigmoid gives less support to the annotated decision, and the loss rises.

There is no separate target for the textual feature that should account for the gap. For any given pair, getting the ordering right is compatible with using many different properties of the answers. ALBM changes the structure of the scorer and adds training signals to guide the use of one of those properties, response length.

#### Giving the scorer separate outputs

ALBM first gives the shared backbone a quality head and a length head. A head is a separate linear projection, so both can read the same underlying prompt-and-answer representation while mapping it to different scalar scores. The quality head is intended to learn preferences that survive when reliance on length is reduced. The length head is intended to capture the part of preference learning associated with length. Both heads receive preference supervision. Length in tokens enters through a separate constraint, so the length head’s output is a learned reward signal, with token count used to shape it.

How ALBM learns and combines its reward scores The steps in order.

The diagram describes the computations and sources of supervision. The losses work together during training. The combined ranker can send a training signal to the heads and the prompt analyzer while the auxiliary terms shape what the individual outputs learn.

It is useful to give names to the outputs before writing their losses. In the following notation, `q` abbreviates the result of applying the quality head to the shared representation.

```
q(x, y) = (gψq ∘ fϕ)(x, y)
```

`q(x, y)` is the quality score of answer `y` under prompt `x`. `gψq` denotes the quality projection, with parameters `ψq`. `fϕ` is the shared backbone with parameters `ϕ`, and `∘` denotes composition, applying the head to the backbone’s representation. The equality defines a shorter name for the score in the subsequent formulas.

The length score is computed from the same inputs with its own projection.

```
ℓ(x, y) = (gψl ∘ fϕ)(x, y)
```

`ℓ(x, y)` is the length-related score for prompt `x` and answer `y`. `gψl` is the length projection, and `ψl` denotes its parameters. `fϕ` is again the shared backbone and `∘` again puts the head after it. The letter `ℓ` names the score, while the subscript `l` in the training pair still labels the rejected answer. These are different roles in the equations.

Each head gets a ranking loss of its own. Written with the abbreviated output names, the decomposition loss is the sum of the loss for the quality output and the loss for the length output.

```
L_DR = −𝔼[log σ(q(x, y_w) − q(x, y_l))] − 𝔼[log σ(ℓ(x, y_w) − ℓ(x, y_l))]
```

`L_DR` is the decomposition ranking loss. `q` and `ℓ` are the quality and length scores. The prompt `x` is shared by the chosen answer `y_w` and the rejected answer `y_l`. Each `𝔼` averages a term over the preference comparisons. Each `σ` maps the relevant chosen-minus-rejected gap into a probability, `log` takes its logarithm, and a leading minus sign makes that term a loss. Both terms therefore encourage agreement with the observed choice, using their respective scores.

This part alone gives both heads an incentive to learn any signal that predicts the choice. A quality head could use length, and a length head could use other information encoded by the backbone. The auxiliary constraints give the outputs different training incentives. One acts on their observed scores and the other on the projection weights.

#### Encouraging specialization through training constraints

The explicit constraint measures the association between each head’s scores and the number of tokens in the associated answers. A token is a unit of the system’s [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/), so the count follows the text representation used in training. The paper uses Pearson correlation for this constraint. Pearson correlation measures linear association between the values in two sets of paired observations. Here the observations consist of reward scores and response lengths collected over the global minibatch.

```
L_EL = ρ(q(x, y), L(y)) − ρ(ℓ(x, y), L(y))
```

`L_EL` is the explicit constraint term. `ρ` denotes Pearson correlation computed across the global minibatch. `x` is the prompt and `y` is the corresponding answer in each observation. `q` supplies the quality scores and `ℓ` supplies the length scores. `L(y)` is the token count of `y`. The first correlation appears with a positive sign in the loss, so minimizing that contribution pushes it downward. The second appears with a minus sign, so minimizing the contribution pushes that correlation upward.

The signs are worth following closely. The authors describe the quality objective as reducing its dependence on length. In the displayed equation the first correlation is signed. The paper shows neither an absolute value nor a square on that term. Taken literally, it rewards smaller signed correlations, which can include a negative association. The other ranking losses interact with that incentive. The complete training procedure can produce a scorer whose aggregate association is small, while the displayed penalty by itself expresses a direction for optimization rather than a requirement of statistical independence.

The implicit constraint uses the weight vectors of the projections. The authors describe its purpose as encouraging orthogonality, in the sense that the heads should look in different directions in the shared representation.

```
L_IL = Wψq Wψlᵀ
```

`L_IL` denotes the implicit constraint term. `Wψq` is the linear projection weight for the quality output and `Wψl` is the corresponding weight for the length output. The superscript `ᵀ` denotes transposition. The juxtaposition of the terms denotes their product, which gives an inner product for scalar-output row projections. Orthogonal vectors have an inner product of zero. The paper displays the raw product without a norm or square, so the equation specifies the contribution as printed while the accompanying description gives the intended role. The condition concerns the projection weights. Even exactly orthogonal projections could yield related scores when the features in the shared representation vary together.

#### Learning a length weight from the prompt

With separate scores available, ALBM uses an additional head to analyze the prompt. It applies the same backbone to the prompt on its own and uses the analyzer’s output as a weight for the length score. The weight consequently stays fixed when the scorer compares answers to that prompt. What varies between the answers is the quality score and the length score. This keeps the meaning of the weight at the level of the request. The system can learn that the same amount of difference in length-associated reward should count differently under another prompt.

```
a(x) = (gψp ∘ fϕ)(x)
```

`a(x)` denotes the prompt-dependent weight. `x` is the prompt on its own. `fϕ` is the shared backbone with parameters `ϕ`, and `gψp` is the prompt analyzer with parameters `ψp`. The composition sign `∘` again means that the head receives the output of the backbone. The notation is an abbreviation for the prompt-dependent factor in the authors’ combined score.

```
r(x, y) = q(x, y) + a(x) × ℓ(x, y)
```

`r(x, y)` is the combined reward for prompt `x` and answer `y`. `q(x, y)` is the quality output and `ℓ(x, y)` is the length output for that same input. `a(x)` is the weight from the prompt analyzer. The multiplication sign `×` indicates that the weight scales the length output, and the plus sign adds the resulting contribution to the quality output. The paper does not specify a range or calibration for the analyzer’s output. It is a learned contribution to a reward calculation rather than a reported probability that a prompt belongs to a length category.

Consider the ordering of a longer and a shorter answer to the same request. If their quality scores favor the shorter answer, the length contribution can still affect whether that advantage survives in the final score. Its influence depends on the gap between the length scores and on the weight for the request. For a different request, the same pattern of head scores could carry a different implication because the weight can change. The computation does not have to predict a target number of tokens. Its immediate task is to give the right answer in a pair the greater combined reward.

The primary ranking objective is the Bradley–Terry loss applied to that combined reward. Written out, the contribution of the analyzer is the same factor in the chosen and rejected parts of the expression.

```
L_R = −𝔼[log σ(q(x, y_w) + a(x) × ℓ(x, y_w) − q(x, y_l) − a(x) × ℓ(x, y_l))]
```

`L_R` denotes the main ranking loss for ALBM. `𝔼` averages over preference pairs, `log` is the logarithm, and `σ` is the sigmoid. `x` is the prompt, `y_w` the chosen response, and `y_l` the rejected response. `q` gives the quality scores, `ℓ` the length scores, and `a(x)` the shared prompt weight. Multiplication applies that weight to each length score. The addition and subtraction inside the sigmoid form the chosen combined reward minus the rejected combined reward. The outer minus sign makes higher probability for the observed decision correspond to lower loss.

The preference data do not have to supply a separate label for how long an answer to the prompt should be. The gradient from the combined ranking loss can instead adjust the prompt analyzer according to whether its weight made the observed choice easier or harder to recover. This differs from the use of length-sensitive and length-neutral subsets in the evaluation. There the authors assign categories by observing which side of the comparison is longer. In training the analyzer learns through the ranking objective, and its input is available even when the answer pair and human label are absent.

#### Putting the objectives together

The final objective adds the auxiliary losses to the ranking loss for the combined reward. The coefficients allow the ranking and specialization objectives to have different strengths.

```
L_final = L_R + λ_DR L_DR + λ_EL L_EL + λ_IL L_IL
```

`L_final` is the full training loss, `L_R` is the combined ranking term, and `L_DR` is the sum of the separate heads’ ranking losses. `L_EL` is the score-and-length correlation term, and `L_IL` is the term on the projection weights. The `λ` symbols denote regularization coefficients. `λ_DR` multiplies the decomposition term, `λ_EL` the explicit correlation term, and `λ_IL` the implicit projection term. The plus signs join these contributions into the quantity minimized during training. The product of a coefficient and its loss is written by juxtaposition.

The structure gives each source of supervision a specific job. Separate ranking terms keep both outputs connected to preference prediction. The score correlations encourage them to use length differently. The weight constraint acts on the projections that produce the outputs. The main ranking term teaches the analyzer and the rest of the scorer to make the combined decision. Since these objectives are optimized jointly, an improvement of the combined ranker does not, on its own, establish which auxiliary term enabled it.

#### Using the trained scorer to optimize a policy

For the main experiments the authors start from Vicuna-7B-v1.5, a supervised system derived from LLAMA 2 using user-shared conversations collected through ShareGPT. The paper associates Vicuna with [Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena](https://md.research.elamur.ai/free/en/papers/zheng-2023-judging-llm-judge-mt-bench/). The authors use DeepSpeed-Chat on NVIDIA A800 80GB GPUs and set the learning rate for reward training to 1e-5. They normalize the methods’ reward outputs during training so the comparisons can use consistent hyper-parameter settings.

Once the scorer is trained, proximal policy optimization, or PPO, adjusts the answer generator. The policy starts from the same supervised system that initialized the scorer. PPO uses a learned value component as part of optimization. The paper reports a policy learning rate of 1.4e-6, a value learning rate of 1e-6, and a regularization coefficient of 0.007 for the penalty on departures from the starting policy.

The paper’s objective expresses the tension between a high learned reward and staying close to the original policy.

```
max over w  {𝔼_(x,y)∼Dπw[rθ(x, y)] − β D_KL(πw(y | x) ∥ π_SFT(y | x))}
```

`w` denotes the trainable policy parameters, and `max over w` means that training seeks higher values of the objective by adjusting those parameters. `πw` is the current policy, and `Dπw` denotes the prompt-and-response pairs sampled under it. `𝔼` is the expectation, with `∼` indicating that `x` and `y` are drawn according to that sampling setup. `rθ(x, y)` is the learned reward for prompt `x` and response `y`, with `θ` denoting the scorer’s parameters. `D_KL` is the Kullback–Leibler divergence, which here penalizes a departure of the current distribution from the supervised reference `π_SFT`. In `πw(y | x)` and `π_SFT(y | x)`, the vertical bar indicates conditioning the distribution of answers `y` on prompt `x`. The double bar separates the current and reference distributions in the divergence. `β` scales the penalty, and the subtraction makes greater divergence costly in the objective.

The scorer supplies feedback about the policy’s new responses. That makes this stage a test of more than the scorer’s ability to order fixed pairs. If a scorer rewards unnecessarily long answers, optimization can seek them out. If it suppresses length too strongly, optimization can also favor answers that omit material the prompt warrants. The downstream comparison asks how these different reward signals translate into generated answers when the training pipeline starts from the same supervised policy.

### Experiments and results

#### What the reward scorers are compared on

The main dataset is WebGPT, a human-annotated preference collection for open-domain [question answering](https://md.research.elamur.ai/free/en/topics/question-answering/) containing 19.6K examples. For the scorer, each usable comparison identifies a more preferred and a less preferred answer to a question. An accuracy result reports how frequently the scorer gives the preferred answer the higher score. The paper evaluates this accuracy alongside the strength of the association between scores and lengths, because a scorer can agree with a substantial share of the labels while still giving length undue influence. The dataset originates in [WebGPT](https://md.research.elamur.ai/free/en/papers/nakano-2021-webgpt-browser-assisted-question-answering/).

The authors compare ALBM with an ordinary scorer, labeled Vanilla, and with Bal and Odin. Bal changes the training data so that pairwise length differences have a symmetric distribution in bins of 10 tokens. A difference favoring the chosen answer in one direction is thus counterbalanced in the corresponding length range in the other direction. The scorer has less opportunity to use a systematic advantage for the longer answer as a predictor of the label. Odin makes a change to the scorer by decomposing the reward into quality and length components and discarding the length head when providing the reinforcement learning reward. These baselines let the paper compare adaptive weighting with a change to the data and with a different treatment of decomposed reward.

The overall accuracy column combines comparisons that can pull the scorer in different directions. For the subset the authors call length-neutral, the human-chosen answer is shorter than its rejected counterpart. For the length-sensitive subset, the paper describes the remaining data in terms of a preference for the longer answer. The subgroup failure rates measure how frequently the scorer disagrees with the preference in the corresponding subset. The separation is important to the experiment. If the scorer habitually favors added length, its errors should be especially visible when the observed choice goes to the shorter answer. A method that broadly removes the advantage of length can move errors in the opposite direction.

The score-and-length association in the results tables is Spearman correlation, which measures whether the ranks of scores tend to rise or fall with the ranks of lengths. It differs from Pearson correlation, used to train the separate heads, which measures linear association among the paired values. A positive Spearman value indicates a tendency for longer answers to rank higher in reward. A negative value indicates a tendency in the opposite direction. For the authors’ purpose, small magnitude is relevant to the question of a general length shortcut, while subgroup results help reveal behavior that an aggregate correlation can conceal.

#### Overall accuracy and the two kinds of failure

The WebGPT comparison gives ALBM the highest overall preference accuracy among the four scorers. The ordinary scorer is close in aggregate accuracy. Bal and Odin both fall below it, so the performance cost of suppressing the length association is visible in the same experiment that motivates reducing it.

Preference accuracy of reward scorers on WebGPT Adaptive weighting leads the comparison on agreement with human choices.

**The numbers**

| System or setting | Accuracy |
| --- | --- |
| Vanilla | 0.6223 |
| Bal | 0.5906 |
| Odin | 0.5792 |
| ALBM (this paper) | 0.6318 |

The untreated association is strongest for Vanilla, whose Spearman correlation is 0.5105. Bal lowers the reported correlation to -0.1067, and Odin gives -0.0670. ALBM has a correlation of -0.0209. A lower signed score-length correlation can reflect an overall tendency in favor of shorter answers, so the negative values add information beyond the observation that all interventions weaken Vanilla’s positive association. ALBM lands closest to zero on this measure while achieving the greatest agreement with the WebGPT annotations.

In the length-neutral subset, where the preference goes to the shorter answer, Vanilla has a failure rate of 0.6416. Bal reduces it to 0.3721, and Odin records 0.3905. ALBM gives 0.4655. A reader prioritizing that subset alone would therefore favor Bal among these settings. The ordinary scorer’s much higher failure rate shows how poorly its overall accuracy represents its performance when the shorter answer is the human choice.

The ordering changes in the length-sensitive subset. Vanilla has a failure rate of 0.1945, Bal reaches 0.4431, and Odin reaches 0.4508. ALBM gives 0.3049. The standard reward is the most accurate of these settings on this subset, while ALBM retains more of its performance than either debiasing baseline. Because membership is based on the actual answer pair, each failure rate describes agreement under a particular observed relationship between length and preference. It gives no direct measurement of how much a human would value additional detail if an otherwise identical answer were available.

Together, the failure rates explain the kind of balance reflected in the overall accuracy. ALBM accepts more errors on the shorter-chosen subset than either alternative intervention and fewer errors on the longer-chosen subset. It also improves the shorter-chosen result relative to ordinary scoring. This makes the comparison more informative than taking a single correlation as the success criterion. Consequences for actual preference ordering are visible on both sides of the split. The authors report that the extra computation increases the scorer’s forward-pass time by 0.75% compared with ordinary reward scoring.

#### Transfer across datasets and starting systems

The out-of-domain evaluation uses RM-static and Stack. RM-static is drawn from the Anthropic Helpful and Harmless collection and gives the evaluation multi-turn dialogue. Stack supplies preferences for technical StackExchange questions in the coding domain. The paper reports accuracy and Spearman correlation for the reward scorers on both. These measurements address generalization of preference scoring across datasets. The appendix comparisons use the scores assigned to responses, so they answer a different question from the subsequent evaluation of policies generating new responses.

On RM-static, ALBM’s preference accuracy is 0.6513 and its score-length correlation is 0.3226. Vanilla gives accuracy of 0.6340 and correlation of 0.6571. Bal gives 0.6326 and 0.3194, respectively, while Odin gives 0.6306 and 0.2339. ALBM leads on accuracy here, and Odin weakens the association more. The positive correlation for ALBM also shows that the near-zero result on the main WebGPT evaluation does not carry over unchanged to this dataset.

On Stack, Vanilla’s accuracy is 0.6073 and its correlation is 0.3604. ALBM attains 0.5906 and 0.2018. Bal records accuracy of 0.5420 and correlation of -0.0469, and Odin records 0.5440 and 0.1048. The adaptive scorer improves accuracy over the two alternatives designed to reduce length reliance. In this setting ordinary scoring retains the highest accuracy at the strongest positive association with length among the compared scorers. Stack and RM-static therefore provide different answers to the comparison with Vanilla, while showing the same accuracy ordering between ALBM and the other debiasing methods.

The appendix also varies the starting system. Vicuna-13B-v1.5 tests a change of scale within the Vicuna architecture. The other configuration is LLAMA3-SFT, obtained by supervised training of LLAMA-3-8B on a mixture of public instruction datasets. The paper describes the latter as similar in size to the main foundation system and different in architecture. Its appendix reports accuracy and score-length correlation for these alternative backbone evaluations. The dataset axis and the backbone axis are reported in separate comparisons.

For the LLAMA-3-8b comparison, ALBM has accuracy of 0.6327 and correlation of 0.2632. The Vanilla figures are 0.6451 and 0.4439. Bal has 0.6095 accuracy and 0.1197 correlation, while Odin has 0.6021 and -0.1276. ALBM again places between Vanilla and the two debiasing baselines in accuracy. The remaining positive correlation with length shows that its accuracy advantage among the interventions accompanies greater positive length association than either of those baselines in this configuration.

For the VICUNA-13b comparison, Vanilla has accuracy of 0.6328 and correlation of 0.2736. ALBM gives 0.6294 and 0.2205. Bal achieves accuracy of 0.5762 with correlation of -0.0423. Odin achieves accuracy of 0.5873 with correlation of 0.2331. Here ALBM exceeds Odin in accuracy while also producing a lower score-length correlation. Bal suppresses the overall association more strongly. The two backbone checks give evidence for ALBM’s accuracy advantage over Bal and Odin beyond the main Vicuna setup, with the size and direction of the remaining association varying by setting.

#### What changes after reinforcement learning

The downstream experiments start the answer generators from the same supervised policy and optimize them with their respective learned rewards. The authors select checkpoints from the convergence stage at the same training step for each method. They then inspect both the length of the generated answers and their relative quality under pairwise evaluation. This separates the easily observed effect on output length from the question of whether the resulting answers are preferred.

The supervised starting policy has an average answer length of 198. Training with Vanilla increases the mean to 261. Bal produces an average of 125, below the starting policy, while Odin and ALBM yield 206 and 228. The intervention that shortens answers most is thus Bal. ALBM reduces average length relative to Vanilla while retaining more of the increase in length over the supervised starting point.

Mean answer length in the downstream generation evaluation Adaptive weighting reduces average length relative to ordinary reward training.

**The numbers**

| System or setting | Average response length |
| --- | --- |
| SFT | 198 |
| Vanilla | 261 |
| Bal | 125 |
| Odin | 206 |
| ALBM (this paper) | 228 |

The direction in the chart indicates shorter answers. Quality is assessed separately. A system could rank well on output length simply by providing less information. To test the resulting answers, the paper uses GPT-4o to judge comparisons against the policy trained with Vanilla. Each entry gives a win, tie, or loss for the challenger in that head-to-head evaluation. The reference throughout is the same Vanilla-trained policy, so the most direct interpretation is whether a particular challenger tends to win or lose against it.

Challenger win rates against Vanilla in the GPT-4o downstream evaluation The policy trained with adaptive rewards wins most often against the common reference.

**The numbers**

| System or setting | Win rate |
| --- | --- |
| SFT | 0.16 |
| Bal | 0.25 |
| Odin | 0.28 |
| ALBM (this paper) | 0.37 |

Across all evaluated cases, the supervised policy ties at 0.34 and loses at 0.50. This comparison supports the authors’ conclusion that the ordinary reinforcement learning stage improves on the supervised starting point under the judge used. Bal ties at 0.30 and loses at 0.45. Odin has a tie rate of 0.41 and a loss rate of 0.31. ALBM ties at 0.35 and loses at 0.28. Among the tested challengers, ALBM is the one with more wins than losses in the overall comparison. Its win rate should be read with the substantial share of ties, which records how often the judge declines to favor either answer.

The length-sensitive breakdown is especially revealing for the comparison between reward interventions. ALBM wins at 0.40, ties at 0.30, and loses at 0.30. Odin’s corresponding rates are 0.26, 0.34, and 0.40. Bal gives 0.20, 0.24, and 0.56. The supervised policy gives 0.12, 0.36, and 0.52. The Vanilla policy is favored over the other challengers in more cases than it loses to them on this split. ALBM reverses that balance while still producing shorter answers than Vanilla on the reported overall length measure.

On the length-neutral split, ALBM wins at 0.34, ties at 0.4, and loses at 0.26. Odin wins at 0.30, ties at 0.48, and loses at 0.22. Bal’s rates are 0.30, 0.36, and 0.34, and the supervised policy’s are 0.20, 0.32, and 0.48. The two interventions that use separate reward outputs both register more wins than losses against Vanilla on this split. ALBM wins more frequently than Odin in their respective comparisons with the reference, while Odin loses less often and ties more often. There is no direct ALBM–Odin judgment in these figures.

The generative results answer a practical question raised by the reward accuracy table. A score can look more balanced on fixed comparisons and still behave poorly when a policy begins seeking high-reward answers. In this experiment, ALBM’s lower average output length accompanies a favorable comparison with Vanilla in each reported subset. The evidence for quality comes from GPT-4o judgments of the generated responses. The earlier accuracy results concern agreement with the human labels in preference data, so the two evaluations support different parts of the argument.

### What the ablations show

The paper reports no component-removal ablation of ALBM. It offers controlled comparisons between reward methods, an analysis of how scores respond to length manipulations, and checks across datasets and starting systems. These analyses can show how the full scorer behaves and where it differs from alternatives. They provide less separation of the effects of its correlation loss, projection constraint, and prompt analyzer.

#### Seeing how ordinary scoring and Odin handle longer answers

The appendix uses WebGPT to illustrate the starting problem by plotting score against response length for both kinds of comparison. In the authors’ reading of the plot, the ordinary scorer tends to award higher scores to longer answers whether the split is length-sensitive or length-neutral. Odin’s scores are comparatively flat as length increases in both cases. The two behaviors give the paper its motivation for adaptation. A positive slope on the subset with shorter chosen answers is consistent with an unwanted incentive, while a flat curve across both subsets leaves little room to use length even where it could carry preference information.

The comparison is descriptive. A curve of reward versus length combines answers that can vary in accuracy, relevance, explanation, and presentation. It shows how the methods’ scores tend to behave across the observed lengths. It does not isolate the effect of adding tokens to a particular answer while holding everything useful about it constant. The subgroup failure rates supply a separate check on the consequences of those scoring patterns. The SHP analysis then changes which answer in a comparison receives the length advantage.

#### Switching the length advantage between answers

The authors randomly sample from several categories of SHP to investigate whether the full ALBM scorer varies its reliance on length. They consider an arrangement in which the chosen answer is lengthened and the rejected answer shortened, and a reverse arrangement in which the chosen answer is shortened and the rejected answer lengthened. The original preference assignment supplies the reference for computing ranking accuracy in each arrangement. Putting the length advantage on opposite sides gives the method a way to assess how much the score ordering responds to it.

```
Length Effect = |Acc(l-c, s-r) − Acc(s-c, l-r)|
```

`Length Effect` is the category-level measure of sensitivity used in the analysis. `Acc` denotes ranking accuracy. The label `l-c` means the lengthened chosen answer and `s-r` the shortened rejected answer. In the second call, `s-c` means the shortened chosen answer and `l-r` the lengthened rejected answer. The minus sign subtracts the accuracy of the reverse arrangement from the accuracy with the chosen answer lengthened. The vertical bars take the absolute value of the gap, so the metric records its size regardless of which arrangement has higher accuracy.

A scorer that favors length will tend to have an easier time identifying the chosen answer when it is the one that was lengthened. A scorer that strongly favors brevity can also have a large gap, with the opposite arrangement proving easier. The absolute value measures the sensitivity, while the individual accuracies would be needed to infer its direction. The analysis compares that sensitivity across categories. The authors also compute an association between human ratings and response length in each category as a reference for where length appears to matter to the people whose judgments the data represent.

The reported pattern is that Vanilla has a relatively high Length Effect across categories, while Odin’s effect is lower. ALBM varies across categories in a way the authors describe as closer to the human trend. This addresses an ambiguity in the WebGPT correlation. A small aggregate score-length association is compatible with a scorer that ignores length everywhere. It is also compatible with a scorer that uses it differently across requests. A category analysis shows variation that a pooled figure can miss. The paper presents its evidence in the figure and describes the pattern without reporting category-level values in prose.

The comparison still leaves the prompt analyzer’s learned behavior only indirectly observed. The plot concerns the final score and the resulting ranking accuracy. Both quantities depend on the entire scorer. A category can show a larger effect because the analyzer gives length greater weight, because the length output changes more under the relevant response edits, or because the original score gap makes the ranking easier to reverse. The figure therefore supports the claim that the combined method behaves adaptively across the tested categories. It does not tell the reader how much of that pattern can be attributed to the weight alone.

#### What the comparisons can isolate

Odin is the closest conceptual comparison because it also decomposes reward and takes a different approach to using the length component. Its WebGPT results occupy the region the authors expect from suppressing the influence of length. It makes fewer errors when the shorter answer is chosen, and more when the longer answer is chosen, than ALBM. The SHP comparison points in the same direction by showing less sensitivity to the length manipulation. The downstream length-sensitive comparison then shows a case in which the ordinary-reward policy wins more often against Odin’s policy than it loses. Taken together, these are observations at the levels of scoring, response to edits, and generation.

Bal tests a different route to reducing length reliance. It changes which length relations the reward scorer sees in the training distribution. Its policy generates the shortest answers in the downstream test and fares worse on the length-sensitive comparison against Vanilla than ALBM. That combination is consistent with the paper’s account of an intervention that removes a useful signal in some cases. The result compares full training methods. It does not establish that symmetric length balancing would always produce too-short answers or that the same outcome would follow from a different balancing scheme.

The alternative backbones and evaluation datasets test how far the comparison travels. ALBM’s advantage in accuracy over the two debiasing baselines persists across these settings, while its comparison with the ordinary scorer varies. Taken as a set, the analyses show that the tradeoff in the main experiment has counterparts elsewhere and that its exact location depends on the setting. A matched comparison of ALBM with a fixed length weight, or a version with one auxiliary term removed, would answer a narrower question about its components. The reported experiments establish the behavior of the full intervention under the conditions tested.

### Limitations

#### The limits identified by the authors

The authors emphasize the size and scope of their experimental coverage. Their evaluation uses a limited set of datasets, and their preliminary work encountered combinations in which length hacking did not appear. They identify the training data, training method, and architecture as factors that can affect susceptibility. The intervention addresses a failure mode whose presence has to be established for a given training setup. Good performance on settings with visible length hacking leaves open what the same method would do where the ordinary reward has little problematic dependence on length.

The appendix broadens the evidence through technical questions, multi-turn dialogue, and different supervised starting systems. It also shows the variation that motivates the authors’ caution. Vanilla retains the highest preference accuracy on Stack and on both alternative-backbone comparisons, even though ALBM reduces the positive length association. The results show that there can be a tradeoff between accuracy and score-length correlation after changing the domain or starting system. Evaluating the benefit of the intervention consequently requires a criterion for what kind of error or length behavior matters in the intended use. The authors call for a more systematic account of when length hacking appears and which training conditions make it stronger.

#### Limits visible in the experimental design

The split between length-sensitive and length-neutral cases is an observable proxy for a distinction about user needs. Choosing the longer of two available answers may reflect substantive detail, a factual correction, better prose, or other differences. Choosing the shorter answer can have the same range of explanations. The labels let a reader ask how frequently a scorer agrees with people when the direction of the length difference changes. They cannot establish an intrinsic sensitivity of a prompt independently of the responses being compared. A new pair of answers to the same prompt might reverse the observed length relationship without changing what the user wanted.

The method learns an association with token count and a prompt-dependent weight for a score shaped by that association. It does not identify an ideal answer length, determine which words are superfluous, or provide a causal decomposition of a person’s judgment. The quality and length heads share learned features. Their separate projections and training terms guide specialization, but leave room for information about length to reach the quality score and for quality-related features to affect the length score. A reader can interpret the head names as their intended roles. The experiments do not certify that either head is a pure measurement of the property in its name.

The formulas themselves leave some choices open to interpretation. The explicit term is signed, and the implicit term is printed as an inner product. Minimization of these expressions in isolation does not imply zero quality correlation or zero projection overlap. The joint objective also includes ranking losses that can counteract those incentives. Without a comparison that varies these terms individually, the evidence shows how the combined training recipe performs and cannot establish how closely each mathematical constraint achieves its intended effect. The same consideration applies to the analyzer. A good ranking score can result from the interaction of the weight and the scale of the length output, so a learned weight need not be interpretable as a human preference rating.

The SHP analysis adds a direct challenge to the scorer by switching the length advantage. The interpretation depends on what the changes to the answers preserve. A lengthened answer may gain substantive material or introduce distractions, and a shortened one may lose a qualification or an important explanation. The paper gives the two arrangements and the aggregate measure, with limited detail about the edits in that analysis. Its human reference and the scorer’s Length Effect also measure different things. The former is an association of ratings with length. The latter is a gap between accuracies under manipulated inputs. Similar movement across categories supports the authors’ qualitative reading, while exact agreement between a scorer and human sensitivity would require a more direct comparison.

The downstream result has separate limits. Matching checkpoints by training step in the convergence stage makes the comparison more controlled. The conclusions still concern answers at those checkpoints and the responses selected for evaluation. The average length gives the mean shift, without showing whether the intervention chiefly changes the longest responses or changes most responses throughout the distribution. It also gives no direct count of irrelevant detail. The quality evaluations partly address that gap through pairwise judgments of actual answers, with GPT-4o supplying the judgments. A direct human evaluation of the generated outputs is not reported. The paper therefore shows improved preference under the stated automatic judge alongside improved ranking accuracy on human-annotated data. It leaves the correspondence between those effects and the judgments of people reading the new answers open.

The reported scores are point estimates. The main accuracy table, the appendix tables, and the downstream preference comparisons do not give uncertainty intervals for the displayed results. The differences describe the observed ordering in those evaluations. They leave open how stable closely spaced results would be across new samples or training runs. The forward-pass timing comparison likewise measures the extra scoring time under the authors’ setup. It provides evidence about that computation and does not quantify the full training cost of all the additional objectives.

### What came after

#### Length bias in reward fitting

[Bias Fitting to Mitigate Length Bias of Reward Model in RLHF](https://md.research.elamur.ai/free/en/papers/zhao-2026-bias-fitting-mitigate-length-bias/) cites Bu and colleagues and takes up the same problem at the reward stage of reinforcement learning from human feedback. Its title identifies bias fitting as its approach. The connection is direct in the problem being studied. Both works concern the tendency for a learned score to depend on response length in ways that can shape later optimization. Bu and colleagues pose the question in terms of a prompt-dependent decision about how much length should contribute. The later work’s citation and title establish that it addresses length bias in the same part of the pipeline. They do not establish whether its fitting procedure adopts ALBM’s reward decomposition, its prompt analyzer, or its treatment of length-sensitive cases.

#### Length confounding in the selection of reasoning data

[On the Step Length Confounding in LLM Reasoning Data Selection](https://md.research.elamur.ai/free/en/papers/wang-2026-step-length-confounding-llm-reasoning/) also cites the paper. Its stated problem concerns step length in the selection of [reasoning](https://md.research.elamur.ai/free/en/topics/reasoning/) data. This is a related setting in which a length variable can accompany the property a system is trying to select for. In ALBM the variable is the length of an answer, and the immediate decision is the preference ranking assigned by a reward scorer. In the later work the variable named in the title is step length, and the decision concerns which reasoning data to select. The citation establishes the connection between the studies. Details of what the later work adopts, how it handles the confounding, and what its experiments found are unspecified.

## Cite

Cite as Yuyan Bu, Liangyu Huo, Yi Jing and Qing Yang. 2025. Beyond Excess and Deficiency: Adaptive Length Bias Mitigation in Reward Models for RLHF. Findings of the Association for Computational Linguistics: NAACL 2025.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2025.findings-naacl.169](https://doi.org/10.18653/v1/2025.findings-naacl.169)

```bibtex
@inproceedings{bu2025beyond,
  title = {{Beyond Excess and Deficiency: Adaptive Length Bias Mitigation in Reward Models for RLHF}},
  author = {Yuyan Bu, Liangyu Huo, Yi Jing and Qing Yang},
  booktitle = {Findings of the Association for Computational Linguistics: NAACL 2025},
  year = {2025},
  doi = {10.18653/v1/2025.findings-naacl.169},
  url = {https://doi.org/10.18653/v1/2025.findings-naacl.169}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
