AgentCourt: Simulating Court with Adversarial Evolvable Lawyer Agents

📅 2024-08-15
🏛️ arXiv.org
📈 Citations: 6
Influential: 0
📄 PDF
🤖 AI Summary
Existing legal large language models (LLMs) fail to authentically simulate the dynamic, adversarial nature of real courtroom proceedings. To address this, we propose an LLM-based autonomous legal agent system that introduces the first end-to-end courtroom process simulation framework. Our method leverages multi-agent collaboration and adversarial evolutionary mechanisms, enabling plaintiff and defendant agents to iteratively learn from authentic judicial precedents across thousands of simulated trials. We integrate a structured legal knowledge graph with verifiable prompt engineering to ensure reproducible, domain-accurate reasoning. Experimental evaluation demonstrates significant improvements in response latency, legal argument rigor, and practical logical coherence; these gains are empirically validated by a panel of licensed practicing attorneys. This work establishes the first simulation paradigm for legal AI endowed with dynamic evolutionary capability and high judicial-practice fidelity.

Technology Category

Application Category

📝 Abstract
In this paper, we present a simulation system called AgentCourt that simulates the entire courtroom process. The judge, plaintiff's lawyer, defense lawyer, and other participants are autonomous agents driven by large language models (LLMs). Our core goal is to enable lawyer agents to learn how to argue a case, as well as improving their overall legal skills, through courtroom process simulation. To achieve this goal, we propose an adversarial evolutionary approach for the lawyer-agent. Since AgentCourt can simulate the occurrence and development of court hearings based on a knowledge base and LLM, the lawyer agents can continuously learn and accumulate experience from real court cases. The simulation experiments show that after two lawyer-agents have engaged in a thousand adversarial legal cases in AgentCourt (which can take a decade for real-world lawyers), compared to their pre-evolutionary state, the evolved lawyer agents exhibit consistent improvement in their ability to handle legal tasks. To enhance the credibility of our experimental results, we enlisted a panel of professional lawyers to evaluate our simulations. The evaluation indicates that the evolved lawyer agents exhibit notable advancements in responsiveness, as well as expertise and logical rigor. This work paves the way for advancing LLM-driven agent technology in legal scenarios. Code is available at https://github.com/relic-yuexi/AgentCourt.
Problem

Research questions and friction points this paper is trying to address.

Modeling dynamic courtroom interactions with LLM-based agents
Overcoming static knowledge limitations in legal language models
Enhancing legal reasoning through adversarial evolutionary learning
Innovation

Methods, ideas, or system contributions that make the work stand out.

Adversarial evolutionary approach for agent learning
Dynamic knowledge learning in courtroom simulations
Evolving legal knowledge base enhances reasoning
🔎 Similar Papers
No similar papers found.
Guhong Chen
Guhong Chen
Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences, Shenzhen, China
LLM、NLP
L
Liyang Fan
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences; Shenzhen University
Z
Zihan Gong
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences
N
Nan Xie
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences; University of Chinese Academy of Sciences
Zixuan Li
Zixuan Li
Assistant Professor at ICT, UCAS
Knowledge GraphLarge Language Model
Ziqiang Liu
Ziqiang Liu
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences
Natural Language ProcessingLarge Language Model
C
Chengming Li
Shenzhen MSU-BIT University
Qiang Qu
Qiang Qu
Professor, Chinese Academy of Sciences, Shenzhen Institutes of Advanced Technology
BlockchainData IntelligenceData-intensive SystemsData Mining
S
Shiwen Ni
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences
Min Yang
Min Yang
Bytedance
Vision Language ModelComputer VisionVideo Understanding