Skip to main content
QUICK REVIEW

[Paper Review] Intra-Processing Methods for Debiasing Neural Networks

Yash Savani, Colin White|arXiv (Cornell University)|Jun 15, 2020
Adversarial Robustness in Machine LearningComputer Science9 citations
TL;DR

This paper introduces intra-processing—a new paradigm for debiasing fine-tuned neural networks that leverages model weights during adaptation. It proposes three novel methods—random perturbation, layerwise optimization, and adversarial fine-tuning—demonstrating superior fairness and accuracy trade-offs compared to post-processing, especially on complex models like ResNet on CelebA.

ABSTRACT

As deep learning models become tasked with more and more decisions that impact human lives, such as criminal recidivism, loan repayment, and face recognition for law enforcement, bias is becoming a growing concern. Debiasing algorithms are typically split into three paradigms: pre-processing, in-processing, and post-processing. However, in computer vision or natural language applications, it is common to start with a large generic model and then fine-tune to a specific use-case. Pre- or in-processing methods would require retraining the entire model from scratch, while post-processing methods only have black-box access to the model, so they do not leverage the weights of the trained model. Creating debiasing algorithms specifically for this fine-tuning use-case has largely been neglected. In this work, we initiate the study of a new paradigm in debiasing research, intra-processing, which sits between in-processing and post-processing methods. Intra-processing methods are designed specifically to debias large models which have been trained on a generic dataset and fine-tuned on a more specific task. We show how to repurpose existing in-processing methods for this use-case, and we also propose three baseline algorithms: random perturbation, layerwise optimization, and adversarial fine-tuning. All of our techniques can be used for all popular group fairness measures such as equalized odds or statistical parity difference. We evaluate these methods across three popular datasets from the AIF360 toolkit, as well as on the CelebA faces dataset. Our code is available at https://github.com/abacusai/intraprocessing_debiasing.

Motivation & Objective

  • Address the gap in debiasing methods tailored for fine-tuning large pre-trained models, where pre- and post-processing are suboptimal.
  • Develop a new class of debiasing algorithms—'intra-processing'—that operate on already-trained models with access to their weights.
  • Enable effective fairness improvement in real-world applications such as face recognition and loan prediction, where models are typically fine-tuned.
  • Evaluate intra-processing methods across multiple fairness definitions and datasets, including AIF360 and CelebA, to establish their robustness and superiority.
  • Demonstrate that intra-processing outperforms post-processing in fairness-accuracy trade-offs, particularly when model complexity increases.

Proposed method

  • Repurpose an existing in-processing algorithm (adversarial training for fairness) into an intra-processing framework by training a critic on model weights to detect bias.
  • Propose a random perturbation method that iteratively applies multiplicative noise to network weights and selects the perturbation that maximizes the fairness-accuracy objective.
  • Introduce layerwise optimization using Gradient Boosted Regression Trees (GBRT) to fine-tune individual layers for improved fairness.
  • Design a differentiable, weight-based bias proxy via a critic network that directly measures bias in model weights, enabling gradient-based optimization.
  • Formulate the objective function as a trade-off between accuracy and fairness (e.g., Equation 1 with ε=0.05), used across all intra-processing methods.
  • Apply all methods to fine-tune pre-trained models (e.g., ResNet18 on ImageNet) on downstream tasks like classifying 'young' or 'smiling' in CelebA.

Experimental results

Research questions

  • RQ1Can intra-processing methods effectively reduce bias in fine-tuned neural networks without retraining from scratch?
  • RQ2How does the performance of intra-processing compare to post-processing methods in fairness-accuracy trade-offs across diverse datasets?
  • RQ3Does the initial random weight initialization significantly affect the bias of a fine-tuned model, and how does this impact debiasing effectiveness?
  • RQ4How do different intra-processing techniques (random perturbation, layerwise optimization, adversarial fine-tuning) scale with model and dataset complexity?
  • RQ5Can intra-processing methods achieve Pareto improvements over post-processing by simultaneously improving fairness and accuracy?

Key findings

  • Intra-processing methods significantly outperform post-processing techniques on fairness metrics, including those specifically designed for post-processing (e.g., equalized odds post-processing).
  • On the CelebA dataset with ResNet18, adversarial fine-tuning achieved a balanced accuracy of 0.914 (seed 1), outperforming the default model (0.819) and post-processing methods.
  • The variance in bias across different random seeds was substantially higher than the variance in accuracy, indicating that initial model weights strongly influence fairness outcomes.
  • For complex models and datasets (e.g., ResNet on CelebA), adversarial fine-tuning consistently outperformed simpler methods like random perturbation and layerwise optimization.
  • Intra-processing methods achieved lower bias scores while maintaining or improving accuracy, demonstrating Pareto dominance over post-processing methods in multiple settings.
  • Regularization helped stabilize bias scores across test sets, especially when dataset size was limited, improving consistency in debiasing performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.