[Paper Review] When does Bias Transfer in Transfer Learning?
This paper demonstrates that biases from pre-trained source models—such as those from ImageNet—can transfer to downstream tasks even when the target dataset is explicitly debiased. Using synthetic backdoor attacks and natural spurious correlations, the authors show that fine-tuned models retain source model biases, undermining the assumption that careful data curation eliminates bias in transfer learning.
Using transfer learning to adapt a pre-trained "source model" to a downstream "target task" can dramatically increase performance with seemingly no downside. In this work, we demonstrate that there can exist a downside after all: bias transfer, or the tendency for biases of the source model to persist even after adapting the model to the target class. Through a combination of synthetic and natural experiments, we show that bias transfer both (a) arises in realistic settings (such as when pre-training on ImageNet or other standard datasets) and (b) can occur even when the target dataset is explicitly de-biased. As transfer-learned models are increasingly deployed in the real world, our work highlights the importance of understanding the limitations of pre-trained source models. Code is available at https://github.com/MadryLab/bias-transfer
Motivation & Objective
- To investigate whether biases from pre-trained source models persist in downstream tasks after fine-tuning.
- To determine if bias transfer occurs even when the target dataset is explicitly debiased to remove spurious correlations.
- To evaluate the extent to which training dynamics, source dataset composition, and target data distribution influence bias transfer.
- To demonstrate that bias transfer is not limited to synthetic backdoors but also occurs via naturally occurring features (e.g., gender in age prediction).
- To highlight the real-world implications of bias transfer in widely used transfer learning pipelines, especially when relying on public pre-trained models.
Proposed method
- Using synthetic backdoor attacks to plant biases in the source dataset by adding a trigger (e.g., a circular yellow shape) to a subset of images and flipping their labels.
- Fine-tuning the source model on a target dataset using stochastic gradient descent (SGD), with the source model's weights as initialization.
- Analyzing the model's behavior via gradient updates restricted to the span of target data points, which preserves source model biases orthogonal to the target data subspace.
- Constructing naturally biased datasets by filtering images that reinforce spurious correlations (e.g., gender and age in CelebA) to test transferability of such biases.
- Comparing models fine-tuned from a biased ImageNet source model against models trained from scratch on target datasets (e.g., CIFAR-10) to isolate bias transfer effects.
- Evaluating bias through interventions such as overlaying triggers (e.g., tennis balls) on test images and measuring shifts in prediction distributions.
Experimental results
Research questions
- RQ1To what extent do biases planted in the source dataset transfer to the target task during fine-tuning?
- RQ2Can bias transfer occur even when the target dataset is explicitly debiased to remove spurious correlations?
- RQ3How do the training routine, source dataset composition, and target dataset distribution affect the magnitude of bias transfer?
- RQ4Does bias transfer occur via naturally occurring features rather than synthetic triggers?
- RQ5Are biases from standard pre-trained models like ImageNet detectable in downstream models even when the target dataset is free of such biases?
Key findings
- Bias transfer occurs even when the target dataset is explicitly debiased, as shown by models fine-tuned from a biased source model remaining sensitive to spurious features.
- Models fine-tuned from a pre-trained ImageNet model exhibit skewed prediction distributions when exposed to triggers (e.g., circular yellow shapes), while models trained from scratch on CIFAR-10 are unaffected.
- The source model's bias in predicting 'tennis ball' when a circular yellow shape is present transfers to the target task, as evidenced by a significant skew in prediction distributions for fine-tuned models.
- Even with fixed-feature fine-tuning, the bias from the ImageNet source model persists in the downstream classifier, indicating that bias is not eliminated during feature extraction.
- The full-network fine-tuning process also preserves the source model’s bias, confirming that gradient updates do not eliminate bias orthogonal to the target data subspace.
- The phenomenon is not limited to synthetic triggers: models pre-trained on ImageNet show sensitivity to naturally occurring correlations (e.g., gender in age prediction), which transfer to downstream tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.