Table of Contents
Fetching ...

LexEval: A Comprehensive Chinese Legal Benchmark for Evaluating Large Language Models

Haitao Li, You Chen, Qingyao Ai, Yueyue Wu, Ruizhe Zhang, Yiqun Liu

TL;DR

The paper addresses the need for reliable evaluation of LLMs in the Chinese legal domain. It introduces LexEval, a comprehensive benchmark built around a LexAbility taxonomy that covers six cognitive levels and 23 tasks totaling 14,150 questions. Data sources include CAIL, JEC-QA, LeCaRD, national legal exams, and expert annotations, with standardized processing and licensing. An extensive evaluation of 38 models reveals current LLMs' limitations in accuracy, reliability, and ethics in legal contexts, highlighting directions for future improvement and the benchmark's public availability.

Abstract

Large language models (LLMs) have made significant progress in natural language processing tasks and demonstrate considerable potential in the legal domain. However, legal applications demand high standards of accuracy, reliability, and fairness. Applying existing LLMs to legal systems without careful evaluation of their potential and limitations could pose significant risks in legal practice. To this end, we introduce a standardized comprehensive Chinese legal benchmark LexEval. This benchmark is notable in the following three aspects: (1) Ability Modeling: We propose a new taxonomy of legal cognitive abilities to organize different tasks. (2) Scale: To our knowledge, LexEval is currently the largest Chinese legal evaluation dataset, comprising 23 tasks and 14,150 questions. (3) Data: we utilize formatted existing datasets, exam datasets and newly annotated datasets by legal experts to comprehensively evaluate the various capabilities of LLMs. LexEval not only focuses on the ability of LLMs to apply fundamental legal knowledge but also dedicates efforts to examining the ethical issues involved in their application. We evaluated 38 open-source and commercial LLMs and obtained some interesting findings. The experiments and findings offer valuable insights into the challenges and potential solutions for developing Chinese legal systems and LLM evaluation pipelines. The LexEval dataset and leaderboard are publicly available at \url{https://github.com/CSHaitao/LexEval} and will be continuously updated.

LexEval: A Comprehensive Chinese Legal Benchmark for Evaluating Large Language Models

TL;DR

The paper addresses the need for reliable evaluation of LLMs in the Chinese legal domain. It introduces LexEval, a comprehensive benchmark built around a LexAbility taxonomy that covers six cognitive levels and 23 tasks totaling 14,150 questions. Data sources include CAIL, JEC-QA, LeCaRD, national legal exams, and expert annotations, with standardized processing and licensing. An extensive evaluation of 38 models reveals current LLMs' limitations in accuracy, reliability, and ethics in legal contexts, highlighting directions for future improvement and the benchmark's public availability.

Abstract

Large language models (LLMs) have made significant progress in natural language processing tasks and demonstrate considerable potential in the legal domain. However, legal applications demand high standards of accuracy, reliability, and fairness. Applying existing LLMs to legal systems without careful evaluation of their potential and limitations could pose significant risks in legal practice. To this end, we introduce a standardized comprehensive Chinese legal benchmark LexEval. This benchmark is notable in the following three aspects: (1) Ability Modeling: We propose a new taxonomy of legal cognitive abilities to organize different tasks. (2) Scale: To our knowledge, LexEval is currently the largest Chinese legal evaluation dataset, comprising 23 tasks and 14,150 questions. (3) Data: we utilize formatted existing datasets, exam datasets and newly annotated datasets by legal experts to comprehensively evaluate the various capabilities of LLMs. LexEval not only focuses on the ability of LLMs to apply fundamental legal knowledge but also dedicates efforts to examining the ethical issues involved in their application. We evaluated 38 open-source and commercial LLMs and obtained some interesting findings. The experiments and findings offer valuable insights into the challenges and potential solutions for developing Chinese legal systems and LLM evaluation pipelines. The LexEval dataset and leaderboard are publicly available at \url{https://github.com/CSHaitao/LexEval} and will be continuously updated.
Paper Structure (31 sections, 2 figures, 35 tables)

This paper contains 31 sections, 2 figures, 35 tables.

Figures (2)

  • Figure 1: Overview of the legal cognitive ability taxonomy.
  • Figure 2: The zero-shot performance of the six best models at different legal cognitive ability levels.