AutoFA Toolkit Shows Why AI Models Fail

Chart of grouped model errors from the AutoFA toolkit on AI benchmarks

NVIDIA has released AutoFA, an open-source toolkit that explains why AI models fail benchmarks instead of just counting how often. A score treats a misread image, a benchmark shortcut and a wrong reference answer the same way, even though each calls for a different fix.

The problem with scores and fixed taxonomies

Depending on the cause, the remedy could be new training data, a different reward signal, a tweaked test setup, or a fix to the benchmark itself. Predefined error categories help but often lump distinct mechanisms together, and they struggle to describe new failures as models change.

AutoFA defines a failure mode as a recurring pattern in how a system fails across attempts, sometimes across benchmarks. It is a shared behavior or mechanism, not one bad answer.

fig1
Image: huggingface.co

Two examples from the analysis

The first comes from CharXiv, which asks questions about charts in scientific papers. Nemotron 3.5 Super VL was asked which line stays on top. It read the chart correctly, saw that the blue line overtakes the yellow one so no line stays on top, and said so. Then it reasoned that such questions usually expect a line and named the yellow one in all three attempts. The model couldn’t abstain.

This answer-convention bias accounts for 26% of failures on BabyVision, 21% on CharXiv and just 12% on ChartQA Pro. The likely fix is data. Chart training sets rarely include “none” or “cannot tell” answers, so adding examples that teach abstention goes at the habit directly. Piling on ordinary chart data wouldn’t.

The second involves DeepSWE, where coding agents handle feature requests in real repositories. GLM-5.3 was told to let a scripting language overwrite a single character in a string. The language already allowed a negative index on reads, but the agent assumed negative positions can’t be written, a rule it borrowed from arrays. It then deleted its own test and failed the hidden one on that exact case.

This invented-rule habit ranks first or second among DeepSWE failure causes for three models. It covers 9 of GLM-5.3’s 35 failures, 10 of Kimi K3’s 47 and 10 of Qwen 3.8’s 48. Suggested remedies are training tasks with deliberate specification gaps, and requiring justification, with little or no reward, for deleting a failing test.

fig2
Image: huggingface.co

How the toolkit works

The AutoFA toolkit reads evaluation runs through two lenses.

The top-down lens uses an agentic judge that labels every failed attempt with a single main cause from a fixed list, and says who is responsible: the model, the test setup, or the task and its grader. The judge cites trace events, abstains when evidence is thin, flags failures outside the taxonomy, and a second pass confirms, revises or withdraws each label. NVIDIA started from the failure taxonomy that Scale AI published for locating agent failures in the model or its surrounding setup.

The bottom-up lens looks for unknown failures. A coding agent reads traces, proposes recurring mechanisms and writes them as reusable Python detectors, often with an LLM classifier. Detectors are scored on coverage, precision and adherence, meaning whether flagged attempts really show the claimed behavior, and only reliable ones reach the report. Because detectors are code, they can rerun on later checkpoints to track failure modes over time.

fig3
Image: huggingface.co

What the numbers showed

The AutoFA toolkit was tested on visual benchmarks. On four visual benchmarks, BabyVision and three chart sets (ChartMuseum, CharXiv and ChartQA Pro), Scale AI’s taxonomy found that 55% of failures start with a misread image, and 8% are task or grader defects. On BabyVision a single category, observation failure, covered 89% of failures, which says little about what to fix.

AutoFA’s version 1 taxonomy adds 13 failure modes and breaks that bucket into misread layout or structure at 43%, misread objects or attributes at 31%, and quantity errors at 11%. On CharXiv the leading mode is quantities at 38%, and 11% of failures come from incorrect reference answers, which points at the benchmark rather than the model.

Against a baseline coding agent that writes detectors in one pass, AutoFA turned up 31 good failure modes against a single one for the baseline, and 78% to 90% of its reviewed matches showed the claimed behavior versus 60% to 69%.

What happens next

The AutoFA toolkit is meant to evolve. The taxonomy is designed to keep growing. NVIDIA asks users who see a failure mode the taxonomy misses to file a GitHub issue that includes a description and sample traces. Teams running evaluations can use the same detectors across new checkpoints to see whether a targeted fix actually shrinks a failure mode.

Source: huggingface.co

Written by

Saksham Bhargava

Saksham Bhargava runs Alteroid and has been writing about consumer technology for over five years, covering iPhone, Android, Windows, AI tools and gaming. With an MCA and six years of hands-on web development experience, he tests the features he writes about on his own devices and focuses on clear, practical guides that solve real problems. Away from the screen, he enjoys travelling to places most tourists skip.