TL;DR
Large Language Models (LLMs) are surprisingly good at guessing who wins a court case, hitting nearly 95% accuracy on human rights rulings. However, this paper reveals a massive blind spot: while LLMs frequently reach the right verdict, they do so for the wrong reasons, failing to connect specific case facts to the legal rules that actually matter. By introducing a novel benchmark that peers inside the legal "black box," the authors show why outcome accuracy alone is a dangerous metric as AI creeps into real-world courtrooms.
What Problem Does This Paper Address?
Imagine a shopper puts an expensive iPhone in his pocket, places cheap batteries in his cart, and gets stopped by security just before the checkout belt. Is it theft? To decide, a judge doesn't just go on vibes; they perform a legal syllogism—mapping messy, real-world facts to the strict conditions ("elements") of a legal rule, like proving "intent to unlawfully appropriate."
Historically, legal AI research focused on judgment prediction: feed a model the facts, and see if it predicts the final verdict. Recent work has nudged LLMs through step-by-step legal logic, yet nobody had tested the hermeneutical core of lawyering: selectively picking out which atomic facts from a sprawling narrative justify which specific elements of a law.
Building a test for this is tricky because court rulings aren't pure math. Judges write for multiple audiences—consoling losing parties, signaling to the public—meaning rulings are packed with contextual fluff alongside load-bearing legal arguments. The authors needed a way to separate the rhetorical overlay from the indispensable facts.
Methods
To extract clean ground-truth reasoning from real judgments, the authors built a five-stage, multi-turn LLM pipeline (powered by Claude Sonnet 4.6) that exploits how the European Court of Human Rights (ECtHR) splits its rulings into a "reporting" section (just the facts) and an "evaluation" section (the legal analysis).
What’s novel here is their backward-modeling approach. Simply matching facts in the reporting section to the evaluation section over-maps contextual fluff. Instead, the pipeline:
- Breaks the reporting section into standalone "atomic facts."
- Reads the evaluation section to isolate the Court's yes/no conclusion on six canonical legal elements (e.g., Scope, Interference, Necessity).
- Works backward from each conclusion to extract the exact textual evidence ("factual groundings") the Court invoked.
- Maps those groundings back to the atomic facts at three nested levels of strictness: List 1 (Relevant), List 2 (Essential to a specific element), and List 3 (Decisive to the overall case).
Three human legal experts validated 20 cases from this pipeline, finding over 90% of the machine-generated annotations acceptable. The authors then evaluated 10 open- and closed-weight LLMs across three setups requiring increasing amounts of explicit intermediate reasoning.
Datasets
The paper introduces LegalReasoningBench, the first benchmark designed to test fact-to-element legal mapping.
- Primary Dataset: Built from 375 ECtHR judgments (filtered from 1,161 raw cases on HUDOC) concerning Article 11 (freedom of assembly). Cases average 58.75 atomic facts, funneling down to 14.10 essential facts and 6.21 decisive facts.
- Transfer Dataset: A preliminary extension of 25 ECtHR cases on Article 10 (freedom of expression), averaging 152.52 atomic facts per case, demonstrating that the pipeline easily adapts to other Civil Law-style rules.
Key Insights and Ideas
- Right verdict, wrong reasons: Models look brilliant when judged solely on outcomes, and decent when asked whether an abstract legal element applies. Yet they stumble badly when asked to point to the specific facts justifying each element. Standard benchmarks completely miss this flaw.
- Forcing "step-by-step" reasoning doesn't reliably help: Asking models to explicitly map facts and resolve intermediate legal elements before predicting a violation actually degraded or stalled final verdict performance for closed-weight frontier models, and lowered element-level accuracy across all 10 models.
- Attribution is harder than spotting the smoking gun: Nine out of ten models scored worse on List 2 (tying essential facts to specific legal rules) than on List 3 (finding the decisive facts for the whole case). Models might spot an important fact, yet file it under the wrong legal concept.
- High accuracy masks class-imbalance blindness: Because 96.3% of the benchmark cases resulted in a human rights violation, models coast to ~95% accuracy while failing miserably at spotting rare "no violation" minority cases.
Key Results
Evaluating 3 frontier models (Claude Sonnet 4.6, GPT-5.4, Gemini 3 Flash) and 7 open-weight models (GPT-OSS, Qwen 3.5, and Gemma 4 families) revealed a steep competence drop-off as granularity increased:
- Verdict vs. Fact Mapping: Under full reasoning, frontier models predicted the final violation with 93.9%–94.9% accuracy (macro-F1 of 48.4%–63.5%). They achieved high accuracy ($\ge 0.75$) on element conclusions in 50%–81% of cases, yet crossed that same $\ge 0.75$ F1 threshold on essential fact-mapping (List 2) in only 31%–45% of cases. Overall List 2 F1 topped out at 49.7% (Gemma 4 31B) and 48.8% (GPT-5.4).
- Different skills, different leaders: Gemini 3 Flash beat Gemma 4 31B on violation prediction (63.5% vs. 59.2% macro-F1), yet Gemma 4 31B outperformed Gemini on essential and decisive fact mapping (reaching 67.1% F1 on List 3 vs. Gemini's 57.6%).
- Pipeline Robustness: Rebuilding the benchmark using Gemini 3 Flash instead of Claude yielded nearly identical downstream model rankings (Spearman's $\rho$: 0.88–1.00), proving the findings aren't an artifact of self-preference. Alternative setups—like extended thinking and 5-shot prompting—still failed to push any model past 51.4% F1 on essential facts.
Limitations and Future Work
- Irreducible rhetorical noise: Because human judges weave persuasive storytelling into legal rulings, perfect machine replication of their fact selection is unrealistic. The benchmark is best used to evaluate models across a whole corpus rather than grading single cases.
- Stable rules only: The pipeline relies on settled legal frameworks; it would struggle in contested areas of law where the doctrinal elements themselves are in flux.
- Data contamination: Public ECtHR rulings likely sit inside the models' training data—though their poor fact-mapping scores suggest memorization isn't saving them.
For future work, the authors suggest testing synthetic or mock cases to rule out memorization, expanding to cases where models must choose which competing law applies, and adapting the pipeline to national Civil Law codes or Common Law Restatements. Ultimately, as courts begin adopting AI, this work serves as a vital reminder: legal doctrine exists to constrain power and ensure transparency, and we shouldn't trade sound reasoning for a lucky guess.
Summary updated