AIForge-Doc: A Benchmark for Detecting AI-Forged Tampering in Financial and Form Documents
Organizations: Duke University · New York University · University of North Carolina · University of Southern California
Abstract
We present AIForge-Doc, the first dedicated benchmark targeting exclusively diffusion-model-based inpainting in financial and form documents with pixel-level annotation. Existing document forgery datasets rely on traditional digital editing tools (e.g., Adobe Photoshop, GIMP), creating a critical gap: state-of-the-art detectors are blind to the rapidly growing threat of AI-forged document fraud. AIForge-Doc addresses this gap by systematically forging numeric fields in real-world receipt and form images using two AI inpainting APIs -- Gemini 2.5 Flash Image and Ideogram v2 Edit -- yielding 4,061 forged images from four public document datasets (CORD, WildReceipt, SROIE, XFUND) across nine languages, annotated with pixel-precise tampered-region masks in DocTamper-compatible format. We benchmark three representative detectors -- TruFor, DocTamper, and a zero-shot GPT-4o judge -- and find that all existing methods degrade substantially: TruFor achieves AUC=0.751 (zero-shot, out-of-distribution) vs. AUC=0.96 on NIST16; DocTamper achieves AUC=0.563 vs. AUC=0.98 in-distribution, with pixel-level IoU=0.020; GPT-4o achieves only 0.509 -- essentially at chance -- confirming that AI-forged values are indistinguishable to automated detectors and VLMs. These results demonstrate that AIForge-Doc represents a qualitatively new and unsolved challenge for document forensics.
Figures & tables
| Dataset | Doc Type | Lang | Images | Fields |
|---|---|---|---|---|
| CORD v2 [ 20 ] | Receipt | id | 1,000 | price, total |
| WildReceipt [ 34 ] | Receipt | en | 1,696 | tel, addr, price |
| SROIE [ 10 ] | Receipt | en | 946 | total, date |
| XFUND [ 38 ] | Form | multi | 419 | answer (num) |
| Total | — | — | 4,061 | — |
| Method | Image-Level | Pixel-Level | ||||
|---|---|---|---|---|---|---|
| AUC | AP | Acc@opt | IoU | F1 | AUC | |
| Random Baseline | 0.500 | – | 0.500 | – | – | 0.500 |
| TruFor [ 7 ] | 0.751 [.726,.776] | 0.709 | 0.731 | 0.358 | 0.434 | 0.916 |
| DocTamper [ 22 ] | 0.563 [.535,.591] | 0.564 | 0.558 | 0.020 | 0.030 | 0.675 |
| GPT-4o (zero-shot) | 0.509 [.481,.537] § | 0.516 | 0.535 | – | – | – ‡ |
| DocTamper (in-distribution) † | 0.98 | 0.97 | 0.94 | 0.71 | 0.74 | 0.95 |
| Inpainting Tool | AUC (img) | 95% CI | # Test imgs |
| Gemini 2.5 Flash Image | 0.778 | [0.754, 0.802] | 727 |
| Ideogram v2 Edit | 0.521 | [0.447, 0.597] ∗ | 85 |
| Overall | 0.751 | [0.726, 0.776] | 812 |
| ∗ CI width 0.150 spans 0.50; interpret with caution (see text). | |||
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.