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

Correlation inference attacks against machine learning models

Ana-Maria Cretu, Florent Guépin, Yves-Alexandre de Montjoye

TL;DR

This paper introduces "correlation inference attacks" that reveal how machine learning models can leak information about the correlations between input variables in their training data. The authors demonstrate that even without direct access to the training data, adversaries can infer these correlations, which can then be used to launch more powerful privacy attacks.

What Problem Does This Paper Address?

Machine learning models are increasingly deployed in sensitive applications, yet our understanding of what information they retain from their training data remains incomplete. While previous research has focused on inferring individual data points (membership inference attacks), this paper explores a different type of leakage: the correlations between input variables within the training dataset. The authors argue that such correlations, even if not directly sensitive, can be valuable information for an adversary and can be exploited to infer other sensitive attributes, effectively enabling weaker adversaries.

Methods

The paper proposes two main types of correlation inference attacks:

  1. Model-less Attack: This attack leverages prior knowledge of correlations between input variables and the output variable (often available in research settings or through public datasets) and uses the mathematical properties of correlation matrices (specifically, spherical parametrization) to infer the target correlation. This serves as a strong baseline.
  2. Model-based Attack: This attack assumes an adversary has black-box access to the trained ML model. It trains a "meta-classifier" on synthetic datasets that mimic the adversary's knowledge about the target dataset's correlations. This meta-classifier then uses features extracted from the target model's predictions to infer the target correlation. This approach requires minimal assumptions about the adversary's knowledge of the underlying data distribution.

The authors also develop methods for generating valid correlation matrices under constraints and for creating synthetic datasets that match these constraints and specified marginal distributions.

Datasets

The paper evaluates its attacks on three real-world tabular datasets:

  • Fifa19: Contains player statistics.
  • Communities and Crime: Contains socio-economic and crime statistics.
  • Musk (v2): Describes molecular conformations.

Experiments are also extensively conducted on synthetic datasets generated using Gaussian copulas, which allow for controlled manipulation of correlations and marginals.

Key Insights and Ideas

  • Models "remember" correlations: ML models, even complex ones like Logistic Regression and MLPs, leak information about the correlations between their input variables, not just individual data points.
  • Correlations as building blocks: Inferred correlations can be used as a foundation for more sophisticated privacy attacks, such as attribute inference, empowering adversaries with less prior knowledge.
  • Model-less attack as a strong baseline: The proposed model-less attack, relying on mathematical properties rather than model access, provides a crucial baseline for quantifying the information leaked specifically by the ML model.
  • Mitigations are largely ineffective: Standard privacy-preserving techniques like limiting query access, reducing confidence score precision, and differential privacy offer limited protection against these correlation inference attacks.
  • Vulnerability varies with correlation constraints: The leakage is more pronounced when input variables are highly correlated with the output variable, but it still occurs even when there's little to no correlation.

Key Results

  • High accuracy for model-based attacks: The model-based correlation inference attack achieves high accuracy (e.g., 95.6% on average for Logistic Regression on synthetic data with n=3 variables) across various scenarios and models.
  • Model-less attack outperforms random: The model-less attack achieves significantly better-than-random accuracy (e.g., 56.0% on average for n=3 variables), demonstrating the inherent leakage.
  • Attribute inference improvement: The authors' correlation inference-based attribute inference attack (CI-AIA) outperforms previous state-of-the-art attacks on the Fifa19 dataset, achieving 49.7% accuracy.
  • Mitigation ineffectiveness: Limiting queries or confidence score precision had minimal impact on attack accuracy. Differential privacy also showed limited effectiveness, especially at the cost of model utility.
  • Real-world data vulnerability: Attacks were successful on real-world datasets, though the "artificial" advantage of the model-less attack was noted when correlations were skewed towards zero.

Limitations and Future Work

  • Gaussian Copula Assumption: The synthetic data generation relies on Gaussian copulas, which might not perfectly represent all real-world data distributions. Future work could explore different generative models.
  • Adversary Knowledge: While the paper aims for realistic adversary assumptions, some knowledge (like one-way marginals) is still assumed. Exploring attacks with even weaker adversary assumptions is a potential avenue.
  • Robust Defenses: The paper highlights that current defenses are largely ineffective. Developing robust defenses against correlation inference attacks remains an open problem.
  • Understanding "Why" Leakage Happens: The paper notes that leakage occurs even when models make random predictions, suggesting that the influence of the joint data distribution P(X, Y) on learning is fundamental. Further research is needed to understand if this leakage is an inherent part of the learning process and if truly robust defenses exist.

Summary updated

BibTeX
@inproceedings{cretu2025correlation,
  author = {Ana-Maria Cretu and Florent Guépin and Yves-Alexandre de Montjoye},
  title = {{Correlation inference attacks against machine learning models}},
  booktitle = {Science Advances},
  year = {2025},
  url = {https://openreview.net/forum?id=dGnh4Lfo1j},
}
Figure