Simulating Dispute Mediation with LLM-Based Agents for Legal Research

Junjie Chen, Haitao Li, Minghao Qin, Yujia Zhou, Yanxue Ren, Wuyue Wang, Yiqun Liu, Yueyue Wu, Qingyao Ai · DOI

Introduction

Legal dispute mediation serves as a critical alternative to litigation, yet empirical study is hindered by privacy constraints and multivariate complexity. Most mediation sessions are confidential, preventing the collection of large-scale dialogue datasets. Furthermore, isolating variables—such as a mediator's expertise versus a party's personality—is nearly impossible in real-world settings. To address these gaps, researchers have introduced AgentMediation, an LLM-based framework designed to simulate the multi-stage process of legal mediation. By grounding simulations in real-world civil cases and modeling behavioral strategies through sociological frameworks, AgentMediation acts as a "social laboratory" for legal research.

The AgentMediation Framework

The framework is built upon three core pillars: a structured simulation pipeline, configurable agent roles, and a dual-perspective evaluator.

Overview of the AgentMediation framework, illustrating data preprocessing, the five-stage Harvard HDR pipeline, agent roles, and evaluation metrics.

Structured Simulation Pipeline

Inspired by the Harvard Handbook of Dispute Resolution (HDR), simulations follow five distinct stages: Preliminary, Statement, Option Generation, Bargaining, and Closure. This structure ensures that the AI agents navigate the mediation process with the same procedural rigor expected in professional legal settings.

Configurable Agent Roles

  • Disputants: Modeled using the Thomas-Kilmann Conflict Mode Instrument (TKI), agents can adopt strategies such as Competing, Collaborating, Compromising, Avoiding, or Accommodating.
  • Mediators: These agents can be tested with or without Retrieval-Augmented Generation (RAG) to measure the impact of external legal knowledge on mediation success.

Evaluation Metrics

The framework employs a Dual-Perspective Evaluator. An "LLM-as-a-judge" outcome evaluator measures subjective metrics like participant satisfaction and litigation risk, while a solution evaluator uses NLP metrics (ROUGE-L, BERTScore) to compare proposed solutions against human-annotated gold standards.

Sociological Alignment and Key Insights

A primary strength of AgentMediation is its ability to mirror human social behavior and sociological phenomena.

Mediation outcomes across different TKI conflict modes, showing how strategies like 'Competing' significantly reduce success rates.

Behavioral Dynamics

The simulations successfully replicated Group Polarization. For instance, as shown in the experimental results, when all parties adopted a "Competing" strategy, the mediation success rate plummeted to just 11%. Conversely, the "Accommodating" strategy often led to high consensus but low internal satisfaction, reflecting the "hollow victory" phenomenon known in sociology where parties agree outwardly to preserve harmony while remaining dissatisfied.

Conflict Triggers and Expertise

Disputes involving "Behavioral Misconduct" (e.g., deception) triggered "moral emotions" in agents, leading to higher litigation risks. Furthermore, mediators with access to external legal knowledge showed significantly higher recall in citing correct legal bases, validating that domain expertise is a measurable variable in mediation outcomes.

Results and Performance

In blind tests, legal experts found the simulated mediation processes indistinguishable from human-reconstructed ones across 18 fine-grained aspects, including neutrality and solution legality. High-performing models like DeepSeek-V3 and GPT-4o achieved BERTScores above 0.71, matching or exceeding the semantic similarity found between different human legal experts. DeepSeek-V3-0324, in particular, emerged as a highly competitive backbone for identifying points of contention and providing sound legal bases.

Conclusion and Future Directions

While AgentMediation provides a robust platform for legal research, limitations remain. The current dataset is rooted in the Chinese legal system, suggesting a need for cross-cultural adaptability studies. Future work should also explore dynamic strategy shifting, as humans naturally adapt their tactics during negotiations. Finally, aligning the subjective "Satisfaction" metric between humans and LLMs remains a challenge, highlighting the complexity of modeling human emotional fulfillment via AI.

Summary updated

BibTeX
@inproceedings{chen2026simulating,
  author = {Junjie Chen and Haitao Li and Minghao Qin and Yujia Zhou and Yanxue Ren and Wuyue Wang and Yiqun Liu and Yueyue Wu and Qingyao Ai},
  title = {{Simulating Dispute Mediation with LLM-Based Agents for Legal Research}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i35.40177},
}
Figure