ForgeryTTT: Zero-Shot Image Manipulation Localization with Test-Time Training
Not on the map. Why?
Abstract (arXiv)
Social media is increasingly plagued by realistic fake images, making it hard to trust content. Previous algorithms to detect these fakes often fail in new, real-world scenarios because they are trained on specific datasets. To address the problem, we introduce ForgeryTTT, the first method leveraging test-time training (TTT) to identify manipulated regions in images. The proposed approach fine-tunes the model for each individual test sample, improving its performance. ForgeryTTT first employs vision transformers as a shared image encoder to learn both classification and localization tasks simultaneously during the training-time training using a large synthetic dataset. Precisely, the localization head predicts a mask to highlight manipulated areas. Given such a mask, the input tokens can be divided into manipulated and genuine groups, which are then fed into the classification head to distinguish between manipulated and genuine parts. During test-time training, the predicted mask from the localization head is used for the classification head to update the image encoder for better adaptation. Additionally, using the classical dropout strategy in each token group significantly improves performance and efficiency. We test ForgeryTTT on five standard benchmarks. Despite its simplicity, ForgeryTTT achieves a 20.1% improvement in localization accuracy compared to other zero-shot methods and a 4.3% improvement over non-zero-shot techniques. Our code and data will be released upon publication.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 29 of its 53 references that are in the map. First posted on arXiv 5 Oct 2024.
Builds on
29 of 53 references.
References · 29
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,595
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
- 2021Resolution-robust Large Mask Inpainting with Fourier Convolutionscited by 730
- 2023FateZero: Fusing Attentions for Zero-shot Text-based Video Editingcited by 462
- 2020Improving robustness against common corruptions by covariate shift adaptationcited by 427
- 2022Test-Time Training with Masked Autoencoderscited by 208
- 2023SmartEdit: Exploring Complex Instruction-based Image Editing with Multimodal Large Language Modelscited by 174
17 more
- 2018Fighting Fake News: Image Splice Detection via Learned Self-Consistencycited by 136
- 2021PSCC-Net: Progressive Spatio-Channel Correlation Network for Image Manipulation Detection and Localizationcited by 133
- 2021The Norm Must Go On: Dynamic Unsupervised Domain Adaptation by Normalizationcited by 131
- 2022TruFor: Leveraging all-round clues for trustworthy image forgery detection and localizationcited by 130
- 2018Noiseprint: a CNN-based camera model fingerprintcited by 114
- 2023Explicit Visual Prompting for Low-Level Structure Segmentationscited by 113
- 2021Image Manipulation Detection by Multi-View Multi-Scale Supervisioncited by 111
- 2020SPAN: Spatial Pyramid Attention Network forImage Manipulation Localizationcited by 92
- 2021Learning JPEG Compression Artifacts for Image Manipulation Detection and Localizationcited by 78
- 2022ObjectFormer for Image Manipulation Detection and Localizationcited by 78
- 2019Improving the Harmony of the Composite Image by Spatial-Separated Attention Modulecited by 73
- 2019Hybrid LSTM and Encoder-Decoder Architecture for Detection of Image Forgeriescited by 59
- 2023CoordFill: Efficient High-Resolution Image Inpainting via Parameterized Coordinate Queryingcited by 34
- 2021Test-Time Personalization with a Transformer for Human Pose Estimationcited by 33
- 2024Depth-aware Test-Time Training for Zero-shot Video Object Segmentationcited by 27
- 2023Explicit Visual Prompting for Universal Foreground Segmentationscited by 17
- 2020Two-Stage Copy-Move Forgery Detection with Self Deep Matching and Proposal SuperGluecited by 14
Built on by
Citing papers per year: 2024: 2; 2025: 5; 2026: 1.
8 papers.
- 2024Underwater Image Restoration via Polymorphic Large Kernel CNNscited by 14
- 2024High-Fidelity Document Stain Removal via A Large-Scale Real-World Dataset and A Memory-Augmented Transformercited by 12
- 2025AnimeDL-2M: Million-Scale AI-Generated Anime Image Detection and Localization in Diffusion Eracited by 4
- 2025MAC-Lookup: Multi-Axis Conditional Lookup Model for Underwater Image Enhancementcited by 2
- 2025SFormer: SNR-guided Transformer for Underwater Image Enhancement from the Frequency Domaincited by 0
- 2025A Comprehensive Analysis of Churn Prediction in Telecommunications Using Machine Learningcited by 0
- 2025Forestpest-YOLO: A High-Performance Detection Framework for Small Forestry Pestscited by 0
- 2026VEDAL: Variational Error-Driven Asynchronous Learning for 3D Gaussian Splatting Pruningcited by 0
- 2026VEDAL: Variational Error-Driven Asynchronous Learning for 3D Gaussian Splatting Pruning1 Jun 2026
- 2025Forestpest-YOLO: A High-Performance Detection Framework for Small Forestry Pests1 Oct 2025
- 2025SFormer: SNR-guided Transformer for Underwater Image Enhancement from the Frequency Domain26 Aug 2025
- 2025A Comprehensive Analysis of Churn Prediction in Telecommunications Using Machine Learning15 Jul 2025
- 2025MAC-Lookup: Multi-Axis Conditional Lookup Model for Underwater Image Enhancement3 Jul 2025
- 2025AnimeDL-2M: Million-Scale AI-Generated Anime Image Detection and Localization in Diffusion Era15 Apr 2025
- 2024Underwater Image Restoration via Polymorphic Large Kernel CNNs24 Dec 2024
- 2024High-Fidelity Document Stain Removal via A Large-Scale Real-World Dataset and A Memory-Augmented Transformer30 Oct 2024