Abstract
Large language models show improved downstream task performance when prompted to generate step-by-step reasoning to justify their final answers. These reasoning steps greatly improve model interpretability and verification, but objectively studying their correctness (independent of the final answer) is difficult without reliable methods for automatic evaluation. We simply do not know how often the stated reasoning steps actually support the final end task predictions. In this work, we present ROSCOE, a suite of interpretable, unsupervised automatic scores that improve and extend previous text generation evaluation metrics. To evaluate ROSCOE against baseline metrics, we design a typology of reasoning errors and collect synthetic and human evaluation scores on commonly used reasoning datasets. In contrast with existing metrics, ROSCOE can measure semantic consistency, logicality, informativeness, fluency, and factuality - among other traits - by leveraging properties of step-by-step rationales. We empirically verify the strength of our metrics on five human annotated and six programmatically perturbed diagnostics datasets - covering a diverse set of tasks that require reasoning skills and show that ROSCOE can consistently outperform baseline metrics.
Introduction: The Challenge of "Thinking Step-by-Step"
Large Language Models (LLMs) have demonstrated a remarkable ability to solve complex problems when prompted to generate "Chain-of-Thought" (CoT) reasoning. While these intermediate steps improve performance and offer a window into the model's internal logic, they introduce a significant risk: models often hallucinate correct answers through flawed reasoning. A model might arrive at a correct final result while its intermediate steps are logically incoherent or factually incorrect.
Existing evaluation metrics like ROUGE or BLEU are fundamentally ill-suited for evaluating reasoning because they rely on surface-level word overlap. They lack an understanding of logical flow and consistency. Furthermore, in many real-world applications, a "gold standard" reasoning chain is unavailable for comparison. There is a critical need for automated, reference-free methods to evaluate the quality of the reasoning itself.
The ROSCOE Suite and Error Taxonomy
To address these limitations, we introduce ROSCOE, a suite of 18 fine-grained metrics designed to evaluate reasoning from four key perspectives:
- Semantic Alignment: Measures how well reasoning steps are grounded in the source context to prevent the fabrication of facts.
- Logical Inference: Utilizes Natural Language Inference (NLI) models to verify if subsequent steps logically follow from previous ones and maintain internal consistency.
- Semantic Similarity: Quantifies similarity between steps to detect repetitive loops or thematic drift.
- Language Coherence: Employs model perplexity (via GPT-2) to ensure grammatical soundness and natural flow.
A core contribution of this work is the development of a rigorous taxonomy of reasoning errors. This framework allows for a more granular understanding of where models fail, moving beyond binary "correct/incorrect" labels.
Evaluation Methodology
We evaluated ROSCOE using two distinct data types:
- Diagnostics Datasets (Synthetic): We utilized "gold standard" reasoning chains from datasets such as EntailmentBank, ProofWriter, and MATH. These were programmatically perturbed by shuffling steps, removing critical information, or negating facts to test ROSCOE's ability to detect specific failures.
- Human-Judged Datasets: We collected model-generated reasoning from benchmarks like GSM8K and DROP. Expert human annotators labeled these chains for specific errors, including arithmetic mistakes and common sense failures, providing a benchmark for metric correlation.
Key Results and Performance
ROSCOE consistently outperforms baseline metrics such as ROUGE, BERTScore, and BLEURT in correlating with human judgments. Standard NLP metrics are often blind to logical flow; for instance, swapping two steps in a math problem might leave a ROUGE score nearly perfect while completely invalidating the logic. In contrast, ROSCOE’s logical inference metrics identify such contradictions immediately.
As shown in the experimental results, ROSCOE variants (such as ROSCOE-SA and ROSCOE-SS) achieve significantly higher correlation scores across various datasets compared to traditional metrics. On the DROP dataset, ROSCOE-SS showed a correlation of 0.824, while ROUGE-L lagged at 0.278. Furthermore, ROSCOE demonstrates a clear linear sensitivity to error density, with scores dropping predictably as more perturbations are injected into a reasoning chain.
Conclusion and Future Directions
ROSCOE provides a robust, interpretable, and often reference-free framework for evaluating LLM reasoning. By breaking down evaluation into specific perspectives, developers can diagnose whether a model failure stems from a lack of factual grounding or a breakdown in logical inference.
Future work involves using ROSCOE as a reward signal for Reinforcement Learning from Human Feedback (RLHF). By rewarding models for high ROSCOE scores rather than just correct final answers, we can effectively train LLMs to be more logical and less prone to hallucination.
Summary updated