The rapid development of visual generative artificial intelligence(AI)technology has strongly driven innovation in fields such as artistic creation and medical image generation. However,its highly realistic generation characteristics also pose security challenges,including the spread of disinformation and privacy violations—thus,there is an urgent need for efficient detection technologies. To address the current issues of generative image detection methods,such as insufficient generalization on unseen data distributions and inadequate utilization of the text semantic potential of vision-language models,this study proposed a generated image detection method based on conceptual prompt-tuning,leveraging contrastive language-image pre-training(CLIP).This method extracts prominent concepts in a data-driven manner to explore the common distributional features between generated images and real images,and generates semantic prompt vectors to inject rich prior knowledge into the CLIP text encoder. By optimizing the prompt vectors through prompt-tuning and a prompt ensembling strategy,it balances computational efficiency and the retention of pre-trained knowledge while enhancing detection capabilities across different models and datasets. Experimental results show that the proposed method significantly and consistently improves the performance of generated image detection,with average accuracy and precision on unseen domains increased by 5.96% and 6.37%,respectively. Additionally,it exhibits good robustness against common post-processing. Ablation experiments further verify the effectiveness and advancement of the proposed method,demonstrating its potential and reliability in practical applications.
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |