Introduction
The rapid advancement of generative AI has shifted the landscape of digital forgery from entirely synthetic images to sophisticated "localized" manipulations. Modern tools allow users to seamlessly add, remove, or modify specific objects within real photographs. Detecting these subtle edits is significantly more challenging than whole-image classification, especially when images undergo multiple rounds of editing by different diffusion models. To address this, we introduce DiffSeg30k, a comprehensive benchmark designed for pixel-level localized AIGC detection and model attribution in multi-turn editing scenarios.
The DiffSeg30k Pipeline
The creation of DiffSeg30k utilizes an automated, VLM-driven pipeline to ensure both semantic consistency and technical diversity. The process is divided into two primary stages:
- Candidate Region Selection: A Vision-Language Model (VLM), specifically Qwen2.5-VL, identifies semantically meaningful objects within a base image from the COCO dataset. These regions are then precisely masked using Grounded-SAM.
- Context-Aware Editing: The VLM generates natural language prompts tailored to the identified regions for three edit types: addition, removal, and attribute modification. These prompts guide eight state-of-the-art diffusion models—including Stable Diffusion 3.5, Flux.1, and Kolors—to perform the edits.
Crucially, this process can be applied iteratively for up to three rounds per image, simulating the complex "multi-turn" editing history often found in real-world digital content.
Dataset Characteristics
DiffSeg30k comprises 30,000 high-quality edited images. Unlike existing datasets that typically feature a single model or a single edit per image, DiffSeg30k provides:
- Multi-Turn Complexity: Images reflecting sequential manipulations.
- Model Diversity: Edits performed by 8 different SOTA diffusion generators.
- Rich Annotations: Every edit is accompanied by a pixel-level mask and a label identifying the specific model responsible.
Experimental Results and Insights
Benchmarking standard architectures like SegFormer and DeepLabv3+ on DiffSeg30k revealed several critical insights:
- Localization vs. Attribution: While models excel at binary segmentation (locating where an edit occurred), identifying which model performed the edit (semantic segmentation) remains a significant challenge. For instance, SegFormer achieved a binary mIoU of 0.961, which dropped to 0.825 for semantic attribution.
- Segmentation as a Global Detector: Models trained for local segmentation surprisingly outperformed dedicated whole-image classifiers. SegFormer reached a near-perfect 0.997 accuracy in global detection, suggesting that learning local artifacts provides a more robust signal for overall forgery detection.
- Generalization and Robustness: Detectors showed a promising ability to generalize to "unseen" diffusion models, indicating shared generative traces across different architectures. However, performance remains highly sensitive to common post-processing like JPEG compression and resizing, highlighting a key area for future improvement.
Conclusion
DiffSeg30k represents a significant step forward in AIGC detection, moving the field toward more realistic, localized, and multi-model scenarios. By providing a large-scale, multi-turn benchmark, we enable the development of more robust forensic tools capable of navigating the complexities of modern digital manipulation.
Summary updated