RCBSF: A Multi-Agent Framework for Automated Contract Revision via Stackelberg Game
Shijia Xu, Yu Wang, Xiaolong Jia, Zhou Wu, Kai Liu, April Xiaowen Dong · 2026
Read RCBSF: A Multi-Agent Framework for Automated Contract Revision via Stackelberg Game by Shijia Xu, Yu Wang, Xiaolong Jia, Zhou Wu, Kai Liu, April Xiaowen Dong (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-10740.txt.
Introduction
Xu and five colleagues propose RCBSF, a risk-capped two-level Stackelberg design for automated contract revision with language models. Current tools suffer hallucinated safety and weak behavior rules; RCBSF casts revision as a Stackelberg game with a leader agent setting risk budgets for revision and checking followers. Theory proves convergence to an equilibrium beating unguided setups. On a unified benchmark the design leads the field, with an average risk resolution rate of 84.21 percent and better token efficiency.
Catalog record
| CREATOR | Shijia Xu, Yu Wang, Xiaolong Jia, Zhou Wu, Kai Liu, April Xiaowen Dong |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 92820 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2604.10740
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
RCBSF: A Multi-Agent Framework for Automated Contract Revision via Stackelberg Game Shijia Xu, Yu Wang, Xiaolong Jia, Zhou Wu, Kai Liu, April Xiaowen Dong Abstract Despite the widespread adoption of Large Language Models (LLMs) in Legal AI, their utility for automated contract revision remains impeded by hallucinated safety and a lack of rigorous behavioral constraints. To address these limitations, we propose the Risk-Constrained Bilevel Stackelberg Framework (RCBSF), which formulates revision as a non-cooperative Stackelberg game. RCBSF establishes a hierarchical Leader Follower structure where a Global Prescriptive Agent (GPA) imposes risk budgets upon a follower system constituted by a Constrained Revision Agent (CRA) and a Local Verification Agent (LVA) to iteratively optimize output. We provide theoretical guarantees that this bilevel formulation converges to an equilibrium yielding strictly superior utility over unguided configurations. Empirical validation on a unified benchmark demonstrates that RCBSF achieves state-of-the-art performance, surpassing iterative baselines with an average Risk Resolution Rate (RRR) of 84.21% while enhancing token efficiency. Our code is available at https://github.com/xjiacs/RCBSF . 1 Introduction Legal contracts serve as the cornerstone of modern commercial society and governance structures, establishing a framework of enforceable rights and obligations ( Lai et al. 2024 ) . However, the drafting, revision, and review of contracts constitute a highly professional and time-consuming task. The ambiguity of textual expression and the implicit conflicts between clauses pose significant challenges to this process. Traditional methods over-rely on expert judgment, resulting in dual dilemmas of low efficiency and unstable quality in contract review ( Aires et al. 2019 ) . According to a study by World Commerce & Contracting, the average value loss caused by improper contract handling can reach 9.2% of an enterprise’s annual revenue ( Commerce and Contracting 2022 ) . Therefore, advancing the automation and intelligentization of contract review and revision is of critical importance for enhancing operational efficiency and mitigating legal risks. Figure 1: Comparison of legal contract generation workflows between the Baseline (Standard LLM) and the Risk-Constrained Bilevel Stackelberg Framework (RCBSF). In recent years, Large Language Models (LLMs) have demonstrated unprecedented capabilities across tasks including language understanding, generation, retrieval-augmented processing, and summarization ( OpenAI et al. 2024 ; Touvron et al. 2023 ; Team et al. 2025 ) . This has driven a new leap forward in Legal Artificial Intelligence (LegalAI) ( Zhong et al. 2020 ) . Empirical studies in the legal field show that general-purpose LLMs have the potential to match or even surpass human baselines in specific subtasks (e.g., legal question answering and provision retrieval).This is shown by their performance in passing legal examinations ( Katz et al. 2024 ; Nay et al. 2024 ) . Nevertheless, the direct deployment of a single general-purpose LLM in high-risk, adversarial contract scenarios remains confronted with core challenges. First, the legal field cannot tolerate issues such as hallucinations and false citations that affect credibility ( Ji et al. 2023 ) . Second, generic models often lack robustness in legal privacy preservation and rigorous logical consistency. These structural impediments underscore the urgent need for a robust paradigm that inherently harmonizes high-quality contract generation with risk-constrained auditing. Multi-Agent Systems (MAS) provide a powerful paradigm to break through the structural bottlenecks of single models. Via role division and interactive collaboration, MAS can approximate the workflows of real legal teams and demonstrate considerable application value ( Wu et al. 2024 ; Hong et al. 2024 ; Li et al. 2023 ; Shinn et al. 2023 ; Du et al. 2024 ) . Complementing this, recent benchmarks (e.g., LegalBench, LawBench) have advanced the standardized evaluation of legal scenarios ( Guha et al. 2023 ; Fei et al. 2024 ) . However, most existing MAS frameworks focus on cooperative information aggregation or sequential chains. They fail to leverage hierarchical adversarial interactions to drive text robustness. This deficiency diverges from the rigorous revisor-auditor hierarchy in real-world legal practice. In such settings, a senior partner (auditor) must impose strict, binding constraints on the associate’s (revisor) output. To bridge this gap, this paper proposes the Risk-Constrained Bilevel Stackelberg Framework (RCBSF). A game-theoretic multi-agent framework for automated contract revision is shown in Figure 1 . Unlike the cooperative approach, the revision process is modeled as a Bilevel optimization problem governed by a Stackelberg game. The framework employs a hierarchical architecture with three specialized agents organized into two strategic levels. The Global Prescriptive Agent (GPA) acts as the Leader, identifying risks under a strict 5-dimensional taxonomy (Category, Location, Evidence, Issue, Suggestion) to optimize a risk-budget objective. The Follower system comprises a Constrained Revision Agent (CRA) and a Local Verification Agent (LVA). Revisions are executed iteratively and rigorously conform to the constraints prescribed by the Leader. A Stackelberg equilibrium is enforced in our framework, effectively resolving the issue of suboptimal local solutions inherent in standard Nash equilibria. The Leader moves first by committing to a specific risk instruction vector (derived from weighted Q-scores), and the Follower optimizes its generation within this induced strategy space. This hierarchical structure allows for precise control over the revision process, ensuring that high-priority risks are resolved using specific evidence extracted from the text. We utilize a unified benchmark constructed from authoritative datasets MAUD ( Franchi et al. 2022 ) , CUAD ( Hendrycks et al. 2021 ) , ContractNLI ( Koreeda and Manning 2021 ) , and PrivacyQA ( Ravichander et al. 2019 ) to ensure strong alignment between agent capabilities and diverse legal scenarios. The contributions of this paper are summarized as follows: • We propose RCBSF , a game-theoretic framework employing a hierarchical GPA-CRA-LVA architecture. This framework imposes strict 5-dimensional risk constraints to drive contract revision toward a risk-minimized Stackelberg equilibrium. • We theoretically prove that this bilevel optimization formulation yields strictly superior utility compared to standard prompting. • We construct a unified legal benchmark derived from four authoritative datasets and achieve state-of-the-art performance, significantly outperforming baselines in Risk Resolution Rate (RRR) and Token Efficiency Score (TES). 2 Related Work 2.1 Large Language Models in the Legal Domain The application of Large Language Models (LLMs) to the legal domain has become a focal point of AI research ( Yang et al. 2024 ) . Early efforts concentrated on using pre-trained models for specific legal NLP tasks such as information extraction, case classification, and judgment prediction ( Zhong et al. 2020 ) . With the enhanced capabilities of LLMs, researchers have started to develop models specifically for the legal sector, known as Legal LLMs. These models are typically optimized via two primary pathways. The first involves continuous pre-training on vast legal text corpora to deepen their understanding of legal terminology and context ( Huang et al. 2023 ) . The second employs fine-tuning on high-quality legal instruction datasets to align them with specific legal reasoning patterns or task formats ( Yue et al. 2024 ) . Despite significant progress, Legal LLMs still face fundamental challenges. To mitigate issues like hallucination and outdated knowledge, Retrieval-Augmented Generation (RAG) has been widely adopted ( Gao et al. 2024 ) . Related information from an external knowledge base is retrieved by RAG to significantly improve the factual accuracy of the generated content ( Wang et al. 2025 ) . Advanced RAG frameworks like Self-RAG ( Asai et al. 2023 ) and