Syfer: Neural Obfuscation for Private Data Release

Adam Yala, Victor Quach, Homa Esfahanizadeh, Rafael G. L. D'Oliveira, Ken R. Duffy, Muriel Médard, Tommi S. Jaakkola, Regina BarzilayarXiv 2022

Introduction

The "Privacy-Utility Trade-off" remains a significant barrier in medical AI development. While researchers require large datasets to build robust and equitable algorithms, strict privacy regulations like HIPAA and GDPR make sharing raw patient data difficult. Existing solutions typically fall into two categories: Differential Privacy (DP), which often degrades data utility to the point of making models ineffective, and lightweight encoding schemes like InstaHide, which have proven vulnerable to sophisticated re-identification attacks.

Syfer introduces a novel neural obfuscation framework that allows data owners to release "scrambled" versions of sensitive datasets. By combining learned obfuscator layers with random neural networks acting as a private key, Syfer achieves high empirical privacy while maintaining significantly better predictive utility than traditional methods.

The Syfer Framework

Syfer’s core innovation lies in its architecture and minimax training objective. The system transforms raw data into a format that appears as noise to an unauthorized observer but remains learnable for a model builder who possesses the necessary context.

Overview of the Syfer framework involving a Data Owner (Alice), Model Builder (Bob), and Adversary (Eve).

Architecture and Training

  • Keyed Obfuscation: Syfer uses a sequence of blocks composed of learned obfuscator layers and random neural network layers. The weights of these random layers serve as a "private key" known only to the data owner.
  • Simple Attention Units (SAU): To ensure stable training, the authors developed SAUs—gated multi-head self-attention modules that outperform standard Vision Transformers (ViTs) in this specific obfuscation task.
  • Minimax Objective: The obfuscator layers are trained to maximize the loss of a model-based attacker (Eve) attempting to link raw images to encoded ones, while simultaneously minimizing reconstruction loss to ensure the transformation remains invertible for the intended user (Bob).
  • Label Protection: Beyond image data, Syfer applies random permutations to class labels to protect sensitive metadata.

Experimental Evaluation

The researchers evaluated Syfer using two major chest X-ray repositories: the NIH Chest X-ray dataset (used for training the obfuscator) and the MIMIC-CXR dataset (used as the private held-out evaluation set). This cross-dataset approach demonstrates the framework's ability to generalize and protect unseen data against various attacker architectures, such as ResNet and ViT.

Metrics: Guesswork and Utility

To quantify privacy, the authors utilize "guesswork"—the number of attempts an attacker requires to correctly link a raw image to its encoded counterpart in a large lineup. Utility is measured by the Area Under the Curve (AUC) of models trained on the obfuscated data for diagnostic tasks like identifying Edema or Cardiomegaly.

Key Results

Syfer significantly shifts the frontier of the privacy-utility trade-off, outperforming both lightweight encodings and differential privacy baselines.

Comparison of Syfer against state-of-the-art encoding and differential privacy methods across privacy (Guesswork) and utility (AUC) metrics.
  • Superior Privacy: In a lineup of 10,000 images, Syfer achieved an expected guesswork of 8,411. In contrast, previous schemes like InstaHide and Dauntless were broken almost instantly, with a guesswork of 1.
  • High Utility: Models trained on Syfer-encoded data achieved an average AUC of 0.78. While this is a slight decrease from the raw data baseline (0.86), it vastly outperforms Differential Privacy (DP-Image) methods, which dropped to an AUC of 0.53—barely better than random chance.
  • Visual Obfuscation: Qualitatively, Syfer encodings appear as static noise to the human eye, yet structural details can be recovered using the private key.

Conclusion and Future Work

Syfer demonstrates that neural obfuscation can provide a practical path for sharing sensitive medical data. However, the authors note that Syfer currently provides empirical rather than theoretical privacy. Future research is required to harden the framework against "plaintext attacks" (where an adversary queries the encoder with known images) and to evaluate its effectiveness across diverse medical modalities beyond X-rays, such as MRI or CT scans.

Summary updated

BibTeX
@misc{yala2022syfer,
  author = {Adam Yala and Victor Quach and Homa Esfahanizadeh and Rafael G. L. D'Oliveira and Ken R. Duffy and Muriel Médard and Tommi S. Jaakkola and Regina Barzilay},
  title = {{Syfer: Neural Obfuscation for Private Data Release}},
  year = {2022},
  eprint = {2201.12406},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2201.12406},
}
Figure