NullFace: Training-Free Localized Face Anonymization
Han-Wei Kung, Tuomas Varanka, Terence Sim, Nicu Sebe
TL;DR
NullFace introduces a training-free face anonymization method that preserves non-identity attributes by inverting a pre-trained diffusion model to recover the initial noise and then applying an identity-embedding that negates the original identity during denoising. By combining DDPM inversion with an IP-Adapter conditioned on negated identity embeddings and a dual-path (conditional/unconditional) denoising framework, the approach achieves effective anonymization while maintaining gaze, pose, and expressions. The method supports localized anonymization via segmentation masks, enabling selective privacy control valuable in medical and behavioral research. Empirical results on CelebA-HQ and FFHQ show competitive re-identification reduction, strong attribute preservation, and high image quality, with ablations highlighting the critical role of inversion and the tunability through $T_{ ext{skip}}$, $\\lambda_{id}$, and $\lambda_{cfg}$. Overall, NullFace offers a practical, training-free, privacy-preserving solution with real-world applicability and robust resistance to identity recovery attacks.
Abstract
Privacy concerns around ever increasing number of cameras are increasing in today's digital age. Although existing anonymization methods are able to obscure identity information, they often struggle to preserve the utility of the images. In this work, we introduce a training-free method for face anonymization that preserves key non-identity-related attributes. Our approach utilizes a pre-trained text-to-image diffusion model without requiring optimization or training. It begins by inverting the input image to recover its initial noise. The noise is then denoised through an identity-conditioned diffusion process, where modified identity embeddings ensure the anonymized face is distinct from the original identity. Our approach also supports localized anonymization, giving users control over which facial regions are anonymized or kept intact. Comprehensive evaluations against state-of-the-art methods show our approach excels in anonymization, attribute preservation, and image quality. Its flexibility, robustness, and practicality make it well-suited for real-world applications. Code and data can be found at https://github.com/hanweikung/nullface .
