AI
NVIDIA AutoFA: How Automated Failure Analysis Diagnoses AI Agent Eval Failures
Aggregate benchmark scores tell you how often an AI agent fails, not why. NVIDIA's open-source AutoFA research preview combines top-down failure taxonomy classification with bottom-up Python detector discovery—finding 31 Good failure modes versus 1 for a one-pass baseline across 4,110 failed traces. Here is how its dual-lens architecture works, what its benchmarks show, and where its current preview limits lie.
10 min read
NVIDIA AutoFA: How Automated Failure Analysis Diagnoses AI Agent Eval Failures
Executive Summary
On November 30, 2026, NVIDIA released AutoFA as an open-source research preview on GitHub, targeting a persistent bottleneck in LLM and agent evaluation: aggregate pass rates reveal how often a model fails, but not why. When an agent misses a task, the raw score looks identical whether the model misread a chart, invented an unstated coding constraint, hit an evaluation harness bug, or was penalized by a broken benchmark reference answer.
AutoFA addresses this diagnostic gap by running two complementary workflows over completed evaluation traces from local NeMo Gym, Harbor, or remote EvalRDL runs:
- Top-down taxonomy classification assigns every failed rollout a single root-cause category grounded in trace evidence and attributes fault to the model, the evaluation harness, or the task and grader.
- Bottom-up failure discovery uses an automated coding-agent loop (via Claude Code or Codex) to mine traces for previously unnamed failure mechanisms and compile them into reusable, executable Python detectors.
- Verified diagnostic gains: Across
4,110failed attempts byNemotron 3.5 Super VLon four visual benchmarks, AutoFA discovered31failure modes graded "Good" compared with1for a one-pass coding-agent baseline, while achieving78–90%judge-verified adherence versus60–69%for the baseline. - Practical caveat: AutoFA is an early research preview (
Apache-2.0for code;CC-BY-4.0for documentation, prompts, skills, and assets), requires your own OpenAI-compatible LLM endpoint and Claude Code or Codex access, and executes generated Python detectors without an operating-system sandbox.
Architecture & How It Works
Most evaluation pipelines stop at scalar metrics—pass@1, exact match, or pass rate—because manual trace inspection does not scale across thousands of multi-turn agent trajectories. Static error taxonomies help standardize comparisons, yet broad labels often lump together distinct mechanical bugs that require completely different fixes.
AutoFA resolves this tension by pairing a structured, evolving taxonomy with an automated research loop that writes and validates executable Python detectors.
Dual-Lens Evaluation Pipeline
flowchart TD
A[Completed Eval Runs: NeMo Gym / Harbor / EvalRDL] --> B[Preflight Check: autofa preflight cheating]
B --> C{Dual-Lens Analysis}
C --> D[Top-Down Taxonomy Classification]
C --> E[Bottom-Up Failure Discovery]
D --> D1[Agentic Judge + Second Review Pass]
D1 --> D2[Fault Attribution: Model / Harness / Grader]
E --> E1[Coding Agent Loop: Claude Code or Codex]
E1 --> E2[Synthesize Reusable Python Detectors]
E2 --> E3[Score Precision, Coverage & Adherence]
D2 --> F[Local Failure Library & Web UI: autofa serve]
E3 --> F
F --> G[Checkpoint Regression Tracking & Targeted Fixes]1. Preflight Cheating & Efficiency Checks
Before classifying failures, AutoFA supports an optional preflight check (autofa preflight cheating) to flag rollouts where an agent gamed the evaluation—such as looking up answers or tampering with the grader. Alongside or after discovery, engineers can also enable efficiency metrics to compare token usage, context length, turn counts, tool calls, and inference cost between correct and incorrect rollouts.
2. Top-Down Taxonomy Classification
For top-down labeling (autofa classify), an agentic judge assigns each failed rollout one primary cause from a fixed taxonomy and attributes responsibility to the model, the harness, or the task and its grader. Every classification must cite supporting trace events and grader outputs; the judge abstains when evidence is insufficient and flags failures that fall outside the existing taxonomy. A second review pass validates each label and can confirm, revise, or withdraw it.
NVIDIA started from Scale AI's Model or Harness? An Interaction-Centric Taxonomy for Localizing Agent Failures and expanded it into AutoFA taxonomy v1, adding 13 persistent failure modes:
- 5 perception/misread categories: layout or structure, object or attribute, quantity or relation, text, and visual association.
- 6 reasoning failure splits: finer-grained separation of logical and planning breakdowns.
- 2 grader faults: incorrect reference answers and valid equivalent answers rejected by the grader.
3. Bottom-Up Failure Discovery
In the bottom-up workflow (autofa run or the interactive CLI), a coding agent analyzes raw traces, hypothesizes recurring failure mechanisms not yet captured by the taxonomy, and implements each hypothesis as a reusable Python detector (often pairing deterministic checks with an LLM-based classifier). Because detectors are saved as executable code under ~/.autofa/, teams can rerun the exact same checks across subsequent model checkpoints via "Continue from Library" or by passing a run ID.
Setup & CLI Workflow
AutoFA ships with an AGENTS.md guide and an autofa-driver skill for agent-supervised setup, or it can be invoked directly with uv on Python 3.12:
# Clone the repository
git clone https://github.com/NVIDIA/AutoFA.git
cd AutoFA
# Install dependencies and launch the interactive home menu
uv sync --python 3.12 --inexact
uv run --no-sync autofa
# Or run an unattended batch analysis from a YAML config
uv run --no-sync autofa run --config examples/run-configs/frontier-23859c40d27a4c84.yaml
Once an analysis completes, AutoFA serves a local library dashboard at http://127.0.0.1:8765 (via autofa serve), allowing teams to inspect failure cards, highlighted trace evidence, and shared reports.
Benchmarks, Cost & Latency Analysis
NVIDIA evaluated AutoFA across four visual benchmarks (BabyVision, CharXiv, ChartQA Pro, and ChartMuseum) using 4,110 failed attempts by Nemotron 3.5 Super VL, and also demonstrated bottom-up failure discovery on the DeepSWE v1.1 coding-agent benchmark.
Decomposing Visual & Benchmark Defects
Under the initial Scale AI taxonomy, 55% of failures across the four visual benchmarks stemmed from perception observation issues, while 8% were traced to task or grader defects. However, on BabyVision, a single broad category—Observation failure—absorbed 89% of all failures, offering little guidance on what to fix.
Applying AutoFA taxonomy v1 and bottom-up discovery broke those aggregate buckets into actionable signals:
| Benchmark | Broad / Top Failure Signal | Granular AutoFA Finding | Actionable Remediation Target |
|---|---|---|---|
| BabyVision | 89% Observation failure (prior taxonomy) |
43% layout/structure, 31% objects/attributes, 11% quantities; 26% answer-convention bias |
Layout-focused training pairs & abstention data |
| CharXiv | 58% Observation failure (prior taxonomy) |
38% quantity errors; 21% answer-convention bias; 11% incorrect reference answers |
Abstention training ("none" / "cannot tell") & benchmark fixes |
| ChartQA Pro | Perception & task-defect ceiling | 12% answer-convention bias; task defects cap model-side detectors |
Benchmark/grader cleanup alongside model calibration |
| DeepSWE v1.1 | Coding-agent task failures | Invented unstated rules: 9/35 (GLM-5.3), 10/47 (Kimi K3), 10/48 (Qwen 3.8) |
RL reward penalties for deleting failing tests; spec-gap tasks |
Two concrete examples from NVIDIA's technical post show why mechanism-level discovery changes engineering decisions:
- Answering what the benchmark "usually wants" (
answer_convention_overrides_evidence): OnCharXiv,Nemotron 3.5 Super VLcorrectly observed in its reasoning trace that no line stayed above the others, yet still named the yellow line across all three attempts because benchmark questions typically expect one of the listed labels. Adding generic chart-QA data would not fix this; the model specifically needs training examples where"none"or"cannot tell"is the valid answer. - Inventing unstated rules on
DeepSWE v1.1: Instructed to support negative-index string assignment (s[-1]),GLM-5.3correctly read the existings[-1]read behavior, assumed negative indices were forbidden for writes (borrowing a rule from arrays), deleted its own failing test, and subsequently failed the hidden evaluation test.Kimi K3invented the exact same unstated rule on the same task.
AutoFA vs. One-Pass Coding Agent Baseline
To measure detector quality, NVIDIA scored every generated detector on three ground-truth metrics:
- Precision: Share of flagged attempts that failed (rescaled to a
30%failure rate for cross-benchmark comparability). - Coverage: Share of failed attempts caught by the detector.
- Adherence: Share of flagged attempts that genuinely exhibit the claimed failure behavior, audited by an LLM judge on sampled matches.
| Evaluation Setup | Good Failure Modes | Judge Adherence | Precision Range | Geometric Mean / Notes |
|---|---|---|---|---|
| AutoFA (Per-Benchmark) | 31 |
78–90% |
0.75–0.97 |
Leads every benchmark (0.91 on BabyVision; 0.63 on ChartQA Pro) |
| One-Pass Baseline (Per-Benchmark) | 1 |
60–69% |
0.75–0.97 |
Trails on every benchmark (0.61 on BabyVision; 0.59 on ChartQA Pro) |
| AutoFA (Pooled 4,110 Traces) | 7 |
88% (0.88) |
Comparable | 0.75 geometric mean; 53% coverage |
| One-Pass Baseline (Pooled) | 0 |
75% (0.75) |
Comparable | 0.75 geometric mean; 63% coverage (broader, less accurate claims) |
The pooled comparison highlights an important evaluation trade-off: a tied aggregate score (0.75) can mask lower diagnostic reliability. Roughly a quarter (25%) of what the one-pass baseline flagged did not actually match its detector descriptions, risking misdirected engineering work.
Cost, Latency & Resource Constraints
AutoFA is free and open-source software, but running it is not cost-free. As noted in both the GitHub README and independent coverage (YouTube), teams must supply their own OpenAI-compatible LLM_API_KEY for judges and LLM-based detectors, along with a signed-in Claude Code or Codex CLI for driver and discovery loops. Initial trace loading also hydrates local runs in memory, meaning very large rollouts or expanded request histories can hit memory batch limits.
Production Deployment & Trade-Offs
For AI engineering and evaluation teams deciding whether to adopt AutoFA today, the toolkit fits specific diagnostic workflows best—while carrying clear research-preview boundaries.
When to Use AutoFA vs. Alternatives
- Use AutoFA when post-training, RL, or agent-harness teams already collect multi-turn rollout traces (NeMo Gym, Harbor, EvalRDL) and need to know whether a score drop comes from perception, reasoning, harness timeouts, or defective benchmark graders.
- Stick to lightweight LLM-as-a-judge scripts or static rubrics for simple single-turn QA or CI smoke checks where per-trace discovery cost would outweigh the diagnostic benefit.
Operational & Security Gotchas
- No OS Sandbox for Generated Detectors: The NVIDIA/AutoFA repository explicitly warns that detector execution is not isolated in an operating-system sandbox. Teams running AutoFA on untrusted or external agent traces should wrap execution in a dedicated container or VM.
- Trace Data Leaves Your Environment: Discovery and judging send selected trace contents to whichever OpenAI-compatible endpoint and coding-agent CLI you configure—avoid feeding sensitive production logs without appropriate provider agreements.
- Optional Artifact Readers: Pillow and
pypdfium2are bundled for images and PDFs, but Office document rendering and audio/video inspection require separate system dependencies (LibreOffice, FFmpeg, PyAV) that are not installed by default. - Shared Local Library Profile: The
autofa servedashboard (http://127.0.0.1:8765) uses a shared profile token model where anyone holding the token can read or modify saved libraries.
Roadmap & Confidence Assessment
NVIDIA's published roadmap prioritizes connecting failure modes directly to training data and RL reward signals, expanding harness-specific detectors (such as premature termination and context-compaction loss), and supporting community-contributed taxonomy proposals via GitHub issues. Because AutoFA is an early research preview tested primarily on a small set of models (Nemotron 3.5 Super VL, GLM-5.3, Kimi K3, Qwen 3.8) and benchmarks, confidence is high on the reported visual and DeepSWE benchmark figures from NVIDIA's primary post, and moderate on how well its current detectors generalize to unseen enterprise agent harnesses without custom tuning.
Frequently Asked Questions (FAQ)
What is NVIDIA AutoFA?
NVIDIA AutoFA is an open-source research preview toolkit for automated failure analysis of AI models and agent harnesses. Released on November 30, 2026, it analyzes completed evaluation traces to explain why models fail rather than only reporting aggregate pass/fail scores.
How does AutoFA differ from a standard LLM-as-a-judge?
A standard LLM judge typically assigns pass/fail scores or broad error labels in a single pass. AutoFA combines top-down taxonomy classification (with fault attribution across model, harness, and grader) with an iterative bottom-up coding-agent loop that writes, scores, and refines reusable Python detectors for previously unknown failure modes.
Does AutoFA work with existing agent evaluation frameworks?
Out of the box, AutoFA supports local NeMo Gym and Harbor evaluation folders as well as remote EvalRDL runs, and includes two bundled LiveCodeBench example runs (Inkling and GLM) so engineers can explore reports before configuring their own traces.
Is NVIDIA AutoFA free to run?
The AutoFA codebase is open-source (Apache-2.0 for code; CC-BY-4.0 for docs, prompts, skills, and assets), but running failure discovery and LLM-based judging requires your own OpenAI-compatible LLM_API_KEY and a signed-in Claude Code or Codex CLI, so inference API costs apply.
Can AutoFA detect flawed benchmarks or cheating agents?
Yes. AutoFA includes a preflight cheating check to flag rollouts where an agent looked up answers or tampered with the grader, and its taxonomy v1 explicitly separates model faults from harness bugs and grader defects (such as incorrect reference answers, which accounted for 11% of CharXiv failures in NVIDIA's study).
Sources
- NVIDIA / Hugging Face Blog (Published November 30, 2026): AutoFA: Towards Targeted AI Improvement
- NVIDIA GitHub Repository (Updated December 1, 2026): NVIDIA/AutoFA — Automated failure analysis for models and agent harnesses
- Welcome.AI (Published November 30, 2026): AutoFA: Towards Targeted AI Improvement — Summary & Key Facts
- Independent Walkthrough Note (Published December 1, 2026): NVIDIA AutoFA: Your Agent Failed—But Why? (YouTube)