Abstract
While Large Language Models (LLMs) demonstrate impressive performance on legal benchmarks, their internal reasoning processes often remain opaque and potentially flawed. This paper investigates the "illusion of competence" in legal AI, where models frequently arrive at correct conclusions through invalid logical steps. We introduce a fine-grained error taxonomy and an automated evaluation framework to audit Chain-of-Thought (CoT) reasoning. Using the Civ. Pro. Dataset, we demonstrate that even state-of-the-art models like GPT-4o struggle with "Right Conclusion from False Premises," highlighting a critical gap between superficial accuracy and genuine legal correctness.
1. Introduction
In the legal profession, the conclusion of a case is only as valid as the reasoning used to reach it. A judge’s verdict must be supported by a rigorous application of law to facts; a correct outcome derived from a misinterpretation of a statute or a hallucinated precedent is legally indefensible. As Large Language Models (LLMs) are increasingly integrated into legal workflows—from document review to drafting—evaluating their performance based solely on end-to-end accuracy is insufficient.
Current benchmarks often rely on multiple-choice questions (MCQs) where a model is rewarded for selecting the correct label. However, this "black-box" evaluation fails to capture instances where a model succeeds by chance or through flawed logic. This study addresses this transparency gap by dissecting the intermediate reasoning steps of LLMs, revealing that high accuracy scores often mask significant logical failures.
2. Methodology
To systematically audit legal reasoning, we developed a multi-stage evaluation pipeline centered on a new error taxonomy and automated metrics.
2.1 Error Taxonomy
We categorized reasoning errors into two primary levels:
- Premise-level Errors: These occur during the intermediate steps of a reasoning chain. They include misinterpretations of legal rules, the inclusion of irrelevant premises, and factual hallucinations.
- Conclusion-level Errors: These describe the relationship between the premises and the final answer. We specifically distinguish between "Wrong Conclusion from False Premises" and the more deceptive "Right Conclusion from False Premises" (RCFP).
2.2 Metrics for Reasoning Quality
We propose two metrics to move beyond simple accuracy:
- Soundness Score: The ratio of error-free premises within a reasoning chain. This measures the internal consistency of the model's logic.
- Correctness Score: A binary metric assigned only if the entire reasoning chain is sound and the final answer is correct. This is a much stricter and more meaningful bar for legal reliability.
2.3 Automated Evaluation Framework
Manual auditing of reasoning chains is labor-intensive and difficult to scale. We developed an automated "meta-evaluator" using GPT-4o. This framework employs a multi-call system, including a dedicated fact-verification loop, to identify specific errors in the reasoning chains of other models. Our evaluation shows this auto-evaluator achieves an 87% recall compared to human experts.
3. The Civ. Pro. Dataset
Our analysis utilizes the Civ. Pro. Dataset, derived from The Glannon Guide to Civil Procedure. This dataset consists of 175 complex MCQs focused on U.S. Civil Procedure. Unlike standard legal datasets, it includes:
- Complex Rules: Questions involve intricate legal tests, such as determining "diversity jurisdiction" or "domicile."
- Expert Explanations: Each question is paired with a detailed, expert-written explanation that serves as the ground truth for the reasoning steps.
4. Key Insights and Results
Our experiments across various models, including GPT-4o, Mistral-7B, and Llama-3-8B, yielded several critical insights into the state of legal AI.
4.1 The Illusion of Competence
There is a staggering disparity between accuracy and correctness. For example, Llama-3-8B achieved an accuracy of approximately 45%, yet its Correctness score was a mere 14%. This suggests that over two-thirds of its "correct" answers were reached through faulty logic. Even GPT-4o, the top performer, showed a gap, with a Soundness score of 0.784 and a Correctness score of 0.445.
4.2 Regurgitation vs. Inference
Models generally maintain high soundness when restating provided legal context or definitions. However, error rates spike significantly when the model is required to perform "decision-making" inferences—applying a rule to a specific set of facts. The most common premise-level error was "Misinterpretation," highlighting the difficulty LLMs face with the conditional "if-then" logic inherent in legal statutes.
4.3 Impact of Error-Aware Prompting
We tested whether providing models with a "Knowledge Base" of common errors could improve performance. While techniques like Self-Discovery and error-aware prompting marginally increased accuracy (up to 4%), they did not fundamentally resolve the underlying reasoning flaws.
5. Conclusion and Future Work
The findings suggest that while LLMs are becoming more capable of mimicking legal language, they lack a robust, reliable mechanism for legal deduction. The prevalence of "Right Conclusion from False Premises" poses a significant risk for real-world applications where the reasoning process is subject to scrutiny.
Future research should focus on:
- Dynamic Environments: Moving beyond static textbook questions to real-world legal scenarios with evolving precedents.
- Agentic Frameworks: Developing systems that can iteratively verify their own logic against authoritative legal databases rather than relying solely on internal weights.
- Cross-Jurisdictional Analysis: Expanding the taxonomy and evaluation to different legal systems, such as Civil Law jurisdictions.
By shifting the focus from "what" the model decides to "how" it decides, we can build more transparent and trustworthy AI systems for the legal domain.
Summary updated