How Do LLMs Understand Legal Philosophy? Diagnosing Legal-Philosophical Reasoning in LLMs
Organizations: The University of Osaka · UC Davis · UC Berkeley · Peking University · University of Wisconsin–Madison · Shanghai Jiao Tong University · NII LLMC · City University of Hong Kong
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.
Figures & tables
| Information | Description |
|---|---|
| Case record | |
| Date (Oyez) | Date the Court decided the case |
| Case facts (Oyez) | Summary of the facts of the case |
| Key legal question (Oyez & us) | Binary question at the center of the dispute |
| Opinion record | |
| Type (Justia) | Court Opinion or Dissent |
| Statistic | Court | Dissent | Overall |
|---|---|---|---|
| Full set | |||
| Cases | – | – | 489 |
| Opinions | 489 | 489 | 978 |
| Authors | 15 | 15 | 15 |
| Test set | |||
| Cases | – | – | 110 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | OpenRouter Endpoint | Model size | Tokens (Sum) |
|---|---|---|---|
| GPT-5.6-Sol ( OpenAI, 2026 ) | openai/gpt-5.6-sol | unknown | 83M |
| GPT-5.6-Terra ( OpenAI, 2026 ) | openai/gpt-5.6-terra | unknown | 85.5M |
| GPT-5.6-Luna ( OpenAI, 2026 ) | openai/gpt-5.6-luna | unknown | 89.4M |
| Claude Opus 5 ( Anthropic, 2026a ) | anthropic/claude-opus-5 | unknown | 138M |
| Claude Sonnet 5 ( Anthropic, 2026b ) | anthropic/claude-sonnet-5 | unknown | 136M |
| Qwen3.7-Max ( Qwen Team, 2026 ) | qwen/qwen3.7-max | unknown | 145M |