arXiv:2610.01778cs.CVOct 2026

Manuscript Offprint

arXiv:2610.01778

GIFTBench: Diagnosing Generalization in Image Forgery Localization and Informing Model Design

Baoke Dou, Ziye Wang, Hao Wang, Guoqing Cai, Wende Tan, Chenyang Si, Liucheng Guo, Yueming Lyu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Baoke Dou, Ziye Wang, Hao Wang, Guoqing Cai, Wende Tan, Chenyang Si, Liucheng Guo, Yueming Lyu

Reliable evaluation of image forgery localization (IFL) requires assessing models under diverse distribution changes, yet existing benchmarks often cover limited manipulation conditions or entangle multiple factors in cross-dataset evaluation. Consequently, aggregate performance provides an incomplete view of localization generalization. We introduce GIFTBench, a multi-axis benchmark of 115,013 manipulated images with pixel-level annotations spanning manipulation source, semantic target, editing operation, and composition complexity. GIFTBench supports axis-specific transfer analysis and evaluation on twelve external datasets. Its diagnostic studies reveal asymmetric cross-source transfer, recall-dominated failures, and heterogeneous degradation across semantic, operational, and compositional changes. Beyond diagnosis, the scale and diversity of GIFTBench provide a substantially broader training distribution than conventional IFL datasets. Training representative localizers on GIFTBench consistently improves their aggregate transfer to external datasets, showing that the benchmark serves not only as an evaluation tool but also as an effective training resource for cross-domain localization. Guided by the diagnostic findings, we further develop FORENSCOPE, a detection and localization framework combining classification-adapted representations with multi-depth, multi-scale spatial features, learned layer fusion, and selective coarse-scale conditioning. Experiments show improved cross-dataset localization while retaining image-level detection capability. The GIFTBench dataset showcase page is available at https://giftbench-preview.doudoudouya337.chatgpt.site.

1 Introduction

Image manipulation tools have made it increasingly easy to alter image content while preserving a visually plausible appearance. A complete forensic system should therefore answer two complementary questions: whether an image is real or manipulated and where the manipulation occurs. The former corresponds to image-level manipulation detection, while the latter is typically formulated as image forgery localization (IFL), which predicts a pixel-level manipulation mask. Although recent methods achieve strong performance on established benchmarks, existing evaluation does not fully characterize how they generalize under diverse distribution changes beyond their training data. That distribution shift reduces performance is unsurprising; the more informative question is which change makes a trained localizer fail.

Existing datasets vary in image content, manipulation source, semantic target, editing operation, and composition [Dong et al., 2013, Hsu et al., 2006, Wen et al., 2016, Guan et al., 2019, Novozamsky et al., 2020, Tralic et al., 2013], but these factors are commonly entangled across datasets or only partially annotated within them. As Table 1 shows, many benchmarks already contain large collections of classical or AI-based edits and substantial manipulation diversity. The limitation is therefore not simply dataset scale, but how this diversity is represented and used. Without a shared factorized annotation space, cross-dataset evaluation can reveal that performance drops but provides limited evidence about which variation is associated with the failure. At the same time, a useful benchmark should provide sufficiently diverse and consistently annotated data to serve as a reusable training resource rather than only an analysis tool. We therefore argue for a benchmark that jointly represents multiple manipulation factors, supports axis-specific evaluation, and provides a broad training distribution for studying and improving cross-domain localization.

Table 1: Comparison of representative image forgery localization benchmarks. √ denotes an explicitly represented factor and ○ a factor present but not separately evaluated. GIFTBench scale reports manipulated images; other scales follow the original benchmarks.

BenchmarkScaleClassicalAI-basedSemantic TargetOperationComposition
CASIA v2 [Dong et al., 2013]12.6K✓✕○○✕
DEFACTO [Mahfoudi et al., 2019]159K✓✕○○✕
IMD2020 [Novozamsky et al., 2020]40K✓✕○○✕
CocoGlide [Guillaro et al., 2023]20K✕✓○○✕
AutoSplice [Jia et al., 2023]110K✕✓○○✕
TGIF [Mareen et al., 2024]60K✕✓○○○
GIM [Chen et al., 2025]2.28M✕✓○○✕
BR-Gen [Cai et al., 2026]150K✕✓✓○✕
DiffSeg30k [Ci et al., 2025]30K✕✓○✓✓
ManipBench [Xu et al., 2025b]450K+✕✓○○✕
LocateEdit-Bench [Wu et al., 2026]231K✕✓○✓✕
OpenSDI [Wang et al., 2025b]300K✕✓○○✕
GIFTBench115,013✓✓✓✓✓

To support both structured evaluation and diverse model training, we introduce GIFTBench, a multi-axis benchmark built from ADE20K with 115,013 manipulated images and pixel-level masks. Each sample is annotated by manipulation source, semantic target, editing operation, and composition complexity, covering diverse scenes together with both classical and AI-based manipulations. Rather than constructing separate datasets for individual factors, GIFTBench organizes these variations within a unified generation and annotation framework, yielding a coherent training distribution with diversity across multiple levels. The structured annotations enable axis-specific transfer analysis, while the complete training set can be used directly to train localization models. Generalization beyond the benchmark is further evaluated on twelve external datasets.

The axis-specific protocols reveal asymmetric cross-source transfer, recall-dominated failures, and heterogeneous degradation across semantic, operational, and compositional shifts. Beyond diagnosis, training representative localizers on the complete GIFTBench set improves aggregate transfer to external datasets over their reference training distributions, showing that its diversity benefits both generalization evaluation and transferable model learning.

We develop FORENSCOPE, a joint detection–localization framework built on a classification-adapted DINOv2 representation [Oquab et al., 2024]. Its localization branch combines multi-depth patch features, learnable cross-layer fusion, bounded global-to-local modulation, and coarse-to-fine decoding; the design rationale and empirical tests are presented later.

Our contributions are threefold:

  • We introduce GIFTBench, a large-scale, multi-axis benchmark with diverse scenes and manipulations organized within a unified construction framework, supporting both structured generalization evaluation and model training.

  • We show that GIFTBench enables systematic diagnosis of localization generalization, revealing asymmetric cross-source transfer, recall-dominated failures, and heterogeneous semantic, operational, and compositional degradation. Training on the complete GIFTBench distribution also improves aggregate transfer across external datasets.

  • We develop and evaluate FORENSCOPE, a detection and localization model that retains image-level detection while improving cross-dataset localization.

References (38)