cs.CVMar 30, 2026

TGIF2: Extended Text-Guided Inpainting Forgery Dataset & Benchmark

Authors: Hannes Mareen, Dimitrios Karageorgiou, Paschalis Giakoumoglou, Peter Lambert, Symeon Papadopoulos, Glenn Van Wallendael

Organizations: IDLab, Ghent University – imec, Gent, Belgium. · Information Technologies Institute, CERTH, Thessaloniki, Greece.

Abstract

Generative AI has made text-guided inpainting a powerful image editing tool, but at the same time a growing challenge for media forensics. Existing benchmarks, including our text-guided inpainting forgery (TGIF) dataset, show that image forgery localization (IFL) methods can localize manipulations in spliced images but struggle not in fully regenerated (FR) images, while synthetic image detection (SID) methods can detect fully regenerated images but cannot perform localization. With new generative inpainting models emerging and the open problem of localization in FR images remaining, updated datasets and benchmarks are needed. We introduce TGIF2, an extended version of TGIF, that captures recent advances in text-guided inpainting and enables a deeper analysis of forensic robustness. TGIF2 augments the original dataset with edits generated by FLUX.1 models, as well as with random non-semantic masks. Using the TGIF2 dataset, we conduct a forensic evaluation spanning IFL and SID, including fine-tuning IFL methods on FR images and generative super-resolution attacks. Our experiments show that both IFL and SID methods degrade on FLUX.1 manipulations, highlighting limited generalization. Additionally, while fine-tuning improves localization on FR images, evaluation with random non-semantic masks reveals object bias. Furthermore, generative super-resolution significantly weakens forensic traces, demonstrating that common image enhancement operations can undermine current forensic pipelines. In summary, TGIF2 provides an updated dataset and benchmark, which enables new insights into the challenges posed by modern inpainting and AI-based image enhancements. TGIF2 is available at https://github.com/IDLabMedia/tgif-dataset.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. SEED: Simple ViT and Evolving Harness for Explainable Text Forgery Detection

    Jun 19, 2026Kahim Wong, Kemou Li, Yiming Chen +2Image Forgery DetectionDigital Image Forensics

  2. RiSE: Residual Subspace Expert for Generalizable Text-Centric Image Forgery Localization

    Oct 17, 2026Kahim Wong, Kemou Li, Yiming Chen +2Image Forgery LocalizationText Forgery Detection

  3. FUSED: Forensic-Semantic Mixture-of-Experts for AI Inpainting Detection and Localization

    Aug 28, 2026Anton Nuzhdin, Marcel Worring, Ivona NajdenkoskaAI-Generated Image DetectionImage Forgery Detection