cd /news/artificial-intelligence/lego-synergizing-expert-graphrag-and… · home topics artificial-intelligence article
[ARTICLE · art-138829] src=arxiv.org ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

LEGO: Synergizing Expert GraphRAG and Expert Chain-of-Thought for Legal Reasoning

A dual-module framework called LEGO, combining Legal Expert GraphRAG and expert Chain-of-Thought, reached 40.53% exact-match accuracy on the LawExamQA_Civil benchmark using a Qwen3-8B backbone, according to the arXiv paper 2609.27009v1. LEGO's ExpertGraphRAG uses an expert-annotated civil code graph with a greedy normative-coverage retrieval algorithm to extract instance-specific provision subgraphs, while ExpertCoT structures retrieved provisions and case facts into Provision-Fact-Conclusion reasoning. The authors report LEGO outperformed the evaluated RAG and CoT baselines and performed comparably to the evaluated larger models, with code and dataset at https://github.com/BLK-WHT/LEGO.

by read1 min views1 publishedSep 24, 2026

arXiv:2609.27009v1 Announce Type: new 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 LawExamQA_Civil, 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

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @lego 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/lego-synergizing-exp…] indexed:0 read:1min 2026-09-24 ·