TL;DR
AutoODD is a new framework that uses LLM agents to automatically "red team" black-box machine learning models to find where they fail. By combining the semantic reasoning of Large Language Models with the statistical rigor of Bayesian uncertainty estimation, it efficiently maps out a model's failure landscape with far fewer tests than traditional methods.
What Problem Does This Paper Address?
As machine learning models are increasingly deployed in safety-critical systems—like autonomous drones or surgical robots—knowing exactly when they might fail is a matter of life and death. This "safe zone" is known as the Operational Design Domain (ODD).
The challenge is that modern input spaces (like high-resolution video or complex environmental sensor data) are high-dimensional and combinatorial. Testing every possible scenario is computationally impossible, and manual "red teaming" (trying to break the model) requires immense human effort and domain expertise. Furthermore, many industrial models are "black boxes," meaning we don't have access to their training data or internal architecture to predict where they might stumble.
Methods
The authors introduce AutoODD, an agentic framework that treats an LLM as a "tool orchestrator" to automate the auditing process. The system works through a closed-loop cycle:
- Semantic Mapping: Instead of searching through raw pixels, the framework projects inputs into a low-dimensional text-embedding manifold. This allows the agent to reason about scenarios in human-understandable terms (e.g., "a drone flying in heavy rain at sunset").
- LLM-Agent Orchestration: An LLM agent (like GPT-4o) is tasked with generating test cases. It uses a set of tools to query the System-Under-Test (SUT) and record whether it passed or failed.
- Bayesian Red Teaming: To make the search efficient, the framework fits Gaussian Processes (GPs)—one for each category of the input space—to model the failure distribution. These GPs provide an "uncertainty estimate," telling the agent which areas of the input space are still unexplored or likely to contain failures.
- Epsilon-Greedy Exploitation: The agent follows an $\epsilon$-greedy strategy. Most of the time, it uses its own reasoning to explore new scenarios. However, a fraction of the time ($\epsilon$), it is forced to "exploit" the GP's findings by testing the exact scenarios where the statistical model predicts the highest uncertainty or failure probability.
Datasets
The researchers evaluated AutoODD on two distinct setups:
- Colored MNIST: A controlled environment where the researchers intentionally "broke" a digit classifier by removing specific data during training (e.g., removing all instances of the digit '7' or the color 'cyan'). This created a ground-truth failure pattern for the agent to find.
- Detect and Avoid (DAA) / AirTrack: A real-world vision-based intruder detection system for aerial vehicles. This used images from the TartanAviation dataset, involving 1,440 possible combinations of environmental factors like time of day, cloud cover, background terrain, season, and weather.
Key Insights and Ideas
- The Power of Patterns: AutoODD performs significantly better when failures follow a semantic pattern (e.g., "the model always fails on purple digits"). The LLM can "reason" its way to these patterns much faster than a random search.
- Statistical "Guardrails" for Agents: Interestingly, the authors found that simply giving the LLM the uncertainty data and asking it to reason about it (Hypothesis 4) performed worse than using a hard algorithmic override (the $\epsilon$ heuristic). LLMs can be prone to repetition or "myopia," and the GP provides a necessary mathematical anchor to ensure the search stays on track.
- Scaling with Complexity: As the input space grows larger and more complex, the benefit of using the Gaussian Process increases. In small spaces, random search eventually catches up, but in high-dimensional real-world settings, the "informed" search of AutoODD is much more sample-efficient.
Key Results
- Efficiency: In the MNIST experiments, AutoODD recovered the induced failure landscape (the "missing" data) significantly faster than random search baselines.
- Real-World Discovery: In the aerial intruder detection task, the framework successfully identified complex failure modes—such as the model struggling in "twilight" combined with "heavy rain" and "industrial backgrounds"—while maintaining a high rate of input space coverage.
- Sample Complexity: The framework demonstrated that it could recover a meaningful, human-interpretable failure landscape with a fraction of the evaluations required by unguided exhaustive search.
Limitations and Future Work
The primary limitation of the current work is that it relies on a pre-defined descriptor set. A human expert still needs to define the categories (e.g., "Weather," "Time of Day") and the keywords within them.
The authors suggest that future work will move toward an "open vocabulary" formulation. This would allow the LLM agent to define its own search space and categories dynamically, potentially removing the need for a human expert to define the input domain entirely. Additionally, the authors aim to explore how this framework scales to continuous input spaces rather than discrete keyword combinations.
Summary updated