Automated Testing of Image Captioning Systems
Not on the map. Why?
Abstract (arXiv)
Image captioning (IC) systems, which automatically generate a text description of the salient objects in an image (real or synthetic), have seen great progress over the past few years due to the development of deep neural networks. IC plays an indispensable role in human society, for example, labeling massive photos for scientific studies and assisting visually-impaired people in perceiving the world. However, even the top-notch IC systems, such as Microsoft Azure Cognitive Services and IBM Image Caption Generator, may return incorrect results, leading to the omission of important objects, deep misunderstanding, and threats to personal safety. To address this problem, we propose MetaIC, the textitfirst metamorphic testing approach to validate IC systems. Our core idea is that the object names should exhibit directional changes after object insertion. Specifically, MetaIC (1) extracts objects from existing images to construct an object corpus; (2) inserts an object into an image via novel object resizing and location tuning algorithms; and (3) reports image pairs whose captions do not exhibit differences in an expected way. In our evaluation, we use MetaIC to test one widely-adopted image captioning API and five state-of-the-art (SOTA) image captioning models. Using 1,000 seeds, MetaIC successfully reports 16,825 erroneous issues with high precision (84.9%-98.4%). There are three kinds of errors: misclassification, omission, and incorrect quantity. We visualize the errors reported by MetaIC, which shows that flexible overlapping setting facilitates IC testing by increasing and diversifying the reported errors. In addition, MetaIC can be further generalized to detect label errors in the training dataset, which has successfully detected 151 incorrect labels in MS COCO Caption, a standard dataset in image captioning.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). First posted on arXiv 14 Jun 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 5; 2024: 4; 2025: 2; 2026: 1.
12 papers.
- 2024VLATest: Testing and Evaluating Vision-Language-Action Models for Robotic Manipulationcited by 43
- 2023"Oops, Did I Just Say That?" Testing and Repairing Unethical Suggestions of Large Language Models with Suggest-Critique-Reflect Processcited by 9
- 2023Automated Testing and Improvement of Named Entity Recognition Systemscited by 3
- 2023ContextRef: Evaluating Referenceless Metrics For Image Description Generationcited by 3
- 2024Machine Translation Testing via Syntactic Tree Pruningcited by 2
- 2024Common-Sense Bias Modeling for Classification Taskscited by 1
- 2023Distribution-aware Fairness Test Generationcited by 0
- 2023A Comparative Study of Pre-trained CNNs and GRU-Based Attention for Image Caption Generationcited by 0
- 2024VEglue: Testing Visual Entailment Systems via Object-Aligned Joint Erasingcited by 0
- 2025TigAug: Data Augmentation for Testing Traffic Light Detection in Autonomous Driving Systemscited by 0
- 2025From Pixels to Posts: Retrieval-Augmented Fashion Captioning and Hashtag Generationcited by 0
- 2026Evolution of Accuracy and Visual-Cognitive Errors in a Decade of Vision-Language AI Modelscited by 0
- 2026Evolution of Accuracy and Visual-Cognitive Errors in a Decade of Vision-Language AI Models10 Jul 2026
- 2025From Pixels to Posts: Retrieval-Augmented Fashion Captioning and Hashtag Generation24 Nov 2025
- 2025TigAug: Data Augmentation for Testing Traffic Light Detection in Autonomous Driving Systems8 Jul 2025
- 2024VLATest: Testing and Evaluating Vision-Language-Action Models for Robotic Manipulation19 Sep 2024
- 2024VEglue: Testing Visual Entailment Systems via Object-Aligned Joint Erasing5 Mar 2024
- 2024Common-Sense Bias Modeling for Classification Tasks24 Jan 2024
- 2024Machine Translation Testing via Syntactic Tree Pruning1 Jan 2024
- 2023A Comparative Study of Pre-trained CNNs and GRU-Based Attention for Image Caption Generation11 Oct 2023
- 2023ContextRef: Evaluating Referenceless Metrics For Image Description Generation21 Sep 2023
- 2023Automated Testing and Improvement of Named Entity Recognition Systems14 Aug 2023
- 2023Distribution-aware Fairness Test Generation8 May 2023
- 2023"Oops, Did I Just Say That?" Testing and Repairing Unethical Suggestions of Large Language Models with Suggest-Critique-Reflect Process4 May 2023