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.

By 0xScorPionSon

10 min read

NVIDIA AutoFA: How Automated Failure Analysis Diagnoses AI Agent Eval Failures

NVIDIA AutoFA automated failure analysis dual-lens architecture infographic

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,110 failed attempts by Nemotron 3.5 Super VL on four visual benchmarks, AutoFA discovered 31 failure modes graded "Good" compared with 1 for a one-pass coding-agent baseline, while achieving 78–90% judge-verified adherence versus 60–69% for the baseline.
  • Practical caveat: AutoFA is an early research preview (Apache-2.0 for code; CC-BY-4.0 for 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:

  1. Answering what the benchmark "usually wants" (answer_convention_overrides_evidence): On CharXiv, Nemotron 3.5 Super VL correctly 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.
  2. Inventing unstated rules on DeepSWE v1.1: Instructed to support negative-index string assignment (s[-1]), GLM-5.3 correctly read the existing s[-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 K3 invented 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

  1. 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.
  2. 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.
  3. Optional Artifact Readers: Pillow and pypdfium2 are 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.
  4. Shared Local Library Profile: The autofa serve dashboard (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

  1. NVIDIA / Hugging Face Blog (Published November 30, 2026): AutoFA: Towards Targeted AI Improvement
  2. NVIDIA GitHub Repository (Updated December 1, 2026): NVIDIA/AutoFA — Automated failure analysis for models and agent harnesses
  3. Welcome.AI (Published November 30, 2026): AutoFA: Towards Targeted AI Improvement — Summary & Key Facts
  4. Independent Walkthrough Note (Published December 1, 2026): NVIDIA AutoFA: Your Agent Failed—But Why? (YouTube)

More on AI

AI

Mistral Voxtral Transcribe 3: Architecture, 53-Language Benchmarks, and $0.003/min Inference Economics

Mistral AI published its December 1, 2026 technical deep dive into Voxtral Transcribe 3 and Voxtral Transcribe Realtime 3, detailing an end-to-end audio encoder, 12.5 Hz MLP adapter, and text-backbone decoder initialized from Ministral 3B and Mistral Small 4. Across 45 core FLEURS languages, Voxtral Small Transcribe 3 achieves 4.0% forced WER (4.1% auto-detected), while the Mini variant processes up to 60-minute audio at $0.003/min in the deep dive ($0.0035/min on the launch pricing table).

9 min read

AI

DeepSeek V4.1 Flash (1017): Independent Benchmarks, API Pricing & Production Trade-Offs

DeepSeek V4.1 Flash (checkpoint 1017) pairs a 552B Mixture-of-Experts Causal Encoder-Decoder with just 16B active output parameters, streaming at 170 tok/s for $0.46 per Artificial Analysis task. Independent evaluations from November 2026 show where it beats Claude Sonnet 5.5 on cost—and where jailbreak brittleness, factual restraint, and data residency require strict production guardrails.

9 min read

AI

Gemini 4 Argon: Benchmarks, Dec 1 Pricing Doubling & API Trade-Offs

November 30, 2026 is the final day of Gemini 4 Argon's introductory $2/$10 API pricing and its removal date in Google Antigravity. Before rates double to $4/$20 on December 1, here is how Argon's independent BenchLM scores, 78 tok/s speed, and thinking-effort costs stack up against Gemini 4 Neon and Carbon.

9 min read

Tell us what is not working

A thirty-minute call, no deck and no obligation. You will leave with a straight answer about whether this is worth building - including if that answer is no.

Start a project

Direct line

hello@codebumble.net
Dhaka, Bangladesh  :   local timeCalls in English or Bangla