AutoFA Turns Model Failures Into Testable Improvement Targets
NVIDIA's open-source AutoFA toolkit combines taxonomy-based classification with bottom-up detector discovery, offering evaluation teams a path from aggregate failure rates to recurring, testable mechanisms.

Useful failure analysis connects recurring, evidence-backed behaviors to specific evaluation, data, training, or harness actions—and verifies the pattern again after intervention.
A benchmark score can show that a model misses 20 percent of a task, but it does not say whether the misses come from perception, reasoning, an evaluation harness, or defective reference answers. Those causes demand different responses. Adding training examples will not repair a broken grader, and changing a prompt may not correct a visual recognition weakness.
NVIDIA's newly released open-source AutoFA toolkit addresses that gap by organizing failed evaluation trajectories into recurring failure modes. Its central promise is practical: turn a collection of errors into hypotheses that can be reviewed, rerun, and connected to a specific intervention. This is less about producing another leaderboard than about making evaluation results useful to the people responsible for data, rewards, models, and harnesses.
Two views of the same failures
AutoFA combines a top-down and a bottom-up analysis. The top-down pass assigns each failed attempt a primary cause from an evolving taxonomy, attributes fault to the model, harness, or task, and grounds the decision in trace evidence. A review pass can confirm, revise, or withdraw that classification. This produces mutually exclusive categories whose shares can be compared across checkpoints or benchmarks.
The bottom-up process searches for patterns that the current taxonomy does not name. It uses an agentic research loop to propose mechanisms and implement reusable Python detectors, which may include model-based classifiers. Candidate detectors are evaluated before inclusion in a report. Unlike a one-time label, executable detectors can be applied again after training or to another evaluation run.
These approaches answer different questions. A taxonomy provides consistent accounting: what fraction of failures belongs to each known category? Discovery asks whether several traces share a more specific mechanism worth tracking. A broad label such as visual observation error may be stable across tests, while a detector for invented spatial structure can point much more directly toward data collection or training changes.
What makes a detector actionable
A recurring pattern is not automatically a useful failure mode. If a definition is vague, reviewers cannot apply it consistently. If it captures only a negligible corner, fixing it may not justify the work. If it merely correlates with failures without describing their mechanism, it can send a team toward the wrong remedy.
AutoFA evaluates detectors using coverage, precision, and adherence. Coverage asks how many failed attempts are caught. Precision asks whether flagged attempts are actually failures, with the reported calculation normalized for benchmark failure rate. Adherence checks whether sampled matches truly exhibit the behavior the detector claims. The last measure is especially important: a detector may select difficult examples accurately while giving the wrong explanation for why they are difficult.
Teams should keep all three dimensions visible instead of collapsing them immediately into one score. A high-precision, low-coverage detector may be valuable as a reliable regression alarm. A broad detector with weaker adherence may be useful for exploration but unsafe as evidence for a training decision. The intended use should determine the acceptable balance.
A workflow from score to intervention
Consider an agent benchmark with 200 failed trajectories. The aggregate score establishes a baseline, but the useful work begins by preserving the complete trace: instructions, tool calls, observations, intermediate reasoning where available, grader output, and termination state. Without this context, analysts may misattribute a harness timeout to the model or treat a faulty reference as a reasoning error.
A sensible process is to classify the earliest unrecovered error, review a sample of each category, and then run discovery within the larger or more costly groups. Suppose discovery finds that agents repeatedly infer an unstated restriction from adjacent code, then delete tests that contradict that assumption. That mechanism suggests targeted evaluation cases and training examples about specification gaps. It also suggests a process-level safeguard: treat deletion of a failing test as an event requiring explicit evidence.
After an intervention, rerun the same detector on a held-out suite and a fresh checkpoint. Track both the detector rate and overall task outcomes. A reduced rate is encouraging only if failures were not displaced into another category and the detector still adheres to its definition. This makes the detector part of a regression program rather than a retrospective story about one run.
Boundaries that still require human judgment
Automated failure analysis inherits the limits of its traces, graders, and judging models. Missing context can make a correct attribution impossible. A model-based classifier may share biases with the system under inspection. Detector code can overfit one benchmark's formatting, and a taxonomy that forces one primary label can simplify failures with multiple contributing causes.
For that reason, abstention and evidence links are features, not inconveniences. Teams should retain representative matches and non-matches for review, test detectors across models and datasets, version taxonomy definitions, and record judge configurations. They should also separate causal language from observed association: identifying a recurring behavior does not prove which training examples or reward signals created it.
The release reports results on visual and software-engineering evaluations, including a refined taxonomy that separates several perception, reasoning, and grader faults. Those examples demonstrate the method, not universal categories for every application. Medical extraction, browser agents, speech systems, and retrieval pipelines will expose different mechanisms and demand domain-specific review.
Evaluation becomes a maintained asset
The larger idea behind AutoFA is that failure analysis can accumulate. Taxonomies can evolve, detectors can be shared across runs, and reports can become working documents for model, data, and infrastructure teams. That turns evaluation from a periodic score-producing exercise into a maintained diagnostic system.
Success should be measured by whether the analysis changes a decision: which data to collect, which reward to adjust, which harness defect to repair, or which benchmark item to correct. Aggregate metrics remain necessary for tracking performance. Failure modes add the missing layer between noticing a regression and knowing what to investigate next.
Source: AutoFA: Towards Targeted AI Improvement ↗. How we write


