OxEnsemble: Fair Ensembles for Low-Data Classification

Jonathan Rystrøm, Zihao Fu, Chris Russell

TL;DR

OxEnsemble is an efficient ensembling framework designed to guarantee fairness in low-data regimes such as medical imaging. By training ensemble members on stratified folds, enforcing fairness constraints at the member level, and aggregating via majority voting, it provably preserves group fairness without degrading performance.

What Problem Does This Paper Address?

Algorithmic bias in medical computer vision can have fatal consequences: underdiagnosing minority groups leads to delayed treatment. However, mitigating bias in low-data settings faces a dilemma:

  1. The Data Dilemma: Standard fairness interventions require held-out data to calibrate thresholds or balance error rates. In data-scarce domains where minority groups may have fewer than 100 positive cases, withholding data weakens the underlying classifier.
  2. The "Levelling Down" Trap: Parity-based metrics (like Equal Opportunity) can be satisfied trivially by degrading performance for all groups, or by predicting all-negative in low-prevalence classes. Enforcing a minimum recall (performance floor) is safer and clinically more relevant.
  3. Unreliable Ensembles: While deep ensembles often boost general performance, prior work shows their impact on fairness is inconsistent and purely observational—sometimes even exacerbating disparities.

Methods

OxEnsemble converts cross-validation data reuse into provably fair ensembles:

  • Shared Backbone Architecture: To prevent ballooning compute, all $M$ ensemble members share a single pretrained, frozen convolutional backbone (EfficientNetV2 or MobileNetV3). Each member consists of lightweight task and protected-attribute prediction heads.
  • Member-Level Fairness Surgery: Each member is trained on a distinct stratified fold. Held-out fold data is used via multi-head surgery (from the OxonFair toolkit) to combine heads and enforce fairness constraints (e.g., minimum recall or equal opportunity) while maximizing accuracy.
  • Majority-Vote Aggregation: Members' binary predictions are aggregated by majority vote.
  • Theoretical Guarantees: Building on ensemble competence theory (Theisen et al., 2023), the authors define restricted groupwise competence ($C_\rho^{g+}(t) > 0$). They prove that if each member achieves recall $> 0.5$ (under independent errors), the ensemble is guaranteed not to degrade recall relative to the average member for any group.
  • Sample Size Sizing: Using a one-sided hypothesis test on Bernoulli trials, they derive the minimum validation recall ($p_{\min}$) needed to guarantee test-set recall exceeds a target floor $k$: $$p_{\min} = k + z_{1-\alpha}\sqrt{k(1-k)\left(\frac{1}{m} + \frac{1}{n}\right)}$$

Datasets

The authors evaluate on three medical imaging benchmarks stressing low-data group fairness:

  • HAM10000: Skin cancer classification across age groups (0–40, 40–60, 60+). Smallest group positive count: 94.
  • Fitzpatrick17k: Dermatology conditions split across Fitzpatrick skin types (I–IV, V, VI). Smallest group positive count: 60.
  • Harvard-FairVLMed: Glaucoma detection across racial groups (Asian, White, Black). Smallest group positive count: 399.

Key Insights and Ideas

  • Data reuse circumvents the fairness-accuracy tradeoff: By ensembling models trained on distinct cross-validation folds, every sample serves both as training data for some members and held-out validation data for fairness tuning in others.
  • Competence transfers to groups: Ensemble competence—the property of being more likely to be confidently right than confidently wrong—can be restricted to positive instances of specific demographic groups ($g^+$), translating ensemble accuracy theorems directly into group recall guarantees.
  • Fairness floors enable parity bounds: Ensuring members exceed a recall of $0.5$ guarantees that the worst-case group performance cannot drop, simultaneously tightening pessimistic bounds on equal opportunity gaps.

Key Results

  • Superior FairAUC: Across minimum-recall thresholds $t \in [0.5, 1.0]$, OxEnsemble outperforms baselines in fairness–accuracy area under the curve:
  • Fitzpatrick17k: Reaches 0.678 FairAUC, substantially beating OxonFair (0.656), homogeneous ensembles with post-processing (0.590), and standard ERM (0.514).
  • HAM10000: Achieves 0.711 FairAUC, outperforming baseline ensembles (0.697) and ERM (0.657).
  • Fewer Fairness Violations: On FairVLMed, OxEnsemble maintains equal opportunity disparities below 4%, whereas other methods degrade past 6%. Table 3 shows it consistently achieves the highest accuracy alongside the lowest group disparity violations.
  • Zero Inference Overhead: Because all heads share a frozen backbone, single-image GPU inference latency is essentially identical to a single standard model (5.83 ms for the 21-member ensemble vs. 5.42 ms for ERM).

Limitations and Future Work

  • Independence Assumptions: The theoretical threshold of $0.5$ minimum recall relies on the assumption of independent classifier errors across ensemble members.
  • Sample Size Floor: The statistical validation bounds rely on normal approximations (the Large Counts Condition), requiring a minimum of roughly 20 positive examples per group.
  • Frozen Backbones: Backbone parameters were frozen to prevent overfitting in data-scarce settings; evaluating end-to-end fine-tuning and joint architecture search remains future work.

Summary updated

BibTeX
@inproceedings{rystrm2026oxensemble,
  author = {Jonathan Rystrøm and Zihao Fu and Chris Russell},
  title = {{OxEnsemble: Fair Ensembles for Low-Data Classification}},
  booktitle = {MIDL},
  year = {2026},
  url = {https://openreview.net/forum?id=DuRUqZgwk8},
}
Figure