Skip to main navigation Skip to search Skip to main content

DiffProtect: Generative adversarial examples using diffusion models for facial privacy protection

  • Jiang Liu
  • , Chun Pong Lau*
  • , Zhongliang Guo
  • , Yuxiang Guo
  • , Zhaoyang Wang
  • , Rama Chellappa
  • *Corresponding author for this work

Research output: Journal Publications and ReviewsRGC 21 - Publication in refereed journalpeer-review

4 Downloads (CityUHK Scholars)

Abstract

The increasingly pervasive facial recognition (FR) systems raise serious concerns about personal privacy, especially for billions of users who have publicly shared their photos on social media. To address this challenge, several adversarial attack methods have been proposed to protect individuals from being identified by unauthorized FR systems with perturbed facial images. However, these approaches suffer from poor visual quality or low attack success rates, which limit their practical utility. Recently, diffusion models have achieved tremendous success in image generation. In this work, we ask: can diffusion models be used to generate adversarial examples against FR systems to improve both visual quality and attack performance? We propose DiffProtect, a novel method leveraging a diffusion autoencoder to generate semantically meaningful perturbations on FR systems. Extensive experiments demonstrate that DiffProtect produces more natural-looking encrypted images than state-of-the-art methods while achieving significantly higher attack success rates, e.g., 24.5 % and 25.1 % absolute improvements on the CelebA-HQ and FFHQ datasets. We further evaluate the effectiveness of DiffProtect in the real world using a commercial FR API and validate its usefulness in practice through a user study. Our code is available at https://github.com/joellliu/DiffProtect. © 2025 The Author(s)
Original languageEnglish
Article number112780
Number of pages11
JournalPattern Recognition
Volume173
Online published24 Nov 2025
DOIs
Publication statusPublished - May 2026

Funding

This work was supported by the DARPA GARD Program HR001119S0026-GARD-FP-052 and Amazon AI2AI fellowship.

Research Keywords

  • Adversarial attack
  • Diffusion models
  • Face recognition
  • Facial privacy

Publisher's Copyright Statement

  • This full text is made available under CC-BY-NC 4.0. https://creativecommons.org/licenses/by-nc/4.0/

Fingerprint

Dive into the research topics of 'DiffProtect: Generative adversarial examples using diffusion models for facial privacy protection'. Together they form a unique fingerprint.

Cite this