Manuscript Offprint

arXiv:2608.29616

JPO: Juris Policy Optimization for Structured Legal Reasoning in Criminal Judgment Prediction

Zhaolu Kang, Yantao Liu, Tailong Luo, Leqi Zheng, Lei Wei, Chenghua Zhu, Junhao Gong, Jiachen Qian, Eric Hanchen Jiang, Jiaxin Liu, Yuan Wang, Hao Zhang, Zixia Wang, Rong Fu, Zheng Lin, Richeng Xuan, Zhichao Hu

Abstract

Criminal judgment prediction requires models to infer statutory articles, charges, and sentencing outcomes from case facts. Unlike standard classification tasks, it involves a structured reasoning process in which statutes should be matched with facts, charges should be justified by statutes, and sentencing outcomes should remain consistent with charges. Existing approaches optimize final labels, and while some have attempted to evaluate reasoning quality, their evaluations are indirect, often relying on LLM-generated rubrics that reflect model-internal preferences rather than the inherent logical structure of legal adjudication. We propose Juris Policy Optimization (JPO), a post-training framework for structured legal reasoning in Chinese criminal judgment prediction. JPO first uses teacher-generated rationales to supervise a standardized four-step reasoning process, and then applies reinforcement learning with a composite reward over legal prediction quality, reasoning structure completeness, and cross-step consistency. JPO further introduces token-level advantage reweighting and adaptive clipping for legally salient reasoning segments. Experiments on multiple open-source language models and three Chinese legal benchmarks show that JPO consistently improves both judgment prediction and reasoning quality over supervised fine-tuning and reinforcement learning baselines.

1 Introduction

Legal judgment prediction (LJP) aims to infer judicial outcomes from case facts, including applicable statutory articles, criminal charges, and sentencing decisions. As a core task in legal NLP, it has been studied to support legal information processing, case analysis, and intelligent legal assistance (Xiao et al., 2018; Chalkidis et al., 2022; Guha et al., 2023). In criminal cases, however, judgment prediction is not merely a flat mapping from facts to labels. A plausible decision must remain coherent across several reasoning stages: the cited statutory provisions should be matched with the legally relevant facts, the predicted charge should be justified by the statutory provisions, and the final sentence should be compatible with that charge.

This structured nature is particularly important in Chinese criminal law, where judicial decisions are typically organized around factual findings, statutory articles, charges, and sentencing outcomes. As a result, high final-label accuracy alone is insufficient: a model may predict the correct charge while relying on unsupported statutes, or output a plausible sentence without a coherent legal basis.

Recent large language models (LLMs) have shown strong performance on reasoning-intensive tasks and motivated growing interest in legal-domain applications (OpenAI et al., 2024; Touvron et al., 2023; Bai et al., 2023; Wei et al., 2022; Kojima et al., 2023; Guha et al., 2023). In legal judgment prediction, LLMs provide a natural way to generate both predictions and rationales. However, adapting general-purpose LLMs to criminal judgment prediction remains difficult for two reasons. First, most existing LJP datasets provide case facts and final labels, but little supervision for intermediate reasoning (Xiao et al., 2018; Fei et al., 2024). Models trained on such data can learn shallow correlations between facts and outcomes rather than legally grounded reasoning patterns (Liu et al., 2024; Shi et al., 2025). Second, existing post-training methods mainly optimize final outputs or general preference signals (Ouyang et al.,

∗^{*}Equal contribution.

†^{\dagger}Corresponding author.

2022; Rafailov et al., 2023; Dai et al., 2025a; Cai et al., 2025), and while some attempt to assess reasoning quality, their evaluations are indirect, often relying on LLM-generated rubrics that reflect model-internal preferences rather than the structured dependencies that define legal adjudication (Lee et al., 2025; Sun et al., 2025).

To address this gap, we propose Juris Policy Optimization (JPO), a post-training framework for structured legal reasoning in Chinese criminal judgment prediction. JPO follows a two-stage design. In the first stage, a stronger teacher model generates rationales following a standardized four-step structure: fact extraction, statutory analysis, charge determination, and sentence prediction. These rationales are used to supervise structured reasoning generation during fine-tuning. In the second stage, we apply reinforcement learning with a composite reward that jointly captures legal prediction accuracy, reasoning structure completeness, and cross-step consistency across facts, statutes, charges, and sentences. To provide finer-grained optimization signals, JPO further introduces token-level advantage reweighting and adaptive clipping for legally salient reasoning segments.

We position JPO as a structured alignment and reward-shaping framework rather than as a resolution of the ambiguity inherent in evaluating legal reasoning. Its rewards are computable proxies. They offer more stable, interpretable, and reproducible supervision than LLM-generated rubrics, but they do not fully capture legally grounded reasoning, such as why particular facts satisfy the elements of a statute or why a neighboring charge should be excluded. Crucially, proxy does not mean arbitrary: a blind study in which three legal experts rated reasoning steps on 800 test cases shows that these proxies correlate substantially with expert judgment, with Spearman ρ\rho between 0.64 and 0.72 (Appendix O.1). They therefore track genuine reasoning quality while remaining approximations rather than a complete account of legal reasoning.

We evaluate JPO on multiple open-source LLM backbones and three Chinese legal benchmarks. Experimental results show that JPO consistently improves both judgment prediction performance and reasoning quality over supervised fine-tuning and standard reinforcement learning baselines. The gains are especially clear on compact models, suggesting that structured legal-reasoning alignment can substantially strengthen smaller open-source models for criminal judgment prediction.

Our contributions are summarized as follows:

• We propose Juris Policy Optimization (JPO), a post-training framework for structured legal reasoning in criminal judgment prediction.

• We introduce a composite reinforcement learning objective that jointly optimizes legal prediction quality, reasoning completeness, and cross-step consistency.

• We develop token-level advantage reweighting and adaptive clipping for legally salient reasoning segments.

• Experiments on multiple open-source backbones and three Chinese legal benchmarks show that JPO consistently improves both judgment prediction and reasoning quality over strong baselines.

References (34)