A legal judgment prediction model based on knowledge fusion and dependency masking

Y Yishan Chen X Xiaoyi Zhu Z Zhiyun Zeng P Pengfei Wang (Key Laboratory of Photochemical Conversion and Optoelectronic Materials) X Xinhua Zhu (Division of Hepatobiliary and Transplantation Surgery, Department of General Surgery, Nanjing Drum Tower Hospital)

Abstract

Legal Judgment Prediction (LJP) is a core task in Legal AI systems, which aims to predict law articles, charges, and term-of-penalty from case facts. While existing deep-learning-based LJP approaches for civil law systems have achieved certain progress, they still suffer from two key limitations: (1) insufficient deep understanding and effective utilization of external judicial knowledge; and (2) the lack of effective strategies to filter out erroneous dependency information in multi-task LJP frameworks. To address these challenges, we propose a legal judgment prediction model based on knowledge fusion and dependency masking. Specifically, we first integrate a CNN-based local semantic refinement component into the existing BERT-based legal knowledge extraction method, thereby enabling the model to further extract the core knowledge embedded in judicial documents. Then, we introduce differential attention to reduce noise in conventional attention fusion methods and help the model locate key information in case facts more accurately. Furthermore, we propose a multi-task dependency information masking mechanism to accurately identify and filter erroneous dependency information for multi-task LJP methods. Experiments conducted on real-world datasets demonstrate the superiority of our proposed model. This code is available online at https://github.com/PaperCode-GNU/KFTM .

Article Details

Journal PLoS ONE
Volume / Issue Vol. 21, Issue 1
Published January 16, 2026
Pages e0340717
ISSN 1932-6203
Publisher Public Library of Science

Journal Info

PLoS ONE

Public Library of Science

ISSN: 1932-6203 Open Access Health Sciences

Authors (5)

Y

Yishan Chen

X

Xiaoyi Zhu

Z

Zhiyun Zeng

P

Pengfei Wang

Key Laboratory of Photochemical Conversion and Optoelectronic Materials

X

Xinhua Zhu

Division of Hepatobiliary and Transplantation Surgery, Department of General Surgery, Nanjing Drum Tower Hospital