Faking feature importance: A cautionary tale on the use of differentially-private synthetic data

Oscar Giles, Kasra Hosseini, Grigorios Mingas, Oliver Strickson, Louise Bowler, Camila Rangel Smith, Harrison Wilde, Jen Ning Lim, Bilal A. Mateen, Kasun Amarasinghe, Rayid Ghani, Alison J. Heppenstall, Nik Lomax, Nick Malleson, Martin T. O'Reilly, Sebastian VollmertekearXiv 2022

Abstract

Synthetic datasets are often presented as a silver-bullet solution to the problem of privacy-preserving data publishing. However, for many applications, synthetic data has been shown to have limited utility when used to train predictive models. One promising potential application of these data is in the exploratory phase of the machine learning workflow, which involves understanding, engineering and selecting features. This phase often involves considerable time, and depends on the availability of data. There would be substantial value in synthetic data that permitted these steps to be carried out while, for example, data access was being negotiated, or with fewer information governance restrictions. This paper presents an empirical analysis of the agreement between the feature importance obtained from raw and from synthetic data, on a range of artificially generated and real-world datasets. We employ two differentially-private methods to produce synthetic data and apply various utility measures to quantify the agreement in feature importance as this varies with the level of privacy. Our results indicate that synthetic data can sometimes preserve several representations of the ranking of feature importance in simple settings, but their performance is not consistent and depends upon a number of factors. Particular caution should be exercised in more nuanced real-world settings, where synthetic data can lead to differences in ranked feature importance that could alter key modelling decisions.

Introduction

In sensitive domains such as healthcare and finance, obtaining access to raw data is a significant bottleneck, often taking months due to strict privacy regulations and information governance. To maintain project momentum, researchers frequently turn to synthetic data—artificially generated data that mimics the statistical properties of the original dataset—to perform exploratory data analysis (EDA) and feature engineering while awaiting official access.

Comparison of project timelines showing how synthetic data can accelerate the exploratory phase of machine learning projects.

The primary value proposition of synthetic data in this context is the potential to compress the project timeline by allowing the exploration phase to begin immediately. However, this utility depends entirely on the synthetic data's ability to accurately reflect the "feature importance" of the real data. If synthetic data suggests a different set of primary predictors than the real data, the intuition and models built during the exploratory phase may be fundamentally flawed.

Methodology

Synthetic Data Generation

The study evaluated two prominent methods for generating differentially-private (DP) synthetic data:

  1. PrivBayes: Utilizes Bayesian networks to approximate the joint distribution of the data.
  2. PATE-CTGAN: A state-of-the-art approach combining Generative Adversarial Networks (GANs) with the Private Aggregation of Teacher Ensembles (PATE) framework.

Evaluation Framework

To measure feature importance, the researchers employed SHAP (Shapley Additive explanations), a game-theory-based approach known for its robustness. A key contribution of this work is the introduction of a new utility measure: Correlation-Corrected Rank-Biased Overlap ($RBO^{Cor}$). Unlike standard ranking metrics that penalize any swap in feature order, $RBO^{Cor}$ accounts for feature correlations, providing a more nuanced assessment of whether the synthetic data captures the underlying relationships even if it selects a different representative from a cluster of correlated features.

Datasets

The analysis was conducted across five controlled artificial datasets and three complex real-world datasets: the US Census Adult dataset, a Household Poverty dataset from Costa Rica (hierarchical), and a Polish Survey dataset (high multi-collinearity).

Results and Discussion

The Privacy-Utility Trade-off

A critical finding is the existence of a "privacy-utility cliff." For most datasets, when the privacy budget ($\epsilon$) drops below 0.1 (indicating higher privacy), the similarity between real and synthetic feature importance becomes extremely low and volatile. In many high-privacy scenarios, synthetic data performed worse than a simple baseline of independent column resampling, suggesting that the noise added for privacy can "hallucinate" non-existent relationships.

Predictive Power vs. Feature Importance

The study highlights a dangerous paradox: a model trained on synthetic data might achieve high predictive accuracy (AUC) while relying on the "wrong" features. This discrepancy can lead researchers to develop incorrect intuitions about the problem domain, which may not translate to the real-world data.

Structural Limitations

Current DP synthesizers struggle significantly with complex data structures. In the hierarchical Household dataset, models failed to capture the relationships between individuals and households, leading to scrambled feature importance rankings. Furthermore, while $RBO^{Cor}$ showed that synthetic data sometimes identifies the correct clusters of important features in highly correlated data, it often fails to identify the specific features correctly.

Conclusion

While synthetic data is a promising tool for accelerating research, it is not yet a reliable proxy for feature importance in complex, real-world scenarios. The findings suggest that researchers must exercise extreme caution when using synthetic data for feature selection. Future work should focus on developing "privacy-preserving utility indicators" that can signal the reliability of a synthetic dataset without requiring access to the underlying raw data.

Summary updated

BibTeX
@misc{giles2022faking,
  author = {Oscar Giles and Kasra Hosseini and Grigorios Mingas and Oliver Strickson and Louise Bowler and Camila Rangel Smith and Harrison Wilde and Jen Ning Lim and Bilal A. Mateen and Kasun Amarasinghe and Rayid Ghani and Alison J. Heppenstall and Nik Lomax and Nick Malleson and Martin T. O'Reilly and Sebastian Vollmerteke},
  title = {{Faking feature importance: A cautionary tale on the use of differentially-private synthetic data}},
  year = {2022},
  eprint = {2203.01363},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.01363},
}
Figure