NVIDIA releases AutoFA, an open-source toolkit for finding why AI models fail

NVIDIA releases AutoFA, an open-source toolkit for finding why AI models fail

NVIDIA has published a Hugging Face blog post introducing AutoFA, a new open-source toolkit for failure analysis of AI evaluation runs. The starting point is simple: an evaluation score says how often a model fails, not how or why. A failed task looks the same in aggregate metrics whether the model misread an image, exploited a shortcut in the evaluation, or was penalised by a wrong reference answer, yet each calls for a different fix: better training data, a revised reward signal, a change to the harness, or a correction to the benchmark. Fixed failure taxonomies help, but predefined categories can hide distinct mechanisms, and they struggle to capture novel failure modes as models change.

The post defines a failure mode as a recurring pattern in how an evaluated system fails across trajectories and sometimes across benchmarks: a shared behaviour, symptom or mechanism, not a single bad answer or a benchmark category. It gives two examples. In the first, on CharXiv, the model reads a chart correctly and notes in its trace that no line stays on top, then names the yellow line anyway in all three attempts because benchmark questions usually expect a line. The authors call this answer-convention bias (answer_convention_overrides_evidence) and say it explains 26% of BabyVision failures, 21% on CharXiv and 12% on ChartQA Pro. They suspect chart-QA training data rarely contains "none" or "cannot tell" answers, and suggest data that teaches the model to abstain; more chart data of the usual kind would not help.

In the second example, on DeepSWE, GLM-5.3 is asked to let a scripting language change one character of a string. It knows s[-1] reads the last character, but assumes negative positions are forbidden for writing, a rule copied from arrays. It then deletes its own test and fails the hidden test on exactly that case. The failure mode, inventing a rule the task never stated, 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 the same rule on the same task. Suggested fixes: training tasks with deliberate specification gaps whose hidden tests reward consistency with existing code, and requiring a justification for deleting a failing test, with little or no RL reward for it.

A good failure mode definition, the authors say, explains a meaningful share of failures, is unambiguous (reviewers agree when it happened and it does not overlap other modes), and suggests what to do next.

AutoFA works through two lenses. Top-down classification uses an agentic judge that 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. The judge cites supporting trace events and grader outputs, abstains when evidence is thin, and flags failures outside the taxonomy; a second review pass can confirm, revise or withdraw each label. The starting taxonomy comes from Scale AI's paper "Model or Harness? An Interaction-Centric Taxonomy for Localizing Agent Failures". Each failure gets exactly one label, traced to the earliest error the model never recovers from, so shares add up to 100% and compare across models and benchmarks. Bottom-up discovery is an auto research loop in which a coding agent analyses traces, hypothesises recurring failure mechanisms and writes them as reusable Python detectors, often using an LLM-based classifier. Only detectors that reliably identify the intended mode and explain a meaningful share of failures reach the final report. Because detectors are code, they can be rerun on later model checkpoints to track failure modes over time.

The authors first ran Scale AI's taxonomy on four visual benchmarks: BabyVision (visual reasoning) and three chart benchmarks, ChartMuseum, CharXiv and ChartQA Pro. On average 55% of failures began with a misread image, and 8% were task or grader defects. On BabyVision a single category, Observation failure, covers 89% of failures, which says little about the mechanism. Bottom-up discovery split it into specific perceptual modes such as invented grid structure, overestimated cube-stack heights, and hallucinated objects or attributes. For CharXiv the initial taxonomy put most observation failures (58%) into one bucket.

Those findings fed AutoFA's taxonomy version 1, which adds 13 failure modes: five naming what was misread (layout or structure, object or attribute, quantity or relation, text, visual association), six splitting reasoning failures, and two grader faults (incorrect reference, valid equivalent answer rejected). On the same Nemotron 3.5 Super VL failures, version 1 breaks BabyVision's 89% observation error into misinterpreted layout or structure (43%), objects or attributes (31%) and quantities (11%). CharXiv's most common mode is quantities (38%), pointing to a different remediation priority, and 11% of CharXiv failures come from incorrect reference answers rather than model errors. Readers who spot a missing failure mode are invited to open a GitHub issue with a description and example traces.

Each detector is scored on three measures, with the benchmark's own pass/fail outcome as ground truth. Precision is the share of flagged attempts that failed, rescaled to a 30% failure rate so benchmarks compare fairly. Coverage is the share of failed attempts the detector flags. Adherence is the share of flagged attempts that show the claimed behaviour, checked by an LLM judge on a sample. The baseline is a coding agent that writes detectors for the same failures in one pass, with the same criteria, classifier and judge. On the same 4,110 failed attempts by Nemotron 3.5 Super VL, AutoFA found 31 failure modes graded Good against one for the baseline, and its claims matched 78 to 90% of reviewed matches against 60 to 69%. 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.

In a separate pooled run over all four benchmarks, the two tie on the geometric mean (0.75), for different reasons. The baseline's five broad detectors catch more failures (63% coverage against 53%), while AutoFA's hold up better on review (adherence 0.88 against 0.75) and include 7 Good failure modes to none.

Key facts

  • NVIDIA's AutoFA is a new open-source toolkit that combines a fixed failure taxonomy (starting from Scale AI's) with auto-discovered Python detectors that can be rerun on later checkpoints.
  • Answer-convention bias, where a model picks an answer because benchmarks usually have one, explains 26% of BabyVision, 21% of CharXiv and 12% of ChartQA Pro failures for Nemotron 3.5 Super VL.
  • On DeepSWE, inventing a rule the task never stated caused 9 of 35 failures for GLM-5.3, 10 of 47 for Kimi K3 and 10 of 48 for Qwen 3.8.
  • AutoFA's taxonomy version 1 adds 13 failure modes and splits BabyVision's 89% observation error into layout or structure (43%), objects or attributes (31%) and quantities (11%).
  • Against a one-pass coding-agent baseline on 4,110 failed attempts, AutoFA found 31 Good failure modes to one; in a pooled run the two tie at 0.75 geometric mean, with the baseline ahead on coverage (63% vs 53%).

Why it matters

Aggregate benchmark scores hide the cause of a failure, and the right fix depends on the cause: training data, reward signal, harness or the benchmark itself. AutoFA tries to make that cause visible and testable. The post's examples show how different the fixes can be: teaching a model to abstain with "none" answers is a data fix, while a coding agent that invents rules calls for training tasks with specification gaps and a penalty for deleting failing tests. The findings also point at the benchmarks: 8% of failures across the four visual benchmarks are task or grader defects, and 11% of CharXiv failures come from incorrect reference answers.

Who it affects

Teams that evaluate and train models, especially multimodal and coding-agent models, and the people who maintain benchmarks. The post's examples cover Nemotron 3.5 Super VL, GLM-5.3, Kimi K3 and Qwen 3.8, and the benchmarks BabyVision, CharXiv, ChartQA Pro, ChartMuseum and DeepSWE.

How to use it

AutoFA is described as open source and runs on evaluation runs, taking failed attempts and traces as input. The top-down lens labels each failure with one cause from a taxonomy and a party at fault (model, harness, or task and grader). The bottom-up lens produces Python detectors that can be rerun on later checkpoints to track failure modes over time. The post asks readers who see a failure mode the taxonomy misses to open a GitHub issue with a description and example traces.

How solid is it

The post is first-party, written by NVIDIA about its own toolkit. The comparison with the baseline was run by the authors on failed attempts from one model, Nemotron 3.5 Super VL, and no independent evaluation is mentioned. The authors also stress that the result is mixed in one setting: in the pooled run over all four benchmarks AutoFA and the baseline tie at 0.75 on geometric mean, and the baseline catches more failures. The post says adherence was checked by an LLM judge on a sample. The authors only suspect, rather than show, that chart-QA training data rarely contains abstaining answers.

Risks and caveats

The suggested improvements (abstention data, specification-gap training tasks, penalties for deleting failing tests) are proposals; the post does not report that any model was retrained or improved using AutoFA's findings. The Good grading criteria are not defined in the visible text, so the 31-to-one figure is hard to interpret on its own. Detector precision is rescaled to a 30% failure rate, so it is not a raw hit rate. As the authors note, on ChartQA Pro task defects cap any model-side detector, and AutoFA's lead there is narrow (0.63 against 0.59).

“An evaluation score tells us how often a model fails, but not how or why.”

— NVIDIA, AutoFA post on the Hugging Face blog