Digital Socrates: Evaluating LLMs through explanation critiques

Yuling Gu, Oyvind Tafjord, Peter Clark · OpenReview

Abstract

While LLMs can provide reasoned explanations along with their answers, the nature and quality of those explanations are still poorly understood. In response, our goal is to define a detailed way of characterizing the explanation capabilities of modern models and to create a nuanced, interpretable explanation evaluation tool that can generate such characterizations automatically, without relying on expensive API calls or human annotations. Our approach is to (a) define the new task of explanation critiquing - identifying and categorizing any main flaw in an explanation and providing suggestions to address the flaw, (b) create a sizeable, human-verified dataset for this task, and (c) train an open-source, automatic critiquing model (called Digital Socrates) using this data. Through quantitative and qualitative analysis, we demonstrate how Digital Socrates is useful for revealing insights about student models by examining their reasoning chains, and how it can provide high-quality, nuanced, automatic evaluation of those model explanations for the first time. Digital Socrates thus fills an important gap in evaluation tools for understanding and improving the explanation behavior of models.

Introduction

Modern Large Language Models (LLMs) often achieve high accuracy on benchmarks, yet the reasoning processes leading to their answers remain opaque. A model might select the correct multiple-choice option through "unfaithful reasoning"—arriving at the right conclusion via flawed logic or factual errors. Traditional metrics like BLEU or ROUGE fail to capture logical soundness, and human evaluation is prohibitively expensive at scale. While proprietary models like GPT-4 are often used as evaluators, they remain closed-source and costly.

To address this, researchers from the Allen Institute for AI (AI2) introduced Digital Socrates, a framework for automatically critiquing LLM reasoning. By moving beyond binary correctness, Digital Socrates provides structured feedback that identifies specific flaws and offers suggestions for improvement.

The Explanation Critiquing Task

We formalize explanation critiquing as the generation of a 5-tuple:

  1. Main Flaw: A concise statement of the primary error.
  2. Dimension: Categorization into one of eight types (e.g., incorrect information, misunderstanding, inconsistent answer).
  3. General Suggestion: High-level guidance for future reasoning.
  4. Specific Suggestion: Actionable advice to fix the current explanation.
  5. Explanation Score: A quality rating from 0 to 5.
Figure 1: An example of the Digital Socrates framework critiquing a student model's explanation. The student model incorrectly identifies limestone as short-term carbon storage; Digital Socrates identifies the "incorrect information" flaw and provides corrective suggestions.

Data and Model Training

The foundation of this work is the DS Critique Bank, containing 26,478 critiques across 4,000+ questions from the ARC (Science) and RAINBOW (Commonsense) benchmarks. Explanations were sourced from models ranging from Llama-2-7B to GPT-4.

We trained two open-source models, DS-7B and DS-13B, by fine-tuning Llama-2. We employed a curriculum learning strategy, starting with large-scale "silver" critiques (GPT-4 generated) and transitioning to high-quality, human-verified data.

Insights: Model Fingerprints and the Accuracy Gap

Our analysis reveals that accuracy is a "leaky" metric. Approximately 13% of correct answers are supported by flawed explanations. Furthermore, different models exhibit distinct "fingerprints" in their failure modes.

Figure 4: Comparison of student models (GPT-3.5 and Llama2-70B) showing accuracy (Acc), explanation scores (Esc), and the distribution of flaw dimensions for both correct (acc=1) and incorrect (acc=0) answers.

As shown in Figure 4, Llama2-70B is more susceptible to "incorrect information" (hallucinations), whereas GPT-3.5 more frequently produces "inconsistent answers" where the reasoning does not logically support the final choice. Notably, our fine-tuned DS-13B model achieves human alignment comparable to GPT-4, demonstrating that critiquing capabilities can be effectively distilled into smaller, specialized models.

Conclusion

Digital Socrates offers a scalable, interpretable, and open-source solution for evaluating LLM reasoning. By identifying the "why" behind model failures, it paves the way for more robust and trustworthy AI systems. Future work will explore applying these critiques in a feedback loop to directly improve student model performance.

Summary updated

BibTeX
@inproceedings{gu2024digital,
  author = {Yuling Gu and Oyvind Tafjord and Peter Clark},
  title = {{Digital Socrates: Evaluating LLMs through explanation critiques}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=CywQ5iwcdL},
}
Figure