Manuscript Offprint

arXiv:2610.13697

Improving Semantic Coverage in AI Test & Evaluation through Generative Augmentation

Connor Hashemi, Bharadwaj Ravichandran, Connor Anderson, Shitij Govil, Brandon RichardWebster, Brian Hu, Keith Fieldhouse

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

ABSTRACT

In test and evaluation (T&E) of AI models, evaluators typically have access only to a held-out test dataset and no knowledge of the training data or its semantic composition. If critical input conditions—such as time-of-day, weather, or scene location—are underrepresented in this test dataset, T&E results can be misleadingly due to this semantic coverage gap. We propose a three-stage generative AI pipeline to detect and fill such semantic gaps without requiring ground-truth labels of these semantics. First, vision-language models (VLMs) perform zero-shot binary labeling of semantic factors, and an embedding-space clustering step identifies which semantics most affect downstream model behavior. Second, diffusion-based image-to-image models transform existing covered images into the underrepresented semantic domain, preserving scene content while augmenting high-level appearance. Third, statistical analysis of the augmented image embeddings verifies that the synthetic imagery improves dataset coverage before it is incorporated. Crucially, the synthetic data is used only to enrich the test set and no model retraining is performed for T&E. We validate the full pipeline on both image classification and object detection under day/night semantic gaps, showing that the augmented test datasets better distinguish models with and without exposure to the missing semantic, thereby yielding T&E conclusions that more closely match those of an ideal, fully covered dataset. *

Keywords: diffusion models, test and evaluation, image-text matching, image semantics, data augmentation

1. INTRODUCTION

Test and evaluation (T&E) assesses the true performance and limitations of artificial intelligence (AI) models prior to real-world deployment. Reliable T&E is becoming increasingly important as AI systems are adopted in high-risk and safety-critical domains, such as military and defense applications. In typical T&E settings, evaluators only have access to a final, held-out test dataset used to estimate operational performance, while the training data and design choices used to develop the models are unavailable. The validity of T&E therefore hinges on how well this test dataset reflects real-world operating conditions. If critical operational conditions are underrepresented or absent, models may appear robust during evaluation yet perform poorly in deployment. We use the term uncovered throughout this paper to refer to these conditions which lack sufficient coverage in the T&E dataset.

Semantic factors, in this work, are defined as any image conditions or variables that meaningfully affect the performance of a downstream task but are not explicitly encoded in the task labels themselves. We categorize these factors into three broad classes: imaging conditions, such as grayscale/color imagery, sensor characteristics, and camera viewpoint; scene conditions, such as weather, illumination, and time-of-day; and content-related factors, such as scene complexity, object density, and rural/urban environments. These high-level semantic factors can substantially alter image appearance without changing the underlying task label, and as a result, variations in these semantics may introduce performance degradation that remains hidden without careful analysis. For example, a drone detection model trained primarily on daytime imagery may perform poorly under low-light or nighttime conditions. Thus, in the absence of access to training data or metadata analysis, the test dataset must deliberately account for these semantic factors to ensure reliable T&E.

Author e-mail correspondence: connor.hashemi@kitware.com

*Code available at https://github.com/Hashe037/DEDUCE

T&E Model Selection

Proposed Test Dataset Improvement

Evaluations of Models with Datasets

Figure

Figure 1. Overview of test and evaluation (T&E) and proposed improvement to test dataset. The goal of T&E is to use a test dataset to properly evaluate the real-life performance of models without access to their training datasets. However, the test dataset might have underrepresented semantic factors (such as time-of-day) which could bias the evaluations and lead to improper model selection. We denote these underrepresented semantic factors as “uncovered,” and this paper proposes a pipeline to identify and fill in gaps in semantic coverage with synthetic augmented data to improve overall T&E.

However, determining the coverage of these semantics—i.e., how well they are represented in the test dataset—is challenging. Semantic factors are rarely labeled, and when labels exist they are often incomplete or inaccurate. Automated semantic labeling is further complicated since a given semantic factor may manifest differently across datasets, sensors, and operational contexts. Furthermore, not all semantic factors equally affect model performance, making exhaustive evaluation over all possible semantics not only intractable but also inefficient. Finally, even when semantic gaps are identified, it is often difficult to address them. Existing data augmentations are poorly suited for generating realistic, high-level semantic variations that preserve task-relevant content.

In this paper, we propose a generative AI pipeline to identify impactful gaps in semantic coverage within test datasets. By filling these gaps with targeted synthetic augmentations on already existing imagery in the dataset, our method significantly improves the robustness of T&E for image classification and object detection models. First, we leverage recent advances in vision-language models (VLMs) to associate each image with semantically rich textual descriptions, enabling zero-shot labeling of binary semantic factors (e.g., day vs. night). These labels allow us to identify underrepresented semantic conditions in the test dataset, which we denote as “uncovered” semantics. Next, by analyzing how semantic factors cluster within the downstream model’s embedding space, we estimate which uncovered semantic factors are likely to have the greatest impact on performance. We then use diffusion models to augment existing imagery into new synthetic images which exhibit the uncovered semantics while preserving the task-relevant content of the original images. Finally, we statistically evaluate whether the generated imagery improves embedding-space coverage and reduces semantic gaps in the test dataset. If the coverage improves, we can conclude that the synthetic data is useful and incorporate it into the test dataset.

In summary, our contributions are as follows:

We present a modular framework for zero-shot identification of important, underrepresented semantic factors using VLM-based descriptions, enabling automatic dataset semantic labeling without ground truth labels.

We introduce a novel methodology for dataset expansion in T&E that couples targeted, image-to-image diffusion augmentations with statistical validation in the downstream model's embedding space. This ensures synthetic samples accurately reflect the missing operational conditions rather than just looking visually appealing.

We validate the full pipeline on two representative datasets for the day/night semantic: image classification on Caltech Camera Traps (CCT) 1^{1} and object detection on BDD100k. 2^{2} Furthermore, we show that including our generated imagery into T&E enables more accurate and reliable model selection for these two datasets.

Figure 1 shows an overview of the application to T&E while Figure 2 depicts the overall proposed pipeline. This code and project is released as open source at https://github.com/Hashe037/DEDUCE

References (61)