Can an LLM Reason Like a Lawyer? Benchmarking the ability of LLMs to map the facts of a case to the elements of the applicable legal rule
Shounak Paul, Seungeon Lee, Christoph Engel, Krishna Gummadi
NeurIPS page · OpenReview · Open on the map
Category: LLM Agents, Evals & Benchmarks › Benchmark Evaluation of Language Model Reasoning · Type: benchmark or dataset · Keywords: legal reasoning benchmark, LLM evaluation, fact-to-rule mapping, European Court of Human Rights, civil law reasoning
Areas: LLM Reasoning › Domain-Specific Reasoning › Medical Reasoning; Evaluation & Benchmarks › Model Capability Diagnostics › Language Model Benchmarks; Evaluation Methodology & Auditing › Interpretability and Explanation Quality › Model reliability evaluation; Benchmarks for LLMs & Agents › Cross-Domain Agent Evaluation › Language Model Benchmarks
Summary
We introduce the first benchmark for evaluating legal reasoning that measures how well LLMs map case facts to legal rule elements, revealing that models often reach correct decisions for the wrong reasons.
Explained to a 5-year-old
We made a game to test if computers can think like lawyers. The game uses stories about court cases and asks the computer to match facts to rules. We found that computers often get the answer right but for the wrong reason. This shows that just getting the answer is not enough. The game is free for others to use.
Explained to a 5-year-old, longer
We wanted to see if big computer programs could think like lawyers. Lawyers look at a story about a case and see which parts of the law apply. We made a collection of real court decisions about freedom of assembly. We took the facts from those decisions and asked computers to match each fact to the right part of the law. We then checked if the computers gave the right matches. The computers were okay at saying whether the law was broken, but they were not so good at linking specific facts to the law. This tells us that computers need to learn more about reasoning, not just guessing. The new test we built can be used for other laws too. It helps researchers improve AI that works with legal rules. It also helps lawyers understand where AI might make mistakes. The test is free for anyone to download and try. It could be used in schools to teach about law and computers. Overall, the project shows that evaluating AI is important, and we need tools that check not just answers but how they are reached.
For a technical reader
The paper introduces a benchmark that evaluates whether large language models correctly map case facts to legal rule elements, not just whether they predict outcomes. It uses 375 European Court of Human Rights judgments on freedom of assembly, extracting facts and doctrinal elements for evaluation. The authors test ten off-the-shelf LLMs and find that while the models achieve reasonable accuracy on final predictions, they struggle significantly with the fact-to-rule mapping step. This gap is hidden by conventional metrics that only look at final decisions. The released benchmark, dataset, and evaluation framework are openly available for further research.
Problem
Existing legal judgment prediction models are evaluated only on final predictions, ignoring whether they correctly reason about which facts support a legal rule, making it hard to assess true legal reasoning ability.
Method
We construct a dataset of 375 ECtHR judgments, extract facts and doctrinal elements, and evaluate LLMs on attributing facts to rule elements using a pipeline validated by legal experts.
Results
Models achieve reasonable accuracy on predicting violations and identifying critical doctrinal elements, but are substantially weaker at mapping specific facts to those elements, leading to correct decisions for incorrect reasons.
Contributions
We release the first benchmark for legal reasoning that evaluates fact-to-rule mapping, a dataset of 375 ECtHR judgments, and an evaluation framework adaptable to other civil law rules.
Practical relevance
Provides a reusable benchmark and evaluation framework for assessing legal reasoning in AI systems, enabling broader adoption of rigorous legal AI assessment.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction