Abstract
Membership Inference Attacks (MIA) pose a significant threat to the privacy of sensitive datasets used in deep learning. While traditional MIAs exploit signals of overfitting, recent research suggests that a model's local geometry—specifically its adversarial robustness—is a more reliable indicator of membership. This paper introduces the Directional Distance ($I_{dd}$) attack, a white-box metric that leverages label smoothing and temperature scaling to probe decision boundaries across multiple directions. Our findings reveal a "Robustness-Privacy Paradox": models hardened against adversarial examples via techniques like PGD-AT are actually more susceptible to membership leakage. $I_{dd}$ consistently outperforms existing state-of-the-art metrics, particularly on these adversarially trained models.
Introduction
As deep learning models are increasingly deployed in sensitive domains like healthcare and finance, the risk of data leakage grows. Membership Inference Attacks (MIA) seek to determine whether a specific data point was included in a model's training set. The standard intuition for MIA is that models behave differently on training data (members) than on unseen data (non-members). Historically, this difference was measured through prediction confidence or loss.
However, a more sophisticated signal lies in the model's decision boundaries. Training samples typically reside deeper within their respective class regions, meaning they require a larger adversarial perturbation to be misclassified. While existing robustness-based attacks measure the distance to the nearest decision boundary, they often rely on a single "hard" target class. This paper argues that such a narrow focus misses critical directional information, and proposes a more comprehensive way to map the model's local geometry to identify training data.
Methodology: The Directional Distance ($I_{dd}$) Attack
The authors propose the Directional Distance ($I_{dd}$) metric, a white-box attack designed to find the optimal "direction" that distinguishes members from non-members. The attack is built on three core components:
- Label Smoothing: Instead of calculating the distance to a "hard" one-hot target class, the attack uses smoothed labels. This allows the adversarial search to adjust its trajectory, finding paths to the decision boundary where the gap in robustness between members and non-members is most pronounced.
- Temperature Scaling ($T$): By incorporating a temperature parameter into the softmax function, the attack flattens the probability distribution. This refinement helps control the magnitude of entries in the probability vector, allowing for a more precise search of the high-dimensional space around a data point.
- Iterative Optimization: The attack utilizes the Carlini & Wagner (C&W) framework to calculate the minimum distance required to reach a decision boundary across multiple target classes. If the calculated distance exceeds a specific threshold ($\tau$), the point is identified as a member.
By treating the model's local geometry as a high-dimensional map, $I_{dd}$ effectively searches for the specific "slopes" that reveal the model's familiarity with its training data.
Experimental Setup
The researchers evaluated $I_{dd}$ against standard benchmarks, including Fashion-MNIST (5-layer CNN), CIFAR-10 (VGG-16), and CIFAR-100 (VGG-16). The evaluation compared 1,000 randomly selected training samples (members) against 1,000 test samples (non-members). The performance of $I_{dd}$ was measured against standard robustness metrics ($I_{adv}$) and entropy-based metrics ($m$-entropy).
Key Insights and Results
The Robustness-Privacy Paradox
The most significant finding is that adversarial training (PGD-AT)—the gold standard for defending models against malicious inputs—actually exacerbates privacy risks. While PGD-AT makes a model more robust overall, it increases the relative difference in robustness between members and non-members. This makes the membership signal much cleaner for an attacker to exploit.
Performance Comparison
$I_{dd}$ consistently outperformed existing attacks across all tested scenarios:
- Normally Trained Models: On CIFAR-10, $I_{dd}$ achieved an inference accuracy of 0.576, showing a clear improvement over standard robustness metrics.
- Adversarially Trained Models: The gap widened significantly in the presence of defenses. On CIFAR-10, $I_{dd}$ reached an accuracy of 0.722, compared to just 0.578 for the next best metric-based attack ($I_{entropy}$). On CIFAR-100, $I_{dd}$ achieved 0.665, significantly outperforming the 0.610 achieved by cross-entropy metrics.
Directionality and White-Box Access
The results confirm that probing the decision boundary in a single direction is sub-optimal. The white-box nature of the attack—having access to model parameters and gradients—allows the iterative optimization to find the exact distance to boundaries, making it far more lethal than black-box alternatives.
Limitations and Future Work
Despite its effectiveness, $I_{dd}$ has practical limitations. It is computationally expensive due to the iterative nature of the C&W framework across multiple directions. Furthermore, the attack is sensitive to hyperparameters; the optimal smoothing parameter ($\lambda$) and temperature ($T$) vary by dataset, suggesting that an attacker might require a "shadow model" to tune the attack effectively.
Finally, while the paper highlights the failure of current adversarial training to protect privacy, it does not propose a new defense. The findings underscore an urgent need for training methodologies that can provide both adversarial robustness and membership privacy without sacrificing one for the other.
Summary updated