NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Hierarchical Anti-Aesthetics: Protecting Facial Privacy against Customized Diffusion Models

Songping Wang, Yueming Lyu, Shiqi Liu, Chen Zhao, Ziyuan Chen, Ning Li, Jing Dong, Caifeng ShanarXiv 2026

TL;DR

Personalized diffusion models make it easy to generate deepfakes from just a few public photos. To combat this, the Hierarchical Anti-Aesthetics (HAA) framework injects subtle adversarial noise into images before they are shared, intentionally misaligning them with human aesthetic preferences. By combining global image degradation with targeted local facial disruption, HAA effectively prevents customized models from reconstructing recognizable facial identities.

What Problem Does This Paper Address?

Customized text-to-image diffusion models (like DreamBooth or Textual Inversion) allow anyone to fine-tune a generative model on a handful of images to depict a specific person in arbitrary, potentially malicious contexts. While great for personalized content creation, this poses massive privacy risks, such as unauthorized deepfakes and identity theft.

Existing defenses use "image cloaking"—adding imperceptible adversarial noise to user images to disrupt the model's internal features or maximize training loss during fine-tuning. However, these methods often focus purely on global, pixel-level reconstruction loss and overlook local facial structures. As a result, the fine-tuned model can still successfully reconstruct recognizable facial features, leading to identity leakage.

Previous image-protection methods vs. HAA

Methods

The authors propose Hierarchical Anti-Aesthetics (HAA), which shifts the defense paradigm from merely disrupting internal features to actively opposing human aesthetic preferences. The framework consists of two main branches optimized simultaneously:

  1. Global Anti-Aesthetics (GAA): Uses a frozen global aesthetic reward model ($RM_g$, based on a BLIP backbone) to evaluate the full decoded image. It guides the adversarial noise to destroy global harmony and realism.
  2. Local Anti-Aesthetics (LAA): Employs a lightweight face detector to isolate facial regions, which are then evaluated by a local facial aesthetic reward model ($RM_l$). This forces the malicious model to fail specifically at reconstructing fine facial details.
The HAA Framework Diagram

To make the optimization efficient and end-to-end differentiable, HAA uses a single-step reverse diffusion prediction and VAE decoding rather than running the full, computationally expensive reverse diffusion chain. It also utilizes an adversarial game strategy: it iteratively updates a robust surrogate diffusion model while optimizing the adversarial noise to ensure the attack remains potent against hardened models.

Datasets

  • Evaluation Datasets: The framework was evaluated on CelebA-HQ and VGGFace2, selecting 10 individuals from each dataset across diverse genders, ages, and ethnicities.
  • Reward Model Training/Validation:
  • The global reward model ($RM_g$) was trained on VisionRewardDB-Image, a dataset capturing human aesthetic preferences for text-to-image outputs.
  • The local reward model ($RM_l$) was validated using SCUT-FBP5500 (a facial beauty dataset) and trained using face crops from LAION images that were artificially degraded via a diffusion inpainting pipeline to create preference pairs.

Key Insights and Ideas

  • Aesthetics as a Proxy for Identity Realism: The core "aha moment" is that high-quality identity reconstruction relies heavily on a model's ability to align with human aesthetic preferences (sharpness, realistic textures, facial symmetry). By optimizing perturbations to minimize aesthetic rewards, the defense directly targets the realism required for usable deepfakes.
Aesthetics learning vs. Anti-Aesthetics learning
  • Hierarchical Complementarity: Global degradation alone isn't enough because identity cues can hide in local facial structures. Conversely, local face attacks can fail if face detection fails. HAA's dual-branch approach ensures that even if face detection completely fails, the global branch acts as a reliable fallback, suppressing holistic realism cues that correlate with identity consistency.
Effectiveness Analysis of HAA Components
  • Identity Exists Outside the Face Box: The authors discovered that identity-supporting information leaks through non-face cues like hair, head contour, clothing, and pose. Masking the face and measuring CLIP similarity proved that the global branch successfully disrupts these peripheral identity cues better than a local attack alone.
CLIP cosine similarity after masking face regions

Key Results

  • Superior Identity Suppression: On the CelebA-HQ dataset with the prompt "a photo of sks person", HAA reduced the Facial Detection Success Rate (FDSR) from 96.9% (using baseline defense Mist) to 28.1%, and slashed Face Similarity from 37.5% to 11.7%.
  • Poorer Generation Quality: It significantly increased the Fréchet Inception Distance (FID) to 471.1 (compared to Mist's 281.2), indicating severe degradation in the generated image quality.
  • Black-Box Transferability: HAA successfully generalized across different diffusion versions (SD-v1.4, v1.5) and alternative fine-tuning pipelines like SVDiff, Textual Inversion, and Custom Diffusion, consistently outperforming existing state-of-the-art methods.

Limitations and Future Work

  • Architectural Mismatch: While HAA transfers exceptionally well to U-Net-based diffusion models (like SD-v1.4/v1.5/v2.1), its absolute transfer strength drops slightly when attacking newer transformer-based architectures like SD-V3.0 and FLUX. The authors attribute this to the architectural mismatch between their U-Net surrogate model and the transformer targets.
  • No Absolute Guarantee: HAA significantly reduces identity evidence but does not theoretically guarantee 100% removal under extremely constrained noise budgets or severe prompt mismatches.
  • Future Directions: Promising future work includes developing surrogate models that better align with transformer-based denoisers to improve black-box transferability to next-generation generative models.

Summary updated

BibTeX
@misc{wang2026hierarchical,
  author = {Songping Wang and Yueming Lyu and Shiqi Liu and Chen Zhao and Ziyuan Chen and Ning Li and Jing Dong and Caifeng Shan},
  title = {{Hierarchical Anti-Aesthetics: Protecting Facial Privacy against Customized Diffusion Models}},
  year = {2026},
  eprint = {2607.02038},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.02038},
}
Figure