Skip to main content
QUICK REVIEW

[Paper Review] LexEval: A Comprehensive Chinese Legal Benchmark for Evaluating Large Language Models

Haitao Li, You Chen|arXiv (Cornell University)|Sep 30, 2024
Computational and Text Analysis MethodsSocial Sciences3 citations
TL;DR

LexEval introduces a comprehensive Chinese legal benchmark to evaluate large language models (LLMs) across 23 tasks and 14,150 questions, organized via a novel Legal Cognitive Ability Taxonomy (Memorization, Understanding, Logic Inference, Discrimination, Generation, and Ethic). The benchmark reveals significant performance gaps among 38 LLMs, with top models achieving only 64.4% on judgment prediction, highlighting critical reliability and fairness challenges in legal AI applications.

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.

Motivation & Objective

  • Address the lack of standardized, comprehensive evaluation for Chinese legal LLMs, especially in high-stakes legal contexts.
  • Identify critical limitations in current LLMs related to factual accuracy, reasoning, and ethical bias in legal decision-making.
  • Develop a unified framework to systematically assess legal cognitive abilities beyond general NLP benchmarks.
  • Evaluate both open-source and commercial LLMs across diverse legal tasks to reveal performance disparities and risks.
  • Promote safer, more reliable deployment of LLMs in Chinese legal systems through transparent, standardized evaluation.

Proposed method

  • Propose a six-dimensional Legal Cognitive Ability Taxonomy (LexAbility) to structure legal evaluation tasks: Memorization, Understanding, Logic Inference, Discrimination, Generation, and Ethic.
  • Construct LexEval using a mix of formatted existing datasets, exam questions, and newly annotated data by legal experts to ensure domain relevance and quality.
  • Design 23 distinct legal tasks spanning case summarization, legal reasoning, judgment prediction, and ethical judgment to reflect real-world legal work.
  • Implement standardized evaluation protocols with consistent metrics across all tasks to enable fair model comparison.
  • Integrate zero-shot and few-shot prompting settings to assess generalization and fine-tuning effectiveness.
  • Release the dataset and leaderboard publicly at https://github.com/CSHaitao/LexEval for ongoing community use and model development.

Experimental results

Research questions

  • RQ1How do current Chinese LLMs perform across diverse legal cognitive abilities, including reasoning, factual recall, and ethical judgment?
  • RQ2To what extent do LLMs exhibit reliable and explainable behavior in complex legal tasks such as case retrieval and judgment prediction?
  • RQ3How do different model architectures and fine-tuning strategies impact performance on legal reasoning and ethical decision-making?
  • RQ4What are the key failure modes of LLMs in legal applications, particularly regarding factual hallucination and bias?
  • RQ5Can a standardized benchmark like LexEval effectively identify and quantify risks in deploying LLMs within Chinese legal systems?

Key findings

  • The best-performing model, ChatLaw-33B, achieved 64.4% on the judgment prediction task, indicating substantial room for improvement in legal reasoning.
  • Few-shot prompting improved average performance by 10.5 percentage points across Discrimination, Generation, and Ethic tasks, suggesting fine-tuning enhances ethical reasoning.
  • Vicuna-v1.3-7B showed the worst performance overall, with only 1.4% accuracy on the 1-1 task, highlighting model-specific vulnerabilities in legal reasoning.
  • Models like GoGPT2-13B and LLaMA-2-7B-Chat achieved over 50% on logic inference tasks, but still underperformed on ethical judgment, with scores below 15%.
  • The benchmark revealed that even top models struggle with factual consistency and fairness, particularly in tasks involving legal interpretation and bias detection.
  • The LexAbility Taxonomy successfully captured the complexity of legal cognition, enabling systematic analysis of model strengths and weaknesses across six core dimensions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.