RecoverMark: Robust Watermarking for Localization and Recovery of Manipulated Faces

RecoverMark is a novel watermarking framework that simultaneously achieves robust face manipulation localization, content recovery, and ownership verification by embedding the protected face itself into the surrounding background and utilizing a two-stage training paradigm to withstand both known and unknown watermark removal attacks.

Haonan An, Xiaohui Ye, Guang Hua, Yihang Tao, Hangcheng Cao, Xiangyu Yu, Yuguang Fang

Published 2026-02-25
📖 4 min read☕ Coffee break read

Imagine you have a precious, irreplaceable family photo. You want to share it online, but you're worried someone might use AI to swap your face with someone else's, or change your expression to say something you never said.

Current security systems for photos are like glass alarms. They work great if someone tries to break the glass (manipulate the photo) without knowing the alarm is there. But if a thief knows the alarm is there, they can simply spray paint over the sensor (remove the watermark) before breaking the glass. Once the sensor is gone, the alarm never rings, and the theft goes unnoticed.

RecoverMark is a new, smarter security system that changes the rules of the game. Here is how it works, explained simply:

1. The Big Idea: "The Face is the Secret"

Most security systems try to hide a tiny, invisible code inside the photo. If that code gets wiped out, the system fails.

RecoverMark does something clever: It treats the face itself as the secret code.

Think of it like this: Imagine you have a painting of a person standing in front of a beautiful landscape. Instead of hiding a secret note inside the person's face, you take a perfect copy of the person's face and hide it inside the landscape (the background).

  • The Logic: If someone tries to change the person's face (the manipulation), they can't touch the background without making the whole picture look weird and fake. The background stays safe, and the "hidden face" inside it remains intact.

2. How It Works: The Two-Stage Training

To make this work, the computer needs to learn how to hide the face in the background so well that even if someone tries to scrub the image clean, the face can still be pulled out. The researchers taught the AI using a "Two-Stage Training" method:

  • Stage 1: The Art Class (Learning to Hide)
    The AI learns how to compress the face and tuck it into the background pixels without making the picture look blurry or strange. It's like learning to fold a large map into a tiny pocket without tearing it.
  • Stage 2: The Obstacle Course (Learning to Survive)
    This is the genius part. The AI is put through a "boot camp" of attacks.
    • First, it faces the toughest possible attack (a "Regeneration Attack" where AI tries to completely redraw the image to erase secrets).
    • Then, it faces easier attacks like blurring, cropping, or adding noise.
    • Why start with the hardest? Just like a boxer who trains by fighting a heavyweight champion first, once the AI learns to survive the hardest attack, the easier ones become trivial. This ensures the "hidden face" survives even the most sophisticated attempts to erase it.

3. What Happens When an Attack Occurs?

Let's say a bad actor tries to swap your face in a video using AI.

  1. The Attack: They change your face, but they leave the background alone (because changing the background would make the video look obviously fake).
  2. The Detection: The RecoverMark system looks at the background. It says, "Hey, the background is holding a secret message!"
  3. The Extraction: It pulls the hidden face out of the background.
  4. The Comparison: It compares the extracted face (the original you) with the current face in the video (the fake you).
  5. The Result:
    • Localization: It draws a red box around exactly where the face was changed.
    • Recovery: It replaces the fake face with the original, recovered face, restoring the truth.
    • Verification: It proves, "This is the original owner of this image," acting as a digital copyright seal.

4. Why Is This Better Than Before?

  • Old Way: "I put a fragile alarm in the face. If you wipe the face, the alarm is gone, and I can't tell you touched it."
  • RecoverMark: "I hid the face in the background. You can't wipe the background without ruining the whole picture, so the face stays safe. Even if you try to redraw the whole image, the hidden face survives."

The Bottom Line

RecoverMark is like a self-healing, unbreakable seal on your photos. It doesn't just tell you that a photo was faked; it tells you exactly where it was faked and gives you back the original, real version of the face. It turns the "victim" (the face) into the "witness" that testifies against the forgery.

This is a huge step forward in protecting our digital identities from the rising tide of AI-generated fakes.

Get papers like this in your inbox

Personalized daily or weekly digests matching your interests. Gists or technical summaries, in your language.

Try Digest →