cs.CLApr 12, 2026

From Query to Counsel: Structured Reasoning with a Multi-Agent Framework and Dataset for Legal Consultation

Authors: Mingfei Lu, Yi Zhang, Mengjia Wu, Yue Feng

Organizations: Australian Artificial Intelligence Institute (AAII), University of Technology Sydney · School of Computer Science, University of Birmingham

Abstract

Legal consultation question answering (Legal CQA) presents unique challenges compared to traditional legal QA tasks, including the scarcity of high-quality training data, complex task composition, and strong contextual dependencies. To address these, we construct JurisCQAD, a large-scale dataset of over 43,000 real-world Chinese legal queries annotated with expert-validated positive and negative responses, and design a structured task decomposition that converts each query into a legal element graph integrating entities, events, intents, and legal issues. We further propose JurisMA, a modular multi-agent framework supporting dynamic routing, statutory grounding, and stylistic optimization. Combined with the element graph, the framework enables strong context-aware reasoning, effectively capturing dependencies across legal facts, norms, and procedural logic. Trained on JurisCQAD and evaluated on a refined LawBench, our system significantly outperforms both general-purpose and legal-domain LLMs across multiple lexical and semantic metrics, demonstrating the benefits of interpretable decomposition and modular collaboration in Legal CQA.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

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

    Sep 22, 2026Qingjing Chen, Junkai Zhang, Shaochun Wang +7LLM Reasoning with GraphsGraph Retrieval-Augmented Generation

  2. LawCompass: Navigating from Legal QA to Multi-Agent Deep Research with Grounded Evidence

    Oct 1, 2026Xiaoxia Cheng, Linnan Wang, Jiahao Ma +5Multi-Agent LLM SystemsLegal IR

  3. CoAL-RAG: A Complexity-Aware Legal Retrieval-Augmented Generation Method

    Aug 18, 2026Jin Su, Zhuofeng Zhao, Huanhuan Wang +1Retrieval-Augmented GenerationLegal QA