Towards Imperceptible Adversarial Defense: A Gradient-Driven Shield against Facial Manipulations
Yue Li, Linying Xue, Dongdong Lin, Qiushi Li, Hui Tian, Hongxia Wang
TL;DR
This work introduces GRASP, a gradient-projection-based proactive defense against facial deepfakes that simultaneously disrupts forgery while preserving perceptual fidelity. It unifies defense-focused $L_{ ext{MSE}}$, perceptual $L_{ ext{SSIM}}$, and low-frequency $L_{ ext{LF}}$ losses, and resolves gradient conflicts via a cross-gradient projection scheme with Gaussian smoothing. The approach achieves near-ideal defense performance (e.g., $ ext{DSR}$ around 100% and $\text{PSNR} \approx 40$ dB) across multiple deepfake models and datasets, while delivering high visual quality and robustness under post-processing. These results demonstrate GRASP's strong generalizability and practical impact for safeguarding identities and attributes in manipulated media, with potential extension to video-domain deepfakes and evolving generative architectures.
Abstract
With the flourishing prosperity of generative models, manipulated facial images have become increasingly accessible, raising concerns regarding privacy infringement and societal trust. In response, proactive defense strategies embed adversarial perturbations into facial images to counter deepfake manipulation. However, existing methods often face a tradeoff between imperceptibility and defense effectiveness-strong perturbations may disrupt forgeries but degrade visual fidelity. Recent studies have attempted to address this issue by introducing additional visual loss constraints, yet often overlook the underlying gradient conflicts among losses, ultimately weakening defense performance. To bridge the gap, we propose a gradient-projection-based adversarial proactive defense (GRASP) method that effectively counters facial deepfakes while minimizing perceptual degradation. GRASP is the first approach to successfully integrate both structural similarity loss and low-frequency loss to enhance perturbation imperceptibility. By analyzing gradient conflicts between defense effectiveness loss and visual quality losses, GRASP pioneers the design of the gradient-projection mechanism to mitigate these conflicts, enabling balanced optimization that preserves image fidelity without sacrificing defensive performance. Extensive experiments validate the efficacy of GRASP, achieving a PSNR exceeding 40 dB, SSIM of 0.99, and a 100% defense success rate against facial attribute manipulations, significantly outperforming existing approaches in visual quality.
