Fair Conformal Classification via Learning Representation-Based Groups

Senrong Xu, Yanke Zhou, Yuhao Tan, Zenan Li, Yuan Yao, Taolue Chen, Feng Xu, Xiaoxing Ma

TL;DR

FAREG (Fair Conformal Prediction for Representation-based Groups) is a novel framework designed to ensure machine learning models provide reliable uncertainty guarantees for all users, not just the "average" demographic. By utilizing a variational encoder-decoder to learn latent representations, FAREG adaptively identifies and protects subgroups defined by complex, non-linear feature interactions that traditional fairness methods often overlook.

The Problem: Hidden Bias in Average Coverage

Machine learning models are increasingly deployed in high-stakes scenarios like medical diagnosis and financial fraud detection. To establish trust in these models, practitioners often turn to Conformal Prediction (CP). CP is a framework that produces a set of possible answers (e.g., "This image is 90% likely to be either a cat or a dog") rather than a single point prediction. Standard CP guarantees "marginal coverage," meaning its prediction sets will contain the true answer 90% of the time on average across the entire population.

However, this average can hide significant bias. A model might achieve 90% accuracy overall but only 60% accuracy for a specific minority subgroup (e.g., "Black Female"). Existing "fair" CP methods attempt to fix this by ensuring "equalized coverage" across groups, but they typically rely on pre-defined categories or simple linear combinations of features. In reality, bias is often hidden in complex, non-linear interactions between features that simple "greedy" selection methods cannot isolate.

Non-linear bias illustration showing how linear boundaries fail to isolate hard samples

The FAREG Method

To address these hidden biases, the authors introduce FAREG, which shifts the focus from raw features to a learned latent representation space.

  1. Latent Group Learning: Instead of evaluating isolated features like "Race" or "Gender," FAREG employs a Deep Variational Information Bottleneck (Deep VIB). It trains an encoder to map input features $X$ to a latent representation $Z$.
  2. Adaptive Identification: The system learns to identify "unfairly treated" subgroups by searching for regions in the latent space where the model's current coverage is lowest. It optimizes a membership variable $S$ to pinpoint these disadvantaged groups.
  3. Encoder-Decoder Architecture: To maintain interpretability, the model includes a decoder that reconstructs the original features from the latent space. This helps researchers understand which feature combinations are driving the bias.
  4. A New Metric ($WSC^+$): The authors argue that the standard metric for conditional coverage (Worst-Slice Coverage, or WSC) is too weak because it only evaluates linear "slabs" of data. They propose $WSC^+$, which uses quadratic functions to find "worst-case" coverage in more complex, non-linear subgroups.

Experimental Setup

The framework was evaluated across three distinct types of datasets:

  • Synthetic Data: A custom dataset designed to mimic a mental illness diagnosis scenario. The authors intentionally introduced bias based on an XNOR relationship (a non-linear interaction) between features to test if the model could detect it.
  • Nursery Data: A real-world UCI dataset used to rank applications for nursery schools, where labels were intentionally corrupted for specific subgroups to simulate algorithmic bias.
  • ACSIncome (Folktables): A large-scale dataset based on US Census Bureau data, focusing on predicting individual income levels across different demographics.

Key Insights and Results

  • Bias is Non-Linear: A core insight of the paper is that traditional fairness methods fail when bias exists in the interaction of features (like the XNOR example). Evaluating one feature at a time makes the group look "fine," but the combination reveals where the model fails.
  • Superior Group Coverage: On the synthetic XNOR task, FAREG was the only method to successfully achieve the target 90% coverage for the disadvantaged group. Baselines like AFCP often hovered around 84-85%.
Group Coverage vs Sample Size showing FAREG maintaining the 90% threshold
  • The Efficiency-Fairness Trade-off: There is a natural tension in CP: prediction sets should be small (efficient) but also cover the truth (fair). FAREG manages this by adaptively expanding the sets only for the identified disadvantaged groups. Despite providing better protection, FAREG did not significantly increase the "Average Size" of the prediction sets compared to baselines, ensuring it remains practical.
  • Latent Spaces as a "Superset": Mathematically, the authors prove that FAREG’s candidate group space is a superset of existing methods like AFCP. Because it has a higher "VC-dimension" (a measure of model capacity), it can represent much more complex group boundaries.
  • Metric Sensitivity: The new $WSC^+$ metric successfully revealed "hidden" low-coverage groups that the standard linear WSC metric missed, proving it to be a more rigorous tool for auditing model fairness.

Limitations and Future Work

The authors acknowledge a primary trade-off: Interpretability. By moving into a latent "representation" space, it becomes harder to explicitly define who is in the protected group compared to a simple rule like "Age > 50." While the decoder helps by reconstructing features, the groups remain implicitly defined.

Future work could involve extending this framework to regression tasks (predicting continuous numbers rather than categories) and exploring how these latent groups align with legal or ethical definitions of "protected classes" in different jurisdictions.

Summary updated

BibTeX
@inproceedings{xu2026fair,
  author = {Senrong Xu and Yanke Zhou and Yuhao Tan and Zenan Li and Yuan Yao and Taolue Chen and Feng Xu and Xiaoxing Ma},
  title = {{Fair Conformal Classification via Learning Representation-Based Groups}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=aa91WoBZeg},
}
Figure