DigestAI news desk

Cut through the AI noise.

Research

Researchers propose LEGO framework for legal reasoning

Researchers have introduced LEGO, a dual-module framework designed to improve how large language models handle complex legal reasoning. The system addresses two main limitations in current approaches: existing retrieval methods often miss the normative relationships between legal provisions, and standard Chain-of-Thought prompting may generate plausible but structurally unsound rationales.

1 source primary source

Key points

  • LEGO combines expert-annotated GraphRAG and structured Chain-of-Thought for legal reasoning.
  • Using a Qwen3-8B backbone, LEGO achieves 40.53% exact-match accuracy on LawExamQACivil.
  • The framework outperforms standard RAG and CoT baselines in the study.

LEGO combines Legal Expert GraphRAG, which uses an expert-annotated civil code graph to extract specific provision subgraphs, with Expert Chain-of-Thought, which structures reasoning into Provision-Fact-Conclusion steps. The framework utilizes a Qwen3-8B backbone model.

In testing, LEGO achieved 40.53% exact-match accuracy on the LawExamQACivil benchmark. This performance outperforms evaluated RAG and CoT baselines and is comparable to larger models, while maintaining robustness on multi-hop questions. The authors also report that LEGO yields the best results among evaluated baselines on open-ended benchmarks. Code and datasets are available on GitHub.

Read the original at arXiv cs.CL · by Qingjing Chen, Junkai Zhang, Shaochun Wang, Jiahao Ding, Siyuan Zheng, Yukun Yan, Zhi Zheng, Antonino Rotolo, Yun Liu, Weixing Shen primary sourceOpen source ↗
Topics · follow one to build your own front page

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.

Comments

via GitHub Discussions

More in Research

All →

Related stories