GRAPH-GRPO-LEX: Contract Graph Modeling and Reinforcement Learning with Group Relative Policy Optimization
Moriya Dechtiar, Daniel Martin Katz, Mari Sundaresan, Sylvain Jaume, Hongming Wang

TL;DR
This paper presents GRAPH-GRPO-LEX, a novel framework that transforms legal contracts into semantic graphs and employs reinforcement learning with group relative policy optimization to automate contract analysis and uncover complex dependencies.
Contribution
The work introduces a new graph-based modeling approach for contracts combined with a reinforcement learning framework utilizing GRPO, enabling automated extraction and analysis of contract structures.
Findings
Successfully identified direct relationships between contract clauses.
Uncovered hidden dependencies in legal contracts.
Enhanced contract analysis with visualized graph representations.
Abstract
Contracts are complex documents featuring detailed formal structures, explicit and implicit dependencies and rich semantic content. Given these document properties, contract drafting and manual examination of contracts have proven to be both arduous and susceptible to errors. This work aims to simplify and automate the task of contract review and analysis using a novel framework for transforming legal contracts into structured semantic graphs, enabling computational analysis and data-driven insights. We introduce a detailed ontology mapping core legal contract elements to their graph-theoretic equivalents of nodes and edges. We then present a reinforcement learning based Large Language Model (LLM) framework for segmentation and extraction of entities and relationships from contracts. Our method, GRAPH-GRPO-LEX, incorporates both LLMs and reinforcement learning with group relative policy…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Artificial Intelligence in Law · Multi-Agent Systems and Negotiation
