NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Fairness via Independence: A General Regularization Framework for Machine Learning

Yezi Liu, Hanning Chen, Wenjun Huang, Yang Ni, Mohsen ImaniICLR 2026

Introduction

This paper introduces a novel fairness regularization framework for machine learning that leverages Cauchy-Schwarz (CS) Divergence to enforce independence between model predictions and sensitive attributes (such as race or gender). By providing tighter theoretical bounds and greater robustness to distribution scales than traditional measures, the CS regularizer consistently achieves superior fairness-accuracy trade-offs across both tabular and image datasets.

The Challenge of Inherited Bias

Machine learning models frequently "inherit" biases from their training data, leading to discriminatory outcomes for specific demographic groups. Researchers generally attempt to mitigate this through two primary avenues:

  1. Constraint-based methods: These approaches tailor the model to a specific definition of fairness (e.g., Demographic Parity). However, they are often too rigid and fail to generalize well to other fairness notions.
  2. Independence-based methods: These strategies aim to make the model's predictions statistically independent of sensitive attributes.
Baseline model predictions often exhibit significant disparities between demographic groups, as seen in these density and scatter plots showing high Equal Opportunity disparity.

While the independence-based approach is more flexible, it relies heavily on "distance measures" (like KL Divergence or Maximum Mean Discrepancy) to quantify dependence. The authors argue that existing measures are often fragile—highly sensitive to small changes in model parameters and poor at handling groups with different scales or variances. This paper seeks a more principled and reliable measure of dependence that is robust, generalizable, and theoretically sound.

A Principled Approach: CS Divergence

The authors propose an in-process regularization framework. Instead of solely minimizing the standard error (Utility Loss), the model simultaneously minimizes a fairness penalty based on Cauchy-Schwarz (CS) Divergence.

  • Cosine vs. Euclidean: While common measures like MMD rely on Euclidean distance, CS Divergence essentially measures the cosine distance (the angle) between probability distributions in a high-dimensional feature space (RKHS).
  • Tighter Bounds: The paper proves mathematically that CS Divergence provides a tighter theoretical bound than the widely used Kullback-Leibler (KL) divergence. Minimizing the CS loss during training thus offers a stronger guarantee that the model will remain fair on unseen data.
  • Model Agnostic: The framework can be seamlessly integrated into almost any architecture, ranging from simple Multi-Layer Perceptrons (MLPs) for tabular data to complex ResNets for image classification.
  • Efficiency: By utilizing a kernel-based estimator on mini-batches, the computational overhead remains modest ($O(B^2)$ where $B$ is batch size), making it highly practical for large-scale training.

Experimental Setup

The framework's efficacy was evaluated across five diverse datasets:

  • Tabular (Social/Economic):
    • Adult: Predicting income levels (Sensitive attributes: Gender, Race).
  • COMPAS: Predicting recidivism (Sensitive attributes: Gender, Race).
  • ACS-I & ACS-T: Large-scale census data for income and travel time prediction.
  • Image:
    • CelebA-A: A subset of the CelebFaces Attributes dataset, classifying "Attractiveness" while maintaining fairness across "Gender" and "Age" groups.

Key Findings & Insights

  • The "Robustness" Aha-Moment: The authors visualized the "loss landscapes" of different fairness functions. They discovered that the CS Divergence landscape features a much smaller "inner circle" of sensitivity. Consequently, even if the model's weights shift slightly during training, the fairness performance remains stable, whereas KL and HSIC methods can easily degrade.
Visualization of a loss landscape contour, demonstrating the stability and robustness of the optimization surface.
  • Scale Invariance: Because CS Divergence normalizes the comparison (focusing on direction rather than magnitude), it excels when different demographic groups have vastly different variances or scales in their data. Euclidean-based methods often overestimate discrepancies in these scenarios.
  • Handling Imbalance: In real-world datasets, group sizes are frequently imbalanced. The "cosine-style" normalization inherent in CS makes the fairness loss significantly less sensitive to the noise generated by smaller minority groups.
  • Unifying Fairness Notions: While many methods struggle to satisfy both Demographic Parity (DP) and Equal Opportunity (EO) simultaneously, the CS regularizer demonstrated a unique ability to improve both metrics concurrently across most datasets.
  • Massive Disparity Reduction: On the CelebA image dataset, the CS approach reduced Demographic Parity disparity by 97.36% and Equal Opportunity disparity by 98.58% compared to a standard baseline model.
  • Superior Trade-offs: In "Fairness-Accuracy" evaluations, the CS method consistently occupied the optimal "bottom-right" region (high accuracy, low disparity). The fairness gains incurred minimal cost; across most tests, the drop in accuracy was less than 3.1%, and in some instances, the Area Under the Curve (AUC) actually saw slight improvements.

Limitations and Future Directions

While highly effective, the method relies on selecting an appropriate kernel (like Gaussian/RBF) and bandwidth ($\sigma$). Although the authors utilized a standard "median heuristic," developing a more systematic method for selecting kernels tailored to different data types remains a promising avenue for future research.

Additionally, the current work focuses primarily on binary classification. Extending this robust framework to more complex tasks—such as graph learning or large language model (LLM) unlearning—could significantly broaden its impact. Finally, like all regularized methods, the trade-off parameter ($\alpha$) requires tuning, though CS proves more stable during this process than its predecessors.

Summary updated

BibTeX
@inproceedings{liu2026fairness,
  author = {Yezi Liu and Hanning Chen and Wenjun Huang and Yang Ni and Mohsen Imani},
  title = {{Fairness via Independence: A General Regularization Framework for Machine Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=sbEb0Ld6MK},
}
Figure