Unilaw-R1: A Large Language Model for Legal Reasoning with Reinforcement Learning and Iterative Inference
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Reasoning-focused large language models (LLMs) are rapidly evolving across various domains, yet their capabilities in handling complex legal problems remains underexplored. In this paper, we introduce Unilaw-R1, a large language model tailored for legal reasoning. With a lightweight 7-billion parameter scale, Unilaw-R1 significantly reduces deployment cost while effectively tackling three core challenges in the legal domain: insufficient legal knowledge, unreliable reasoning logic, and weak business generalization. To address these issues, we first construct Unilaw-R1-Data, a high-quality dataset containing 17K distilled and screened chain-of-thought (CoT) samples. Based on this, we adopt a two-stage training strategy combining Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL), which significantly boosts the performance on complex legal reasoning tasks and supports interpretable decision-making in legal AI applications. To assess legal reasoning ability, we also introduce Unilaw-R1-Eval, a dedicated benchmark designed to evaluate models across single- and multi-choice legal tasks. Unilaw-R1 demonstrates strong results on authoritative benchmarks, outperforming all models of similar scale and achieving performance on par with the much larger DeepSeek-R1-Distill-Qwen-32B (54.9%). Following domain-specific training, it also showed significant gains on LawBench and LexEval, exceeding Qwen-2.5-7B-Instruct (46.6%) by an average margin of 6.6%.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 11 of its 13 references that are in the map. First posted on arXiv 11 Oct 2025.
Builds on
11 of 13 references.
Closest ancestors · 3
Same direction, newest first
- 2025Fin-R1: A Large Language Model for Financial Reasoning through Reinforcement Learning20 Mar
- 2025Evaluating Test-Time Scaling LLMs for Legal Reasoning: OpenAI o1, DeepSeek-R1, and Beyond20 Mar
- 2025Investigating the Shortcomings of LLMs in Step-by-Step Legal Reasoning8 Feb
Other references · 8
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2024Large Language Models: A Surveycited by 506
- 2024MinerU: An Open-Source Solution for Precise Document Content Extractioncited by 255
- 2024Marco-o1: Towards Open Reasoning Models for Open-Ended Solutionscited by 142
- 2023DISC-LawLLM: Fine-tuning Large Language Models for Intelligent Legal Servicescited by 117
- 2023Alpha-GPT: Human-AI Interactive Alpha Mining for Quantitative Investmentcited by 54
- 2025LLMs Provide Unstable Answers to Legal Questionscited by 19
- 2025Tasks and Roles in Legal AI: Data Curation, Annotation, and Verificationcited by 3
Built on by
Citing papers per year: 2026: 10.
10 papers.
- 2026Can LLMs Time Travel? Enhancing Temporal Consistency in Legal Agentic Search through Reinforcement Learningcited by 1
- 2026NyayaMind- A Framework for Transparent Legal Reasoning and Judgment Prediction in the Indian Legal Systemcited by 0
- 2026PoliLegalLM: A Technical Report on a Large Language Model for Political and Legal Affairscited by 0
- 2026Reconciling Contradictory Views on the Effectiveness of SFT in LLMs: An Interaction Perspectivecited by 0
- 2026Towards Explainable Adjudicative Variance: Quantifying Judicial Discretion via Gated Multi-Task Learningcited by 0
- 2026From token probabilities to calibrated confidence: An empirical study of mathematical question answeringcited by 0
- 2026SoK: From Generation to Consumption of Privacy Documents in Software Systemscited by 0
- 2026LexAgentHallu: A Hierarchical Benchmark for Profiling Hallucinations in Legal Agentscited by 0
- 2026Before the Arrest: Benchmarking LLMs on Criminal Profiling from Incomplete Evidencecited by 0
- 2026LexReward: A Taxonomy-Driven Reward Framework for Legal Language Modelscited by 0
- 2026LexReward: A Taxonomy-Driven Reward Framework for Legal Language Models30 Sep 2026
- 2026Before the Arrest: Benchmarking LLMs on Criminal Profiling from Incomplete Evidence17 Sep 2026
- 2026LexAgentHallu: A Hierarchical Benchmark for Profiling Hallucinations in Legal Agents9 Sep 2026
- 2026SoK: From Generation to Consumption of Privacy Documents in Software Systems12 Aug 2026
- 2026From token probabilities to calibrated confidence: An empirical study of mathematical question answering8 Aug 2026
- 2026Towards Explainable Adjudicative Variance: Quantifying Judicial Discretion via Gated Multi-Task Learning25 Jun 2026
- 2026Can LLMs Time Travel? Enhancing Temporal Consistency in Legal Agentic Search through Reinforcement Learning25 May 2026
- 2026Reconciling Contradictory Views on the Effectiveness of SFT in LLMs: An Interaction Perspective18 May 2026
- 2026PoliLegalLM: A Technical Report on a Large Language Model for Political and Legal Affairs19 Apr 2026
- 2026NyayaMind- A Framework for Transparent Legal Reasoning and Judgment Prediction in the Indian Legal System10 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2025LegalDelta: Enhancing Legal Reasoning in LLMs via Reinforcement Learning with Chain-of-Thought Guided Information Gain
- 2023Enhancing Logical Reasoning in Large Language Models to Facilitate Legal Applications
- 2025An Explicit Syllogistic Legal Reasoning Framework for Large Language Models
- 2025ReGal: A First Look at PPO-based Legal AI for Judgment Prediction and Summarization in India
- 2024Can Large Language Models Grasp Legal Theories? Enhance Legal Reasoning with Insights from Multi-Agent Collaboration
- 2025Legal Mathematical Reasoning with LLMs: Procedural Alignment through Two-Stage Reinforcement Learning
- 2026LegalOne: A Family of Foundation Models for Reliable Legal Reasoning
- 2024LawInstruct: A Resource for Studying Language Model Adaptation to the Legal Domain