Skip to main content
QUICK REVIEW

[Paper Review] Is Private Learning Possible with Instance Encoding?

Nicholas Carlini, Samuel Deng|arXiv (Cornell University)|Nov 10, 2020
Privacy-Preserving Technologies in DataComputer Science42 references11 citations
TL;DR

This paper investigates whether private machine learning can be achieved using instance encoding—transforming training data before feeding it to a non-private learner. It proves theoretical impossibility results for strong privacy guarantees and demonstrates practical reconstruction attacks that break InstaHide, a state-of-the-art encoding scheme, by recovering nearly perfect copies of original images from encoded data, showing such methods fail to provide meaningful privacy.

ABSTRACT

A private machine learning algorithm hides as much as possible about its training data while still preserving accuracy. In this work, we study whether a non-private learning algorithm can be made private by relying on an instance-encoding mechanism that modifies the training inputs before feeding them to a normal learner. We formalize both the notion of instance encoding and its privacy by providing two attack models. We first prove impossibility results for achieving a (stronger) model. Next, we demonstrate practical attacks in the second (weaker) attack model on InstaHide, a recent proposal by Huang, Song, Li and Arora [ICML'20] that aims to use instance encoding for privacy.

Motivation & Objective

  • To investigate whether instance encoding can provide strong privacy guarantees in machine learning without sacrificing model accuracy.
  • To formalize privacy and utility requirements for instance encoding schemes using two attack models.
  • To evaluate the security of InstaHide, a prominent instance-encoding method, against practical reconstruction attacks.
  • To demonstrate that even stronger variants of InstaHide with larger mixing parameters remain vulnerable.
  • To argue that heuristic privacy claims in encoding-based schemes are insufficient and call for rigorous, falsifiable privacy definitions.

Proposed method

  • Formalize instance encoding as a transformation of training data using an arbitrary function E, separating instance and label encoding.
  • Define two attack models: one that distinguishes between two training datasets based on encoded outputs, and another that reconstructs original images from encoded mixtures.
  • Propose a reconstruction attack on InstaHide that leverages clustering of encoded images and solving a noisy linear system to recover source images.
  • Use GAN-based re-coloring to estimate the mixing weights and public images used in InstaHide’s linear mix-up process.
  • Apply a recursive subtraction method using structural similarity (SSIM) to isolate and recover individual private images from mixed encodings.
  • Extend the attack to larger mixing parameters (k), showing that increased k improves reconstruction accuracy due to better noise averaging.

Experimental results

Research questions

  • RQ1Can any instance encoding scheme provide indistinguishability-based privacy guarantees strong enough to match cryptographic standards?
  • RQ2Is it possible to reconstruct original training images from encoded data produced by a non-private learner, even when the encoding is designed to obscure them?
  • RQ3How does increasing the number of images mixed per encoded example (k) in InstaHide affect the feasibility of reconstruction attacks?
  • RQ4Do heuristic privacy arguments in encoding-based methods like InstaHide hold under rigorous cryptanalytic scrutiny?
  • RQ5Can theoretical impossibility results for strong privacy be extended to practical, real-world encoding schemes like InstaHide?

Key findings

  • Theoretical analysis proves that no useful instance encoding can resist distinguishing attacks with non-negligible probability, invalidating strong privacy claims.
  • A practical reconstruction attack successfully recovers all private images from the InstaHide challenge dataset with 69% success rate and at least two-thirds of images in 85% of cases.
  • Even with a single encoded image and full knowledge of public parameters, the attack reconstructs images near-perfectly, demonstrating severe vulnerability.
  • The attack becomes more effective as the mixing parameter k increases, contradicting the claim that larger k improves security.
  • The GAN-based re-coloring step enables accurate estimation of mixing weights, which is critical for the success of the recursive subtraction phase.
  • Extensions of InstaHide with larger k values do not enhance privacy, as the noise from public images becomes increasingly negligible in the limit of large k.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.