LEGION: Learning to Ground and Explain for Synthetic Image Detection
About
The rapid advancements in generative technology have emerged as a double-edged sword. While offering powerful tools that enhance convenience, they also pose significant social concerns. As defenders, current synthetic image detection methods often lack artifact-level textual interpretability and are overly focused on image manipulation detection, and current datasets usually suffer from outdated generators and a lack of fine-grained annotations. In this paper, we introduce SynthScars, a high-quality and diverse dataset consisting of 12,236 fully synthetic images with human-expert annotations. It features 4 distinct image content types, 3 categories of artifacts, and fine-grained annotations covering pixel-level segmentation, detailed textual explanations, and artifact category labels. Furthermore, we propose LEGION (LEarning to Ground and explain for Synthetic Image detectiON), a multimodal large language model (MLLM)-based image forgery analysis framework that integrates artifact detection, segmentation, and explanation. Building upon this capability, we further explore LEGION as a controller, integrating it into image refinement pipelines to guide the generation of higher-quality and more realistic images. Extensive experiments show that LEGION outperforms existing methods across multiple benchmarks, particularly surpassing the second-best traditional expert on SynthScars by 3.31% in mIoU and 7.75% in F1 score. Moreover, the refined images generated under its guidance exhibit stronger alignment with human preferences. The code, model, and dataset will be released.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Artifact Localization | SynthScars (test) | mIoU0.106 | 10 | |
| Artifact Localization | LOKI (test) | mIoU0.1 | 10 | |
| Artifact Localization | ArtiBench (test) | mIoU0.062 | 10 | |
| Artifact Localization | RichHF (test) | mIoU6.7 | 10 | |
| Artifact Explanation | SynthScars (test) | ROUGE Score24.7 | 8 | |
| Artifact Explanation | LOKI (test) | ROUGE0.133 | 8 | |
| Artifact Explanation | ArtiBench (test) | ROUGE14.3 | 8 |