Skip to content
AI NEWS JOURNAL
Hugging Face BlogAI NEWS / JOURNAL

AutoFA: Towards Targeted AI Improvement

NVIDIA has released AutoFA, an open-source toolkit designed to move beyond aggregate evaluation scores by identifying and analyzing specific failure modes in AI models. Unlike traditional metrics that only indicate how often a model fails, AutoFA uses a dual approach—top-down taxonomy classification and bottom-up failure discovery—to uncover the underlying causes of failures, such as overreliance on answer conventions or inventing unstated rules. The tool helps teams understand why models fail, enabling targeted improvements in training data, reward signals, or evaluation harnesses. AutoFA evaluates failure mode detectors using precision, coverage, and adherence, outperforming baseline methods in accuracy and actionable insights. It supports collaboration through reusable code-based detectors, shared reports, and community-driven taxonomy expansion, with future plans including data attribution and capability-level analysis.

A score tells you that a model failed, not why An evaluation score tells us how often a model fails, but not how or why. A failed task looks the same in aggregate metrics whether the model misinterpreted an image, exploited a shortcut in the evaluation, or was penalized by an incorrect reference answer. Yet, each failure calls for a different intervention: better training data, a revised reward signal, a change to the evaluation harness, or a correction to the benchmark itself. Failure taxonomies help bridge this gap by organizing failures into a shared set of error categories. However, predefined categories often obscure distinct underlying mechanisms that require different fixes. Furthermore, as models evolve, taxonomies struggle to capture unknown novel failure modes, making it difficult to maintain a comprehensive and actionable taxonomy without continuous human oversight. In this short blog post, we show how we are approaching this challenge at NVIDIA with AutoFA: a new open-source toolkit for failure analysis, designed to move beyond aggregate scores and static taxonomies toward a more systematic understanding of how and why models fail. What is a failure mode? A failure mode is a recurring pattern in how an evaluated system fails across trajectories and, sometimes, across benchmarks. It captures a shared behavior, symptom, or mechanism, not a single bad answer or benchmark category. Two examples here make this concrete: a model answering chart questions, and a coding agent. Example 1: answering what the benchmark "usually wants" What happened? CharXiv asks questions about charts from scientific papers. Here, the model under inspection must name the line that stays above the others. It reads the chart correctly: blue overtakes yellow, so no line stays on top, and it says so in the trace. Then, it reasons that benchmark questions usually expect a line, and names the yellow one, in all three attempts, demonstrating inability to abstain when there is truly no correct answer to the problem. Figure 1. CharXiv, Nemotron 3.5 Super VL. Quotes are from the model's reasoning. The failure mode. When the evidence gives no clean answer, the model substitutes an assumed bias from answer conventions in benchmarks: e.g. every question should have an answer among the labels that is correct, the first option is usually the right answer. Its impact. It explains 26% of BabyVision failures, 21% on CharXiv and 12% on ChartQA Pro. What can be improved? The model “sees” fine, but it has learned that chart questions always have an answer. We suspect because chart-QA training data rarely says "none" or "cannot tell". Data whose answers include "none", "cannot tell" teaching the model how to abstain can target the habit more directly. More chart data of the usual kind would not. Example 2: inventing a rule the task never stated What happened? DeepSWE gives coding agents feature requests in real repositories. Here, GLM-5.3 is instructed to let a scripting language change one character of a string. Reading s[-1] returns the last character. However, the agent makes an assumption that negative positions are forbidden for assignment/writing, copying this rule from arrays (Step 1). Based on this assumption, it then deletes its own test (Step 3), and fails the hidden test on exactly that test case. Figure 2. DeepSWE v1.1, GLM-5.3. Quotes are from the agent's reasoning. The failure mode. When the specification is not present, the agent fills the gap with a stricter rule of its own, often borrowed from nearby code or knowledge, and defends it against contrary evidence, even its own tests. Its impact. It is the first or second most common cause of failure on DeepSWE for GLM-5.3 (9 of 35 failures), Kimi K3 (10 of 47) and Qwen 3.8 (10 of 48). Kimi K3 invented exactly the same rule on the same task. What can be improved? The agent had the right answer twice, in the read behavior and in its own test, and talked itself out of it. Training tasks with deliberate specification gaps, whose hidden tests reward consistency with existing code. Deleting a failing test should also require a justification and earn little or no RL reward. What makes a good failure mode definition? It explains a meaningful share of failures. Answer convention biases explain 21% of CharXiv failures. Its definition is unambiguous. Reviewers agree when it happened, and it does not overlap other modes. It suggests ideas on what to do next, as both examples show. Next, we describe how we evaluate and estimate through these axes. But first, let’s understand how AutoFA works. How AutoFA works AutoFA analyzes evaluation runs through two complementary lenses. Top-down taxonomy classification covers already known failure modes. An agentic judge gives each failed attempt one primary cause from a fixed taxonomy and names who is at fault: the model, the harness, or the task and its grader. Each classification is grounded in evidence: the judge cites supporting trace events and grader outputs, abstains when the evidence is insufficient, and flags failures that fall outside the existing taxonomy. A second review pass validates each classification and can confirm, revise, or withdraw it. We adopted the taxonomy and definitions introduced in Scale AI's Model or Harness? An Interaction-Centric Taxonomy for Localizing Agent Failures as a starting point and and progressively expanded the taxonomy with new failure modes uncovered through iterative bottom-up analysis across models and benchmarks, as we illustrate later in this post. Bottom-up failure discovery finds the unknown unknowns i.e., failure modes the taxonomy does not name yet, often specific to one model or benchmark. It operates through an auto research loop in which a coding agent analyzes traces, hypothesizes recurring failure mechanisms, and implements them as reusable Python detectors, often leveraging an LLM-based classifier. Detectors are evaluated (see evaluation below), and hypotheses are iteratively refined based on the results. Only detectors that reliably identify the intended failure mode and explain a meaningful share of observed failures are included in the final report. Figure 3. How AutoFA analyzes evaluation runs. The two lenses produce complementary results. The taxonomy gives every failure exactly one label, traced back to the earliest error the model never recovers from, so the shares add up to 100% and compare directly across models and benchmarks. Bottom-up discovery, by contrast, produces reusable failure detectors that operate on both successful and failed attempts and are evaluated along three dimensions: coverage, precision, and adherence (whether flagged attempts actually exhibit the hypothesized failure mechanism). Because detectors are implemented as executable code, the same checks can be rerun on subsequent model checkpoints, enabling systematic tracking of failure modes over time. The two lenses check each other We first ran Scale AI's taxonomy on four visual benchmarks: BabyVision, which tests visual reasoning, and three chart benchmarks, ChartMuseum, CharXiv and ChartQA Pro. It gives a consistent map: perception observation issues come first, with 55% of failures on average starting from a misread image (Figure 4). It also identifies potential issues with the benchmarks and graders: 8% are task or grader defects. Figure 4. Primary cause of failure according to Scale AI's taxonomy, by benchmark. Scale AI's taxonomy is intentionally broad, enabling consistent comparisons across models and benchmarks. On BabyVision, a single category, Observation failure, accounts for 89% of failures. While this tells us that the model misinterprets visual information, it reveals little about the underlying mechanisms or how to address them. Bottom-up discovery provides a more fine-grained, actionable view by analyzing traces, identifying recurring failure mechanisms, and operationalizing them as testable detectors. On BabyVision, it uncovered several distinct perceptual failure modes: hallucinating spatial layouts or structures absent from the image (e.g., invented_grid_structure), misestimating quantities and dimensions (e.g., overestimates_cube_stack_heights), and hallucinating objects or their attributes. This type of bottom-up discovery also identified the failure mode described in Example 1, the model over relying on an assumed bias from answer conventions in benchmarks (answer_convention_overrides_evidence). While the initial taxonomy was a good starting point, it put most observation failures into one bucket for CharXiv (58%). Auto discovery instead informs that model improvement can specifically start from additional training data that teaches the model how to abstain and answer with none, or bringing pairs that ask for layout detail, quantification, and object composition. A taxonomy that keeps evolving We then turned these findings into new and persistent failure modes. AutoFA's taxonomy version 1 adds 13: five that name what was misread (layout or structure, object or attribute, quantity or relation, text, visual association), six that split reasoning failures, and two grader faults (incorrect reference, valid equivalent answer rejected). On the same set of failures (Figure 5), version 1 decomposes BabyVision’s broad observation error category (89%) into more specific failure modes: misinterpretation of layout or structure (43%), objects or attributes (31%), and quantities (11%). In contrast, CharXiv’s most prevalent failure mode involves quantities (38%), suggesting a different remediation priority. The fine-grained taxonomy also reveals flaws in the benchmark itself: 11% of CharXiv’s failures are attributable to incorrect reference answers rather than model errors. Figure 5. The same failed attempts by Nemotron 3.5 Super VL, labeled with Scale AI's taxonomy (before) and AutoFA's version 1 (after). Seen a failure mode the taxonomy misses in your evals? Open a GitHub issue with a description and example traces. How we evaluate AutoFA We score every failure mode detector on three measures, using the benchmark's own pass/fail outcome as ground truth: Precision: the share of flagged attempts that failed, rescaled to a 30% failure rate so benchmarks with different failure rates compare fairly. Coverage: the share of failed attempts the detector flags. Adherence: the share of flagged attempts that show the claimed behavior, checked by an LLM judge on a sample. We compare AutoFA with a starting baseline, a coding agent that writes detectors for the same failures in one pass, with the same criteria, classifier and judge. AutoFA found 31 Good failure modes to one (Figure 6, Left), and its claims adhered to 78 to 90% of reviewed matches against 60 to 69% (Figure 6, Right). Adherence is crucial because a detector that catches the right attempts with the wrong explanation sends a team after the wrong fix or may create confusion amongst practitioners when the failure mode description does not match the trajectory trace. Figure 6. AutoFA and a one-pass agent baseline on the same 4,110 failed attempts by Nemotron 3.5 Super VL. Left: failure modes graded Good. Right: sampled matches where an LLM judge found the claimed behavior. Precision is similar for both (0.75 to 0.97). On the geometric mean of the three measures, AutoFA leads on every benchmark, from 0.91 against 0.61 on BabyVision to 0.63 against 0.59 on ChartQA Pro, where task defects cap any model-side detector. Besides one run per benchmark, we also ran each method once on all four benchmarks pooled together: a single combined run over the same 4,110 failed attempts. There the two tie on the geometric mean (0.75), but for different reasons. The baseline’s five broad detectors catch more failures (63% against 53%), while AutoFA’s hold up better on review (adherence 0.88 against 0.75) and include 7 Good failure modes to none. The tie hides the difference that matters: a quarter of what the baseline flags is not what its detectors claim Built for collaboration The failure modes in this post come from a handful of models and benchmarks. Every team evaluating other models, harnesses and benchmarks will find mechanisms we haven't seen. AutoFA is designed so that each analysis builds on the last one, whoever ran it. Reuse detectors across runs. Detectors are code, so they outlive the run that found them. Start a new analysis from earlier detectors with “Continue from Library” in the CLI menu, or by passing a run ID, and check whether a failure mode is gone on the next checkpoint. As feedback comes in, we plan to keep an open library of specialized detectors, such as one for CharXiv misreads that catches over half of that benchmark's failures. Decide the fix together. A failure mode becomes useful once the people who own the data, the reward or the harness look at the evidence. Host reports with “autofa serve”, publish runs as working documents, and leave notes for teammates on what to act on. Grow the taxonomy. Version 1 came from bottom-up discovery. If your evals show a failure mode it misses, open a GitHub failure-mode-proposal issue with a description and example traces so it can be considered for the next version. To try it, clone github.com/NVIDIA/AutoFA, open it in Claude Code or Codex, and ask the agent to read AGENTS.md and analyze your runs. Figure 7. AutoFA's home menu. This is the first release of AutoFA, and there is much more we want to build. Our roadmap includes: Data and RL attribution: Connecting failure modes to the training data and reward signals that contribute to them, enabling us to design and validate targeted interventions like those suggested in Examples 1 and 2. Harness-specific failure detection: Expanding our coverage of failures originating from the harness, such as premature execution termination or information loss during context compaction. Capability-level failure analysis: Mapping failure modes to specific capabilities to answer questions such as: What are the predominant failure mechanisms in browser and web tasks? Community-driven taxonomy expansion: Establishing an end-to-end contribution workflow that enables the community to propose, validate, and integrate new failure modes into the taxonomy alongside their reusable detectors. Open failure analysis reports: Sharing systematic failure analyses of open models with the broader research community. Benchmarks will continue to tell us how well models perform. AutoFA's goal is to explain why they fail, at a level of granularity that informs what to train next. Thank you to all the early users who had the patience to send feedback and pilot with us: Pascal Berard, Grzegorz Chlebus, Ricardo Da Silveira Cabral, Alessio Devoto, Ellie Evans, Zoe Faul, Paul Furgale, Harshil Kotamreddy, Frederic Lafrance, Gosia Lazuka, Linda Liu, Giulio Lovisotto, Elisa Martinez Abad, James Nolan, Jesse Oliver, Aalhad Patankar, Krzysztof Pawelec, Wahidur Rahman, Riccardo Roveri, and Velen Wu! More from this author Building on Nemotron 3.5 Parse: Open Data, Fine-Tuning, and Faster Inference Microduck Obstacle Avoidance: A Sim2Real Workflow with Isaac Lab and Newton Community · Sign up or log in to comment

Sources

Read original ↗

Related topics

← Continue to all updates