Abstract
Secure multi-party machine learning allows several parties to build a model on their pooled data to increase utility while not explicitly sharing data with each other. We show that such multi-party computation can cause leakage of global dataset properties between the parties even when parties obtain only black-box access to the final model. In particular, a "curious" party can infer the distribution of sensitive attributes in other parties' data with high accuracy. This raises concerns regarding the confidentiality of properties pertaining to the whole dataset as opposed to individual data records. We show that our attack can leak population-level properties in datasets of different types, including tabular, text, and graph data. To understand and measure the source of leakage, we consider several models of correlation between a sensitive attribute and the rest of the data. Using multiple machine learning models, we show that leakage occurs even if the sensitive attribute is not included in the training data and has a low correlation with other attributes or the target variable.
Introduction
In Multi-Party Machine Learning (MPML), organizations collaborate to train models on combined datasets without exposing raw records to one another. While cryptographic techniques like Secure Multi-Party Computation (MPC) effectively protect individual data points, they do not necessarily safeguard global dataset properties. For instance, a bank might participate in a joint fraud detection model but consider its customer demographic distribution to be proprietary business intelligence.
This paper demonstrates that a curious participant can accurately infer these population-level properties just by interacting with the final trained model. Unlike previous white-box attacks that required access to model weights or gradients, this work introduces a black-box property inference attack that succeeds using only model predictions across diverse data types, including tabular, text, and graph data.
Methodology
The proposed attack utilizes a shadow-model pipeline to learn the relationship between a model's output behavior and the underlying distribution of its training data.
The attack process involves four key steps:
- Shadow Training: The attacker generates multiple "shadow" versions of the target model using an auxiliary dataset. These models are trained on varying distributions (e.g., one set with a high ratio of a sensitive attribute and another with a low ratio).
- Feature Extraction: The attacker queries these shadow models with a fixed set of records ($D_{attack}$) and records the resulting probability vectors, which serve as a "fingerprint" of the training distribution.
- Meta-Classification: A meta-classifier (such as a neural network or logistic regression) is trained to distinguish between the fingerprints of models trained on different property distributions.
- The Attack: Once the joint model is released, the attacker queries it with $D_{attack}$, feeds the outputs into the meta-classifier, and receives a prediction about the other party's data distribution.
Key Insights and Results
Experiments across datasets like Adult (census), Yelp-Health (text), and Amazon (graphs) revealed several critical findings:
- High Inference Accuracy: On the Adult dataset, the attacker could distinguish between income distributions with up to 98% accuracy.
- Resilience to Attribute Removal: Dropping sensitive columns is not an effective defense. Because sensitive attributes are often correlated with other features (e.g., occupation and income), the model implicitly learns the distribution even when the attribute is excluded from training.
- The Utility-Privacy Paradox: Differential Privacy (DP) is designed to protect individuals while preserving population-level statistics for utility. Consequently, standard DP may actually facilitate property inference by ensuring the model accurately captures the global properties the attacker is targeting.
- Model Agnosticism: The attack is effective against various architectures, including MLPs, LSTMs, and Graph Convolutional Networks (GCNs).
Conclusion
This work highlights a significant privacy risk in multi-party learning environments. Current privacy-preserving techniques focus on individual records but leave global dataset properties vulnerable. As MPML becomes more prevalent, developing "property-preserving" representations that can decouple model utility from sensitive population-level information remains a critical challenge for future research.
Summary updated