PromptForge-350k: A Large-Scale Dataset and Contrastive Framework for Prompt-Based AI Image Forgery Localization

arXiv cs.CV / 4/1/2026

💬 OpinionSignals & Early TrendsIdeas & Deep AnalysisModels & Research

Key Points

  • PromptForge-350k introduces a large-scale forgery localization dataset focused on detecting malicious edits created by prompt-based image editing models, addressing a gap in available training data.
  • The work proposes a fully automated mask annotation framework that uses keypoint alignment and semantic space similarity to generate ground-truth masks for edited regions.
  • It presents ICL-Net, a forgery localization network with a triple-stream backbone and intra-image contrastive learning to learn robust, generalizable forensic features.
  • Experiments report an IoU of 62.5% on PromptForge-350k, improving state-of-the-art by 5.1%, with strong resilience to common degradations (IoU drop <1%).
  • The model also shows cross-model generalization, reaching an average IoU of 41.5% on unseen editing models.

Abstract

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%.