Manuscript Offprint

arXiv:2609.11126

Beyond Benchmarks: Using VLMs to Reveal Systematic Classification Failures Under Real World Conditions

Dieuwertje Alblas, Alma M. Liezenga, Jan Erik van Woerden, Fedor Taggenbrock, Dalia Aljawaheri, Klamer Schutte

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

ABSTRACT

Verification and validation (V&V) of classification models is crucial to enable a wide range of sensor processing applications. Currently, the V&V process relies on time-consuming manual inspection of erroneous samples to find meaningful patterns. This work explores the use of Vision Language Models (VLMs) to speed up this laborious process. VLMs are trained to embed images into a semantically meaningful vector representation, from which human-interpretable systematic errors can be distilled. Deploying such VLM-based methods in a defence context introduces two major challenges: (1) the defence domain is underrepresented in the training data of VLMs, and (2) surroundings and context are less diverse than for other domains. This study provides an initial assessment of the suitability of VLM-based methods for V&V of defence applications. We propose a VLM-based error slice detection (ESD) method that independently groups and labels systematic errors made by a classification model. We demonstrate that this method is able to identify operationally-relevant artificially added perturbations in a non-military dataset. In a military context, our method clusters and describes images based on their surroundings, but also exhibits overlap between cluster descriptions. We further investigate the difference in embedding variation between our military and non-military dataset, which remains a topic of interest. Although the results do not yet warrant fully automated V&V through VLM-based ESD, they show that VLMs could be used to accelerate V&V processes in the future.

Keywords: Verification & Validation, Vision Language Models, Image Classification, Error Slice Discovery, EDF STORE

1. INTRODUCTION

Modern military vehicles are equipped with an increasing number of sensors to enhance situational awareness, such as cameras for target detection and recognition. This growth leads to high-volume sensor data streams, necessitating automatic analysis of sensor measurements. 1^{1} Artificial intelligence (AI), particularly discriminative AI, has shown promising results in, e.g. small object detection, 2^{2} fine-grained military vehicle classification 3^{3} and classification of vessels. 4^{4} To facilitate safe and reliable deployment in operational scenarios, verification and validation (V&V) of AI models is crucial but poses a significant challenge. 5,6^{5,6} In this work, we focus on V&V of discriminative AI methods operating on visual data. These vision models may exhibit degraded performance under conditions such as adverse weather, occlusions, camouflage, or smoke, which frequently occur in operational environments. 7,8^{7,8} Being aware of these shortcomings prior to deployment and mitigating their impact is important for the safe and responsible deployment of AI models in operational contexts.

AI models are black-box by design and learn non-linear mappings between input and output from a large set of training examples. The black-box nature of these models results in unclear decision boundaries. The essentially unlimited space of possible input data specific to vision further complicates comprehensive testing of AI models. Moreover, model strongly depends on the training data; typically AI models do not generalize well to out-of-distribution samples. 9^{9} When using third party models, there is potentially limited knowledge about the data that was used to train the AI model, which makes identifying model vulnerabilities difficult. Together,

Further author information: (Send correspondence to D.A.)

D.A.: E-mail: dieuwertje.alblas@tno.nl

∗^{*} These authors contributed equally to this work these aspects make systematic identification of failure modes a complex process, limiting the confidence in a model's behaviour under previously unseen but operationally relevant conditions.

Traditional V&V methods such as failure modes and effect analysis (FMEA) 10^{10} are commonly applied to rule-based systems, where system behaviour is explicitly defined. However, for AI models with complex and implicit decision boundaries, some parts of FMEA should be reconsidered as a full sweep of potential inputs is not feasible. Consequently, AI models are primarily evaluated based on their observed behaviour on a finite set of test samples. For V&V purposes, it is crucial to understand why a model fails in specific test cases. For example, which environmental factors, visual attributes or conditions lead to incorrect predictions. This knowledge can then be used to mitigate vulnerabilities through, e.g. design choices or model fine-tuning.

One commonly used approach to gain insight into model vulnerabilities is explainable AI. For vision models, saliency-based methods such as Grad-CAM 11^{11} are a well-established technique. These methods generate heatmaps that indicate which image regions are most strongly associated with a model's prediction. While saliency maps can provide qualitative insights into individual model decisions, extracting actionable knowledge from them is labor-intensive. In practice, an operator should manually inspect large numbers of images and interpret the highlighted regions to categorize failure cases on image semantics. This manual step limits the scalability for systematic V&V of AI models.

Until recently, semantic reasoning over image data was restricted to human interpretation. The emergence of contrastive vision-language models (VLMs) fundamentally changes this restriction. Contrastive VLMs embed images and text into a shared latent space, which is structured by semantic concepts. 12^{12} As a result, images containing similar semantic attributes are mapped close together in this latent space, and distance measurements can be interpreted as a notion of semantic similarity. 13^{13} This opens up new avenues for automatic interpretation of image semantics. Generative VLMs, on the other hand, take image and/or text input and generate textual (or visual) responses based on them, 14^{14} offering even more opportunities for automated semantic interpretation.

Recent works have leveraged VLMs for automatic error slice discovery (ESD), i.e. the automatic discovery of systematic errors of AI models. We distinguish two types of ESD methods. First, slice-then-tag methods that leverage the semantic structure of the embedding space provided by a contrastive VLM to detect error clusters, after which cluster descriptions are automatically derived using a generative VLM. 15−17^{15-17} Second, tag-then-slice methods, 18,19^{18,19} where this order is reversed: a generative VLM is used to label images based on a set of predetermined attributes and tags. In this work, we focus on the first type of methods.

Applying VLMs for automatic ESD in defence-related scenarios introduces two key challenges. First, the defence domain is underrepresented in VLM training data, which may result in inaccurate or unreliable image embeddings. Second, these ESD methods are often developed using academic datasets captured under ideal conditions and containing a wide variation of environments. In contrast, (operational) military data is subject to significantly lower data quality and covers a much smaller range of environments. In this work, we assess how VLM-based error slice discovery transfers from a well-represented domain to the military domain. To this end, we leverage a dataset with images of different dog breeds and multiple datasets with images of military vehicles. Moreover, we assess if VLM-based ESD can detect artificially introduced systematic perturbations in the data.

References (33)