NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Dataset-Level Attribute Leakage in Collaborative Learning

Wanrong Zhang, Shruti Tople, Olga Ohrimenko

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. 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 collaborative learning environments, multiple entities (such as hospitals or financial institutions) pool their data to train a shared machine learning model. While cryptographic techniques like Secure Multi-Party Computation (SMPC) or trusted execution environments ensure that raw data is never explicitly shared, they do not prevent the resulting model from leaking information.

Most privacy research has focused on individual-level leakage, such as membership inference attacks. However, this paper addresses dataset-level leakage, where an adversary aims to infer aggregate statistics or population-level properties of another participant's dataset (e.g., "What is the ratio of male to female patients in Hospital A's data?"). This is a critical concern for organizations that view their aggregate data distributions as proprietary or sensitive.

Comparison of the proposed attack with prior work on property inference.

As shown in the comparison above, this work distinguishes itself by demonstrating that leakage is possible even with black-box access to model predictions and across diverse data types, including graphs, text, and tabular data.

The Attack Framework: Shadow Model Training

The core of the proposed attack is a meta-learning approach. An "honest-but-curious" participant uses their own data and auxiliary datasets to simulate the collaborative training process and train a secondary model to detect patterns in the target model's behavior.

Overview of the shadow model and meta-classifier training pipeline.

The attack proceeds in three main stages:

  1. Shadow Training: The attacker trains a large number of "shadow models." Crucially, the attacker varies the distribution of the sensitive attribute across these models (e.g., some are trained on 20% female data, others on 80%).
  2. Feature Extraction: The attacker generates feature vectors from these shadow models. In a white-box setting, model weights are used. In a black-box setting, the attacker queries the models with a specific attack dataset ($D_{attack}$) and uses the resulting prediction vectors as features.
  3. Meta-Classification: A meta-classifier is trained to recognize the relationship between a model's outputs and the underlying distribution of the sensitive attribute in its training set. Once trained, the meta-classifier can be applied to the target collaborative model to infer the properties of the other parties' data.

Experimental Results and Insights

The attack was evaluated on several real-world datasets, including the Adult census dataset, the Heritage Health Prize dataset, and the Communities and Crime dataset.

The "Dropped Attribute" Fallacy

A common defense is to simply remove sensitive attributes from the training data. However, the results show this is largely ineffective. Because features are often correlated, the model implicitly learns the distribution of the missing attribute. For instance, in the Adult dataset, an attacker could predict the gender distribution with 97% accuracy even when gender was explicitly excluded from training.

Model Vulnerability

The researchers found that Logistic Regression (LR) models are generally more vulnerable than Neural Networks (NN) in white-box settings due to their simpler, more interpretable weight structures. However, in black-box settings—where only predictions are available—Neural Networks remain highly susceptible, reaching up to 93% accuracy in property inference on certain datasets.

Impact of Correlation

Leakage is most pronounced when the sensitive attribute is strongly correlated with the target variable. However, the study demonstrates that leakage persists even when this correlation is zero, provided the sensitive attribute correlates with other input features.

Conclusion and Future Directions

This research highlights a fundamental tension in collaborative learning: the very utility that makes a model valuable also makes it a vessel for dataset-level leakage. Standard Differential Privacy (DP) techniques, which focus on individual records, do not provide adequate protection against these population-level inferences. While "Group DP" exists, the noise required to mask aggregate properties often renders the model useless. Future work must explore more sophisticated sanitization methods, such as disentangled representations, to protect proprietary dataset properties without sacrificing model performance.

Summary updated

BibTeX
@inproceedings{zhang2021dataset,
  author = {Wanrong Zhang and Shruti Tople and Olga Ohrimenko},
  title = {{Dataset-Level Attribute Leakage in Collaborative Learning}},
  booktitle = {USENIX Security},
  year = {2021},
}
Figure