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

LegalDrill: 以诊断驱动合成促进小型语言模型中的法律推理

LegalDrill: Diagnosis-Driven Synthesis for Legal Reasoning in Small Language Models

Purdue University(普渡大学);Fidelity Investments(富达投资)

Tianchun Li, Haochen Liu, Vishwa Pardeshi, Xingchen Wang, Tianci Liu, Huijun Zhao, Wei Fan, Jing Gao

AI总结:

LegalDrill通过精细提示提取并迭代优化教师模型的推理轨迹,结合自我反思验证选择有效数据,提升小型语言模型的法律推理能力,无需稀缺专家标注。

摘要:

小型语言模型(SLMs)因其高效和低成本在现实部署中具有潜力,但其有限能力难以应对高风险的法律推理任务,如连贯的法规解释和逻辑一致的推断。此外,训练SLMs进行此类任务需要高质量且简洁的推理轨迹,手动收集成本高昂且标准拒绝采样难以有效整理。为此,我们提出LegalDrill,一种以诊断驱动合成的框架,通过精细提示从有能力的教师模型中提取并迭代优化推理轨迹,然后通过自我反思验证选择最有效的数据用于SLM学生。所得数据通过监督微调和直接偏好优化增强SLM训练。在多个法律基准上的广泛实验表明,LegalDrill显著增强了代表性SLMs的法律推理能力,同时避免了稀缺专家标注的需求,为实用法律推理系统开辟了可扩展的道路。

英文摘要:

Small language models (SLMs) are promising for real-world deployment due to their efficiency and low operational cost. However, their limited capacity struggles with high-stakes legal reasoning tasks that require coherent statute interpretation and logically consistent deduction. Furthermore, training SLMs for such tasks demands high-quality, concise reasoning trajectories, which are prohibitively expensive to manually collect and difficult to curate via standard rejection sampling, lacking granularity beyond final verdicts. To address these challenges, we propose {LegalDrill}, a diagnosis-driven synthesis framework that extracts and iteratively refines reasoning trajectories from a capable teacher via fine-grained prompting, then a self-reflective verification is employed to adaptively select the most effective data for the SLM student. The resulting data empower SLM training through supervised fine-tuning and direct preference optimization. Extensive experiments on several legal benchmarks demonstrate that {LegalDrill} significantly bolsters the legal reasoning capabilities of representative SLMs while bypassing the need for scarce expert annotations, paving a scalable path toward practical legal reasoning systems.

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

↑