Abstract
General and legal domain LLMs have demonstrated strong performance in various tasks of LegalAI. However, their current evaluations lack alignment with the fundamental logic of legal reasoning, the legal syllogism. This hinders trust and understanding from legal experts. To bridge this gap, we introduce LAiW, the Chinese legal LLM benchmark structured around the legal syllogism. We evaluate legal LLMs across three levels of capability, each reflecting a progressively more complex stage of legal syllogism: fundamental information retrieval, legal principles inference, and advanced legal applications, and encompassing a wide range of tasks in different legal scenarios. Our automatic evaluation reveals that LLMs, despite their ability to answer complex legal questions, lack the inherent logical processes of the legal syllogism. This limitation poses a barrier to acceptance by legal professionals. Furthermore, manual evaluation with legal experts confirms this issue and highlights the importance of pre-training on legal text to enhance the legal syllogism of LLMs. Future research may prioritize addressing this gap to unlock the full potential of LLMs in legal applications.
1. Introduction
The rapid advancement of Large Language Models (LLMs) has opened new frontiers in the legal domain, often referred to as LegalAI. While these models can generate sophisticated legal text and answer complex questions, their adoption in professional legal settings is hampered by a lack of transparency and logical rigor. Legal professionals rely on the legal syllogism—a structured logical framework—to derive judgments from legal norms and case facts. Current evaluation benchmarks often overlook this fundamental process, focusing instead on isolated task performance. This paper introduces LAiW (AI in LAW), a benchmark designed to evaluate Chinese legal LLMs through the lens of the legal syllogism, bridging the gap between model output and legal reasoning.
2. The Legal Syllogism as a Benchmark Foundation
The legal syllogism is the cornerstone of legal reasoning. It consists of three essential components: the Major Premise (legal norms or articles), the Minor Premise (specific case facts), and the Conclusion (the resulting legal judgment). For an LLM to be truly effective and trustworthy in a legal context, it must not only provide the correct conclusion but also demonstrate that it has correctly identified and applied the relevant premises.
LAiW is structured to measure a model's proficiency at each stage of this logical process, ensuring that the "reasoning path" is as valid as the final answer.
3. The LAiW Benchmark Hierarchy
The LAiW benchmark categorizes legal capabilities into three progressively complex levels, each corresponding to a stage of the legal syllogism:
- Fundamental Information Retrieval (FIR): This level tests the model's ability to extract the "building blocks" of legal reasoning. Tasks include identifying relevant legal articles (Major Premise) and recognizing key case elements or entities (Minor Premise).
- Legal Principles Inference (LPI): This level evaluates the model's ability to make basic logical leaps. It involves deriving preliminary conclusions, such as predicting a specific charge or prison term, based on the provided facts and norms.
- Advanced Legal Application (ALA): The highest level requires the model to perform the full reasoning process. Tasks include generating comprehensive judicial reasoning statements or providing professional legal consultation, where the model must synthesize premises into a coherent argument.
The benchmark comprises 14 distinct tasks and approximately 11,000 samples, reconstructed from prominent Chinese legal datasets such as CAIL, CJRC, and CrimeKgAssitant.
4. Key Insights and Experimental Results
Our evaluation of various general-purpose and legal-specific LLMs, including GPT-4, ChatGPT, and specialized models like Fuzi-Mingcha and HanFei, yielded several significant findings:
The "Hollow" Model Phenomenon
A startling "reasoning gap" was observed in many legal-specific models. These models often exhibit an "inverted pyramid" of capability: they excel at "Advanced" tasks (ALA) by generating fluent, professional-sounding legal text, yet struggle with "Fundamental" tasks (FIR) like identifying the correct law. This suggests that these models are mimicking the style of legal writing without grasping the underlying logic.
Pre-training vs. Fine-tuning
The study found that simply fine-tuning a general model on legal tasks is insufficient for instilling logical rigor. Models that underwent extensive pre-training on raw legal corpora (e.g., HanFei or Fuzi-Mingcha) demonstrated a significantly stronger grasp of the legal syllogism compared to those that were merely fine-tuned.
Performance Benchmarks
Despite the emergence of specialized legal models, GPT-4 remains the top performer, achieving a total score of 69.63. Among Chinese legal-specific models, Fuzi-Mingcha (40.62) and HanFei (35.69) were the leaders but still lagged considerably behind general-purpose giants like GPT-4 and ChatGPT (64.09).
5. Conclusion and Future Work
LAiW reveals that while current LLMs can "talk like lawyers," they often fail to "think like lawyers." The disconnect between conclusion and logical justification remains a major barrier to professional acceptance. Future research should focus on pre-training LLMs specifically on structured legal logic rather than just legal text. Developing models that can transparently navigate the legal syllogism will be crucial for the next generation of LegalAI applications.
Summary updated