Using Bidirectional Encoder Representations from Transformers (BERT) to predict criminal charges and sentences from Taiwanese court judgments

被引:1
|
作者
Peng, Yi-Ting [1 ]
Lei, Chin-Laung [1 ]
机构
[1] Natl Taiwan Univ, Dept Elect Engn, Taipei City, Taiwan
关键词
National language processing; Bidirectional encoder representations from transformer (BERT); Legal artificial intelligence (Legal AI); Artificial intelligence law (AI Law); Legal judgment prediction;
D O I
10.7717/peerj-cs.1841
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
People unfamiliar with the law may not know what kind of behavior is considered criminal behavior or the lengths of sentences tied to those behaviors. This study used criminal judgments from the district court in Taiwan to predict the type of crime and sentence length that would be determined. This study pioneers using Taiwanese criminal judgments as a dataset and proposes improvements based on Bidirectional Encoder Representations from Transformers (BERT). This study is divided into two parts: criminal charges prediction and sentence prediction. Injury and public endangerment judgments were used as training data to predict sentences. This study also proposes an effective solution to BERT's 512 -token limit. The results show that using the BERT model to train Taiwanese criminal judgments is feasible. Accuracy reached 98.95% in predicting criminal charges and 72.37% in predicting the sentence in injury trials, and 80.93% in predicting the sentence in public endangerment trials.
引用
收藏
页数:24
相关论文
共 50 条
  • [1] Cyberbullying Detection Using Bidirectional Encoder Representations from Transformers (BERT)
    Sujud, Razan
    Fahs, Walid
    Khatoun, Rida
    Chbib, Fadlallah
    2024 IEEE INTERNATIONAL MEDITERRANEAN CONFERENCE ON COMMUNICATIONS AND NETWORKING, MEDITCOM 2024, 2024, : 257 - 262
  • [2] On the Dependability of Bidirectional Encoder Representations from Transformers (BERT) to Soft Errors
    Gao, Zhen
    Yin, Ziye
    Wang, Jingyan
    Su, Rui
    Deng, Jie
    Liu, Qiang
    Reviriego, Pedro
    Liu, Shanshan
    Lombardi, Fabrizio
    IEEE TRANSACTIONS ON NANOTECHNOLOGY, 2025, 24 : 73 - 87
  • [3] Protein Sequence Classification Using Bidirectional Encoder Representations from Transformers (BERT) Approach
    Balamurugan R.
    Mohite S.
    Raja S.P.
    SN Computer Science, 4 (5)
  • [4] Transfer Learning for Sentiment Classification Using Bidirectional Encoder Representations from Transformers (BERT) Model
    Areshey, Ali
    Mathkour, Hassan
    SENSORS, 2023, 23 (11)
  • [5] Identification of Misogyny on Social Media in Indonesian Using Bidirectional Encoder Representations From Transformers (BERT)
    Wibowo, Bagas Tri
    Nurjanah, Dade
    Nurrahmi, Hani
    2023 INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE IN INFORMATION AND COMMUNICATION, ICAIIC, 2023, : 401 - 406
  • [6] On the Dependable Operation of Bidirectional Encoder Representations from Transformers (BERT) in the Presence of Soft Errors
    Gao, Zhen
    Wang, Jingyan
    Su, Rui
    Reviriego, Pedro
    Liu, Shanshan
    Fabrizio, Lombardi
    2023 IEEE 23RD INTERNATIONAL CONFERENCE ON NANOTECHNOLOGY, NANO, 2023, : 582 - 586
  • [7] Oversampling effect in pretraining for bidirectional encoder representations from transformers (BERT) to localize medical BERT and enhance biomedical BERT
    Wada, Shoya
    Takeda, Toshihiro
    Okada, Katsuki
    Manabe, Shirou
    Konishi, Shozo
    Kamohara, Jun
    Matsumura, Yasushi
    ARTIFICIAL INTELLIGENCE IN MEDICINE, 2024, 153
  • [8] Automated detection of contractual risk clauses from construction specifications using bidirectional encoder representations from transformers (BERT)
    Moon, Seonghyeon
    Chi, Seokho
    Im, Seok-Been
    Automation in Construction, 2022, 142
  • [9] Automated detection of contractual risk clauses from construction specifications using bidirectional encoder representations from transformers (BERT)
    Moon, Seonghyeon
    Chi, Seokho
    Im, Seok-Been
    AUTOMATION IN CONSTRUCTION, 2022, 142
  • [10] Aspect-based Sentiment Analysis for Bengali Text using Bidirectional Encoder Representations from Transformers (BERT)
    Samia, Moythry Manir
    Rajee, Alimul
    Hasan, Md Rakib
    Faruq, Mohammad Omar
    Paul, Pintu Chandra
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2022, 13 (12) : 978 - 986