Mitigating Length Bias in RLHF through a Causal Lens

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kim, Hyeonji, Oh, Sujeong, Lee, Sanghack
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917084260204544
author Kim, Hyeonji
Oh, Sujeong
Lee, Sanghack
author_facet Kim, Hyeonji
Oh, Sujeong
Lee, Sanghack
contents Reinforcement learning from human feedback (RLHF) is widely used to align large language models (LLMs) with human preferences. However, RLHF-trained reward models often exhibit length bias -- a systematic tendency to favor longer responses by conflating verbosity with quality. We propose a causal framework for analyzing and mitigating length bias in RLHF reward modeling. Central to our approach is a counterfactual data augmentation method that generates response pairs designed to isolate content quality from verbosity. These counterfactual examples are then used to train the reward model, enabling it to assess responses based on content quality independently of verbosity. Specifically, we construct (1) length-divergent pairs with similar content and (2) content-divergent pairs of similar length. Empirical evaluations show that our method reduces length bias in reward assignment and leads to more concise, content-focused outputs from the policy model. These findings demonstrate that the proposed approach effectively reduces length bias and improves the robustness and content sensitivity of reward modeling in RLHF pipelines.
format Preprint
id arxiv_https___arxiv_org_abs_2511_12573
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Mitigating Length Bias in RLHF through a Causal Lens
Kim, Hyeonji
Oh, Sujeong
Lee, Sanghack
Computation and Language
Artificial Intelligence
Reinforcement learning from human feedback (RLHF) is widely used to align large language models (LLMs) with human preferences. However, RLHF-trained reward models often exhibit length bias -- a systematic tendency to favor longer responses by conflating verbosity with quality. We propose a causal framework for analyzing and mitigating length bias in RLHF reward modeling. Central to our approach is a counterfactual data augmentation method that generates response pairs designed to isolate content quality from verbosity. These counterfactual examples are then used to train the reward model, enabling it to assess responses based on content quality independently of verbosity. Specifically, we construct (1) length-divergent pairs with similar content and (2) content-divergent pairs of similar length. Empirical evaluations show that our method reduces length bias in reward assignment and leads to more concise, content-focused outputs from the policy model. These findings demonstrate that the proposed approach effectively reduces length bias and improves the robustness and content sensitivity of reward modeling in RLHF pipelines.
title Mitigating Length Bias in RLHF through a Causal Lens
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2511.12573