Model Privacy: A Unified Framework to Understand Model Stealing Attacks and Defenses
Ganghua Wang, Yuhong Yang, Jie Ding
TL;DR
This work introduces Model Privacy, a unified framework to analyze model stealing attacks and defenses under a formal threat model with attack strategies and defender perturbations. It defines quantitative metrics such as the privacy level $\mathrm{PL}_n(\cdot)$ and the stealing error, and derives minimax-type guarantees across parametric and nonparametric settings, including both known and unknown attacker algorithms. The authors propose theory-guided defenses, notably Order Disguise for regression and Misleading Shift for classification, with rigorous rate-optimality results and proofs; they validate these approaches through simulations and a real-world hate-speech detection case study. The empirical results show that attack-specific, correlated perturbations can substantially improve model privacy for a given utility loss, suggesting practical guidelines for deploying privacy-preserving defenses in ML service settings.
Abstract
The use of machine learning (ML) has become increasingly prevalent in various domains, highlighting the importance of understanding and ensuring its safety. One pressing concern is the vulnerability of ML applications to model stealing attacks. These attacks involve adversaries attempting to recover a learned model through limited query-response interactions, such as those found in cloud-based services or on-chip artificial intelligence interfaces. While existing literature proposes various attack and defense strategies, these often lack a theoretical foundation and standardized evaluation criteria. In response, this work presents a framework called ``Model Privacy'', providing a foundation for comprehensively analyzing model stealing attacks and defenses. We establish a rigorous formulation for the threat model and objectives, propose methods to quantify the goodness of attack and defense strategies, and analyze the fundamental tradeoffs between utility and privacy in ML models. Our developed theory offers valuable insights into enhancing the security of ML models, especially highlighting the importance of the attack-specific structure of perturbations for effective defenses. We demonstrate the application of model privacy from the defender's perspective through various learning scenarios. Extensive experiments corroborate the insights and the effectiveness of defense mechanisms developed under the proposed framework.
