Language Model Error Detection

Overview

Language model error detection studies how to recognize mistakes such as hallucinated facts, faulty reasoning, incorrect code or tool calls, and errors in specialized domains. Methods use output signals such as token probabilities, entropy, and agreement across samples or models, as well as internal activations, probes, retrieval, execution tests, and formal verifiers. Benchmarks span question answering, mathematical reasoning, coding, clinical and legal tasks, and multilingual settings, but results can be distorted by benchmark artifacts or fail to transfer across models and domains. A central challenge is that detecting an error does not ensure that a system can correct it: confident mistakes may be hard to observe, while interventions can introduce new errors.

Latest papers

91 papers21 papers in the last four weeks, up 110% on the four weeks before. 0.1% of all new papers.

Nov 26, 2025

FLAWS: A Benchmark for Error Identification and Localization in Scientific Papers

The identification and localization of errors is a core task in peer review, yet the exponential growth of scientific output has made it increasingly difficult for human reviewers to reliably detect errors given the limited pool of experts. Recent advances in Large Language Models (LLMs) have sparked interest in their potential to support such evaluation tasks, from academic peer review to automated scientific assessment. However, despite the growing use of LLMs in review systems, their capabilities to pinpoint errors remain underexplored. In this work, we introduce Fault Localization Across Writing in Science (FLAWS), an automated benchmark consisting of 713 paper-error pairs designed to evaluate how effectively LLMs detect errors that undermine key claims in research papers. We construct the benchmark by systematically inserting claim-invalidating errors into peer-reviewed papers using LLMs, paired with an automated evaluation metric that measures whether models can identify and localize these errors. Developing such a benchmark presents unique challenges that we overcome: ensuring that the inserted errors are well-defined, challenging, and relevant to the content of the paper, avoiding artifacts that would make identification trivial, and designing a scalable, automated evaluation metric. On the resulting benchmark, we evaluate five frontier LLMs: Claude Sonnet 4.5, DeepSeek Reasoner v3.1, Gemini 2.5 Pro, GPT 5, and Grok 4. Among these, GPT 5 is the top-performing model, achieving 39.1% identification accuracy when k=10, where k is the number of top-ranked error text candidates generated by the LLM.