AutoFA: How NVIDIA's Open-Source Toolkit Finds Why AI Models Fail
AutoFA is NVIDIA's open-source failure analysis toolkit for model and agent evaluations. It pairs top-down taxonomy labels with bottom-up discovery of reusable Python detectors, and reported 31 Good failure modes across 4,110 failed attempts. This guide covers both lenses, the measured results, setup commands, licensing, and the research-preview limitations.
View 2 referencesAllow the functional cookie to save your likes. Privacy details
What is AutoFA?
AutoFA is an open-source toolkit from NVIDIA for reading completed evaluation runs and explaining why a model or agent harness failed. A reward tells you that a task failed; AutoFA is built to tell you why, using two complementary lenses on the same traces.
It reads local NeMo Gym and Harbor folders or remote EvalRDL runs. NVIDIA published the technical details on Hugging Face on 30 November 2026 and released the code at github.com/NVIDIA/AutoFA. Detectors are executable code, so the same checks can be rerun on later checkpoints to see whether a mode disappeared.
How do the two lenses work?
The top-down lens assigns each failed rollout one mode from a fixed taxonomy via an LLM or agentic judge, separating model faults from harness faults and citing the trace events behind the label. The bottom-up lens lets a coding agent mine traces for recurring mechanisms and write them as reusable Python detectors.
Discovery answers what keeps going wrong; taxonomy answers how failures are distributed across known modes. NVIDIA also ships a preflight check that flags rollouts where the agent gamed the grader, plus efficiency metrics comparing tokens, context, turns, tools and cost between correct and incorrect runs.
What did NVIDIA's evaluation find?
Across 4,110 failed attempts by Nemotron 3.5 Super VL on BabyVision, ChartMuseum, CharXiv and ChartQA Pro, AutoFA found 31 failure modes rated Good, compared with one from a one-pass agent baseline. Reviewed detector matches adhered to the claimed behavior 78 to 90 percent of the time, versus 60 to 69 percent for the baseline.
In a pooled run the figures were 7 Good modes against none, with adherence 0.88 against 0.75. The baseline used the same criteria, classifier and judge, so the difference is the iterative discovery loop rather than a different model.
What failure modes did AutoFA discover?
One recurring mode is answer_convention_overrides_evidence: the model reads a chart correctly, sees no line stays on top, then names a line anyway because benchmark questions usually expect a label. It explains 26 percent of BabyVision failures, 21 percent on CharXiv and 12 percent on ChartQA Pro.
Another is inventing a rule the task never stated, seen in DeepSWE v1.1 coding runs: 9 of 35 GLM-5.3 failures, 10 of 47 for Kimi K3 and 10 of 48 for Qwen 3.8. The suggested fix is training tasks with specification gaps, not more of the same data.
How are detectors scored?
Detectors are scored on three axes: precision, the share of flagged attempts that actually failed; coverage, the share of failed attempts the detector flags; and adherence, the share of flagged attempts that genuinely show the claimed behavior. Precision is rescaled to a 30 percent failure rate so benchmarks compare fairly.
Adherence is checked by an LLM judge on a sample. A detector that flags the right attempts with the wrong explanation is worse than useless, because it sends a team after the wrong fix. In taxonomy mode each failure gets exactly one label traced to the earliest error the model never recovered from, so shares sum to 100 percent.
How do you run AutoFA?
You need uv and a signed-in Claude Code or Codex CLI. Clone the repository, install the environment with uv sync --python 3.12 --inexact, then launch the interactive menu with uv run --no-sync autofa. Bundled LiveCodeBench examples let you explore saved analyses first.
Choose New analysis for discovery, Classify failures by taxonomy for top-down labels, or Explore failure library to browse saved results. Batch runs use a YAML config with uv run --no-sync autofa run --config file. A local dashboard opens on 127.0.0.1:8765 and results persist under ~/.autofa/.
What license does AutoFA use and what does it require?
AutoFA is dual-licensed: code-only files are Apache-2.0, while documentation, prompts, skills and assets follow CC-BY-4.0 terms. Discovery and model-based judging need your own model access, configured through an OpenAI-compatible endpoint; selected trace content is sent to the providers you configure.
The toolkit calls two classes of model indirectly through your coding agent, so budget for those calls. It does not install audio or video codecs; Office, audio and video inspection need additional readers that a setup agent asks before installing.
When is AutoFA worth using?
AutoFA is most useful when a named failure mode is worth more than a leaderboard position: post-training teams deciding what data or reward signal to change, harness builders separating model bugs from grader bugs, and benchmark authors auditing reference answers.
It is a poor fit if you have only a handful of manual failures and no trajectory logs. The tool wants complete runs with traces, and its detectors are only reusable if you keep rerunning them on later checkpoints.
What are the limits of AutoFA?
AutoFA is explicitly a research preview, not production-ready. Its code, configuration and output formats may change without backward compatibility, and findings are produced by AI agents that can be incomplete or inaccurate. NVIDIA asks users to review results before acting.
The Library server uses a shared profile: anyone holding its token can read or modify that profile's libraries, and detector execution is not an operating-system sandbox. Very large rollouts can exceed the hydration batch budget, and rereading logs for missing metadata labels currently rereads the originals.
Bottom line: AutoFA turns failure analysis into a testable, reusable workflow, and the published numbers suggest it finds substantially more actionable mechanisms than a single-pass agent. Treat its output as leads to verify, not conclusions.