A Method to Facilitate Membership Inference Attacks in Deep Learning Models
Zitao Chen, Karthik Pattabiraman
TL;DR
The paper presents a novel code-poisoning–driven membership inference attack that operates with black-box model access by embedding membership information into secret synthetic samples memorized by the model. It shows that, with a complete attack including a dual normalization scheme, the adversary can achieve near-perfect membership leakage across all training samples while preserving model accuracy, and can conceal this leakage from standard privacy audits. The results, demonstrated across multiple datasets and architectures, indicate that existing auditing and defenses are insufficient against such backdoor-like leakage, highlighting a critical gap in current privacy protections. The work thus emphasizes the need to rethink privacy auditing in ML systems, improve training-code integrity, and develop defenses that address code-poisoning–driven attacks.
Abstract
Modern machine learning (ML) ecosystems offer a surging number of ML frameworks and code repositories that can greatly facilitate the development of ML models. Today, even ordinary data holders who are not ML experts can apply off-the-shelf codebase to build high-performance ML models on their data, many of which are sensitive in nature (e.g., clinical records). In this work, we consider a malicious ML provider who supplies model-training code to the data holders, does not have access to the training process, and has only black-box query access to the resulting model. In this setting, we demonstrate a new form of membership inference attack that is strictly more powerful than prior art. Our attack empowers the adversary to reliably de-identify all the training samples (average >99% attack TPR@0.1% FPR), and the compromised models still maintain competitive performance as their uncorrupted counterparts (average <1% accuracy drop). Moreover, we show that the poisoned models can effectively disguise the amplified membership leakage under common membership privacy auditing, which can only be revealed by a set of secret samples known by the adversary. Overall, our study not only points to the worst-case membership privacy leakage, but also unveils a common pitfall underlying existing privacy auditing methods, which calls for future efforts to rethink the current practice of auditing membership privacy in machine learning models.
