[Paper Review] Beyond Detection: Multi-Scale Hidden-Code for Natural Image Deepfake Recovery and Factual Retrieval
The paper introduces a multi-scale latent watermarking framework that enables both deepfake recovery and factual retrieval, and presents ImageNet-S as a benchmark for image–label retrieval on tampered and recovered natural images.
Recent advances in image authenticity have primarily focused on deepfake detection and localization, leaving recovery of tampered contents for factual retrieval relatively underexplored. We propose a unified hidden-code recovery framework that enables both retrieval and restoration from post-hoc and in-generation watermarking paradigms. Our method encodes semantic and perceptual information into a compact hidden-code representation, refined through multi-scale vector quantization, and enhances contextual reasoning via conditional Transformer modules. To enable systematic evaluation for natural images, we construct ImageNet-S, a benchmark that provides paired image-label factual retrieval tasks. Extensive experiments on ImageNet-S demonstrate that our method exhibits promising retrieval and reconstruction performance while remaining fully compatible with diverse watermarking pipelines. This framework establishes a foundation for general-purpose image recovery beyond detection and localization.
Motivation & Objective
- Motivate robust recovery of tampered natural images beyond detection and localization.
- Develop a compact hidden-code representation embedded via multi-scale latent quantization.
- Enable both post-hoc and in-generation watermarking pipelines to support recovery and retrieval.
- Create ImageNet-S as a standardized benchmark for tampered-and-recovered image retrieval.
- Demonstrate improved retrieval and reconstruction quality while preserving watermark robustness.
Proposed method
- Encode semantic and perceptual information into a compact hidden-code via multi-scale token maps from a VQ-VAE.
- Embed the hidden-code into the host image using a watermarking encoder with capacity constraints.
- Use a patch-level localization map to guide conditional Transformer-based recovery of tampered regions.
- Perform proactive recovery by reconstructing the original content from the embedded hidden-code and localization cues.
- Support plug-and-play integration with both post-hoc watermarking (e.g., EditGuard) and in-generation watermarking (Gaussian Shading) pipelines.
- Introduce a conditional recovery Transformer that fuses clean and tampered token maps across scales to reconstruct the final image.
Experimental results
Research questions
- RQ1Can a compact multi-scale hidden-code embedded via watermarking support both deepfake recovery and semantic retrieval for natural images?
- RQ2How does a conditional Transformer guided by tampering localization improve recovery quality across scales?
- RQ3What is the effect of multi-scale quantization and dropout on distributing semantic information across scales for robust recovery?
- RQ4How does the proposed framework perform on a standardized ImageNet-S benchmark for retrieval and reconstruction under tampering?
- RQ5Can the method be integrated with both post-hoc and in-generation watermarking pipelines without major architectural changes?
Key findings
- The proposed hidden-code framework achieves strong retrieval performance and reconstruction quality on ImageNet-S across several metrics.
- A Transformer-based recovery module with localization guidance improves Top-1 label and Top-1 image retrieval accuracy compared to baselines.
- Multi-scale quantization with dropout distributes semantic information across scales, improving robustness of recovery at lower scales.
- The method outperforms HiNet, RePaint, and VAR-based baselines in retrieval and CLIP similarity on ImageNet-S.
- Plug-and-play compatibility allows integration with both post-hoc EditGuard and in-generation Gaussian Shading pipelines.
- The introduced ImageNet-S benchmark enables standardized evaluation of image recovery and label retrieval for tampered and restored images.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.