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

Bias In, Bias Out? Finding Unbiased Subnetworks in Vanilla Models

Ivan Luiz De Moura Matos, Abdel Djalil Sad Saoud, Ekaterina Iakovleva, Vito Paolo Pastore, Enzo Tartaglione

TL;DR

Bias-Invariant Subnetwork Extraction (BISE) mitigates algorithmic bias by extracting fair, lightweight subnetworks directly from standard, biased pre-trained models via structured pruning. Crucially, it achieves this without altering the original model's weights or requiring a perfectly balanced, unbiased training dataset.

What Problem Does This Paper Address?

Deep learning models are notorious for finding "shortcuts"—spurious correlations in training data that don't hold up in the real world. For instance, a model trained to recognize hair color might inadvertently rely on perceived gender if the training dataset is heavily skewed (e.g., mostly blonde women and dark-haired men). This leads to algorithmic bias, where the model performs poorly on "bias-conflicting" samples (like blonde men).

Existing debiasing techniques typically require either completely retraining the model with complex objectives or heavily manipulating the dataset to balance it. Both paths are computationally expensive and often impractical due to data scarcity. The authors of this paper ask a clever alternative question: What if a fair, unbiased subnetwork already exists inside the standard, biased model, just waiting to be uncovered?

Methods

The authors introduce Bias-Invariant Subnetwork Extraction (BISE), a framework that uses structured pruning to isolate bias-free pathways in a pre-trained "vanilla" model.

The core architecture decomposes a network into an encoder and a classifier. BISE freezes the original weights of the network and introduces a learnable binary mask over the encoder's structural components (like entire neurons or convolutional filters).

To train this mask to block biased features while preserving useful task features, BISE optimizes a composite objective function consisting of two main parts:

  1. Reweighted Cross-Entropy Loss: This amplifies the importance of rare, bias-conflicting samples during mask learning, preventing the dominant biased samples from dictating the subnetwork structure.
  2. Mutual Information Regularization: BISE attaches a temporary auxiliary classifier to the network's bottleneck layer. This auxiliary head is trained to predict the bias attribute. BISE then penalizes the mask if the bottleneck layer contains information that makes it easy for the auxiliary head to succeed. This forces the mask to prune neurons that retain bias-related features.

Because binary masks are non-differentiable, the authors utilize a straight-through estimator with a temperature-annealed gating mechanism to allow standard gradient descent.

Figure 2. Illustration of BISE. Solid black arrows indicate for- ward propagation; dashed blue arrows indicate backward gradient propagation. During the training of the mask M and of Caux, the original model, f = C ◦E, is kept frozen.

Datasets

BISE was evaluated across five distinct benchmarks spanning computer vision and natural language processing:

  • BiasedMNIST: A synthetic dataset where digits are strongly correlated with background colors.
  • Corrupted-CIFAR10: A dataset where specific image corruptions act as the spurious bias attribute.
  • CelebA: A real-world face attribute dataset where gender acts as a bias for the target task of hair color classification.
  • Multi-Color MNIST: A complex setup designed to test the handling of multiple simultaneous biases (left and right background colors).
  • CivilComments: A text dataset used to evaluate toxicity prediction, where the presence of sensitive demographic tokens acts as a bias.

Key Insights and Ideas

  • Fairness is Already Inside: Standard models don't only learn biased features; they also capture the true underlying causal features. However, the biased features dominate the final classification. Pruning acts as a structural filter to suppress the biased pathways and let the fair pathways shine.
  • Data-Free Debiasing: You do not need a pristine, unbiased dataset to fix a biased model. By intelligently reweighting the original biased training set and penalizing bias information flow, the model can debias itself.
  • The Efficiency Bonus: Unlike other model-centric debiasing methods that keep the model at full size, BISE simultaneously makes the model fairer and significantly smaller/faster by physically removing parameters (structured pruning).

Key Results

BISE consistently outperformed vanilla models on unbiased test sets while drastically reducing computational complexity (measured in FLOPs):

  • BiasedMNIST: At a high bias ratio ($\rho = 0.995$), the vanilla model scored 75.1% accuracy. BISE achieved 92.2% accuracy while introducing roughly 30% sparsity. When followed by an optional fine-tuning step, accuracy jumped to 96.3%.
  • Corrupted-CIFAR10: BISE achieved state-of-the-art results. At a bias ratio of $\rho = 0.95$, BISE reached 55.38% accuracy (compared to 47.18% for the vanilla model) while achieving a massive 82.3% parameter reduction in the encoder.
Table 3. Results on Corrupted-CIFAR10, for different values of ρ.
  • Unsupervised Debiasing: Even when bias labels were entirely absent during training, BISE used a quickly trained secondary model to generate "pseudo-bias labels." On CelebA, this unsupervised variant still achieved 87.5% accuracy, beating the vanilla model's 76.5%.

Limitations and Future Work

While BISE marks a significant step forward, the authors note a few key limitations:

  • Compounding Biases: When multiple distinct biases interact and compound, the pruned subnetworks "as is" struggle to cleanly disentangle them without relying on the optional post-pruning fine-tuning step.
  • The Existence Dependency: BISE's success is fundamentally bottlenecked by the vanilla model. If the original model failed to learn any unbiased causal features during its initial training, an unbiased subnetwork won't exist to be extracted.

Future work will focus on exploring more complex real-world settings with a higher number of unknown, interacting bias sources.

Summary updated

BibTeX
@inproceedings{matos2026bias,
  author = {Ivan Luiz De Moura Matos and Abdel Djalil Sad Saoud and Ekaterina Iakovleva and Vito Paolo Pastore and Enzo Tartaglione},
  title = {{Bias In, Bias Out? Finding Unbiased Subnetworks in Vanilla Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=Kn4jHO294z},
}
Figure