LegalRikai: Open Benchmark - Benchmark for Complex Japanese Corporate Legal Tasks

Shogo Fujita, Yuji Naraki, Yiqing Zhu, Shinsuke MoriarXiv 2025 · DOI

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:

  1. AmendExp (Explanation): Summarizing statutory changes and their specific implications for existing contracts.
  2. StatRev (Statute-driven Revision): Updating contract clauses to ensure compliance with newly amended laws.
  3. ReqRev (Requirement-driven Revision): Implementing specific edits based on explicit user instructions.
  4. RiskRev (Risk-driven Revision): Mitigating abstract risks (e.g., "make this more favorable to the contractor") without provided wording.
Overview of the LegalRikai workflow, showing the transition from legal amendments to contract revisions.

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.

Statistics of the LegalRikai dataset, highlighting the significant character counts and complexity of the input statutes.

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

BibTeX
@misc{fujita2025legalrikai,
  author = {Shogo Fujita and Yuji Naraki and Yiqing Zhu and Shinsuke Mori},
  title = {{LegalRikai: Open Benchmark - Benchmark for Complex Japanese Corporate Legal Tasks}},
  year = {2025},
  eprint = {2512.11297},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.11297},
}
Figure