Abstract
Machine learning models are susceptible to inheriting and amplifying biases present in training data, particularly regarding sensitive attributes such as race, gender, or age. This paper presents Fairness by Binary Compression (FBC), a novel unsupervised framework for learning fair representations. By framing fairness as a consequence of extreme data compression via the Information Bottleneck principle, FBC incentivizes the encoder to filter out sensitive information while retaining task-relevant features. Unlike traditional adversarial methods that are often unstable, FBC provides a stable, controllable mechanism for navigating the accuracy-fairness trade-off. Our evaluations across four diverse datasets show that FBC consistently achieves state-of-the-art performance.
Introduction
The deployment of machine learning in high-stakes domains—such as judicial sentencing, credit scoring, and medical diagnosis—has highlighted the critical need for algorithmic fairness. Often, datasets contain "sensitive attributes" ($S$) that lead to discriminatory outcomes. The goal of Fair Representation Learning is to transform raw input data ($X$) into a latent representation ($Z$) that is informative for downstream tasks but statistically independent of $S$.
Existing approaches typically rely on adversarial training, where a "discriminator" attempts to recover $S$ from $Z$, while the encoder tries to prevent it. However, adversarial training is notoriously difficult to tune and often suffers from instability. Other methods require prior knowledge of the specific downstream task. FBC addresses these challenges by treating fairness as a side effect of parsimonious encoding: if the representation is sufficiently compressed, the model must prioritize the most essential, non-redundant information.
Methodology: Fairness via Compression
The core of FBC lies in the Information Bottleneck framework. The intuition is straightforward: if a decoder is granted direct access to sensitive attributes ($S$) to assist in reconstructing the original data, a "stingy" encoder will avoid wasting its limited bit budget on encoding that same information into $Z$.
Architectural Comparison
FBC differs from standard Variational Autoencoders (VAEs) in how it handles the latent space. While a $\beta$-VAE typically uses Gaussian noise to constrain information flow, FBC employs a hard physical constraint: a binary bit stream.
Key Components
- Binary Bit Stream: FBC represents data as a sequence of 0s and 1s. This discrete bottleneck allows for precise control over the information rate $I(Z; X)$.
- Entropy Estimation: To minimize the bit rate, the model uses an auxiliary auto-regressive network (e.g., a PixelCNN-like structure) to estimate the cross-entropy of the bit stream.
- Soft-Quantization: To maintain differentiability during training, the authors utilize "soft-binarization," allowing gradients to flow through the discrete bottleneck via backpropagation.
Experimental Setup
The authors evaluated FBC against several state-of-the-art baselines, including Adversarial training (Adv), Maximum Mean Discrepancy (MMD), and Variational Fair Autoencoders (VFAE). Testing was conducted on four benchmark datasets:
- DSprites Unfair: A synthetic dataset where the model must ignore shape orientation/position.
- Adult Census: Predicting income levels while remaining neutral to gender and race.
- Compas: Predicting recidivism risk without bias toward race or gender.
- Health Heritage: A large-scale medical dataset focused on predicting health indices independently of age and gender intersections.
Results and Discussion
The primary metric for evaluation is the trade-off between task accuracy ($A_y$) and "auditor accuracy" ($A_s$), which measures how much sensitive information remains in the representation. A perfectly fair model would have an auditor accuracy equal to the chance level.
Key Insights
- State-of-the-Art Trade-offs: As shown in Figure 4, FBC (the blue line) defines the superior Pareto front in most scenarios, providing higher task accuracy for a given level of fairness compared to adversarial or MMD-based methods.
- Binary vs. Noisy Bottlenecks: The results suggest that binary compression is more effective for fairness than Gaussian noise. While downstream models can often "filter" noise to recover signal, a hard bit-limit acts as a physical barrier that prevents the leakage of redundant sensitive data.
- The "Smooth" Slider: By adjusting the $\beta$ coefficient, which weights the compression loss against reconstruction accuracy, practitioners can easily navigate the trade-off curve to meet specific regulatory or ethical requirements.
Conclusion
"Fairness by Binary Compression" demonstrates that an adversary is not always necessary to achieve fairness. By enforcing extreme parsimony in the latent representation, FBC naturally discards sensitive information that the decoder can obtain elsewhere. This approach offers a more stable and interpretable path toward building unbiased AI systems, particularly in high-dimensional data regimes where traditional methods struggle. Future work may involve extending FBC to optimize for specific fairness metrics beyond demographic parity, such as equality of odds.
Summary updated