DISCO: Mitigating Bias in Deep Learning with Conditional Distance Correlation

Emre Kavak, Tom Nuno Wolf, Christian Wachinger

Introduction

Deep learning models are notoriously susceptible to dataset bias, often acting as "lazy" learners. When a dataset contains a shortcut—such as a specific background that frequently co-occurs with a target object—models tend to exploit this spurious correlation rather than learning the underlying task-relevant features.

While previous research has attempted to address specific types of bias, such as confounding or sampling bias, these solutions remain fragmented. Furthermore, existing methods designed to enforce statistical independence from bias are often limited to linear relationships or suffer from severe computational bottlenecks. Specifically, powerful non-linear metrics typically require $O(n^3)$ memory, rendering them unusable for modern, GPU-accelerated deep learning.

To address these challenges, researchers have introduced DISCO, a novel framework that leverages causal theory to prevent models from relying on spurious correlations. By introducing a highly efficient method to calculate conditional distance correlation, DISCO provides a scalable regularization tool that forces models to ignore biases and focus strictly on robust, task-relevant signals.

Theoretical Framework: The Standard Anti-Causal Model (SAM)

The foundation of DISCO rests on a unifying causal framework called the Standard Anti-Causal Model (SAM). In an "anti-causal" setting, the target variable ($Y$, e.g., the true class label) is assumed to generate the observed features ($X$, e.g., the image).

Within this framework, the authors demonstrate an elegant theoretical insight: the specific nature of the bias is largely irrelevant. Whether the bias acts as a confounder (a common cause), a collider (selection bias), or a mediator, the mitigation strategy remains identical. To achieve causal stability, the model's prediction ($\hat{Y}$) must be conditionally independent of the bias ($B$) given the true target ($Y$). Mathematically, this is expressed as:

$$ \hat{Y} \perp B \mid Y $$

This conditional independence criterion acts as a "universal solvent" for dataset bias, eliminating the need for bespoke algorithms tailored to different causal structures.

Algorithmic Innovation: sDISCO

To enforce this conditional independence during training, the authors utilize Conditional Distance Correlation, a powerful metric capable of capturing complex, non-linear dependencies.

Historically, the adoption of this metric in deep learning was hindered by its $O(n^3)$ memory requirement. The authors overcome this barrier by developing an exact algebraic factorization that reduces the memory complexity to $O(n^2)$. This breakthrough, implemented as sDISCO (Single-Shot DISCO) and DISCO$_m$, transforms conditional distance correlation from a theoretical curiosity into a practical, scalable regularizer that runs efficiently on standard GPUs.

Empirical Evaluation

The researchers evaluated DISCO across six diverse datasets spanning computer vision and natural language processing (NLP), including Custom dSprites, a synthetic Blob Dataset, YaleB (face pose vs. lighting), FairFace (sex prediction vs. skin tone), Waterbirds (bird type vs. background), and MNLI (entailment vs. negation keywords).

Key Results: * Superior Performance: DISCO variants consistently matched or outperformed state-of-the-art bias mitigation methods, such as GDRO and CIRCE, across all six benchmarks. * Scalability: In runtime tests on the FairFace dataset, sDISCO successfully scaled to large batch sizes (up to 1024). In contrast, competing methods and naive implementations suffered from Out-Of-Memory (OOM) errors. * Robustness and Counterfactual Stability: Using the SAM framework for path-specific counterfactual analysis, the authors proved that DISCO-trained models rely on stable features. On the dSprites dataset, sDISCO achieved a counterfactual accuracy of 0.98, compared to just 0.65 for a standard ResNet, demonstrating its ability to successfully ignore spurious spatial positions.

Limitations and Future Directions

The primary limitation of DISCO is that it is an "informed" mitigation strategy. It requires bias attributes—such as age, skin tone, or background type—to be explicitly labeled in the training data. It cannot currently mitigate biases that are entirely unknown or unannotated.

Extending this causal framework to unsupervised scenarios, where the model must autonomously discover and subsequently mitigate latent bias variables, represents the next major frontier for this research. By bridging causal theory and practical deep learning, DISCO lays a principled foundation for building robust, fair, and reliable predictive models.

Summary updated

BibTeX
@inproceedings{kavak2026disco,
  author = {Emre Kavak and Tom Nuno Wolf and Christian Wachinger},
  title = {{DISCO: Mitigating Bias in Deep Learning with Conditional Distance Correlation}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=TYjTWxDOOC},
}
Figure