SWiFT: Soft-Mask Weight Fine-tuning for Bias Mitigation
Open Access
- 21 August 2025
- journal article
- Published by Machine Learning for Biomedical Imaging in Machine Learning for Biomedical Imaging
- Vol. 3 (Special on) , 347-366
Abstract
Recent studies have shown that Machine Learning (ML) models can exhibit bias in real-world scenarios, posing significant challenges in ethically sensitive domains such as healthcare. Such bias can negatively affect model fairness, model generalization abilities and further risks amplifying social discrimination. There is a need to remove biases from trained models. Existing debiasing approaches often necessitate access to original training data and need extensive model retraining; they also typically exhibit trade-offs between model fairness and discriminative performance. To address these challenges, we propose Soft-Mask Weight Fine-Tuning (SWiFT), a debiasing framework that efficiently improves fairness while preserving discriminative performance with much less debiasing costs. Notably, SWiFT requires only a small external dataset and only a few epochs of model fine-tuning. The idea behind SWiFT is to first find the relative, and yet distinct, contributions of model parameters to both bias and predictive performance. Then, a two-step fine-tuning process updates each parameter with different gradient flows defined by its contribution. Extensive experiments with three bias sensitive attributes (gender, skin tone, and age) across four dermatological and two chest X-ray datasets demonstrate that SWiFT can consistently reduce model bias while achieving competitive or even superior diagnostic accuracy under common fairness and accuracy metrics, compared to the state-of-the-art. Specifically, we demonstrate improved model generalization ability as evidenced by superior performance on several out-of-distribution (OOD) datasets. Our code will be made public upon acceptance.Keywords
All Related Versions
This publication has 9 references indexed in Scilit:
- Fast Model DeBias with Machine Unlearning2023
- Disparities in dermatology AI performance on a diverse, curated clinical image setScience Advances, 2022
- A Survey on Bias and Fairness in Machine LearningACM Computing Surveys, 2021
- A patient-centric dataset of images and metadata for identifying melanomas using clinical contextScientific Data, 2021
- Investigating the impact of data normalization on classification performanceApplied Soft Computing, 2020
- PAD-UFES-20: A skin lesion dataset composed of patient data and clinical images collected from smartphonesData in Brief, 2020
- An effective image classification method for shallow densely connected convolution networks through squeezing and splitting techniquesApplied Intelligence, 2019
- The HAM10000 dataset, a large collection of multi-source dermatoscopic images of common pigmented skin lesionsScientific Data, 2018
- Defining "elderly" in clinical practice guidelines for pharmacotherapyPharmacy Practice, 2014