A Study on Machine Learning in Criminal Sentencing Assessment: Centering on the Sentencing Standards of Article 57 of the Taiwan Criminal Code

Sentencing is among the most contested tasks in criminal adjudication, as judges must balance retribution, rehabilitation, deterrence, and proportionality within broad judicial discretion. In Taiwan, Article 57 of the Criminal Code mandates consideration of multiple statutory factors, yet substantial inter-case variation persists. This study proposes a framework integrating large language models (LLMs) with traditional machine learning (tree-ensemble regressors) to predict imprisonment duration. Using a question-driven labeling pipeline derived from Article 57, LLMs extract sentencing factors from unstructured judgments and transform them into transparent, auditable feature vectors for regression models. The results show that stronger LLM architectures improve downstream prediction: under the same 72-question and Gradient Boosting Regressor with Optuna setting, Qwen3-30B-A3B reduced MAE by 42.8% and RMSE by 41.6% relative to DeepSeek-R1-Distill-Qwen-32B. Additionally, recursive feature elimination reduced the questionnaire from 72 to 28 items (61.11% reduction) with only a 1.00% increase in MAE and a 1.57% increase in RMSE. The proposed system serves as a judicial decision-support tool providing reference values and consistency checks while preserving due process, transparency, and judicial discretion.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2026-07-22
DOI
https://doi.org/10.3390/app16147334
Primary Topic
Criminal Justice and Corrections Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Study on Machine Learning in Criminal Sentencing Assessment: Centering on the Sentencing Standards of Article 57 of the Taiwan Criminal Code

Tzu-Hsuan Lee, Shao‐I Chu, Yan-Duan Ning, C R Yang et al.
Applied Sciences
Criminal Justice and Corrections Analysis
article

A Study on Machine Learning in Criminal Sentencing Assessment: Centering on the Sentencing Standards of Article 57 of the Taiwan Criminal Code

Tzu-Hsuan Lee, Shao‐I Chu, Yan-Duan Ning, C R Yang, Yi Jin Wong
article en

Abstract

Sentencing is among the most contested tasks in criminal adjudication, as judges must balance retribution, rehabilitation, deterrence, and proportionality within broad judicial discretion. In Taiwan, Article 57 of the Criminal Code mandates consideration of multiple statutory factors, yet substantial inter-case variation persists. This study proposes a framework integrating large language models (LLMs) with traditional machine learning (tree-ensemble regressors) to predict imprisonment duration. Using a question-driven labeling pipeline derived from Article 57, LLMs extract sentencing factors from unstructured judgments and transform them into transparent, auditable feature vectors for regression models. The results show that stronger LLM architectures improve downstream prediction: under the same 72-question and Gradient Boosting Regressor with Optuna setting, Qwen3-30B-A3B reduced MAE by 42.8% and RMSE by 41.6% relative to DeepSeek-R1-Distill-Qwen-32B. Additionally, recursive feature elimination reduced the questionnaire from 72 to 28 items (61.11% reduction) with only a 1.00% increase in MAE and a 1.57% increase in RMSE. The proposed system serves as a judicial decision-support tool providing reference values and consistency checks while preserving due process, transparency, and judicial discretion.

Applied SciencesVol. 16(14)
National Kaohsiung University of Science and Technology (TW)
Peace, Justice and strong institutions
Openalex Percentile: Top 3%
Criminal Justice and Corrections Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A Study on Machine Learning in Criminal Sentencing Assessment: Centering on the Sentencing Standards of Article 57 of the Taiwan Criminal Code — Tzu-Hsuan Lee, Shao‐I Chu, et al. · Applied Sciences (2026) | TGRS Research Map | TGRS