Introduction
Private Inference (PI) is a critical technology for running neural network models on encrypted data, ensuring user privacy in sensitive domains. However, the computational overhead of cryptographic primitives like Multi-Party Computation (MPC) makes standard deep learning models impractical. Specifically, the non-linear ReLU (Rectified Linear Unit) activation function serves as a massive bottleneck.
To address this, recent research has introduced "linearization" techniques, such as Selective Network Linearization (SNL) and DeepReDuce (DR), which replace a significant portion of ReLUs with linear functions. While these methods often report negligible impacts on global accuracy, this paper investigates whether these losses are distributed fairly across different demographic subgroups. The authors uncover a significant "disparate impact," where the small global accuracy loss masks severe performance degradation for minority groups.
The Mathematical Drivers of Unfairness
The authors provide a mathematical framework to explain why linearization disproportionately affects underrepresented groups. Using a Taylor expansion of the loss function, they identify two primary drivers of this disparity:
- Gradient Norms: Underrepresented groups typically exhibit larger gradient norms at convergence. This makes their loss more sensitive to model perturbations, such as those introduced by removing non-linearities.
- Decision Boundary Complexity: Minority samples are often located closer to the decision boundary or in more complex regions of the feature space. ReLUs provide the "bending" power necessary to represent these complex boundaries. Linearization "coarsens" the model, effectively flattening these boundaries and cutting off samples in the "fringe" or minority regions.
Experimental Results and the "Matthew Effect"
The study evaluated several architectures (ResNet, VGG, WideResNet) across datasets including UTKFace, SVHN, and imbalanced versions of CIFAR-10. The results consistently demonstrated a "Matthew effect": majority groups maintain their accuracy while minority groups suffer disproportionate hits.
For example, on the UTKFace dataset, linearizing 98% of a ResNet18 model using SNL resulted in almost no accuracy drop for the majority (White) group, but a 5-fold increase in the accuracy drop for the "Other" race group. The coarser DeepReDuce method was even more volatile, causing a near 10-fold accuracy drop for the same minority subgroup.
Mitigation Strategy
To resolve this disparity, the authors propose a fairness-aware fine-tuning strategy (Algorithm 1). This method utilizes Knowledge Distillation (KD) and Lagrangian duality to add a fairness regularizer to the objective function. This regularizer penalizes the model if the loss for a specific subgroup deviates significantly from the population average. This approach successfully recovers minority accuracy with minimal impact on the majority group's performance, preserving the speed benefits of private inference without sacrificing equity.
Conclusion and Future Work
While linearization is essential for making Private Inference practical, it introduces hidden fairness risks. This research highlights that global metrics can be deceptive and that model optimization must account for subgroup parity. Future work includes developing "blind" fairness techniques that do not require explicit demographic labels during fine-tuning, potentially through distributionally robust optimization.
Summary updated