Do LLMs Truly Understand When a Precedent Is Overruled?

Li Zhang, Jaromír Savelka, Kevin D. AshleyarXiv 2025 · DOI

Introduction

As Large Language Models (LLMs) evolve to support context windows spanning millions of tokens, the metrics used to evaluate them must also evolve. While synthetic benchmarks like "needle-in-a-haystack" tests measure basic retrieval, they fail to capture the nuance of complex legal reasoning. This study investigates whether state-of-the-art LLMs can navigate the foundational common-law process of overruling relationships, where a later court decision nullifies a previous one. This task requires models to integrate complex arguments distributed across lengthy, often archaic, legal opinions.

Methodology

The researchers developed a three-tier framework to evaluate model comprehension:

  1. Task 1 (Open-Ended Identification): Models identify which case(s) were overruled given the full text of a later case.
  2. Task 2 (Closed-Ended Verification): A prompt asks if Case A (later) overruled Case B (earlier).
  3. Task 3 (Reversed Verification): A control prompt asks if an earlier case overruled a later one. Since this is chronologically impossible, the correct answer is always "false."

To ensure accuracy in Task 1, GPT-4o served as an automated judge, achieving 98% consistency with human legal experts.

Dataset Characteristics

The study utilizes a curated dataset of 236 U.S. Supreme Court case pairs from 1789 to 2025. These cases include majority, concurring, and dissenting opinions, providing a realistic representation of a legal professional's workload. The documents vary significantly in length, presenting a substantial long-context challenge.

Distribution of word counts across the 236 Supreme Court case pairs, highlighting the extreme range of document lengths.

Results and Analysis

Performance varied significantly across the tested models, including Qwen3, Gemini-Flash-Lite, Gemini-Flash, Gemini-Pro, and GPT-5. While most models demonstrated a basic grasp of temporal logic in isolation, their ability to apply that logic within long-form documents was inconsistent.

Performance of various LLMs across the three evaluation tasks, showing accuracy percentages and standard deviations.

Key Findings

  • The Reasoning Gap: Gemini-Pro and GPT-5 emerged as leaders in Task 1, with accuracies of 73.31% and 71.19%, respectively. In contrast, "Flash" and "Lite" models struggled, often falling below 35% accuracy, suggesting that context capacity does not inherently translate to reasoning depth.
  • Era Sensitivity: Models showed a startling inability to process historical cases (1810–1881). Qwen3 and Gemini-Flash-Lite recorded 0% accuracy on these older precedents, likely due to the archaic legal terminology and structures of the 19th century.
  • Heuristic Reliance: In Task 3, models achieved nearly 100% accuracy, proving they understand chronological rules. However, the same models occasionally failed these rules during Task 1 when processing long documents. This indicates that high cognitive load causes models to revert to shallow pattern matching rather than maintaining logical consistency.
  • Uncertainty Handling: Models exhibited different "personalities" regarding confidence. Gemini-Pro frequently opted for "unknown" when uncertain, whereas GPT-5 tended toward overconfidence, rarely abstaining but frequently producing false negatives.

Conclusion

The findings suggest that while LLMs are becoming more capable of "reading" long documents, their "understanding" of complex legal relationships remains fragile. The struggle with historical legal texts points to a need for specialized pre-training on archaic terminology. Furthermore, the performance gap between full-sized and distilled models highlights that scaling context windows is only half the battle; the industry must continue to focus on the reasoning architectures required to process that information effectively. Future work may explore Retrieval-Augmented Generation (RAG) or agentic workflows to mitigate the cognitive load issues identified in this study.

Summary updated

BibTeX
@misc{zhang2025do,
  author = {Li Zhang and Jaromír Savelka and Kevin D. Ashley},
  title = {{Do LLMs Truly Understand When a Precedent Is Overruled?}},
  year = {2025},
  eprint = {2510.20941},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.20941},
}
Figure