arXiv:2610.30794cs.SEOct 2026

Manuscript Offprint

arXiv:2610.30794

VLTest: Finding Joint Image-Text Failures in Vision-Language Models

Bin Duan, Jintao Lin, Guowei Yang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Vision-language models (VLMs) are increasingly embedded in software systems. Testing them raises two problems. Mutating either input can change the expected answer, so an output change is not by itself a failure. Some failures appear only when both inputs are mutated; attributing them to the combination requires testing each mutation alone. We present VLTEST, a black-box VLM testing approach. It generates image variants by editing VQGAN latent codes and text variants with a rewrite-expand-prune pipeline, filters variants likely to change the expected answer, and tests each variant alone before testing combinations, so every joint failure has four matched cells. A VLM judge confirms a failure only after checking that the input keeps the expected answer. On three tasks with eight VLMs, including two commercial API models, the oracle confirms 81.7% of the candidates, with 88.8% to 94.6% precision against human labels, and four-cell confirmation rejects 22.5% of joint candidates. Under the same budget, VLTEST's generators find 1.8 to 2.5 times as many confirmed failures as SINVAD and TextFooler, and its joint tests find 91 to 197 attributed joint failures per 1,000 joint calls, 1.3 times as many as the same pairing applied to the baselines' variants.

ACM Reference Format:

Bin Duan, Jintao Lin, and Guowei Yang. 2026. VLTEST: Finding Joint Image-Text Failures in Vision-Language Models. ACM Trans. Softw. Eng. Methodol. 1, 1 (October 2026), 16 pages. https://doi.org/10.1145/nnnnnnn.nnnnnnn

1 Introduction

Vision-language models (VLMs) [36, 50, 78] take an image and a text as input and produce a decision or a natural-language answer. They power image-text matching [18], visual reasoning [22], visual question answering [41], cross-modal retrieval [68], and multimodal search [4], and they are increasingly integrated into software systems [1]. Their predictions can change under small variations of either input [6, 7, 58], which makes their behavioral reliability a software quality concern.

Software engineering research has developed effective techniques for testing deep neural networks (DNNs). Seed-centric generators explore the neighborhood of an input under a budget [13–15, 21, 32, 48, 67], latent-space generators keep the generated inputs realistic [12, 29, 70], and metamorphic relations provide test oracles when the expected output of a generated input is unknown [8, 57]. Applying these techniques to VLMs, however, raises two challenges.

Challenge 1: output changes are not failures. Seed-centric testing usually relies on an invariance relation: if a mutation preserves the content that determines the answer, the answer should not change. In a VLM, the expected answer depends on how the image and the text relate. A paraphrase can change what a question asks, a visual edit can change whether a statement is true, and two edits that are harmless on their own can change the answer together. An image-caption pair can remain well aligned while its correct match label changes. Counting output changes, as robustness evaluations of VLMs commonly do [7], therefore mixes real failures with correct reactions to changed inputs. Studies of label preservation for generated test inputs focus on unimodal classifiers [43, 44]; for VLMs, the expected answer also depends on the relation between the two inputs.

Challenge 2: joint failures need attribution. Some failures occur only when both inputs are mutated. To show that such a failure is caused by the combination, a tester must also run the image-only and the text-only variants, check that the model handles both correctly, and check that all inputs share the same expected answer. We call these four inputs the four cells of a joint test: the seed, the image-only input, the text-only input, and the joint input. The cells should differ only by the mutations they contain; an image mutation made in the latent space of a generative model also carries reconstruction artifacts, which the text-only input must then share. Even with matched controls, the effects of two mutations can add up to a failure without any interaction between the modalities [23]. Existing approaches that mutate both modalities, such as metamorphic testing of VQA systems [72] and multimodal adversarial attacks [40, 73, 79], do not pair the final joint input with matched single-modality controls whose expected answers are confirmed by an oracle. Without such controls, a higher failure count under joint mutation may simply reflect that two sources of perturbation were used instead of one.

To address these challenges, we propose VLTEST, a black-box testing approach for VLMs. The key idea of VLTEST is to treat a joint input and its two single-modality counterparts as one test, and to report a failure only after its expected answer has been confirmed by an oracle. VLTEST has three components. First, two controlled generators produce visual variants, by replacing dominant codebook

∗^{*}Corresponding author.

Authors' Contact Information: Bin Duan, The University of Queensland, Brisbane, Australia, b.duan@uq.edu.au; Jintao Lin, The University of Queensland, Brisbane, Australia, jintao.lin@student.uq.edu.au; Guowei Yang, The University of Queensland, Brisbane, Australia, guowei.yang@uq.edu.au.

Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.

© 2026 Copyright held by the owner/author(s). Publication rights licensed to ACM. ACM 1557-7392/2026/10-ART https://doi.org/10.1145/nnnnnnn.nnnnnnn

Duan et al.

entries in the discrete latent space of a pretrained VQGAN [17], and textual variants, through a rewrite-expand-prune pipeline. Both emit deduplicated variants in a fixed order. Second, relation filters remove variants that are likely to change the expected answer, using bidirectional entailment for text, an image similarity floor, and task-specific image-text alignment rules. Third, a two-phase testing procedure admits only seeds that the model answers correctly, first tests each variant on its own, and then tests combinations of these variants. All four cells are built on the reconstructed seed image, so that each cell differs from the seed only by the mutations it contains. A feedback-directed pairing strategy uses the single-modality results to test first the combinations that single-modality testing has not already broken.

VLTEST confirms failures with an automated oracle. A VLM judge receives the seed and its answer as a reference and first decides, without seeing the model output, whether a generated input keeps that answer; only then does it decide whether the output is wrong. A failure is reported only if both checks succeed, and a joint failure only if they succeed for all four cells. Human labels on a stratified sample of the reported failures measure the precision of the oracle.

We evaluate VLTEST on image-text matching (MSCOCO), visual reasoning (NLVR2), and visual question answering (VQA v2) with eight VLMs: four task-specific models with six fine-tuned checkpoints, Qwen3-VL at two scales, and two commercial API models. We compare the generators of VLTEST with SINVAD [29], adapted to the VQGAN latent, and TextFooler [28], and its joint testing with five baselines: random pairing with and without filtering, random pairing that first uses the combinations whose single-modality inputs are answered correctly, stable-first pairing of the variants found by SINVAD and TextFooler, and the applicable relations of MetaRA [72]. The oracle confirms 81.7% of the candidates of VLTEST (SF) and reaches a precision of 80.0% to 94.6% against human labels across the compared methods in the primary experiment, and of 88.8% to 94.6% on the failures that VLTEST (SF) reports; four-cell confirmation rejects 22.5% of the joint candidates, 19.7% through the joint input alone and a further 2.8% through the single-modality controls. Under the same budget, the generators of VLTEST find 1.8 to 2.5 times as many confirmed failures as SINVAD and TextFooler, and VLTEST finds 91 to 197 attributed joint failures per 1,000 joint calls, 1.3 times as many as the stable-first pairing of their variants and 2.8 times as many as the applicable relations of MetaRA, which exhaust their combinations after about half of the joint budget. Under an additive margin model, 16.5% of the attributed joint failures with output scores are interactions between the modalities that the sum of the two single-modality effects does not predict. On Qwen3-VL, GPT-4o mini, and Gemini 2.5 Flash, VLTEST finds 112 to 250 attributed joint failures per 1,000 joint calls.

The main contributions of this paper are as follows.

• We formulate VLM testing with oracle-confirmed expected answers and introduce four-cell evidence, built on a common reconstructed reference, for attributing a failure to the combination of an image mutation and a text mutation.

• We propose VLTEST, which combines controlled visual and textual generators, relation filters, and two-phase testing that reuses the single-modality tests as the matched controls of every joint test and as feedback for pairing.

• We design an automated test oracle that, for every cell, checks the expected answer against the seed with a VLM judge before it assesses the model output, and we validate the oracle against human labels.

• We provide a replication artifact [65] for VLTEST.

References (25)