CourtReasoner: Can LLM Agents Reason Like Judges?

Simeng Han, Yoshiki Takashima, Shannon Zejiang Shen, Chen Liu, Yixin Liu, Roque K. Thuo, Sonia Knowlton, Ruzica Piskac, Scott J Shapiro, Arman CohanSoLaR @ COLM 2025

Abstract

Large Language Models (LLMs) are increasingly applied in the legal domain for tasks such as summarizing legal texts and providing basic legal advice. Yet, their capacity to draft full judicial analyses in U.S. court opinions—generating entire judicial reasoning sections—remains under-explored. Given the significance of law to society, measuring LLM legal reasoning capabilities is a pressing task. We propose CourtReasoner, a novel expert-annotated judicial reasoning benchmark for evaluating LLM agents' capabilities in complex legal reasoning. Sourcing U.S. court opinions, we construct benchmarks that measure the LLMs' ability to construct goal-oriented legal reasoning, specifically testing the ability to argue both ways in a legal dispute. Our results show that more than 60% of frontier model outputs contain invalid arguments and more than 53% produce irrelevant citations. We also introduce a meta-evaluation benchmark to provide insights into LLMs as evaluators of legal reasoning.

Introduction

While LLMs have famously "passed the Bar Exam," performing well on multiple-choice questions is a far cry from the actual work of a judge. Legal reasoning is not merely about selecting a correct answer; it requires constructing a persuasive narrative grounded in precedent, extracting specific legal constraints from statutes, and applying them to nuanced facts.

Existing benchmarks often rely on binary accuracy, failing to capture the complexity of cases where both sides have legally defensible positions. Furthermore, judicial drafting requires "ultra-long" context capabilities—processing tens of thousands of tokens of case law to produce thousands of tokens of analysis. CourtReasoner addresses this gap by moving beyond simple QA to evaluate the generative, goal-oriented reasoning required to write a judicial opinion.

Methodology

The researchers developed a rigorous pipeline to transform real-world U.S. court opinions into a testing ground for LLM agents, focusing on three distinct phases: Sample Preparation, LLM Inference, and Evaluation.

The CourtReasoner evaluation pipeline, spanning sample preparation, adversarial inference, and expert meta-evaluation.

Adversarial Stress-Testing

To ensure models were not simply "parroting" training data, the study introduced three adversarial settings:

  1. Reverse Holding: Forcing the model to argue for the side that actually lost the case.
  2. Fact Deletion: Systematically removing the "most important," "second most important," or "least important" facts to observe if the model could adapt its reasoning chain.
  3. Citation Restriction: Prohibiting the model from citing the source case itself.

Outputs were scored by U.S. lawyers and paralegals across three dimensions: Citation Relevance (correct application of precedent), Constraint Extraction (identifying the "rules" of a cited case), and Argument Validity (logical flow).

Key Insights and Results

The benchmark consists of 292 expert-annotated examples derived from 50 "seed" cases across 12 legal areas and 28 jurisdictions. Unlike previous datasets, CourtReasoner requires long-form generation, with some model outputs exceeding 5,000 words.

Comparison of LLM output lengths across different models, highlighting the scale of generated judicial reasoning.

The "Opposite Side" Struggle and Verbosity Bias

Models perform significantly better when supporting the original side of a case. When asked to argue the opposite (legally defensible) side, performance drops sharply, suggesting models may over-rely on memorized outcomes rather than first-principles reasoning.

Furthermore, a "verbosity bias" was observed: Gemini Deep Research produced the longest explanations but scored lower on citation relevance than the more concise GPT-4o. This suggests models may generate superficially rich but legally imprecise content.

Performance Metrics

  • High Error Rates: Over 60% of frontier model outputs contained at least one invalid argument.
  • Hallucination: More than 53% of outputs included irrelevant or hallucinated citations that did not support the legal point.
  • Brittleness: Removing a single "pivotal" fact often caused the models' logical chains to collapse, highlighting a lack of robustness compared to human legal experts.

Conclusion

CourtReasoner reveals that even frontier LLMs are surprisingly brittle in the face of complex judicial drafting. While GPT-4o Deep Research emerged as the strongest performer, the high frequency of invalid arguments and hallucinations suggests that LLMs are not yet ready for autonomous judicial reasoning. Future work will expand the benchmark's jurisdictional scope and develop more robust, model-aware scoring mechanisms for ultra-long legal documents.

Summary updated

BibTeX
@inproceedings{han2025courtreasoner,
  author = {Simeng Han and Yoshiki Takashima and Shannon Zejiang Shen and Chen Liu and Yixin Liu and Roque K. Thuo and Sonia Knowlton and Ruzica Piskac and Scott J Shapiro and Arman Cohan},
  title = {{CourtReasoner: Can LLM Agents Reason Like Judges?}},
  booktitle = {SoLaR @ COLM},
  year = {2025},
  url = {https://openreview.net/forum?id=wAV9X7DkAK},
}

Loading related content...

Figure