Can sparsity improve the privacy of neural networks?
Antoine Gonon, Léon Zheng, Clément Lalanne, Quoc-Tung Le, Guillaume Lauga, Can Pouliquen
TL;DR
This work investigates whether sparsity in neural networks can enhance data privacy against membership inference attacks. By employing a shadow-model framework and two sparsity regimes—unstructured IMP and structured butterfly sparsity—the authors observe a positive association between sparsity, privacy, and classification error, while cautioning that accuracy confounds privacy conclusions. They argue that prior studies may misattribute privacy gains to sparsity due to uncontrolled accuracy and high result variability, advocating for experiments that fix performance levels. The findings underscore a nuanced privacy-accuracy trade-off in sparse models and call for larger-scale evaluations and stronger attacks to draw robust conclusions about sparsity’s privacy benefits.
Abstract
Sparse neural networks are mainly motivated by ressource efficiency since they use fewer parameters than their dense counterparts but still reach comparable accuracies. This article empirically investigates whether sparsity could also improve the privacy of the data used to train the networks. The experiments show positive correlations between the sparsity of the model, its privacy, and its classification error. Simply comparing the privacy of two models with different sparsity levels can yield misleading conclusions on the role of sparsity, because of the additional correlation with the classification error. From this perspective, some caveats are raised about previous works that investigate sparsity and privacy.
