Lune

CCS2021Top-tier venue

Honest-but-Curious Nets: Sensitive Attributes of Private Inputs Can Be Secretly Coded into the Classifiers' Outputs

Mohammad Malekzadeh, Anastasia Borovykh, Deniz Gündüz

Abstract

It is known that deep neural networks, trained for the classification of non-sensitive target attributes, can reveal sensitive attributes of their input data through internal representations extracted by the classifier. We take a step forward and show that deep classifiers can be trained to secretly encode a sensitive attribute of their input data into the classifier's outputs for the target attribute, at inference time. Our proposed attack works even if users have a full whitebox view of the classifier, can keep all internal representations hidden, and only release the classifier's estimations for the target attribute. We introduce an information-theoretical formulation for such attacks and present efficient empirical implementations for training honest-but-curious (HBC) classifiers: classifiers that can be accurate in predicting their target attribute, but can also exploit their outputs to secretly encode a sensitive attribute. Our work highlights a vulnerability that can be exploited by malicious machine learning service providers to attack their user's privacy in several seemingly safe scenarios; such as encrypted inferences, computations at the edge, or private knowledge distillation. Experimental results on several attributes in two face-image datasets show that a semitrusted server can train classifiers that are not only perfectly honest but also accurately curious. We conclude by showing the difficulties in distinguishing between standard and HBC classifiers, discussing challenges in defending against this vulnerability of deep classifiers, and enumerating related open directions for future studies.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Exploiting Unintended Feature Leakage in Collaborative Learning cites Membership Inference Attacks Against Machine Learning Models
  • Exploiting Unintended Feature Leakage in Collaborative Learning cites Deep Learning with Differential Privacy
  • Membership Inference Attacks Against Machine Learning Models cites Stealing Machine Learning Models via Prediction APIs
  • Membership Inference Attacks Against Machine Learning Models cites Deep Learning with Differential Privacy
  • A Method to Facilitate Membership Inference Attacks in Deep Learning Models cites Membership Inference Attacks Against Machine Learning Models
  • A Method to Facilitate Membership Inference Attacks in Deep Learning Models cites ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models
  • A Method to Facilitate Membership Inference Attacks in Deep Learning Models cites Deep Learning with Differential Privacy
  • "Get in Researchers; We're Measuring Reproducibility": A Reproducibility Study of Machine Learning Papers in Tier 1 Security Conferences cites Exploiting Unintended Feature Leakage in Collaborative Learning
  • "Get in Researchers; We're Measuring Reproducibility": A Reproducibility Study of Machine Learning Papers in Tier 1 Security Conferences cites Membership Inference Attacks Against Machine Learning Models
  • "Get in Researchers; We're Measuring Reproducibility": A Reproducibility Study of Machine Learning Papers in Tier 1 Security Conferences cites Stealing Machine Learning Models via Prediction APIs
  • "Get in Researchers; We're Measuring Reproducibility": A Reproducibility Study of Machine Learning Papers in Tier 1 Security Conferences cites ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models
  • "Get in Researchers; We're Measuring Reproducibility": A Reproducibility Study of Machine Learning Papers in Tier 1 Security Conferences cites Deep Learning with Differential Privacy
  • SoK: Unintended Interactions among Machine Learning Defenses and Risks cites Exploiting Unintended Feature Leakage in Collaborative Learning
  • SoK: Unintended Interactions among Machine Learning Defenses and Risks cites Membership Inference Attacks Against Machine Learning Models
  • SoK: Unintended Interactions among Machine Learning Defenses and Risks cites Stealing Machine Learning Models via Prediction APIs
  • SoK: Unintended Interactions among Machine Learning Defenses and Risks cites Deep Learning with Differential Privacy
  • ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models cites Membership Inference Attacks Against Machine Learning Models
  • ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models cites Stealing Machine Learning Models via Prediction APIs
  • SoK: Colluding Adversaries in Machine Learning Pipelines cites Exploiting Unintended Feature Leakage in Collaborative Learning
  • SoK: Colluding Adversaries in Machine Learning Pipelines cites Membership Inference Attacks Against Machine Learning Models
  • SoK: Colluding Adversaries in Machine Learning Pipelines cites A Method to Facilitate Membership Inference Attacks in Deep Learning Models
  • SoK: Colluding Adversaries in Machine Learning Pipelines cites SoK: Unintended Interactions among Machine Learning Defenses and Risks
  • SoK: Colluding Adversaries in Machine Learning Pipelines cites Stealing Machine Learning Models via Prediction APIs
  • SoK: Colluding Adversaries in Machine Learning Pipelines cites ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. "Get in Researchers; We're Measuring Reproducibility": A Reproducibility Study of Machine Learning Papers in Tier 1 Security ConferencesDaniel Olszewski, Allison Lu, Carson Stillman, Kevin Warren et al.CCS 2023 · 19 citations
  2. SoK: Unintended Interactions among Machine Learning Defenses and RisksVasisht Duddu, Sebastian Szyller, N. AsokanS&P 2024 · 6 citations
  3. Anonymous Learning via Look-Alike Clustering: A Precise Analysis of Model GeneralizationAdel Javanmard, Vahab MirrokniNeurIPS 2023 · 3 citations
  4. A Method to Facilitate Membership Inference Attacks in Deep Learning ModelsZitao Chen, Karthik PattabiramanNDSS 2025
  5. SoK: Colluding Adversaries in Machine Learning PipelinesVasisht Duddu, Lipeng He, Asim Waheed, N. AsokanUSENIX Security 2026

Builds on14

  1. Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan et al.CCS 2016 · 7,620 citations
  2. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 citations
  3. Stealing Machine Learning Models via Prediction APIsFlorian Tramèr, Fan Zhang, Ari Juels, Michael K. Reiter et al.USENIX Security 2016 · 2,088 citations
  4. Exploiting Unintended Feature Leakage in Collaborative LearningLuca Melis, Congzheng Song, Emiliano De Cristofaro, Vitaly ShmatikovS&P 2019 · 1,736 citations
  5. ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning ModelsAhmed Salem, Yang Zhang, Mathias Humbert, Pascal Berrang et al.NDSS 2019 · 1,141 citations

Related papers

  1. Measuring Data Reconstruction Defenses in Collaborative Inference SystemsMengda Yang, Ziang Li, Juan Wang, Hongxin Hu et al.NeurIPS 2022 · 18 citations
  2. Variational Model Inversion AttacksKuan-Chieh Wang, Yan Fu, Ke Li, Ashish Khisti et al.NeurIPS 2021 · 142 citations
  3. Machine Learning Models that Remember Too MuchCongzheng Song, Thomas Ristenpart, Vitaly ShmatikovCCS 2017 · 582 citations
  4. Are Your Sensitive Attributes Private? Novel Model Inversion Attribute Inference Attacks on Classification ModelsShagufta Mehnaz, Sayanton V. Dibbo, Ehsanul Kabir, Ninghui Li et al.USENIX Security 2022
  5. Property Inference Attacks on Fully Connected Neural Networks using Permutation Invariant RepresentationsKaran Ganju, Qi Wang, Wei Yang, Carl A. Gunter et al.CCS 2018 · 574 citations
Dusk over the sea between two cliffs drawn in fine vertical lines