Abstract
Large Language Models (LLMs) have demonstrated proficiency in static legal tasks like bar exams, but real-world legal practice requires dynamic interaction and strict procedural adherence. This paper introduces J1-ENVS and J1-EVAL, a novel benchmark for evaluating legal agents in interactive environments. By simulating scenarios from consultation to adjudication, the study reveals that while models possess legal knowledge, they often fail to navigate the procedural complexities of legal practice.
Introduction
The advancement of LLMs in the legal domain has largely been measured through static benchmarks like LegalBench or LexGLUE, which focus on single-turn accuracy. However, legal practice is inherently interactive, involving multi-turn dialogues with clients and adherence to rigid courtroom protocols. This paper addresses the gap between static knowledge and procedural execution by proposing a dynamic evaluation framework that prioritizes "procedural justice"—the requirement that legal outcomes be reached through correct, lawful steps.
Methodology
To move beyond static QA, the authors developed two integrated systems to simulate and evaluate legal practice:
J1-ENVS(Interactive Legal Environments): A hierarchical framework with three levels of complexity: Level I (Legal Consultation), Level II (Document Drafting), and Level III (Judicial Adjudication). The environment is populated by heterogeneous agents (laypeople, lawyers, prosecutors) initialized with specific personality traits and factual backgrounds.J1-EVAL(Dual-Metric Assessment System): A framework evaluating both outcome-oriented metrics (e.g., judgment accuracy, document formatting) and process-oriented metrics (e.g., following trial stages, citing correct statutes).
Datasets
The benchmark utilizes 508 interactive environment instances derived from real-world Chinese legal data, including court records and expert-authored Q&As. Unlike static datasets, the factual information is distributed among simulated agents (e.g., "clients" or "opposing counsel"), requiring the evaluated LLM to extract necessary details through conversation rather than having them provided in a prompt.
Results and Discussion
Testing 17 leading LLMs revealed a significant "execution gap." While models generally understand legal concepts, they struggle with procedural application. For instance, many failed courtroom scenarios by skipping mandatory steps like cross-examination or identity verification.
Key Insights
- Knowledge vs. Execution: High legal knowledge does not guarantee procedural success. Models often suffered from "single-turn collapse," attempting to complete an entire trial in one message.
- The Specialized Model Paradox: Domain-specific models (e.g., LawLLM, ChatLaw2) often underperformed generalist models like GPT-4o or Claude 3.7. These specialized models, fine-tuned on static tasks, lack the conversational flexibility needed for dynamic environments.
- Reasoning Limitations: Even high-reasoning models like DeepSeek-r1 struggled with the rigid constraints of courtroom protocols, highlighting that logical reasoning alone is insufficient for procedural legal work.
Conclusion
Current state-of-the-art models fail to reach 60% overall performance in these dynamic environments, with Claude-3.7 and GPT-4o leading the field. J1-ENVS provides a foundation for future research into training legal agents that can navigate the messy, procedural reality of the law, potentially through synthetic data generation or reinforcement learning in simulated environments.
Summary updated