Abstract
Large Language Models (LLMs) could struggle to fully understand legal theories and perform complex legal reasoning tasks. In this study, we introduce a challenging task (confusing charge prediction) to better evaluate LLMs’ understanding of legal theories and reasoning capabilities. We also propose a novel framework: Multi-Agent framework for improving complex Legal Reasoning capability (MALR). MALR employs non-parametric learning, encouraging LLMs to automatically decompose complex legal tasks and mimic human learning process to extract insights from legal rules, helping LLMs better understand legal theories and enhance their legal reasoning abilities. Extensive experiments on multiple real-world datasets demonstrate that the proposed framework effectively addresses complex reasoning issues in practical scenarios, paving the way for more reliable applications in the legal domain.
Introduction
While Large Language Models (LLMs) have demonstrated remarkable capabilities in general text processing, their application in the legal domain reveals significant limitations in deep reasoning. A critical challenge identified by researchers is "Confusing Charge Prediction," where two crimes share superficial similarities but are distinguished by specific legal elements. For instance, Misappropriation of Public Funds requires the defendant to be a "state functionary," whereas Fund Misappropriation applies to non-state employees.
Current LLMs often exhibit a "yes-man" bias. When presented with a case description and a plausible-sounding but incorrect charge, they frequently validate the charge without verifying if all specific legal criteria are met. This failure stems from a lack of "legal theory" comprehension—the structured logic involving Subject, Mental, Object, and Conduct elements.
The MALR Framework
To address these reasoning gaps, the researchers proposed the Multi-Agent framework for improving complex Legal Reasoning (MALR). This framework moves beyond simple prompting by implementing a structured, multi-agent approach that mimics human legal analysis.
The framework consists of four primary components:
- Auto-Planner for Task Decomposition: Instead of processing a legal rule as a monolithic block, the Auto-Planner breaks it down into sub-tasks based on the "Four Elements" of a crime (Subject, Mental, Object, and Conduct).
- Sub-task Agents: Specialized agents are assigned to evaluate specific elements. This modularity prevents the model from being overwhelmed by irrelevant case details and reduces "distraction."
- Adaptive Rule-Insights Training: This non-parametric learning module allows the system to learn from its own mistakes. Through a "trial-and-error" process on a small training set, a Self-Reflector identifies reasoning errors and generates "Insights"—concise if-then rules that highlight critical legal pivot points.
- Reasoning with External Feedback: When the system encounters factual uncertainty (e.g., ambiguous job titles), it generates targeted queries for external verification via search engines or domain-specific databases.
Experimental Evaluation
The framework was evaluated using three datasets based on Chinese criminal law: CAIL2018 (real-world cases), CJO (to prevent data leakage), and CAIL-I (a challenging "innocent" dataset used to test if the model can correctly reject a charge).
Key Findings
- Performance Gains: On CAIL2018, MALR using GPT-4 achieved an accuracy of 56.8%, a significant improvement over the 35.8% achieved by standard Zero-Shot Chain-of-Thought (CoT).
- The "Small Model" Boost: Smaller models, such as Qwen-2-1.5B, experienced the most dramatic improvements (up to 67%), suggesting that structured frameworks can enable smaller models to perform complex reasoning tasks previously reserved for larger models.
- Human-Level Precision: In a controlled test of 20 complex cases, MALR achieved 65% accuracy, surpassing human annotators (62.5%) who were given the same legal rules but lacked the structured multi-agent guidance.
- Consistency: MALR demonstrated high reliability on the CAIL-I dataset, proving it can correctly identify when no crime has been committed rather than simply defaulting to a "yes" response.
Conclusion
MALR represents a significant step toward LLMs that truly grasp legal theory rather than relying on surface-level pattern matching. By decomposing complex rules and iteratively learning from reasoning errors, the framework mitigates the "yes-man" bias and improves the precision of legal judgments. Future work will focus on integrating more sophisticated Retrieval-Augmented Generation (RAG) and exploring the framework's applicability in other high-stakes domains like medicine and finance.
Summary updated