TL;DR
RecoverMark is a novel watermarking framework designed to protect facial images from malicious AI manipulation. Instead of relying on easily destroyed fragile watermarks, it compresses the original face and robustly embeds it into the image's background. This clever use of the image's own real estate allows for simultaneous tamper localization, original content recovery, and copyright verification, even after severe watermark removal attacks.
What Problem Does This Paper Address?
The explosion of AI-generated content (AIGC) has made sophisticated face manipulation (like deepfakes) highly accessible, creating massive headaches for intellectual property and visual integrity.
Currently, the standard proactive defense is to embed a fragile watermark into an image before it is published. If the image is manipulated, the fragile watermark breaks, allowing defenders to localize the tampered regions. However, this assumes the attacker is passive. In reality, an adversary can simply apply a watermark removal attack (like JPEG compression, blurring, or advanced AI regeneration) before or after manipulating the face, completely destroying the fragile watermark and bypassing the defense.
Furthermore, systems that try to embed both a fragile watermark (for tamper detection) and a robust watermark (for copyright verification) suffer from mutual interference and limited embedding capacity. The authors set out to build a single, unified watermarking system that survives aggressive removal attacks while still allowing defenders to pinpoint edits, recover the original face, and prove ownership.
Methods
RecoverMark abandons the fragile watermark paradigm entirely. Instead, it treats the protected face itself as a robust watermark.
The pipeline works as follows:
- Segmentation & Encoding: The system segments the image into the "saliency" region (the face) and the background. An encoder network compresses the facial data into a latent representation.
- Robust Embedding: A hiding network (HNet) embeds this compressed facial data invisibly into the background pixels.
- Two-Stage Progressive Training:
- Stage 1 trains the basic embedding and extraction networks for high visual fidelity and accurate recovery.
- Stage 2 freezes the encoder/decoder and introduces a "Distortion Layer" to simulate real-world attacks (noise, JPEG compression, and advanced AI regeneration).
- Extraction & Verification: When a suspicious image is found, an extraction network pulls the hidden facial data from the background. By comparing this recovered face to the visible (manipulated) face, the system generates a difference mask to localize the tampering. It also checks the Normalized Cross-Correlation (NCC) of the recovered face to verify copyright.
Datasets
- Training & In-Distribution (ID) Evaluation: CelebA (cropped to 256x256).
- Out-of-Distribution (OOD) Evaluation: FFHQ.
- Manipulations Tested: Structpix2pix and Stable Diffusion Inpaint.
- Attacks Simulated: Regeneration, Patch Removal, Noise, JPEG compression, Low-Pass Filtering, and the unseen Lattice attack.
Key Insights and Ideas
- The Background is a Safe Haven: The authors realized a critical real-world constraint for attackers: to make a deepfake look realistic, the attacker must preserve the semantic consistency of the background. If they heavily distort the background to remove watermarks, the image becomes obviously fake. Therefore, the background is the safest place to hide data.
- Self-Content as the Watermark: By using the original facial content as the watermark payload, RecoverMark solves the "recovery" problem natively. You aren't just detecting a broken pattern; you are literally extracting the original face from the background to overwrite the deepfake.
- Hardest-First Training: During the progressive training stage, the authors found that introducing the most difficult distortion first (state-of-the-art AI regeneration attacks) yielded the best results. If they started with simple noise and moved to hard attacks, the model failed to develop effective robustness, likely getting stuck in a "lazy" local minimum.
Key Results
- Superior Robustness: RecoverMark significantly outperformed state-of-the-art proactive baselines (Imuge+, EditGuard, OmniGuard) across almost all metrics (F1/AUC for localization, PSNR/MS-SSIM for recovery) under both standard and advanced attacks.
- Zero-Shot Generalization: The model successfully defended against the "Lattice" attack, a highly effective watermark removal technique that the model never saw during training.
- Flawless Ownership Verification: Across all test settings, RecoverMark achieved a 99.9% Success Rate in ownership verification (defined as an NCC > 0.95 between the extracted watermark and the original face).
- Capacity Threshold: The system maintains high fidelity as long as the facial region occupies 60% or less of the total image area.
Limitations and Future Work
The primary limitation of RecoverMark is an inherent capacity trade-off. Because the face is compressed and hidden in the background, extreme cases—such as tight close-up portraits where the face takes up the vast majority of the frame—leave very little background pixels to act as a container. In these scenarios, the limited background capacity reduces the visual quality of both the watermarked image and the recovered face.
Future work will explore higher-capacity robust watermarking techniques to solve the close-up problem, as well as extending this framework to protect generic, non-facial objects.
Summary updated