PromptForge-350k: A Large-Scale Dataset and Contrastive Framework for Prompt-Based AI Image Forgery Localization
About
The rapid democratization of prompt-based AI image editing has recently exacerbated the risks associated with malicious content fabrication and misinformation. However, forgery localization methods targeting these emerging editing techniques remain significantly under-explored. To bridge this gap, we first introduce a fully automated mask annotating framework that leverages keypoint alignment and semantic space similarity to generate precise ground-truth masks for edited regions. Based on this framework, we construct PromptForge-350k, a large-scale forgery localization dataset covering four state-of-the-art prompt-based AI image editing models, thereby mitigating the data scarcity in this domain. Furthermore, we propose ICL-Net, an effective forgery localization network featuring a triple-stream backbone and intra-image contrastive learning. This design enables the model to capture highly robust and generalizable forensic features. Extensive experiments demonstrate that our method achieves an IoU of 62.5% on PromptForge-350k, outperforming SOTA methods by 5.1%. Additionally, it exhibits strong robustness against common degradations with an IoU drop of less than 1%, and shows promising generalization capabilities on unseen editing models, achieving an average IoU of 41.5%.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Forgery Localization | PromptForge Nano 350K | F1 Score65.75 | 6 | |
| Forgery Localization | PromptForge BAGEL 350K | F1 Score70.15 | 6 | |
| Forgery Localization | PromptForge Kontext 350K | F1 Score84.26 | 6 | |
| Forgery Localization | PromptForge 350K (Step1x) | F1 Score80.62 | 6 | |
| Forgery Localization | PromptForge Average 350K | F1 Score75.2 | 6 |