Diagnosing and mitigating shortcut learning in AI-generated image quality assessment with counterfactual prompt ranking and prompt-decoupled quality modelling
AI-generated image quality assessment (AGIQA) rates the perceptual quality of a generated image and its alignment with the prompt. We examine what two widely used benchmarks, AGIQA-3K and AIGCIQA2023, reward and find three shortcuts. First, generator identity alone explains 57% and 53% of the variance of the quality mean opinion score (MOS), and a pixel-free predictor that returns the training-mean MOS of the image's generator reaches a Spearman rank-order correlation coefficient (SROCC) of 0.63 and 0.69. Second, random image-level splits leak prompts: holding out test prompts lowers the alignment SROCC of the same model from 0.766 to 0.672 and its correspondence SROCC from 0.725 to 0.556. Third, a prompt-conditioned regressor built on contrastive language--image pre-training (CLIP) prefers the true prompt to a random one for only 74% and 58% of images, while its quality outputs change when the prompt is swapped. We propose CPR-IQA, which adds a counterfactual prompt ranking (CPR) hinge constraint to the alignment regressor and predicts quality-type scores from image features alone. Under prompt-disjoint cross-validation (ViT-B/32), CPR-IQA raises alignment-type SROCC over a fine-tuned image-only CLIP baseline from 0.672 to 0.747 and from 0.556 to 0.627, and random-prompt counterfactual accuracy to 93%; on AIGCIQA2023 the SROCC gain comes from prompt conditioning, and CPR changes the counterfactual behaviour. Under a generator × prompt double hold-out, alignment-type SROCC rises from 0.285 to 0.449 and from 0.263 to 0.370. CPR-IQA remains less sensitive than zero-shot CLIPScore to hard prompt substitutions, and the quality shortcut on unseen generators remains unsolved.
Authors
- Shengyu Pei (ORCID: https://orcid.org/0000-0003-0924-3079)
- Sisi Fan (ORCID: https://orcid.org/0000-0002-8983-8015)
- Huan Lao (ORCID: https://orcid.org/0000-0002-2457-3546)
- Yihua Wu (ORCID: https://orcid.org/0000-0001-7487-2766)
- Yule An
Institutions
- Guangxi Minzu University (CN)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-26
- DOI
- https://doi.org/10.21203/rs.3.rs-11582191/v1
- Primary Topic
- Image and Video Quality Assessment
- Type
- preprint