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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Lu, Mingfei, Zhang, Yi, Wu, Mengjia, Feng, Yue
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866908957318053888
author Lu, Mingfei
Zhang, Yi
Wu, Mengjia
Feng, Yue
author_facet Lu, Mingfei
Zhang, Yi
Wu, Mengjia
Feng, Yue
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2604_10470
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle From Query to Counsel: Structured Reasoning with a Multi-Agent Framework and Dataset for Legal Consultation
Lu, Mingfei
Zhang, Yi
Wu, Mengjia
Feng, Yue
Computation and Language
Artificial Intelligence
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.
title From Query to Counsel: Structured Reasoning with a Multi-Agent Framework and Dataset for Legal Consultation
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2604.10470