TL;DR
Human preference datasets used to align Large Language Models (LLMs) frequently suffer from demographic skews, causing reward models to inherit and amplify human prejudices. This paper introduces Fairness Aware Reward Optimization (FARO), an in-processing framework that embeds algorithmic fairness constraints directly into reward model training. Crucially, the authors provide the first theoretical proof that fairness engineered at the reward level successfully transfers to the final LLM policy without sacrificing model performance.
What Problem Does This Paper Address?
Aligning LLMs using Reinforcement Learning from Human Feedback (RLHF) relies heavily on a reward model trained on human preference data. However, these datasets are highly vulnerable to selection, popularity, and cognitive biases. If left unchecked, reward models encode these biases and propagate systematic unfairness into the final aligned LLM.
Existing interventions fall short:
- Pre-processing (e.g., data filtering or balancing) is expensive and lacks guarantees because data-level fairness doesn't inherently transfer to a trained model.
- Post-processing (e.g., shifting decision thresholds at decoding time) is designed for simple classification tasks; it cannot alter underlying preference probabilities and fails to fix cardinal biases or miscalibration.
The authors address this gap by formalizing a tri-fold requirement: an effective reward model must be simultaneously ordinal (ranking responses correctly), cardinal (accurately calibrated in its preference strengths), and fair (equitable across demographic groups).
Methods
FARO is an in-processing framework that directly modifies the reward model's training objective using a constrained optimization (Lagrangian) formulation:
$$\min_\phi \max_{\lambda \ge 0} L_{NLL}(\phi) + \lambda^\top C_{\text{fairness}}(\phi)$$
Where $L_{NLL}$ is the standard negative log-likelihood preference loss, and $C_{\text{fairness}}$ represents the fairness violations. FARO can be instantiated with three standard group fairness definitions: Demographic Parity (DP), Equalized Odds (EO), or Counterfactual Fairness (CF).
To make this optimization tractable and scalable, the authors introduce two key innovations:
- Differentiable Proxy Constraints: Traditional fairness metrics rely on hard, non-differentiable 0-1 decisions. FARO replaces these with soft constraints based on continuous expected preference probabilities output by the Bradley-Terry reward function, enabling standard gradient-based optimization.
- Anchored Constraints: Comparing all pairs of $p$ demographic groups requires $O(p^2)$ constraints, which is computationally prohibitive for intersectional demographics. FARO designates a single group as a reference "anchor" and constrains all other groups relative to it, reducing the complexity to a scalable $O(p)$.
The system is optimized end-to-end using a proxy-Lagrangian gradient descent-ascent method (ProxyGDA).
Datasets
The framework was evaluated using several distinct datasets:
- ACS PUMS (ACSEmployment): A tabular dataset used to validate FARO's core classification, calibration, and fairness performance against baseline methods.
- PRISM: A diverse pairwise preference corpus grouped by sociodemographic attributes, utilized to train the fair LLM reward models.
- BBQ (Bias Benchmark for QA): Used to evaluate demographic biases in LLM generations across ambiguous and disambiguated contexts.
- HolisticBias: A large-scale dataset used to measure toxicity and bias reduction in open-ended text generation.
Key Insights and Ideas
- Reward-to-Policy Fairness Transfer: The paper provides a foundational theorem proving that fairness optimized during the reward modeling phase mathematically transfers through RL fine-tuning to the final deployed policy.
- The Guardrail Effect of KL Regularization: In standard RLHF, a KL-divergence penalty is used to keep the trained policy close to a reference policy ($\pi_{\text{ref}}$). The authors show that this KL term acts as a double-edged sword: it prevents the model from drifting too far into unaligned territory, but it also bounds how much fairness can degrade ("bounded drift").
- Pareto Frontier Exploration: The trade-off between model accuracy and fairness is non-empty and continuous. By tuning the regularization hyperparameter $\beta$, practitioners can precisely navigate this frontier to meet specific deployment requirements.
Key Results
FARO was validated across multiple open-source LLMs, including Gemma-2-2b-it, Phi-3-Mini, and Qwen-2.5-1.5B.
- Significant Bias Reduction: On the BBQ benchmark, FARO dramatically reduced ambiguous bias scores. For example, Gemma-2's ambiguous bias score was cut from 14.73 down to 6.81 using FARO-dp.
- Performance Preservation: Crucially, mitigating bias did not degrade the models' core capabilities; top-1 accuracy on disambiguated QA tasks remained stable or even slightly improved.
- Toxicity Mitigation: On HolisticBias, FARO-tuned models demonstrated a massive drop in toxicity ratios (reaching as low as 0.193 for Gemma-2 under FARO-eo).
Limitations and Future Work
- Dependence on Demographic Attributes: FARO requires access to sensitive attributes ($S$) and unrestricted attributes ($U$) during training. While the authors note that these can be inferred via an LLM "self-critiquing" mechanism if missing, attribute classifiers can introduce their own downstream errors.
- Dynamic Nature of Fairness: The authors emphasize that mathematical fairness constraints are an essential engineering safeguard but cannot fully encapsulate the evolving, socio-technical nature of fairness in the real world. FARO should complement, rather than replace, ongoing human auditing and data curation efforts.
Summary updated