TL;DR
AgentMediation is the first LLM-based multi-agent framework designed to simulate the full lifecycle of legal dispute mediation. By grounding agent behaviors in established legal and psychological frameworks, it creates a controllable "social laboratory" that allows researchers to isolate variables like disputant behavior and mediator expertise, revealing dynamics that closely mirror real-world sociological theories.
What Problem Does This Paper Address?
Alternative Dispute Resolution (ADR), particularly mediation, is essential for resolving civil disputes efficiently and reducing court caseloads. However, empirically studying what makes mediation successful is notoriously difficult due to two main bottlenecks:
- Privacy Constraints: Most real-world mediation proceedings are strictly confidential, leading to a severe scarcity of high-quality, publicly available data.
- Multivariate Interactions: In a real mediation, outcomes are simultaneously influenced by the dispute's context, the parties' emotional states, their behavioral strategies, and the mediator's legal expertise. Disentangling these variables to quantify their individual effects is nearly impossible in practice.
While LLM agents have been used to simulate courtrooms or general negotiations, none have successfully captured the nuanced, multi-stage, and highly cooperative-yet-adversarial nature of legal mediation.
Methods
The authors introduce AgentMediation, a unified, controllable framework consisting of three core components: data preprocessing, a five-stage simulation pipeline, and a dual-perspective evaluator.
- The Five-Stage Pipeline: Inspired by the Harvard Handbook of Dispute Resolution (HDR), the simulation progresses systematically through: Preliminary (sharing the brief), Statement (parties state claims), Option Generation (mediator proposes a preliminary solution based on facts), Bargaining (multi-turn negotiation), and Closure (final agreement or breakdown).
- Configurable Agent Roles: Disputant agents are assigned specific behavioral strategies based on the Thomas-Kilmann Conflict Mode Instrument (TKI), which categorizes conflict handling along dimensions of assertiveness and cooperativeness into five modes: Competing, Collaborating, Compromising, Avoiding, and Accommodating.
- Mediator Expertise: Mediators are simulated either with or without access to an external legal knowledge base (via Retrieval-Augmented Generation, or RAG) to test how domain expertise impacts the quality of the resolution.
- Dual-Perspective Evaluator: The framework evaluates both the outcome (Success Rate, Satisfaction, Consensus, and Litigation Risk using an LLM-as-a-judge approach with Chain-of-Thought reasoning) and the solution quality (aligning points of contention and legal bases using metrics like ROUGE-L, BERTScore, and Recall).
Datasets
The framework is grounded in the Dispute Resolution Case Database, an authentic dataset released by the Supreme People’s Court of China.
- The authors processed 330 civil disputes spanning various types (e.g., property service contracts, labor disputes, housing sales). Because the original dataset omitted the confidential mediation processes to preserve privacy, the authors used GPT-4o combined with rigorous manual refinement by legal experts to extract structured representations (facts, briefs, parties, and legal bases).
- Using this data foundation, they generated a large-scale synthetic dataset containing over 14,000 simulated mediation processes.
Key Insights and Ideas
The most fascinating aspect of AgentMediation is how closely the synthetic multi-agent interactions mirror established human social and psychological theories:
- Group Polarization: When a single party adopts a Competing (aggressive) strategy, the mediation success rate drops. However, when all parties adopt a competing strategy, the collective dynamic polarizes drastically—the success rate plummets from 29% to 11%, demonstrating how mutual aggressiveness exponentially amplifies conflict.
- Surface-level Consensus: Agents using the Accommodating strategy achieved high consensus scores but relatively low internal satisfaction. This perfectly illustrates the sociological concept of surface-level consensus, where individuals suppress their own needs to maintain outward harmony, leaving underlying tensions unresolved.
- Moral Emotions & Conflict Realism: Injecting Behavioral Misconduct (e.g., deception) into the dispute brief triggered punitive agent responses, leading to the lowest satisfaction and highest litigation risk, validating Haidt's Moral Emotions Theory. Conversely, disputes driven by External Factors (like natural disasters) viewed the problem as a shared threat, blurring group boundaries and yielding higher consensus, aligning with the Common In-Group Identity Model.
Key Results
The authors validated AgentMediation through extensive human-model comparison experiments:
- Utterance-Level Realism: Strong backbone models like DeepSeek-V3 and GPT-4o achieved semantic similarity scores (BERTScore/LLMScore above 0.71/0.79) that rivaled or exceeded the similarity scores between human legal experts themselves.
- Case-Level Indistinguishability: Legal experts performed blind pairwise preference evaluations across 18 fine-grained aspects (e.g., neutrality, solution feasibility). The simulated mediation processes were found to be virtually indistinguishable from human-reconstructed ones.
- LLM-as-a-Judge Reliability: The automated evaluation metrics showed strong correlation with human expert annotations, particularly for objective metrics like Consensus (Cohen's Kappa = 0.519) and Litigation Risk (Kappa = 0.672).
- Expertise Boost: Providing mediators with external legal knowledge (RAG) significantly improved their legal citation accuracy, boosting DeepSeek-V3's legal base recall to 0.3594.
Limitations and Future Work
While highly effective, the authors note a few limitations:
- Subjectivity of Satisfaction: Measuring emotional and psychological outcomes remains highly subjective. The LLM-as-a-judge agreement with humans on the "Satisfaction" metric was moderate (Kappa = 0.358), reflecting the inherent difficulty of quantifying human emotion.
- Static vs. Dynamic Strategies: The primary experiments utilized static behavioral modes to cleanly isolate variables. Although the authors developed a dynamic reflection module allowing agents to adapt their strategies mid-dialogue, fully mapping real-world strategic shifts remains an open area for exploration.
- Cross-Cultural Validation: While designed using globally recognized frameworks (HDR and TKI), the underlying data source is rooted in the Chinese legal context; future work could expand this to diverse international legal systems.
Summary updated