arXiv:2610.19427cs.CLOct 2026

Manuscript Offprint

arXiv:2610.19427

How Do LLMs Understand Legal Philosophy? Diagnosing Legal-Philosophical Reasoning in LLMs

Shuyuan Zheng, Yun-seo Lee, Xing Gao, Jialu Wu, Jiabao Hu, Katrina Qiyao Wang, Xinbo Lin, Qianying Liu, Chuan Xiao, Tao Huang

Abstract

Legal reasoning is a fundamental capability for large language models (LLMs) to complete legal AI tasks such as legal judgment prediction. In legal practice, this reasoning is shaped by legal philosophy: a judge's view of the nature and sources of law guides how legal materials are interpreted and applied, so judges working from the same statutes and precedents can reach different judgments. Existing research has largely overlooked whether LLMs can understand legal philosophy and apply it in legal reasoning, an ability we call legal-philosophical reasoning. To fill this gap, we introduce LePhilBench, a benchmark for evaluating the legal-philosophical reasoning of LLMs that comprises two benchmarking tasks and a dataset. The two tasks evaluate how well LLMs understand legal philosophy and how well they apply it in legal reasoning, respectively. The dataset is manually and meticulously constructed. Its test set contains 220 U.S. Supreme Court opinions. A law professor designed fourteen annotation questions on legal philosophy, and three law-trained annotators with formal training in jurisprudence answered all fourteen questions for every opinion, yielding 9,240 legal-philosophical labels. LePhilBench takes the first step toward exploring legal-philosophical reasoning in LLMs. 1^{1}

1 Introduction

Legal reasoning, the ability to apply legal rules and principles to the facts of a particular case to reach a legal decision, is a central capability target for large language models (LLMs) in the legal domain. It underlies tasks such as legal judgment prediction (Fei et al., 2024), legal fact prediction (Liu et al., 2025), and legal opinion generation (Huang et al., 2023). In each of these tasks, a model must apply abstract legal norms to concrete case facts to reach a legal decision. Whether LLMs can perform this reasoning reliably therefore determines how far their legal decisions can be trusted.

In real-world legal practice, however, legal reasoning is not a mechanical application of rules to facts. It is shaped by legal philosophy. How legal professionals understand the nature of law and the sources of its legitimacy influences how they interpret legal materials and apply them to a case. As a result, judges who work from the same statutes and precedents can reach different judgments because they hold different jurisprudential views, for example on the relative weight of text, purpose, precedent, and moral principle. Existing evaluations and benchmarks of LLMs' legal reasoning have largely overlooked this influence. They mainly assess task correctness and law-to-fact reasoning (Shui et al., 2023; Jiang and Yang, 2023). Some benchmarks cover related abilities, such as interpretive-tool recognition in LegalBench (Guha et al., 2023) and value-based prosecutorial discretion in PDP-Bench (Lu et al., 2026). Even these do not examine whether a model's legal reasoning reflects a jurisprudential position. An unresolved research question therefore remains: can LLMs engage in legal-philosophical reasoning as legal professionals do, i.e., understand legal philosophy and use it to personalize legal reasoning?

To fill this gap, this paper explores how LLMs can perform legal-philosophical reasoning. We construct LePhilBench, a benchmark framework consisting of two tasks (see Figure 1): jurisprudential profiling (JP) and jurisprudence-aware judgment prediction (JAJP). JP asks an LLM to read a human judge's legal opinions and annotate the jurisprudential tendencies they may stand along fourteen dimensions, thereby constructing the judge's jurisprudential profile. JAJP asks an LLM to predict, based on a target judge's jurisprudential profile, how that judge would resolve the disputed legal question in a given case. This framework is inspired by a common practice in litigation strategy. Before arguing a case,

∗^{*}Corresponding author.

1^{1}We will publicly release LePhilBench upon acceptance.

Figure

Stage 2: Jurisprudence-Aware Judgement Prediction

Figure 1: Overview of jurisprudential profiling (JP) and jurisprudence-aware judgment prediction (JAJP): inferring a jurisprudential profile from a judge’s past opinion(s) and using it to predict the judge’s judgment in a target case.

lawyers often read the past opinions of the judge to form an impression of their legal-philosophical tendencies, and then draw on that impression to anticipate how the judge is likely to decide the key legal questions in the case. LePhilBench makes this otherwise tacit impression explicit as a structured jurisprudential profile: JP mirrors the step of forming it, and JAJP mirrors the step of drawing on it.

To drive these two tasks, we construct the LePhilBench dataset. We collect the opinions of the Court and the dissenting opinions from 489 U.S. Supreme Court cases decided over the past two decades, and use them to construct the jurisprudential profiles of eleven target justices. To make these profiles explicit, a law professor specializing in U.S. constitutional law helped us design fourteen dimensions of jurisprudential tendency. Each dimension measures where a judge stands between a pair of competing jurisprudential views, such as Natural Law vs. Legal Positivism. We then select 110 cases as the test set. Three law-trained annotators with formal training in jurisprudence annotate the opinion of the Court and the dissenting opinion in each test case, 220 opinions in total. For each opinion, each annotator provides individual labels for the fourteen tendencies and for the opinion's judgement of the case's key legal question, yielding 110×2×14×3=9,240110 \times 2 \times 14 \times 3 = 9,240 jurisprudential labels.

Our evaluation on LePhilBench shows that frontier LLMs have considerable potential for legal-philosophical reasoning. First, in JP, the agreement between frontier LLMs and law-trained human annotators is close to the agreement among the human annotators themselves. Frontier LLMs therefore recover the jurisprudential tendencies expressed in judicial opinions about as consistently as law-trained human annotators do. This suggests that they can understand legal philosophy as law-trained humans do. Second, in JAJP, frontier LLMs predict how a target judge would resolve a case's key legal question with fairly high accuracy, even though the judge's name is withheld and only their jurisprudential profile is provided. Because the judge's identity is hidden, a correct prediction can be attributed to the reasoning about the jurisprudential tendencies recorded in the profile. This suggests that frontier LLMs have the strong potential to apply legal philosophy as legal professionals do.

In summary, this paper makes three contributions. (1) We propose LePhilBench, a benchmark framework that evaluates the legal-philosophical reasoning of LLMs through two complementary tasks, JP and JAJP. (2) We construct the LePhilBench dataset from 489 U.S. Supreme Court cases, with 9,240 annotations carefully produced by law-trained annotators, whose case answers are verified by a law professor. (3) We conduct extensive evaluations of frontier LLMs on LePhilBench, revealing both their capabilities and their limitations in legal-philosophical reasoning. We hope LePhilBench can serve as a starting point for building legal AI systems that reason not only with legal rules but also with legal philosophy.