Introduction
In high-stakes domains like law, the validity of a conclusion depends entirely on the logical path taken to reach it. While Large Language Models (LLMs) have demonstrated proficiency in Legal Judgment Prediction (LJP), traditional evaluation benchmarks often treat the task as a simple classification problem. This approach fails to capture the hierarchical nature of legal reasoning, where a judge systematically decomposes a case into specific sub-issues—such as determining the existence of a contract or the external nature of an accident—before arriving at a final verdict.
Existing evaluation methods, such as LLM-as-a-judge using Likert scales, often lack the domain-specific nuance required to identify subtle logical fallacies. To address this, we introduce the LEGIT (LEGal Issue Trees) framework, which utilizes hierarchical issue trees as fine-grained rubrics to evaluate the "reasoning traces" (Chain-of-Thought) of LLMs against actual court logic.
The LEGIT Framework
The LEGIT framework shifts evaluation from coarse, single-score metrics to instance-specific, modular rubrics.
Legal Issue Trees and Scoring
A court judgment is represented as a tree where the root is the final order. Branches represent sub-issues and arguments raised by opposing parties, with nodes containing the court’s specific conclusions. The LEGIT Score is a composite metric consisting of:
- Final Order Correctness (5 pts): Accuracy of the final verdict.
- Issue Coverage (2 pts): The model's ability to identify all relevant legal sub-issues.
- Issue Correctness (3 pts): The accuracy of reasoning for each identified sub-issue.
By evaluating responses issue-by-issue rather than as a whole, the framework can pinpoint specific failure modes, such as Decomposition Errors (failing to identify a necessary sub-issue) and Deduction Errors (incorrect reasoning on identified facts).
Dataset and Methodology
The study utilizes the LEGIT dataset, a large-scale collection of 24,406 Korean legal cases sourced from the LBOX database. Unlike typical LJP datasets that focus on criminal law, LEGIT covers complex civil and administrative cases, including insurance, labor, and taxation. The dataset includes 300 manually-verified test instances with hierarchical issue trees serving as ground-truth rubrics.
The authors model legal reasoning as a "top-down traversal" of these trees. This allows for the mathematical modeling of error propagation: if a model fails to identify a child issue, it typically fails the parent issue, leading to a flawed final verdict.
Results and Analysis
Evaluation results indicate that modular, issue-based rubrics significantly improve agreement between LLM judges and human experts compared to standard scoring methods.
Human Alignment and Model Performance
Licensed lawyers achieved high inter-annotator agreement (Krippendorff’s $\alpha = 0.87$) using LEGIT rubrics. Top-tier models like Gemini 2.0-flash and GPT-4.1 achieved $\alpha$ scores between 0.62 and 0.74, suggesting their potential as automated legal evaluators. However, even the best models have not "solved" the legal reasoning task; GPT-4.1, the top performer, achieved a LEGIT score of only 5.71/10.
The RAG vs. RL Trade-off
The research highlights a distinct trade-off between different optimization strategies:
- Retrieval-Augmented Generation (RAG): Enhances both the breadth (coverage) and accuracy of reasoning by providing an "open-book" reference.
- Reinforcement Learning (RL): While RL using LEGIT scores as rewards makes models more accurate, it also makes them more "conservative." Models optimized via RL tend to omit complex sub-issues to avoid penalties for incorrect reasoning, resulting in lower overall coverage.
Conclusion and Future Work
The LEGIT framework demonstrates that "getting the right answer for the wrong reasons" is a frequent occurrence in current LLMs. By decomposing legal reasoning into hierarchical trees, we can better identify where models fail in their deductive logic.
Future work includes expanding the dataset to other jurisdictions and languages, as the current study is limited to the Korean legal system. Additionally, the high computational cost of modular evaluation—requiring multiple LLM calls per response—remains a challenge. Further research will explore combining RAG and RL to achieve both broad issue coverage and high reasoning precision.
Summary updated