TL;DR
AutoODD is an automated framework that combines LLM agents with Bayesian uncertainty estimation to audit black-box machine learning models and map their failure boundaries (Operational Design Domains). By projecting high-dimensional input spaces into low-dimensional semantic text embeddings, AutoODD systematically uncovers hidden vulnerabilities with significantly fewer test cases than brute-force or random testing.
What Problem Does This Paper Address?
As machine learning models are increasingly deployed in safety-critical systems like autonomous driving and aerial robotics, knowing exactly where and why a model will fail is paramount. This safe operating boundary is known as the Operational Design Domain (ODD).
However, auditing modern AI models—especially "black-box" systems where training data and internal architectures are completely inaccessible—is incredibly challenging. The potential input space is high-dimensional and combinatorial (e.g., combinations of weather, time of day, background, and object types). Naive random testing is highly inefficient and frequently misses rare, catastrophic edge cases, while manual human red-teaming requires prohibitive amounts of time and domain expertise.
Methods
AutoODD introduces a closed-loop, agent-centric framework that merges the creative scenario-generation capabilities of Large Language Models (LLMs) with the statistical rigor of Bayesian optimization.
The core workflow operates as follows:
- Semantic Embedding Space: Instead of searching raw high-dimensional inputs (like pixels), the system defines the search space using natural language descriptors. These text prompts are converted into low-dimensional latent vectors using an LLM encoder.
- LLM Agent as Orchestrator: An LLM agent selects combinations of environmental factors to generate test scenarios. A prompt-to-input converter transforms these text descriptions into actual test inputs (e.g., generating a specific image).
- Gaussian Process (GP) Surrogates: The generated test cases are evaluated on the Model-Under-Test (MUT). The binary results (pass/fail) are used to fit a set of Gaussian Processes—one per descriptive axis—to model the failure landscape and track uncertainty.
- $\epsilon$-Greedy Exploration/Exploitation: To balance the search, the framework uses an $\epsilon$-heuristic. Most of the time, the LLM agent explores the space using semantic reasoning. However, an $\epsilon$ fraction of the time, the system overrides the agent to exploit the GP posterior, targeting regions with the highest predicted failure probability or uncertainty.
Datasets
The authors evaluated AutoODD across two distinct setups:
- Colored MNIST (Controlled Baseline): A modified version of the classic MNIST dataset where digits (0-9) are injected with ten different colors, creating 100 total combinations. Artificial failure modes were intentionally induced during training (e.g., completely removing the digit '7' or the color cyan) to see if AutoODD could successfully rediscover them.
- AirTrack / TartanAviation (Real-World DAA): A vision-based Detect and Avoid (DAA) model for autonomous aircraft. Test images were generated using templates from the TartanAviation dataset and animated with real aircraft tracks. The input space spanned 5 categories (time of day, cloud cover, background, season, weather condition), yielding 1,440 possible combinations.
Key Insights and Ideas
- LLMs and GPs are Better Together: LLMs excel at semantic novelty and generating realistic test scenarios, but they lack quantitative coverage tracking. Conversely, Gaussian Processes are excellent at tracking uncertainty and statistical coverage but lack semantic intuition. Combining them creates a highly efficient, self-guided testing loop.
- Exploiting Semantic Proximity: Because the search happens within a text-embedding space, semantically similar concepts lie close together. If the model fails on "heavy rain," the GP naturally propagates uncertainty to related terms like "thunderstorm," allowing the framework to rapidly map out contiguous failure regions.
- The Importance of $\epsilon > 0$: Pure LLM exploration can leave disjoint failure modes completely unchecked. Forcing the system to periodically exploit the GP's uncertainty estimates guarantees systematic coverage of the defined input space.
Key Results
In the Colored MNIST experiments, AutoODD successfully and rapidly mapped out the induced failure landscapes. As shown in the visualizations below, the framework quickly isolated the exact rows or columns corresponding to the missing training data.
In the complex, real-world Detect and Avoid (DAA) aircraft tracking task, the informed $\epsilon$-heuristic significantly outperformed random sampling. It discovered severe, multi-variable failure modes—such as a combination of twilight, overcast sky, industrial area background, summer, and heavy rain—demonstrating its utility for real-world safety verification.
Limitations and Future Work
Currently, AutoODD relies on a closed-vocabulary setup. A human expert must still pre-define the categories and keyword options (e.g., listing specific weather types or backgrounds) to bound the search space.
To eliminate this remaining bottleneck, the authors plan to transition to an open-vocabulary formulation in future iterations. This will allow the LLM agent to dynamically propose its own descriptive categories and test parameters entirely from scratch, making the framework truly end-to-end and fully autonomous.
Summary updated