NVIDIA open-sources AutoFA to explain why AI models fail
NVIDIA has released AutoFA, an open-source toolkit for failure analysis of AI evaluations, according to a post on the Hugging Face blog . The post says an aggregate score shows how often a model fails but not how or why, and each cause needs a different remedy: better training data, a changed reward signal, a fix to the test harness, or a correction to the benchmark. How AutoFA works The toolkit…
NVIDIA has open-sourced AutoFA, a toolkit designed to analyze failures in AI evaluations, according to a Hugging Face blog post. The toolkit addresses the limitation of aggregate scores, which indicate the frequency of failures but not their causes. Each cause requires a distinct remedy, such as improved training data, a modified reward signal, a correction to the test harness, or a benchmark adjustment.
AutoFA employs a two-pronged approach. The first involves a fixed taxonomy of known failure types, where a judge agent categorizes each failed attempt into one primary cause, identifies the responsible party (model, harness, task, or grader), cites evidence, and can abstain or flag failures outside the taxonomy. The second approach is a bottom-up discovery process, where a coding agent examines traces, detects recurring failure mechanisms, and transforms them into reusable Python detectors.
The detectors can be re-executed on subsequent model checkpoints to determine if a failure mode has resolved.
In tests on four visual benchmarks, the baseline taxonomy attributed 55% of failures to misread images and 8% to task or grader defects. However, BabyVision, a specific benchmark, accounted for 89% of failures under this taxonomy. AutoFA's version 1 taxonomy expands this list to 13 failure modes, subdividing the problematic category into layout or structure (43%), objects or attributes (31%), and quantities (11%). Notably, it found that 11% of CharXiv failures stem from incorrect reference answers rather than model errors.
The finer labels provided by AutoFA prove crucial. For instance, a chart model might read evidence correctly but still label a line as the answer due to an assumption that benchmark questions always have an answer. NVIDIA recommends incorporating "none" answers in training data. Another example involves a coding agent creating a stricter rule than the task stated, leading to the deletion of its own test. This was the second most common failure cause for three models on DeepSWE.
AutoFA demonstrated promising results when applied to 4,110 failed attempts by Nemotron 3.5 Super VL. It identified 31 failure modes, with a grading of Good, compared to just one from a single-pass coding-agent baseline. The post claims that AutoFA's findings aligned with 78 to 90% of reviewed cases, against 60 to 69% for the baseline.
However, on a pooled run, the two methods tied on the combined score, though AutoFA's detectors proved more robust during review. These results are based on NVIDIA's own measurements. The code for AutoFA is available at github.com/NVIDIA/AutoFA. To use it, users launch Claude Code or Codex, instructing the agent to read AGENTS.md and analyze their runs.
This is the first release, with a roadmap listing additional features such as training data, reward signals, harness-failure detection, capability-based analysis, a community process for adding failure modes, and public failure reports for open models.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to