AutoFA: Towards Targeted AI Improvement
NVIDIA introduces AutoFA, an open-source toolkit for analyzing AI model failures beyond aggregate scores, revealing specific error patterns and their causes to guide targeted improvements.
Aggregate evaluation scores obscure the reasons behind AI model failures, treating all errors as identical whether they stem from misinterpreted inputs, flawed benchmarks, or incorrect assumptions. This lack of detail makes it difficult to determine the appropriate corrective action, such as adjusting training data, refining evaluation criteria, or modifying the model itself. AutoFA addresses this gap by moving beyond static metrics to systematically identify recurring failure patterns across different benchmarks and models.
The toolkit employs two complementary approaches: a top-down taxonomy that classifies failures into predefined categories, such as observation errors or benchmark defects, and a bottom-up discovery method that uncovers novel failure modes specific to certain models or tasks. For example, on the CharXiv benchmark, AutoFA identified a failure mode where models incorrectly assume chart questions always have a correct answer among the provided options, even when no such answer exists, explaining 21% of failures on that benchmark.
In coding agent evaluations, AutoFA detected a recurring issue where agents impose stricter rules not present in the task specifications, such as forbidding negative array indices for string operations, leading to self-inflicted failures. This failure mode accounted for 9 of 35 failures for one model and was also observed in other agents, highlighting a systematic tendency to overgeneralize rules from unrelated contexts.
AutoFA’s bottom-up discovery process operationalizes identified failure modes as executable detectors, enabling consistent tracking of specific errors over time and across model iterations. These detectors evaluate coverage, precision, and adherence to the hypothesized failure mechanism, providing actionable insights for targeted improvements rather than relying on broad, aggregated error metrics.