arXiv:2508.12281cs.CL2025-08被引 12

用强化学习让大模型生成更靠谱的法律推理过程

Legal$Δ$: Enhancing Legal Reasoning in LLMs via Reinforcement Learning with Chain-of-Thought Guided Information Gain

  • 通过思维链引导的信息增益机制,激励模型深度推理
  • 在多个法律任务上准确率超越基线,且无需人工标注偏好数据
  • 适合需要可解释法律判断的司法辅助系统开发者

法律人工智能(LegalAI)借助大语言模型(LLMs)在自动化司法决策方面取得显著进展。然而,现有法律大模型仍难以生成可靠且可解释的推理过程,常直接输出答案而缺乏多步推导,限制了其在复杂法律场景中的应用。为此,我们提出Legal$Δ$,一种基于思维链引导信息增益的强化学习框架。训练中采用双模式输入(直接答案与推理增强模式),最大化两者间的信息增益,促使模型习得有意义的推理模式而非表面冗余解释。Legal$Δ$采用两阶段策略:(1) 从强推理模型DeepSeek-R1中蒸馏隐含推理能力;(2) 通过差异性比较与多维度奖励机制,评估结构连贯性与法律领域特异性,提升推理质量。在多个法律推理任务上的实验表明,Legal$Δ$在准确率和可解释性上均优于强基线,能持续生成更稳健可信的法律判断,且不依赖标注的偏好数据。代码与数据将公开于https://github.com/NEUIR/LegalDelta。

原文摘要 · Abstract (English)

Legal Artificial Intelligence (LegalAI) has achieved notable advances in automating judicial decision-making with the support of Large Language Models (LLMs). However, existing legal LLMs still struggle to generate reliable and interpretable reasoning processes. They often default to fast-thinking behavior by producing direct answers without explicit multi-step reasoning, limiting their effectiveness in complex legal scenarios that demand rigorous justification. To address this challenge, we propose Legal$Δ$, a reinforcement learning framework designed to enhance legal reasoning through chain-of-thought guided information gain. During training, Legal$Δ$ employs a dual-mode input setup-comprising direct answer and reasoning-augmented modes-and maximizes the information gain between them. This encourages the model to acquire meaningful reasoning patterns rather than generating superficial or redundant explanations. Legal$Δ$ follows a two-stage approach: (1) distilling latent reasoning capabilities from a powerful Large Reasoning Model (LRM), DeepSeek-R1, and (2) refining reasoning quality via differential comparisons, combined with a multidimensional reward mechanism that assesses both structural coherence and legal-domain specificity. Experimental results on multiple legal reasoning tasks demonstrate that Legal$Δ$ outperforms strong baselines in both accuracy and interpretability. It consistently produces more robust and trustworthy legal judgments without relying on labeled preference data. All code and data will be released at https://github.com/NEUIR/LegalDelta.

法律AI强化学习思维链可解释性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。