Abstract
Deep Neural Networks (DNNs) are frequently compressed via pruning to facilitate deployment on resource-constrained devices. However, standard pruning techniques often amplify demographic biases by removing weights that are critical for minority sub-groups but insignificant for the majority. This paper introduces FairGRAPE (Fairness-aware GRAdient Pruning mEthod), a novel algorithm that preserves the "share of importance" across different demographic groups during the pruning process. Experimental results demonstrate that FairGRAPE can reduce performance disparity by up to 90% compared to state-of-the-art pruning methods, even at extreme sparsity levels of 99%, while maintaining high overall accuracy.
Introduction: The Hidden Bias in Model Pruning
As Deep Neural Networks grow in size, model pruning—the removal of "insignificant" weights—has become essential for deploying models on mobile and wearable hardware. Traditional pruning methods typically identify insignificant weights based on their contribution to the overall loss. However, this approach harbors a critical flaw: weights that are redundant for the majority population (e.g., White males in a face dataset) may be vital for the accurate classification of underrepresented sub-groups.
When these "minority-critical" weights are pruned, the model's accuracy on underrepresented groups drops much faster than its overall accuracy. This leads to a "fairness collapse," where a compressed model becomes significantly less equitable than its original counterpart, even if its total accuracy remains high.
Methodology: FairGRAPE
To address this, we propose FairGRAPE (Fairness-aware GRAdient Pruning mEthod). The core innovation lies in shifting from global importance metrics to group-wise importance.
Group-wise Importance and Selection
FairGRAPE calculates a group-wise importance score ($I_{k,w}$) for each weight $w$ relative to a specific demographic group $k$. This is estimated using a first-order Taylor expansion (the square of the gradient-weight product). Instead of simply keeping the weights with the highest global scores, FairGRAPE aims to maintain the "share of importance" each group held in the original model.
The algorithm employs a greedy layer-wise approach to select weights that most closely preserve these original ratios. By ensuring each group retains its relative share of the model's representational capacity, the performance degradation is equalized across the population.
Iterative Refinement and Unsupervised Discovery
FairGRAPE utilizes an iterative pruning and fine-tuning schedule, allowing the network to adapt to the increased sparsity incrementally. Furthermore, for scenarios where demographic labels are unavailable, the method can utilize unsupervised group discovery via K-means clustering on image embeddings to identify latent sub-groups before pruning.
Experimental Evaluation
The researchers evaluated FairGRAPE across several benchmark datasets, including FairFace, UTKFace, CelebA, and a subset of ImageNet.
Key results include:
- Disparity Reduction: FairGRAPE reduced the disparity in performance degradation by up to 90% compared to standard algorithms like SNIP and GraSP.
- High Sparsity Performance: On the FairFace dataset using a ResNet-34 architecture at 99% sparsity, FairGRAPE achieved 91.1% overall accuracy with a gender standard deviation of only 0.05. In contrast, baseline methods experienced significant "fairness collapse" at these extreme compression levels.
- Layer-wise Stability: Qualitative analysis confirmed that FairGRAPE maintains a consistent ratio of importance scores across every layer of the network, preventing the "starvation" of minority group features in deeper layers.
Conclusion
FairGRAPE demonstrates that model pruning is not a neutral process and that standard efficiency-driven techniques can inadvertently amplify societal biases. By explicitly accounting for group-wise importance, FairGRAPE enables the creation of highly compressed models that are both efficient and fair. Future work will explore extending this framework to other compression techniques like quantization and broader categories of bias.
Summary updated