Abstract
The proliferation of AI-generated content has facilitated sophisticated face manipulation, severely undermining visual integrity and posing unprecedented challenges to intellectual property. In response, a common proactive defense leverages fragile watermarks to detect, localize, or even recover manipulated regions. However, these methods always assume an adversary unaware of the embedded watermark, overlooking their inherent vulnerability to watermark removal attacks. Furthermore, this fragility is exacerbated in the commonly used dual-watermark strategy that adds a robust watermark for image ownership verification, where mutual interference and limited embedding capacity reduce the fragile watermark's effectiveness. To address the gap, we propose RecoverMark, a watermarking framework that achieves robust manipulation localization, content recovery, and ownership verification simultaneously. Our key insight is twofold. First, we exploit a critical real-world constraint: an adversary must preserve the background's semantic consistency to avoid visual detection, even if they apply global, imperceptible watermark removal attacks. Second, using the image's own content (face, in this paper) as the watermark enhances extraction robustness. Based on these insights, RecoverMark treats the protected face content itself as the watermark and embeds it into the surrounding background. By designing a robust two-stage training paradigm with carefully crafted distortion layers that simulate comprehensive potential attacks and a progressive training strategy, RecoverMark achieves a robust watermark embedding in no fragile manner for image manipulation localization, recovery, and image IP protection simultaneously. Extensive experiments demonstrate the proposed RecoverMark's robustness against both seen and unseen attacks and its generalizability to in-distribution and out-of-distribution data.
Introduction
The explosion of AI-generated content (AIGC) has made sophisticated face manipulation, such as deepfakes, highly accessible. This creates significant risks for visual integrity and intellectual property (IP). Current proactive defenses typically rely on fragile watermarks embedded before publication. These watermarks are designed to break when an image is tampered with, allowing for localization of the edit.
However, this approach assumes a passive attacker. In practice, an adversary can apply watermark removal attacks—such as JPEG compression, blurring, or advanced AI-based regeneration—to destroy the fragile watermark before or after manipulation. Furthermore, existing systems that attempt to combine fragile watermarks for localization with robust watermarks for IP protection often suffer from mutual interference and limited capacity. RecoverMark addresses these issues by abandoning the fragile paradigm in favor of a robust, unified framework.
Methodology
RecoverMark's core innovation is treating the protected face itself as a robust watermark and hiding it within the image's background. This strategy leverages the fact that attackers must maintain background consistency to keep manipulations realistic.
The pipeline involves three main steps:
- Segmentation & Encoding: The image is segmented into the face (saliency) and background. An encoder network compresses the facial data into a latent representation.
- Robust Embedding: A hiding network (HNet) embeds this compressed data invisibly into the background pixels.
- Two-Stage Progressive Training: The system uses a specialized training paradigm to ensure robustness.
In Stage 1, the networks are trained for high visual fidelity and accurate recovery. In Stage 2, the encoder and decoder are frozen while a "Distortion Layer" is introduced to simulate real-world attacks. A key insight from the authors is the "Hardest-First" training strategy: introducing the most difficult distortions (like AI regeneration) early in the progressive training leads to significantly better robustness than starting with simple noise.
Experimental Results
RecoverMark was evaluated using the CelebA (in-distribution) and FFHQ (out-of-distribution) datasets against various manipulations and attacks, including unseen techniques like the "Lattice" attack.
As shown in the results, RecoverMark significantly outperforms proactive baselines such as Imuge+, EditGuard, and OmniGuard across localization (F1/AUC) and recovery (PSNR/MS-SSIM) metrics. Notably, the system achieved a 99.9% success rate in ownership verification (NCC > 0.95) across all test settings. The framework also demonstrated strong zero-shot generalization to the unseen Lattice attack, proving its resilience against evolving watermark removal techniques.
Conclusion and Future Work
RecoverMark provides a robust, unified solution for protecting facial images from malicious manipulation. By utilizing the background as a "safe haven" for compressed facial data, it enables simultaneous localization, recovery, and IP verification even under aggressive attacks.
The primary limitation is a capacity trade-off: in tight close-up portraits where the background area is minimal, the quality of the recovered face may decrease. Future research will focus on high-capacity robust watermarking to address these edge cases and extending the framework to protect generic, non-facial objects.
Summary updated