CutClean: Neural Network Pruning for Privacy-Preserving Inference
Authors: Leonardo Magliolo, Vito Paolo Pastore, Giuseppe Valenzise, Enzo Tartaglione
Organizations: LTCI, Télécom Paris, Institut Polytechnique de Paris, France · MaLGa-DIBRIS, University of Genoa, Italy · Istituto Italiano di Tecnologia, Italy · Universite Paris-Saclay, CNRS, CentraleSupélec, L2S, France
Neural networks are increasingly deployed in high-stakes applications with growing privacy leakage concerns. We show that this privacy leakage can occur even in the absence of representation imbalances that lead to traditional dataset biases. This poses significant privacy risks when deploying models that process sensitive attributes. In this context, we propose CutClean, a privacy-aware pruning method that allows to reduce privacy information flow through the network, while increasing its sparsity. Our approach employs auxiliary linear privacy heads placed at each network's block to quantify information leakage, and further applies increasing levels of sparsity to remove the private attribute leakage, measured in terms of the accuracy of the privacy head attached to the last block. Experiments on synthetic and real-world datasets demonstrate that our approach effectively minimizes private information flow while achieving high sparsity rates and preserving classification target accuracy.
Figures & tables
Figure 1: Schematic overview of CutClean.
γ
Target Accuracy (%)
Last PH accuracy (%)
0
91.71±0.84
90.61±0.45
0.01
92.17±0.79
87.68±0.58
0.10
89.93±0.58
74.13±1.69
1
89.15±1.85
71.34±2.38
5
89.47±0.75
71.15±0.67
10
89.61±0.26
69±0.66
Table 1: Target and last privacy head accuracy on the validation set for different values of γ for Celeb-A "blonde" attribute.
Model
Target Accuracy (%)
Last PH Accuracy (%)
Sparsity (%)
Baseline
91.81±0.85
87.59±1.14
0
CutClean
90.32±0.64
62.73±1.24
60
CutClean w/o fine-tuning
88.84±1.16
61.02±2.36
5
Table 2: Target accuracy, last privacy head accuracy on the test set and sparsity level on Celeb-A "blonde" attribute.
γ
Target Accuracy (%)
Last PH accuracy (%)
0
74.07±3.46
81.48±7.29
0.01
78.70±1.31
85.19±7.29
0.10
74.07±5.71
78.70±4.72
1
73.15±4.72
76.85±1.31
γ⋆=5
75±3.93
62.04 ± 14.76
10
70.37±2.62
63.89±3.93
Table 3: Target and last privacy head accuracy on the validation set for different values of γ for Celeb-A "Heavy make-up" attribute.
Model
Target Accuracy (%)
Last PH Accuracy (%)
Sparsity (%)
Baseline
77.65±4.76
80.30±0.53
0
CutClean
73.11±6.29
64.39±4.98
30
CutClean w/o fine-tuning
55.30±9.19
59.47±7.56
40
Table 4: CutClean performance on Celeb-A, "Heavy make-up" attribute
γ
Target Accuracy (%)
Last PH accuracy (%)
0
83.89±0.27
64.41±0.81
0.01
84.05±0.51
63.92±0.84
0.10
82.07±0.59
41.93±0.54
1
80.09±0.13
25.44±0.79
5
79.53±0.58
19.67±0.51
10
78.11±0.49
17.69±0.54
Table 5: Target and last privacy head accuracy on the validation set for different values of γ for Corrupted-CIFAR10.
Model
Target Accuracy (%)
Last PH Accuracy (%)
Sparsity (%)
Baseline
84.23±0.49
62.87±1.16
0
CutClean
81.36±0.36
13.33±0.50
10
CutClean w/o fine-tuning
75.54±0.33
14.59±0.97
0
Table 6: Target accuracy, last privacy head accuracy on the test set and sparsity level on Corrupted-CIFAR10.
γ
Target Accuracy (%)
Last PH accuracy (%)
0
90.31±0.07
91.47±0.26
0.01
90.46±0.51
90.36±0.93
0.10
89.46±0.61
71.64±1.47
γ⋆=1
89.26±0.19
69.23 ± 3.50
5
88.20±0.84
75.05±0.94
10
88±0.70
77.51±2.86
Table 7: Target and last privacy head accuracy on the validation set for different values of γ for Waterbirds.
Model
Target Accuracy (%)
Last PH Accuracy (%)
Sparsity (%)
Baseline
88.76±0.51
88.96±0.61
0
CutClean
86.55±0.75
64.56±1.48
20
ClutClean w/o fine-tuning
50.00±0.01
50.00±0.01
95
Table 8: Target accuracy, last privacy head accuracy on the test set and sparsity level on waterbirds.
γ
Target Accuracy (%)
Last PH accuracy (%)
0
90.20±1.60
86.86±0.39
0.01
89.38±0.97
86.08±1.04
0.10
87.13±1.19
76.28±2.69
1
87.96±0.26
73.58±1.80
5
87.41±1.13
76.42±2.64
10
87.59±1.92
70.42±1.72
Table 9: Target and last privacy head accuracy on the validation set for different values of γ for Celeb-A "blonde" attribute, employing a ViTb-16 model.
Model
Target Accuracy (%)
Last PH Accuracy (%)
Sparsity (%)
Baseline
90.19±1.04
86.90±1.91
0
Without retrain after pruning
79.03±3.01
64.02±4.02
10
With retrain after pruning
84.72±2.14
61.73±2.84
50
Table 10: Target accuracy, last privacy head accuracy on the test set and sparsity level on Celeb-A "blonde" attribute, employing a ViTb-16 model.
Figure 2: Target and privacy head accuracy on the test set for the investigated datasets for CutClean (Left) and CutClean without fine-tuning (Right). Results are averaged across three runs, standard deviations in the shaded area.
Department of Mathematics Pennsylvania State University University Park, PA 16802, USA · Department of Computing and Mathematical Sciences California Institute of Technology Pasadena, CA 91125, USA