TL;DR
Even when using secure multi-party computation to keep raw data private, the resulting machine learning model can still "leak" global secrets about a participant's dataset. This paper demonstrates a black-box attack where a curious party can accurately infer the distribution of sensitive attributes (like gender or income) in another party's data, even if those attributes were excluded from the training process.
What Problem Does This Paper Address?
In Multi-Party Machine Learning (MPML), several organizations (like banks or hospitals) collaborate to train a model on their combined data without ever showing each other their raw records. While cryptographic techniques like Secure Multi-Party Computation (MPC) do an excellent job of protecting individual records, they don't necessarily protect global properties of the datasets.
For example, a bank might be fine with a joint model identifying fraud, but they might consider the demographic breakdown of their customer base to be proprietary business intelligence. This paper explores whether a participant can "sniff out" these population-level properties just by interacting with the final, trained model.
Methods
The authors propose a black-box property inference attack that follows a shadow-model pipeline:
- Shadow Training: The attacker creates multiple "shadow" versions of the target model. They use an auxiliary dataset to generate two sets of training data: one where the sensitive property is present (e.g., 70% female) and one where it is not (e.g., 30% female).
- Feature Extraction: The attacker queries these shadow models with a fixed set of records ($D_{attack}$) and records the output probability vectors. These vectors serve as the "fingerprint" of the underlying data distribution.
- Meta-Classification: A simple meta-classifier (like a logistic regression or a small neural network) is trained to distinguish between the fingerprints of the "Property P" models and the "Non-Property P" models.
- The Attack: Once the real joint model is released, the attacker queries it with $D_{attack}$, feeds the resulting probabilities into their meta-classifier, and receives a prediction about the other party's data distribution.
Crucially, this attack works even if the sensitive attribute is dropped before training, because correlations between the sensitive attribute and other features (e.g., occupation and income) allow the model to implicitly learn the distribution.
Datasets
The researchers evaluated their attack across diverse data types:
- Tabular: Adult (census data), Health (Heritage Health Prize), and Communities and Crime.
- Text: Yelp-Health (medical reviews), using LSTMs to predict sentiment.
- Graph: Amazon (product co-purchasing network), using Graph Convolutional Networks (GCNs).
Key Insights and Ideas
- The "Correlation is Leakage" Realization: The most striking insight is that removing sensitive columns is not a defense. If a sensitive attribute $A$ is correlated with the features $X$ used for training, the model's decision boundaries will inevitably shift based on the distribution of $A$.
- Black-Box Sufficiency: Unlike previous "white-box" attacks that required looking at model weights, this attack proves that the "signal" of the training distribution is present in the model's output probabilities.
- Model Agnostic: The attack is remarkably versatile, succeeding against Logistic Regression, MLPs, LSTMs, and GCNs.
- The Utility-Privacy Paradox: Secure computation and Differential Privacy (DP) are often cited as solutions. However, the authors note that DP is designed to protect individuals while preserving population-level statistics for utility. This means standard DP might actually make this specific type of leakage easier, as it ensures the model captures the very properties the attacker is looking for.
Key Results
- High Accuracy: On the Adult dataset, the attacker could distinguish between different income distributions with up to 98% accuracy.
- Resilience to Censorship: When the sensitive attribute was removed from the training data, the attack accuracy only dropped by a few percentage points (e.g., from 83% to 81% for gender in the Adult dataset).
- Fine-Grained Inference: The attack isn't just binary. The authors demonstrated a "fine-grained" version that could distinguish between multiple ratios (e.g., 10:90 vs 30:70 vs 50:50) with high precision.
- Efficiency: The attack is computationally practical, requiring only about 100 shadow models and fewer than 1,000 queries to the final model.
Limitations and Future Work
- Auxiliary Data Requirement: The attacker needs access to a dataset that is "distributed similarly" to the target data to train effective shadow models.
- Known Domains: The attacker must know the domain of the attribute they are trying to infer (e.g., they need to know they are looking for "Gender" and that its values are "Male/Female"). They cannot easily discover an unknown sensitive property from scratch.
- Defense Gap: The paper concludes that trivial defenses (like dropping columns) fail. Future work is needed to develop "property-preserving" representations—perhaps through adversarial training or disentangled VAEs—that can hide global properties without destroying the model's primary utility.
Summary updated