Abstract
The integration of machine learning (ML) in numerous critical applications introduces a range of privacy concerns for individuals who provide their datasets for model training. One such privacy risk is Membership Inference (MI), in which an attacker seeks to determine whether a particular data sample was included in the training dataset of a model. Current state-of-the-art MI attacks capitalize on access to the model's predicted confidence scores to successfully perform membership inference, and employ data poisoning to further enhance their effectiveness. In this work, we focus on the less explored and more realistic label-only setting, where the model provides only the predicted label on a queried sample. We show that existing label-only MI attacks are ineffective at inferring membership in the low False Positive Rate (FPR) regime. To address this challenge, we propose a new attack Chameleon that leverages a novel adaptive data poisoning strategy and an efficient query selection method to achieve significantly more accurate membership inference than existing label-only attacks, especially at low FPRs.
Introduction
Membership Inference (MI) attacks represent a significant threat to data privacy, potentially revealing sensitive information about individuals whose data was used to train a model. While most research focuses on "white-box" or "score-based" settings where attackers have access to model internal parameters or confidence scores, real-world machine learning APIs often operate in a "label-only" mode. In this restricted setting, the model only returns the predicted class label (e.g., "Car" or "Ship"), withholding the confidence scores that typically signal membership.
Previous attempts to bridge this gap used data poisoning—injecting malicious samples into the training set—to amplify the model's vulnerability. However, these static poisoning techniques often fail because they do not account for the unique stability of individual data points. We introduce Chameleon, an attack that utilizes adaptive poisoning and neighborhood querying to break the silence of label-only models.
The Chameleon Attack Methodology
Chameleon operates through a three-stage pipeline designed to maximize leakage while minimizing the impact on overall model utility.
1. Adaptive Poisoning
The core innovation of Chameleon is its adaptive poisoning strategy. Unlike static methods that add a fixed number of poisoned samples, Chameleon iteratively adds poisoned replicas (the target image paired with an incorrect label) to a set of shadow models. The process stops at the precise moment the models trained without the target sample begin to misclassify it. This identifies the "sweet spot" where the model's decision boundary is shifted enough to exclude non-members (OUT) while still correctly classifying members (IN).
2. Membership Neighborhood
To compensate for the lack of confidence scores, Chameleon queries the "neighborhood" of a target point. By applying 64 small transformations (such as slight crops or flips) to the target image, the attacker can observe how the model behaves in the local region around the sample.
3. The Distinguishing Test
The attacker calculates a "misclassification score" based on how many of these 64 neighbors the model labels incorrectly. A high error rate among neighbors strongly suggests the target was not part of the training set (OUT), as the poisoning has successfully pushed the decision boundary away from that point. Conversely, if the model correctly classifies most neighbors, the target is likely a member (IN).
Insights: The Over-Poisoning Trap
A key finding of our research is the "over-poisoning trap." If an attacker injects too many poisoned replicas, the model's decision boundary shifts so drastically that it misclassifies the target point regardless of its membership status. This makes members and non-members indistinguishable, rendering the attack useless.
Chameleon’s adaptive approach respects the fact that membership is "local." Some data points are highly stable and require multiple poisoned replicas to leak, while others are fragile and require only one. By tailoring the poison level to each specific target, Chameleon achieves high precision without triggering the over-poisoning trap.
Key Results
We evaluated Chameleon across diverse datasets (CIFAR-10, CIFAR-100, GTSRB, Purchase-100) and architectures (ResNet, VGG). The results demonstrate a massive leap in performance over existing label-only attacks, particularly in the low False Positive Rate (FPR) regime—the most critical metric for reliable privacy attacks.
- TPR Improvement: At a 1% FPR, Chameleon improved the True Positive Rate (TPR) by 10.36× to 17.53× compared to prior state-of-the-art label-only methods.
- High Confidence Leakage: On the CIFAR-100 dataset, Chameleon achieved a TPR of 52.5% at a 1% FPR, whereas previous methods failed to exceed 4%.
- Stealthiness: The attack requires adding only 0.6 to 3.5 poisoned points on average per target. This results in a negligible drop in overall model accuracy (typically less than 2%), making the attack difficult for model owners to detect through standard performance monitoring.
Limitations and Defenses
While highly effective, Chameleon currently requires the attacker to train multiple "shadow models" to calibrate the adaptive poisoning, which is computationally expensive. Our evaluation of defenses shows that Differential Privacy (DP) remains the most robust countermeasure. However, achieving high security ($\epsilon=4$) significantly degrades model utility, with accuracy on CIFAR-10 dropping from ~84% to ~49%. Future work will focus on developing poisoning strategies that do not require shadow models, further lowering the barrier for potential adversaries.
Summary updated