Introduction
Researchers from LegalOn Technologies and Kyoto University have introduced LegalRikai, a new open benchmark designed to evaluate Large Language Models (LLMs) on complex, multi-step Japanese corporate legal tasks. While existing benchmarks often focus on simple classification or multiple-choice questions, LegalRikai targets "document-level" reasoning—tasks that mirror the actual workload of corporate legal departments.
The LegalRikai Framework
The benchmark is structured around four distinct tasks that simulate the lifecycle of legal document management:
- AmendExp (Explanation): Summarizing statutory changes and their specific implications for existing contracts.
- StatRev (Statute-driven Revision): Updating contract clauses to ensure compliance with newly amended laws.
- ReqRev (Requirement-driven Revision): Implementing specific edits based on explicit user instructions.
- RiskRev (Risk-driven Revision): Mitigating abstract risks (e.g., "make this more favorable to the contractor") without provided wording.
Dataset Characteristics
The LegalRikai dataset consists of 100 high-quality samples (25 per task), meticulously crafted by legal professionals. These samples are based on real Japanese statutes, such as the Labor Standards Act and the Penal Code. A key feature of this benchmark is its complexity: input statutes often span 20,000 to 30,000 characters, requiring models to perform sophisticated "needle-in-a-haystack" retrieval and reasoning.
Evaluation Methodology
The study employed a dual-track evaluation:
- Human Expert Review: Legal professionals scored outputs on a 3-point scale, focusing on instruction following, structural consistency, and wording appropriateness.
- Automated LLM-as-a-Judge: Testing the viability of using frontier models to evaluate legal outputs.
Key Findings
The evaluation of frontier models like GPT-5, Gemini 2.5 Pro, and Claude Opus 4.1 revealed several critical insights:
The Abstraction Trap
Models performed well on explicit instructions (ReqRev) but struggled with abstract tasks like StatRev and RiskRev. In these scenarios, LLMs often "over-edit," introducing unnecessary changes that can create new legal risks or break stylistic consistency.
Structural vs. Linear Processing
While humans view contracts as logical hierarchies, LLMs tend to process them as linear sequences. This leads to "structural breakdowns," such as failing to update cross-references (e.g., "See Article 15") when a preceding clause is deleted or moved.
Model Performance and Scaling
- Gemini 2.5 Pro demonstrated the strongest overall accuracy, particularly in complex explanation and statute-driven revision tasks.
- Claude Opus 4.1 was the most effective at maintaining the professional "look and feel" of legal documents.
- GPT-5 showed high versatility but suffered from lower "Change Precision," frequently hallucinating unrequested edits.
Conclusion
LegalRikai highlights that current LLMs, while capable of following explicit instructions, still face significant hurdles in abstract legal reasoning and document-wide structural integrity. Automated judges correlate well with humans on content accuracy but remain unreliable for evaluating technical terminology and global consistency. Future work will focus on expanding the dataset to include more diverse legal documents and exploring few-shot learning techniques to improve performance on these complex workflows.
Summary updated