LegalChainReasoner: A Legal Chain-guided Framework for Criminal Judicial Opinion Generation

Weizhe Shi, Qiqi Wang, Yihong Pan, Qian Liu, Kaiqi Zhao
8/31/2025
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

A criminal judicial opinion represents the judge's disposition of a case, including the decision rationale and sentencing. Automatically generating such opinions can assist in analyzing sentencing consistency and provide judges with references to similar past cases. However, current research typically approaches this task by dividing it into two isolated subtasks: legal reasoning and sentencing prediction. This separation often leads to inconsistency between the reasoning and predictions, failing to meet real-world judicial requirements. Furthermore, prior studies rely on manually curated knowledge to enhance applicability, yet such methods remain limited in practical deployment. To address these limitations and better align with legal practice, we propose a new LegalAI task: Judicial Opinion Generation, which simultaneously produces both legal reasoning and sentencing decisions. To achieve this, we introduce LegalChainReasoner, a framework that applies structured legal chains to guide the model through comprehensive case assessments. By integrating factual premises, composite legal conditions, and sentencing conclusions, our approach ensures flexible knowledge injection and end-to-end opinion generation. Experiments on two real-world and open-source Chinese legal case datasets demonstrate that our method outperforms baseline models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shi2025legalchainreasoner,
  title  = {LegalChainReasoner: A Legal Chain-guided Framework for Criminal Judicial Opinion Generation},
  author = {Weizhe Shi and Qiqi Wang and Yihong Pan and Qian Liu and Kaiqi Zhao},
  year   = {2025},
  eprint = {2509.00783},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.00783v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.00783.svg)](https://codeofpaper.com/paper/2509.00783)

Discussion