From Lists to Emojis: How Format Bias Affects Model Alignment

Xuanchang Zhang, Wei Xiong, Lichang Chen, Tianyi Zhou, Heng Huang +1 more
9/18/2024
cs.CLcs.LG

No official code found. Best implementation: thunderous77/Reward-Hacking-in-RLHF (1 star, MIT, last commit 2025-08-06).

Abstract

In this paper, we study format biases in reinforcement learning from human feedback (RLHF). We observe that many widely-used preference models, including human evaluators, GPT-4, and top-ranking models on the RewardBench benchmark, exhibit strong biases towards specific format patterns, such as lists, links, bold text, and emojis. Furthermore, large language models (LLMs) can exploit these biases to achieve higher rankings on popular benchmarks like AlpacaEval and LMSYS Chatbot Arena. One notable example of this is verbosity bias, where current preference models favor longer responses that appear more comprehensive, even when their quality is equal to or lower than shorter, competing responses. However, format biases beyond verbosity remain largely underexplored in the literature. In this work, we extend the study of biases in preference learning beyond the commonly recognized length bias, offering a comprehensive analysis of a wider range of format biases. Additionally, we show that with a small amount of biased data (less than 1%), we can inject significant bias into the reward model. Moreover, these format biases can also be easily exploited by downstream alignment algorithms, such as best-of-n sampling and online iterative DPO, as it is usually easier to manipulate the format than to improve the quality of responses. Our findings emphasize the need to disentangle format and content both for designing alignment algorithms and evaluating models.

View on arXivView PDF

Code Implementations(1)

MIT

Official code for the ACL 2025 paper 'From Lists to Emojis: How Format Bias Affects Model Alignment'.

10Shell, PythonAug 6, 20251 years agoMIT

Similar Papers

Cite this paper

@article{zhang2024from,
  title  = {From Lists to Emojis: How Format Bias Affects Model Alignment},
  author = {Xuanchang Zhang and Wei Xiong and Lichang Chen and Tianyi Zhou and Heng Huang and Tong Zhang},
  year   = {2024},
  eprint = {2409.11704},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.11704v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.11704.svg)](https://codeofpaper.com/paper/2409.11704)

Discussion