[Paper Review] Latent Diffusion Models for Attribute-Preserving Image Anonymization
This paper introduces CAMOUFLaGE, the first latent diffusion model (LDM)-based framework for attribute-preserving image anonymization that anonymizes faces, bodies, and backgrounds while preserving semantic content. By leveraging ControlNets and a novel anonymization guidance mechanism in CAMOUFLaGE-Base, or a lightweight IP-Adapter in CAMOUFLaGE-Light, it achieves superior identity obfuscation with minimal fidelity loss, outperforming state-of-the-art methods in FID, Visual DNA, and downstream task accuracy.
Generative techniques for image anonymization have great potential to generate datasets that protect the privacy of those depicted in the images, while achieving high data fidelity and utility. Existing methods have focused extensively on preserving facial attributes, but failed to embrace a more comprehensive perspective that considers the scene and background into the anonymization process. This paper presents, to the best of our knowledge, the first approach to image anonymization based on Latent Diffusion Models (LDMs). Every element of a scene is maintained to convey the same meaning, yet manipulated in a way that makes re-identification difficult. We propose two LDMs for this purpose: CAMOUFLaGE-Base exploits a combination of pre-trained ControlNets, and a new controlling mechanism designed to increase the distance between the real and anonymized images. CAMOFULaGE-Light is based on the Adapter technique, coupled with an encoding designed to efficiently represent the attributes of different persons in a scene. The former solution achieves superior performance on most metrics and benchmarks, while the latter cuts the inference time in half at the cost of fine-tuning a lightweight module. We show through extensive experimental comparison that the proposed method is competitive with the state-of-the-art concerning identity obfuscation whilst better preserving the original content of the image and tackling unresolved challenges that current solutions fail to address.
Motivation & Objective
- To address the limitations of existing image anonymization methods that either distort images (e.g., blurring) or alter scene composition (e.g., GAN-based synthesis), which compromises data utility and privacy.
- To develop a privacy-preserving image anonymization framework that maintains semantic content, including facial attributes, clothing, gestures, and background elements, while preventing re-identification.
- To explore the feasibility and effectiveness of using Latent Diffusion Models (LDMs), particularly Stable Diffusion, for end-to-end image anonymization with high image quality and fidelity.
- To balance the trade-off between strong anonymization and high data utility by introducing subtle, privacy-enhancing perturbations to key visual elements without removing them.
- To evaluate the method across multiple benchmarks and downstream tasks, demonstrating its robustness and practical applicability in real-world scenarios.
Proposed method
- CAMOUFLaGE-Base employs pre-trained ControlNets and a novel anonymization guidance mechanism that increases the distributional distance between real and anonymized images while preserving semantic content.
- The anonymization guidance is based on the original image and is applied during the denoising process in the latent diffusion model to subtly alter facial features and body parts.
- CAMOUFLaGE-Light uses the Adapter technique to fine-tune a lightweight module that encodes facial attributes and scene elements, enabling faster inference with minimal performance drop.
- Both models are conditioned on the original image and use text prompts to guide the generation process, ensuring semantic consistency with the source image.
- The framework generates entire images from noise, rather than inpainting, to prevent re-identification via background reconstruction.
- A dual evaluation strategy is used: FID and Visual DNA for image quality and attribute consistency, and downstream tasks (e.g., face attribute classification, captioning) to assess data utility.
Experimental results
Research questions
- RQ1Can latent diffusion models be effectively adapted for image anonymization while preserving key facial and scene attributes?
- RQ2How does the proposed method compare to inpainting-based and GAN-based anonymization techniques in terms of re-identification risk and image fidelity?
- RQ3To what extent can a lightweight adapter-based architecture (CAMOUFLaGE-Light) maintain performance while reducing inference time compared to a full-architecture baseline (CAMOUFLaGE-Base)?
- RQ4Does preserving semantic content—including background, clothing, and gestures—improve the utility of anonymized images for downstream machine learning tasks?
- RQ5How effective is the anonymization guidance mechanism in increasing the distance between real and anonymized images without degrading perceptual quality?
Key findings
- CAMOUFLaGE-Base achieves lower FID scores than FALCO and DP2 on portrait datasets (LFW and CelebA-HQ), indicating higher image quality and lower distributional divergence.
- On the CelebA-HQ dataset, CAMOUFLaGE-Light achieves an AUC of 0.890 for inner face attributes and 0.919 for outer face attributes when fine-tuning on anonymized images, closely matching the original data's performance (0.904 and 0.922).
- CAMOUFLaGE-Light reduces inference time to 2.8 seconds per image at 768² resolution, achieving a 3.8× speedup over CAMOUFLaGE-Base (10.8 seconds per image).
- The Visual DNA distance metric shows that CAMOUFLaGE-Light outperforms FALCO in preserving semantic consistency between real and anonymized image pairs, indicating better attribute retention.
- In caption generation and outer facial attribute prediction, CAMOUFLaGE-Light achieves CLIP scores of 0.83 and AUCs of 0.980, outperforming FALCO and DP2 in both tasks.
- Ethnicity classification accuracy on anonymized images is higher for CAMOUFLaGE (0.777 for Ours-Base, 0.758 for Ours-Light) than for FALCO (0.654), suggesting better preservation of demographic characteristics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.