LEGO: Synergizing Expert GraphRAG and Expert Chain-of-Thought for Legal Reasoning
Qingjing Chen, Junkai Zhang, Shaochun Wang, Jiahao Ding, Siyuan Zheng, Yukun Yan, Zhi Zheng, Antonino Rotolo, Yun Liu, Weixing Shen
Abstract
Large language models are increasingly applied to high-risk domains such as law, yet complex legal reasoning remains limited by two structural challenges. First, existing RAG and GraphRAG methods emphasize lexical or semantic similarity while overlooking normative relations among legal provisions. Second, vanilla Chain-of-Thought prompting may generate plausible rationales without enforcing the normative structure of legal reasoning. To deal with the bottleneck of pipelines in the legal reasoning domain, we propose LEGO, a dual-module framework that synergizes Legal Expert GraphRAG and expert Chain-of-thought for complex legal reasoning. ExpertGraphRAG uses an expert-annotated civil code graph encoding these normative relations with a greedy normative-coverage retrieval algorithm to dynamically extract instance-specific provision subgraphs, while ExpertCoT organizes the retrieved provisions and case facts into structured Provision-Fact-Conclusion reasoning. With a Qwen3-8B backbone, LEGO achieves 40.53% exact-match accuracy on LawExamQACivil, outperforming the evaluated RAG and CoT baselines and performing comparably to the evaluated larger models, while remaining robust on multi-hop questions. It also achieves the best results among the evaluated baselines on the open-ended benchmarks. Ablation studies confirm the individual and complementary contributions of both modules, demonstrating LEGO's effectiveness in improving LLMs' complex legal reasoning ability. Code and dataset can be found in the link: https://github.com/BLK-WHT/LEGO
Create a lesson
Metadata
- Categories
- cs.CL, cs.IR
- Comments
- Accepted to EMNLP 2026(Findings)
Related papers
Lightweight Reasoning Transfer via Chain-of-Thought Vector Projection
Shared title terminologycs.CLYulin Qi, Shuo Xu, Shuxia Lin et al.
Capable yet Parsimonious: Extracting and Characterizing Hidden Chain-of-Thought in Frontier Models
Shared title terminologycs.CLXiaoyu Luo, Tao Ren, Wenrui Yu et al.
From Data Room to Report: End-to-End AI Support for M&A Legal Due Diligence
Shared title terminologycs.CLJohannes R. Hübers, Daniel Uedelhoven, Manuela Bergau et al.
ASCENT: A Benchmark for Evaluating and Advancing Stepwise Diagnostic Reasoning in Large Language Models on Common Clinical Scenarios
Shared title terminologycs.CLYera Choi, Yeong Hwa Kim, Jaedeok Lee et al.
Red-Teaming a Sovereign LLM, Its Reasoning and Its Training Stages
Shared title terminologycs.CLHatef Otroshi Shahreza
LUCID: Statistically Grounded Self-Correction for LLM Reasoning Evaluation
Shared title terminologycs.CLSatiyabooshan Murugaboopathy, Adel Daoud, Connor T. Jerzak