Not All Features Are Equal: Discovering Essential Features for Preserving Prediction Privacy

Fatemehsadat Mireshghallah, Mohammadkazem Taram, Ali Jalali, Ahmed Taha Elthakeb, Dean M. Tullsen, Hadi Esmaeilzadeh · DOI

TL;DR

This paper introduces "Cloak," a novel framework that identifies and suppresses non-essential features in data before sending it to cloud-based machine learning services. Cloak achieves significant privacy gains by reducing information leakage with minimal impact on prediction accuracy, even in black-box scenarios.

What Problem Does This Paper Address?

As machine learning models increasingly move to the cloud for inference, users send their data to third-party providers. This raises privacy concerns, as the entire input might not be necessary for the prediction task, and sensitive information could be exposed or misused. Existing privacy-preserving methods often involve computationally expensive cryptographic techniques that introduce significant latency, making them impractical for real-time applications. This paper addresses the need for a privacy solution that is efficient, effective, and doesn't require extensive collaboration with the cloud provider.

Methods

Cloak tackles this problem by formulating feature selection as an optimization task. It uses a gradient-based approach to identify "conducive" features (essential for the prediction) and "non-conducive" features (less important). The core idea is that features whose contribution to the prediction is robust to added noise are likely non-conducive.

The framework has two main phases:

  1. Offline Phase:
    • Perturbation Training: Cloak learns optimal noise distribution parameters (mean and standard deviation) for each feature. This is done by minimizing an objective function that balances reducing the mutual information (MI) between non-conducive features and the output (privacy) while maximizing the MI between conducive features and the output (utility). This is achieved by bounding the MI terms and using a loss function that incorporates both privacy and accuracy objectives.
  2. Suppression Value Training: After identifying the noise parameters, Cloak learns constant values to replace the non-conducive features. This is crucial because simply adding noise might not fully obscure information and could even lead to out-of-domain inputs for the model. Learning these suppression values ensures the modified data is still within the expected distribution for the target model.
  3. Online Prediction Phase: For a new input, Cloak applies the learned noise and then replaces the non-conducive features with the learned constant values, creating a "sifted representation" that is sent for prediction.

Datasets

The paper evaluates Cloak on four real-world datasets:

  • CelebA: Used for tasks like smile detection, black-hair color classification, and eyeglass detection.
  • CIFAR-100: Used for super-class classification.
  • UTKFace: Used for gender detection.
  • MNIST: Used for digit classification (greater than five and actual digit recognition).

The paper does not introduce new benchmarks but uses standard datasets for evaluating common machine learning tasks.

Key Insights and Ideas

  • Not all features are created equal: The fundamental insight is that a significant portion of input data might be redundant for a specific prediction task, offering an opportunity for privacy preservation.
  • Noise robustness as a privacy signal: Features that are less sensitive to added noise are identified as less important for the prediction, making them prime candidates for suppression.
  • Learned suppression values are better than zeros or random noise: Replacing non-conducive features with learned constant values, rather than arbitrary zeros or simple noise, better preserves the model's expected input distribution and thus utility.
  • Black-box applicability is a game-changer: Cloak's ability to work even when the target model's architecture and parameters are unknown significantly broadens its practical use cases.
  • Fairness co-benefit: By removing features that might encode biases (e.g., gender-related features in hair color prediction), Cloak can inadvertently improve the fairness of the downstream model.

Key Results

  • Privacy-Accuracy Trade-off: Cloak reduces mutual information between input and sifted representations by 85.01% with only a 1.42% reduction in utility (accuracy loss) on average across tested datasets.
  • Adversarial Inference Prevention: For smile detection, Cloak with a 95.6% suppression ratio made adversaries unable to infer hair color or eyeglasses with an accuracy close to random guessing, while the target task only lost 5.16% accuracy.
  • Black-Box Performance: Cloak performs comparably in black-box settings as in white-box settings, demonstrating its practical applicability.
  • Comparison to Shredder: Cloak outperforms Shredder (a prior work) in terms of privacy-accuracy trade-off, achieving higher information loss for the same accuracy.
  • Fairness Improvement: Cloak showed a reduction of 0.05 in both Demographic Parity (ADemp) and Equal Opportunity (ΔEO) metrics for a black-hair color classifier, indicating improved fairness.
  • Low Overhead: Cloak adds minimal latency to the prediction process, making it suitable for real-time applications.

Limitations and Future Work

  • Computational Cost of Training: While the online prediction phase is efficient, the offline training phase to learn the optimal noise and suppression values can be computationally intensive.
  • Hyperparameter Tuning: While the paper suggests the threshold for suppression is not critical, other hyperparameters like λ (privacy-utility knob) still require tuning.
  • Future Work: The paper suggests exploring Cloak's application to other types of ML models and tasks, as well as investigating its impact on other fairness metrics. Further research could also focus on more automated hyperparameter optimization.

Summary updated

BibTeX
@inproceedings{mireshghallah2021not,
  author = {Fatemehsadat Mireshghallah and Mohammadkazem Taram and Ali Jalali and Ahmed Taha Elthakeb and Dean M. Tullsen and Hadi Esmaeilzadeh},
  title = {{Not All Features Are Equal: Discovering Essential Features for Preserving Prediction Privacy}},
  booktitle = {The Web Conference},
  year = {2021},
  doi = {10.1145/3442381.3449965},
}
Figure