arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.07979cs.AI
收藏

对多步骤法律推理进行基准测试并分析思维链效应在大型语言模型中的表现

Benchmarking Multi-Step Legal Reasoning and Analyzing Chain-of-Thought Effects in Large Language Models

School of Artificial Intelligence, Beihang University, Beijing, China(北京航空航天大学人工智能学院);KoGuan School of Law, Shanghai Jiao Tong University, Shanghai, China(上海交通大学KoGuan法学院);School of Criminal Law, China University of Political Science and Law, Beijing, China(中国政法大学刑事法律学院)

Wenhan Yu, Xinbo Lin, Lanxin Ni, Jinhua Cheng, Lei Sha

AI总结:

本文提出MSLR数据集,用于评估大型语言模型在多步骤法律推理中的表现,并通过实验展示自主生成的思维链提示提升了推理质量。

摘要:

大型语言模型(LLMs)在专门领域展示了强大的推理能力,推动了其在法律推理中的应用研究。然而,现有的法律基准测试往往将事实回忆与真正的推理混为一谈,碎片化推理过程,并忽视推理的质量。为了解决这些限制,我们引入了MSLR,这是首个基于真实世界司法决策的中文多步骤法律推理数据集。MSLR采用IRAC框架(问题、规则、应用、结论)来建模从官方法律文件中结构化的专家推理。此外,我们设计了一个可扩展的人工智能-大语言模型协作注释流程,高效地生成细粒度的步骤级推理注释,并提供了一个可重用的方法论框架用于多步骤推理数据集。对多个LLM在MSLR上的评估显示,其表现仅中等,突显了适应复杂法律推理的挑战。进一步实验表明,由模型自主生成的Self-Initiated Chain-of-Thought提示提高了推理的连贯性和质量,优于人工设计的提示。MSLR有助于推进LLM推理和思维链策略,并为未来研究提供了开放资源。数据集和代码可在https://github.com/yuwenhan07/MSLR-Bench和https://law.sjtu.edu.cn/flszyjzx/index.html获取。

英文摘要:

Large language models (LLMs) have demonstrated strong reasoning abilities across specialized domains, motivating research into their application to legal reasoning. However, existing legal benchmarks often conflate factual recall with genuine inference, fragment the reasoning process, and overlook the quality of reasoning. To address these limitations, we introduce MSLR, the first Chinese multi-step legal reasoning dataset grounded in real-world judicial decision making. MSLR adopts the IRAC framework (Issue, Rule, Application, Conclusion) to model structured expert reasoning from official legal documents. In addition, we design a scalable Human-LLM collaborative annotation pipeline that efficiently produces fine-grained step-level reasoning annotations and provides a reusable methodological framework for multi-step reasoning datasets. Evaluation of multiple LLMs on MSLR shows only moderate performance, highlighting the challenges of adapting to complex legal reasoning. Further experiments demonstrate that Self-Initiated Chain-of-Thought prompts generated by models autonomously improve reasoning coherence and quality, outperforming human-designed prompts. MSLR contributes to advancing LLM reasoning and Chain-of-Thought strategies and offers open resources for future research. The dataset and code are available at https://github.com/yuwenhan07/MSLR-Bench and https://law.sjtu.edu.cn/flszyjzx/index.html.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑