使用来自变压器的双向编码器表示 (BERT) 来预测台湾法院判决中的刑事指控和判决
Yi-Ting Peng1, Chin-Laung Lei1
1Department of Electrical Engineering, National Taiwan University, Taipei City, Taiwan.
PeerJ. Computer science
|March 4, 2024
概括
本研究使用来自变压器的双向编码器表示 (BERT) 来从台湾法院数据中预测刑事指控和刑期. 该模型实现了高精度,证明了法律文本分析的可行性.
科学领域:
- 计算语言学 计算语言学
- 法律信息学 法律信息学
- 人工智能的人工智能
背景情况:
- 对于那些不熟悉法律的人来说,理解法律法规和预测犯罪行为的结果可能是一个挑战.
- 刑事司法系统产生大量的文本数据,如法庭判决,这些数据包含有价值的预测信息.
研究的目的:
- 开发和评估一种机器学习模型,以利用台湾地区法院的判决来预测刑事指控和刑期.
- 为分析法律文本和克服其固有的局限性,如512令牌限制,调整和改进双向编码器从变压器表示 (BERT) 模型.
主要方法:
- 利用来自地区法院的台湾刑事判决数据集.
- 应用并微调了双向编码器从变压器 (BERT) 的表示模型的两个主要任务:刑事指控预测和句子长度预测.
- 开发了一种新的解决方案,以解决BERT的512令牌输入限制,用于处理冗长的法律文件.
主要成果:
- 在预测刑事指控方面达到98.95%的高准确度.
- 用BERT来分析台湾刑事判决的可行性.
- 获得了对句子长度预测的有希望的准确率:72.37%的伤害试验和80.93%的公共危害试验.
结论:
- 伯特模型是分析法律文本和预测台湾刑事司法系统结果的可行工具.
- 拟议的修改有效地解决了BERT在广泛的法律文件上应用时的局限性.
- 这项研究为AI驱动的法律分析和决策支持系统铺平了道路.
相关概念视频
Prediction Intervals
2.3K
The interval estimate of any variable is known as the prediction interval. It helps decide if a point estimate is dependable.
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.
2.3K
Predicting Products: SN1 vs. SN2
13.4K
Nucleophilic substitution reactions of alkyl halides can proceed via an SN1 or an SN2 mechanism. While in SN2 reactions, the nucleophile attacks the substrate simultaneously as the leaving group departs, in SN1 reactions, the substrate first dissociates to give the carbocation intermediate. Various factors such as the structure of the substrate, the strength of the nucleophile, and the nature of the solvent promote one mechanism over the other.
With increased substitution on the alkyl halide,...
With increased substitution on the alkyl halide,...
13.4K
Stereotype Content Model
14.7K
The Stereotype Content Model (SCM) was first proposed by Susan Fiske and her colleagues (Fiske, Cuddy, Glick & Xu, 2002; see also Fiske, 2012 and Fiske, 2017). The SCM specifies that when someone encounters a new group, they will stereotype them based on two metrics: warmth—or that group’s perceived intent, and how likely they are to provide help or inflict harm—and competence—or their ability to carry out that objective. Depending on the warmth-competence...
14.7K
Predicting Products: Substitution vs. Elimination
11.7K
When a nucleophile and an alkyl halide react, nucleophilic substitution and β-elimination reactions compete to generate products.
The following factors can influence the mechanisms competing against each other:
The following factors can influence the mechanisms competing against each other:
11.7K
Classification of Signals
460
In signal processing, signals are classified based on various characteristics: continuous-time versus discrete-time, periodic versus aperiodic, analog versus digital, and causal versus noncausal. Each category highlights distinct properties crucial for understanding and manipulating signals.
A continuous-time signal holds a value at every instant in time, representing information seamlessly. In contrast, a discrete-time signal holds values only at specific moments, often denoted as x(n), where...
A continuous-time signal holds a value at every instant in time, representing information seamlessly. In contrast, a discrete-time signal holds values only at specific moments, often denoted as x(n), where...
460
Predicting Molecular Geometry
34.3K
VSEPR Theory for Determination of Electron Pair Geometries
34.3K


