C³: Towards Automating LLM Error Pattern Characterization
Published in EACL 2027 (Findings), 2026
Large language model (LLM) evaluation heavily relies on aggregate metrics like accuracy that reveal little about why models fail. When performance falls short, developers often manually inspect errors, which can be slow, biased, and incomplete, leading to intuition-based fixes that may not target the most critical failure modes. We propose Error Pattern Characterization (EPC), a new task in the LLM development process that automatically identifies failure modes from error cases and describes them in natural language. To operationalize EPC, we introduce the Critique-Cluster-Characterize (C³) pipeline that characterizes model errors into an error tree with multiple levels of granularity. Across reasoning and agentic tasks, we show that C³ produces interpretable error patterns that enable targeted improvements at both test time through automatic prompt optimization and train time through synthesizing fine-tuning data. Moreover, C³ can reveal how error patterns evolve across model scales and versions, providing insights beyond aggregate scores. By automating error analysis that previously required extensive manual effort, C³ enables more explainable evaluation and evidence-driven model improvement.