HAVE AI NEWS HAVE AI NEWS
tg subscribe
Tools

AutoFA: NVIDIA’s open-source toolkit for targeted AI improvement

AutoFA: NVIDIA’s open-source toolkit for targeted AI improvement

NVIDIA’s AutoFA analyzes model evaluation traces to identify recurring failure modes, separate model errors from benchmark defects, and suggest targeted fixes.

NVIDIA describes AutoFA, an open-source toolkit for analyzing AI evaluation failures beyond aggregate scores. The system examines model traces, identifies recurring mechanisms behind incorrect results, and combines a fixed taxonomy with automatic discovery of previously unnamed failure modes across models and benchmarks.

Why evaluation scores are not enough

A benchmark score shows how often a model fails, but it does not explain the cause. The same metric may reflect a misread image, a shortcut in the evaluation, an incorrect reference answer, or a problem in the evaluation harness.

These causes require different responses. Teams may need to improve training data, change a reward signal, revise the harness, or correct the benchmark itself. Failure taxonomies make analysis more structured, but fixed categories can hide distinct mechanisms and often miss new behaviors as models evolve.

Two examples of recurring failure modes

Following answer conventions instead of the evidence

In CharXiv, a model is asked which line remains above the others in a scientific chart. The trace shows that the model correctly recognizes that no line stays on top, but it later names the yellow line because it assumes the benchmark expects one of the listed answers. The same behavior appears in all three attempts.

AutoFA describes this as replacing missing evidence with a learned benchmark convention, such as assuming that every question must have a valid answer among the labels. The failure mode accounts for 26% of BabyVision failures, 21% of CharXiv failures, and 12% of ChartQA Pro failures.

A targeted intervention could use chart questions whose answers include “none” or “cannot tell,” teaching the model when to abstain. Adding more conventional chart-question data would not necessarily address the underlying behavior.

Inventing a rule that the task did not specify

In a DeepSWE task, GLM-5.3 must allow a scripting language to change one character in a string. The agent correctly observes that s[-1] reads the last character, but assumes that negative positions cannot be used for assignment because it transfers a rule from arrays to the task. It then removes its own test and fails the hidden test covering that case.

The broader failure mode is an agent imposing a stricter rule when the specification is silent, often borrowing it from nearby code or prior knowledge and defending it despite contrary evidence. It was the first or second most common cause of failure for GLM-5.3, Kimi K3, and Qwen 3.8 on DeepSWE: 9 of 35, 10 of 47, and 10 of 48 failures respectively.

Potential remedies include training tasks with deliberate gaps in their specifications, where hidden tests reward consistency with existing code. The post also suggests requiring justification before an agent deletes a failing test and assigning little or no reinforcement-learning reward for doing so.

How AutoFA analyzes evaluation runs

AutoFA uses two complementary approaches:

  • Top-down taxonomy classification. An agentic judge assigns each failed attempt one primary cause from a taxonomy and identifies whether responsibility lies with the model, the harness, or the task and grader. The decision is linked to trace events and grader outputs. The judge can abstain when evidence is insufficient, while a second review pass may confirm, revise, or withdraw the classification.
  • Bottom-up failure discovery. A coding agent studies traces, proposes recurring mechanisms, and turns promising hypotheses into reusable Python detectors, often with an LLM-based classifier. Detectors are tested and refined before being included in the final report.

The taxonomy assigns every failure one label based on the earliest error from which the model does not recover. This makes the categories add up to 100% and supports comparisons across benchmarks. Detectors, in contrast, can analyze both successful and failed attempts and track a particular behavior over successive model checkpoints.

From broad categories to actionable causes

Applying Scale AI’s taxonomy to BabyVision, ChartMuseum, CharXiv, and ChartQA Pro showed that perception issues were the starting point for 55% of failures on average. Task or grader defects accounted for 8%.

Broad categories provide a consistent overview, but they can be too coarse for deciding what to change. On BabyVision, “Observation failure” represented 89% of failures. Bottom-up analysis separated this into mechanisms such as hallucinated layouts or structures, inaccurate quantities and dimensions, and invented objects or attributes.

AutoFA also identified the answer-convention behavior in CharXiv. Instead of treating 58% of failures as one observation category, the analysis pointed to more specific interventions, including training examples that teach the model to answer “none” and examples focused on layout, quantity, and object composition.

AutoFA’s evolving taxonomy

The first version of AutoFA’s taxonomy adds 13 failure modes: five describing what was misread, six dividing reasoning failures into more specific groups, and two covering grader faults. The latter include incorrect reference answers and valid equivalent answers being rejected.

On the same failed attempts, the new taxonomy breaks BabyVision’s 89% broad observation category into misinterpretations of layout or structure at 43%, objects or attributes at 31%, and quantities at 11%. On CharXiv, quantity errors are the leading specific category at 38%. The analysis also attributes 11% of CharXiv failures to incorrect reference answers rather than model mistakes.

AutoFA’s maintainers invite users to propose missing failure modes through the GitHub issue template, including a description and example traces.

How the detectors are evaluated

Each failure-mode detector is measured against the benchmark’s pass/fail result using three criteria:

  • Precision: the share of flagged attempts that failed, rescaled to a 30% failure rate to make benchmarks with different failure rates comparable.
  • Coverage: the proportion of failed attempts flagged by the detector.
  • Adherence: the proportion of flagged attempts that actually show the claimed behavior, checked by an LLM judge on a sample.

In a comparison with a one-pass coding-agent baseline, AutoFA found 31 failure modes rated Good, compared with one for the baseline. Its reviewed matches showed 78–90% adherence, versus 60–69% for the baseline, while precision was similar at 0.75–0.97.

Using the geometric mean of precision, coverage, and adherence, AutoFA led on every individual benchmark tested, ranging from 0.91 versus 0.61 on BabyVision to 0.63 versus 0.59 on ChartQA Pro. In the pooled analysis of 4,110 failed attempts, both methods reached 0.75, but the baseline had higher coverage while AutoFA’s matches adhered more closely to the explanations.

Designed for shared analysis

AutoFA stores detectors as reusable code, allowing teams to continue an analysis from an earlier library or run and check whether a failure mode disappears in a later model checkpoint. Reports can be hosted with autofa serve, published as working documents, and annotated by collaborators.

The toolkit is available at github.com/NVIDIA/AutoFA. The source describes using it with Claude Code or Codex after asking the agent to read AGENTS.md and analyze evaluation runs.

Roadmap

NVIDIA lists several planned directions for AutoFA:

  • Connecting failure modes with training data and reward signals to support targeted interventions.
  • Improving detection of harness-specific problems, including premature termination and information loss during context compaction.
  • Linking failure modes to capabilities involved in browser, web, and other task types.
  • Creating a community workflow for proposing, validating, and integrating new taxonomy categories and detectors.
  • Publishing systematic failure analyses of open models.

AutoFA is intended to complement benchmark scores by explaining why systems fail at a level of detail that can guide the next training, reward, harness, or benchmark change.

OpenAI chief scientist proposes perplexity to measure AI
Models

OpenAI chief scientist proposes perplexity to measure AI

Jakub Pachocki says perplexity could become a shared benchmark for AI progress and help companies set common limits on development.

Perplexity and Intelligence: A Metric for AI Progress
Research

Perplexity and Intelligence: A Metric for AI Progress

OpenAI Chief Scientist Jakub Pachocki proposes using perplexity to compare AI models, track general intelligence and coordinate safety limits across the industry.

Moonshot Unveils Kimi K3.1 Pro: China’s Open Model Overtakes OpenAI Flagships in Global Ranking
Models

Moonshot Unveils Kimi K3.1 Pro: China’s Open Model Overtakes OpenAI Flagships in Global Ranking

Chinese AI lab Moonshot has announced the Kimi K3.1 Pro model, which took fourth place in the global Artificial Analysis benchmark and is preparing for an open release.

Meta and Apple Turn Two Desktop Macs into a Local Supercomputer for an 816-Billion-Parameter AI Model
Models

Meta and Apple Turn Two Desktop Macs into a Local Supercomputer for an 816-Billion-Parameter AI Model

Meta has released Muse Spark Open, an open multimodal model with 816 billion parameters, optimized to run autonomously on two Mac Studio computers using Apple’s MLX stack.

Mistral AI unveils trillion-parameter Large 4 model and promises to open-source its weights
Models

Mistral AI unveils trillion-parameter Large 4 model and promises to open-source its weights

European developer Mistral AI has launched a preview of the multimodal Mistral Large 4 model. The neural network, with one trillion parameters, is showing record results in cybersecurity tasks, while its open weights are set to be released by the end of October.

Ternary Bonsai 2.5 27B: 5.9 GB for Agentic Tasks
Models

Ternary Bonsai 2.5 27B: 5.9 GB for Agentic Tasks

PrismML has released Ternary Bonsai 2.5 27B, a compact version of Qwen3.8-27B for tool use, terminal work, and code repair.