Mitigating the Impact of Attribute Editing on Face Recognition
Sudipta Banerjee, Sai Pranaswi Mullangi, Shruti Wagle, Chinmay Hegde, Nasir Memon
TL;DR
This work addresses the vulnerability of automated face recognition to semantic facial attribute edits produced by diffusion-based generative models. It introduces a two-tier mitigation framework: global editing using DreamBooth-based regularization with a contrastive loss and a local editing approach using ControlNet-guided inpainting with depth and segmentation conditioning, designed to preserve identity while enabling diverse attribute changes. Across CelebA, CelebAMaskHQ, and LFW, the proposed methods (DB-prop for global edits and CN-IP for local edits) substantially improve biometric fidelity compared to strong baselines, with LLaVA-based automated attribute validation supporting editing accuracy. The findings highlight both the potential risks of attribute editing for evasion and the effectiveness of two complementary strategies for maintaining identity, offering practical guidance for safer deployment of editing tools in identity-sensitive contexts.
Abstract
Through a large-scale study over diverse face images, we show that facial attribute editing using modern generative AI models can severely degrade automated face recognition systems. This degradation persists even with identity-preserving generative models. To mitigate this issue, we propose two novel techniques for local and global attribute editing. We empirically ablate twenty-six facial semantic, demographic and expression-based attributes that have been edited using state-of-the-art generative models, and evaluate them using ArcFace and AdaFace matchers on CelebA, CelebAMaskHQ and LFW datasets. Finally, we use LLaVA, an emerging visual question-answering framework for attribute prediction to validate our editing techniques. Our methods outperform the current state-of-the-art at facial editing (BLIP, InstantID) while improving identity retention by a significant extent.
