Skip to main content

ORIGINAL RESEARCH article

Front. Psychol., 18 July 2022
Sec. Human-Media Interaction

Deep Learning-Based Intelligent Robot in Sentencing

  • Department of Social Work, School of Law and Politics, Zhejiang Sci-Tech University, Hangzhou, China

This work aims to explore the application of deep learning-based artificial intelligence technology in sentencing, to promote the reform and innovation of the judicial system. First, the concept and the principles of sentencing are introduced, and the deep learning model of intelligent robot in trials is proposed. According to related concepts, the issues that need to be solved in artificial intelligence sentencing based on deep learning are introduced. The deep learning model is integrated into the intelligent robot system, to assist in the sentencing of cases. Finally, an example is adopted to illustrate the feasibility of the intelligent robot under deep learning in legal sentencing. The results show that the general final trial periods for cases of traffic accidents, copyright information, trademark infringement, copyright protection, and theft are 1,049, 796, 663, 847, and 201 days, respectively; while the final trial period under artificial intelligence evaluation based on the restricted Boltzmann deep learning model is 458, 387, 376, 438, and 247 days, respectively. The accuracy of trials is above 92%, showing a high application value. It can be observed that expect theft cases, the final trial period for others cases has been effectively reduced. The intelligent robot assistance under the restricted Boltzmann deep learning model can shorten the trial period of cases. The deep learning intelligent robot has a certain auxiliary role in legal sentencing, and this outcome provides a theoretical basis for the research of artificial intelligence technology in legal sentencing.

Introduction

Intelligent technology has been advancing rapidly since the 20th century. With the continuous optimization of human cognition of the world, the ability of intelligent application is also continuously improved. Thus, with the rapid development of artificial intelligence technology (Koos, 2018; Dessi et al., 2020), an intelligent robot has been proposed. With the proposal and development of intelligent robots, this technology has been applied to various fields such as industry, medicine, and agriculture, and has promoted the rapid development of various fields (Yan-Fang and Zhu, 2019; Ting et al., 2019; Zekos, 2021).

At present, although the application of artificial intelligence technology in the fields of industry, medicine, and agriculture has been very mature, its application in the field of law has just started (Guo et al., 2019). Since the 1980s, foreign countries have begun to build artificial intelligence legal systems (Duan et al., 2019). It was not until 2016 that IBM developed an artificial intelligence legal robot that could provide simple legal advice. This was the first application of intelligent robot in the legal field. Subsequently, scholars and companies at home and abroad started to follow IBM’s example and invested a lot of scientific research funds to study the application of intelligent robot technology in the legal field (Yin et al., 2019). At the end of 2016, scientists from several famous foreign universities jointly carried out the application research of intelligent robot technology in the field of law, and successfully used the artificial intelligence program to predict the trial result (Xiong et al., 2020). In recent years, with the rapid development of deep learning, it has not only provided a method to train the network under the structure of the deep neural network but also broke through the cognition of traditional artificial intelligence (Balas et al., 2019). The restricted Boltzmann deep learning model is a generative random two-way connection neural network; the signal is converted between the hidden layer and the visible layer, thus it is widely used. Deep learning seems to make all machine-assisted functions possible, such as driverless cars, preventive medical care, and high-quality movie recommendations (He et al., 2017). Therefore, it is very possible to combine deep learning and artificial intelligence in sentencing with intelligent robot technology (Kumar et al., 2021).

These research results not only make people feel that the application of artificial intelligence technology in the field of law is promising but also play a positive role in the legal trial practice. Based on the success of foreign research results, China began to learn from this technology. Due to the deep-rooted traditional culture and minority culture in China, the legal construction is not perfect, and there are various problems in the trial of criminal cases. For example, in the case of Nie Shubin, who shocked the whole country, Nie Shubin was acquitted of intentionally killing and raping a woman in December 2016, which exposed serious loopholes in the trial of criminal cases in China (Lv et al., 2019). Therefore, under the background of China’s judicial reform, the reform of China’s criminal trial is also on the horizon. The current deep learning, natural language, and other artificial intelligence technologies have been developed quite mature, but the conviction and sentencing of criminal cases are relatively complex, and the theory of artificial intelligence systems is not mature. There are many difficult cases in criminal proceedings that can’t find out the facts, which is not scary in itself, but the judicial thinking and principles of judicial organs are relatively complex. Taking the principle of innocence as an example, when the facts provided by the prosecution are not clear enough to prove that the defendant has a crime, the court should make a judgment that the defendant is innocent. However, intelligent robot technology can’t carry out complex thinking and application of principles, so there is still immaturity. Deep learning algorithms such as decision trees, support vector machines, and shallow neural networks will depend on professionals in the prediction of trials, resulting in poor scalability. However, many researchers are studying the use of deep learning models for case feature extraction and judgment prediction/similar case matching, and have achieved good outcomes. This indicates that intelligent robot technology has good application prospects in judicial adjudication. Artificial intelligence can also simplify the evidence review process, predict trial outcomes, and give people prior legal reference. Therefore, it has been recognized by domestic and oversea experts in the auxiliary sentencing system. The application of intelligent robot in the trial of criminal cases can effectively reduce the misjudgment of cases and promote judicial reform in China.

Thus, the deep learning-based intelligent robot is utilized to assist legal sentencing in this research. As targeted improvements are made according to three issues that need to be solved in the sentencing of intelligent robot technology, it is then applied to legal practice for validation, to analyze and evaluate its effects. It is expected to provide corresponding auxiliary work for legal consultation and trials because artificial intelligence technology can be used (Hess et al., 2020).

Literature Review

Research Status

At present, with the mature development of deep learning, neural network, and other artificial intelligence technologies, the application of intelligent robot technology in the field of law is also the current research boom. The earliest research on the application of artificial intelligence in the field of law began in western countries (Zekos, 2021). In view of the flourishing research on the application of artificial intelligence technology in other fields, in the 1980s, some legal persons with advanced scientific and technological ideas started to build the legal system of artificial intelligence, hoping that the legal system based on artificial intelligence technology could assist lawyers in the trial of some cases (as shown in Figure 1; Lakemeyer, 2018). Some foreign experts established a sentencing model on decision tree algorithm to realize the case classification and prediction of terms of imprisonment sentencing results in judgment direction (Weidong, 2021). Aletras et al. (2017) and other researchers applied the classifier model of N-gram and support vector machine to predict the judgment results of cases, and the average predictive value can reach 79%.

FIGURE 1
www.frontiersin.org

Figure 1. Idea diagram of artificial intelligence technology applied in law.

By contrast, China’s research in this area is relatively late. With the development of technology and times, intelligent robot technology has been widely used now, but the complexity and diversity of legal trials lead to the slow promotion of research on intelligent robot technology in law. Figure 2 shows that the proportion of papers related to deep learning and legal sentencing in major journals has increased significantly over time (Blb et al., 2021). Figures 3, 4 show the growth rate of deep learning in the judicial field in various countries around the world in recent years (Crawford, 2016). Figure 5 shows the changes in the published literature on the application of deep learning technology in legal sentencing in some countries from 2014 to 2018 (Mauer et al., 2021). Although the research in this field is carried out relatively late in China, the development speed is quite fast in recent years.

FIGURE 2
www.frontiersin.org

Figure 2. The proportion of papers related to the application of deep learning in the legal sentence in various famous journals in recent years.

FIGURE 3
www.frontiersin.org

Figure 3. Changes in the application trend of artificial intelligence based on deep learning in the legal field in some Asian countries from 2010 to 2018.

FIGURE 4
www.frontiersin.org

Figure 4. The changing trend of the application of artificial intelligence based on deep learning in the legal field in some western countries from 2010 to 2018.

FIGURE 5
www.frontiersin.org

Figure 5. Changes in the published literature on the application of deep learning technology in legal sentencing in some countries from 2014 to 2018.

Research Results at Home and Abroad

Since the 1980s, the application research of artificial intelligence technology in the field of law has been increasing, and the research abroad is earlier than that in China. For example, Carrel (2018) pointed out in his research that with the increase in the use of artificial intelligence and machine learning, the nature of legal services has undergone great changes. People gradually realized that legal education and service mode needs to build data and technology platform, hoping to provide customers with the best service to meet their expectations with the help of technology. Mireile and Reynoldson (2017) pointed out that the current wave of artificial intelligence determined the popularity of intelligent robot in the field of law, and the establishment of a legal service system based on artificial intelligence needed to be based on machine experience. In this study, the hypothesis of law was compared with the hypothesis of a computing system. It is discovered that intelligent robot systems generated from large amounts of empirical data were more accurate and successful in predicting the content of empirical laws. In the study of Kingston (2019), taking “what laws apply if a self-driving car kills a pedestrian” as an example, the need to establish an artificial intelligence legal service system to solve the problem of legal liability was analyzed. This research discusses whether the intelligent robot system is applicable to explore criminal liability. Hu (2016) quantified the degree of social harm and personal danger of crime from mathematical principles in their study, which promoted the application of artificial intelligence in sentencing. Yang et al. (2018) believed that although sentencing decisions were affected by more than 200 factors, sentencing laws and practices seemed to make decisions automatically. Therefore, deep learning is adopted to develop and test the intelligent sentencing algorithm and is taken as an auxiliary means of the existing sentencing practice. The results indicated that the widespread adoption of artificial intelligence computer-assisted judgment should be considered to be adopted in people’s life. Chalkidis and Dimitrios (2019) applied deep learning to legal analysis, and the word2vec model was adopted to share pre-trained legal words on a large corpus, which solved the challenging legal language processing problem. In Guangdong province, it developed the “Trial–centric Litigation Service Software” system developed by a high court in Shanghai, which greatly improved the retrial initiation rate and judgment alteration rate of the intermediate people’s court, as shown in Figure 6 (Ribeiro et al., 2018). Figure 7 shows the changes and startups in research on the adoption of artificial intelligence for legal smart sentencing in some countries around the world over time, both of which show an upward trend over time, and the research volume in the United States and China has increased rapidly (Li, 2019).

FIGURE 6
www.frontiersin.org

Figure 6. The retrial initiation rate and judgment alteration rate of the intermediate people’s court of Guangdong province.

FIGURE 7
www.frontiersin.org

Figure 7. The trend of the combination of artificial intelligence and law in various countries over time.

To sum up, at present, there are relatively few research on the application of intelligent robot system in legal sentencing. From the beginning of proposing the combination of artificial intelligence and law to now, the progress of relevant research is relatively slow, which may be related to the complexity and diversity of legal events. However, it has also achieved some success. Therefore, in the text, the study of intelligent robot based on deep learning technology in the field of legal intelligence sentencing is carried out (Sun et al., 2018; Munir et al., 2019).

Introduction of Related Concepts

Sentencing

Col sentencing, also known as penalty discretion, refer to the criminal justice activities in which the people’s court determines whether the offender is sentenced to a penalty, what kind of punishment, and whether the punishment should be immediately executed based on the determination of the crime in accordance with the provisions of the criminal law (Bainbridge and Webb, 2017; Nemitz, 2018). In this research, the characteristics of sentencing were summarized.

First, the constitution is the fundamental law of our country. According to the constitution, only the people’s courts, not other organs and institutions of the state, can exercise criminal jurisdiction. It is one of the components of criminal jurisdiction and one of the components of national penal power.

Second, general trial activities are classified into criminal trial activities, civil trial activities, and administrative trial activities. Sentencing mainly involves the issue of punishment. It is a criminal trial activity, and the trial results are relatively serious.

Third, sentencing is based on a criminal conviction. There is no sentencing without conviction.

Fourth, the content of sentencing generally refers to the determination of issues related to punishment.

The task of sentencing refers to the problem that sentencing needs to solve. The problems solved mainly include the following four aspects (Etzioni and Etzioni, 2017). First, sentencing involves deciding whether to impose a sentence on an offender. As we all know, the basic condition for sentencing is guilt, but it does not mean that the offender will be subject to criminal sanctions. According to the provisions of the criminal law of our country, people who meet the requirements of guilt in some cases are exempted from punishment by the criminal law. Second, based on criminal punishment, the measurement of punishment needs to determine the specific way and degree of punishment. Third, the sentencing also needs to decide whether the offender should be sentenced immediately. In general, sentences imposed on criminals for legitimate and valid criminal offenses need to be carried out immediately. However, the probation system is an exception. For some criminals, punishment is suspended if they meet the conditions stipulated by the law. Fourth, sentences need to decide how to punish when combined penalties are used. In judicial practice, sentencing is faced with more complicated situations, sometimes for the punishment of one person and one crime, and sometimes for some crimes. In the case of a person committing a crime, a certain amount of punishment is required for the crime, and the punishment shall be carried out in accordance with the principle of combined punishment (Allen et al., 2019).

Principle of Sentencing

Sentencing is a part of the criminal trial, which is very important in the judicial process (Liew, 2018). The principle of sentencing is used to guide them to make a good judgment in the judicial process and avoid sentencing deviation. According to article 61 of China’s criminal law, there are two principles for sentencing: one is based on the criminal facts and the other is based on the criminal law (Branting, 2017).

The principle based on criminal facts contains four parts. First, it is necessary to find out the facts of the crime with an objective and fair attitude, and deal with the facts of the crime impartially and proactively. The first step of the trial of criminal cases is to earnestly implement laws and regulations. Second, when determining the nature of a crime, the basis is the provisions of the criminal law and the conditions of the crime, which requires a correct conviction, not the experience of the supervisor. Third, it is necessary to comprehensively grasp the circumstances of the crime. The nature of the crime and the circumstances of the crime are factors that measure the degree of danger in the criminal society. For example, under the same nature of the crime, crime circumstances determine the degrees of social harm. Therefore, criminal circumstances have a good guiding role in sentencing. Fourth, the degree of social harm by crime is determined according to various factors (Cath et al., 2018).

Take criminal law as the criterion. The principle of criminal law, which takes criminal law as the criterion, is also the basic requirement to realize sentencing. It consists of four parts: first, the type of punishment and term of imprisonment shall be subject to the general provisions of the criminal law and shall not exceed the scope prescribed by the criminal law. At the same time, China’s criminal law has stipulated the general conditions for the application of the penalty. When sentencing, neither the lower limit of legal time limit nor the upper limit of legal time limit can be exceeded. Second, all kinds of punishment methods can only be applied according to the general conditions and scope of the criminal law. For example, according to the general provisions of the criminal law, the death penalty is only applicable to criminals who commit extremely serious crimes (Jayakumar et al., 2019).

Problems That Artificial Intelligence Needs to Solve in Sentencing Based on Deep Learning Technology

The Conversion of the Remaining Constitution of the Crime Fact for Conviction

In criminal cases, to accurately grasp the conviction of the facts of the case, it is necessary to distinguish between the judgment and sentencing circumstances. According to the characteristics of a criminal trial in our country, the most basic elements in the whole process of a criminal trial are the circumstances of conviction and sentencing. All the subjective and objective facts related to crime are called criminal facts. Therefore, the criminal facts are classified into the criminal constitute facts and non-criminal constitute facts. But in the whole process of sentencing, it is necessary to investigate the facts of the non-criminal constitution.

Through the research and analysis of the provisions of the criminal law and the theory of crime constitution in China, some charges in the criminal law contain some selective elements in the crime constitution elements, and the conviction does not need to include all the elements. At this point, the subjective and objective facts covered by the constitution of the crime outweigh the necessity of conviction. Therefore, judging the facts that meet the minimum requirements for the constitution of a crime becomes a mark to distinguish the circumstances of conviction from the circumstances of sentencing (Business et al., 2018). In the design of the artificial intelligence concept based on deep learning technology, it is difficult to distinguish the crime constitution facts from the non-crime constitution facts through the understanding of the crime facts and convert the remaining crime constitution facts into sentencing circumstances, to accurately measure and punish, as shown in Figure 8.

FIGURE 8
www.frontiersin.org

Figure 8. The conversion of the remaining constitution of the crime fact for conviction.

Insufficient Development of Data Resources Based on Artificial Intelligence in the Legal Field

Although the current Internet technology has been very mature, the current upload rate on the judicial database is very low, and the data comes from the judicial website familiar to the public, for example, judicial data such as the China Judgment Document Network and the China Trial Process Information Open Network. According to these uploaded data, the uploading of judicial data is not optimistic and the upload rate is less than 50% of the actual settlement. Figure 9 shows the proportion of the number of open cases on the China Judgment Document Network from 2017 to 2019 (He, 2019).

FIGURE 9
www.frontiersin.org

Figure 9. Proportion of the number of open cases on China Judgment Document Network from 2017 to 2019.

Optimization of the Trial Cycle in Sentencing

In China’s judicial practice, sentencing circumstances are mostly defined as sentencing circumstances of law, sentencing circumstances of judicial interpretation, and discretionary sentencing circumstances. The law gives the judge a certain discretion in the trial of the case. In the establishment of an artificial intelligence system, it is usually a complex process for machines to form values consistent with human beings, which is the difficulty of establishing artificial intelligence system based on deep learning. When applying artificial intelligence system to sentencing, the lawyer’s value reasoning process needs to be stimulated by the correct value reasoning method. In this process, the sentencing time will be extended, and the trial period of cases and procedures at the present stage is also a problem that needs to be solved in the application of artificial intelligence in the field of law. Figures 10, 11 show the current trial cycle of various stages (Stockholm, 2021). The trial cycle of most cases needs to be more than 10 months, which is particularly long. If this problem is solved, it will greatly promote the development of the judicial field.

FIGURE 10
www.frontiersin.org

Figure 10. Case trial cycle. (A: <= 2 months; B: 2–4 months; C: 4∼6 months; D: 6∼8 months; E: 8∼10 months; F: > 10 months).

FIGURE 11
www.frontiersin.org

Figure 11. Distribution of trial cycles of different types of cases. (A: Intellectual property plagiarism, infringement dispute; B: other intellectual property competition disputes; C: intellectual property contract dispute; D: unfair competition dispute; E: monopoly dispute).

Countermeasures and Application of Artificial Intelligence Based on Deep Learning in Legal Sentencing

Knowledge Generation Application of Intelligent Robot System Under Deep Learning in the Legal Field

Although intelligent robot system has a good role in assisting sentencing currently, especially when combined with big data, it can improve judicial efficiency and achieve justice in the judicial process to a certain extent. However, long-term criminal sentencing through intelligent robot will cause the court or judge’s jurisdiction to be impacted, justice will also be challenged, and there may be implicit discrimination against the interests of marginalized groups. Therefore, intelligent robot sentencing must be an assistance in the sentencing of criminals based on defending the dominance of judges, to ensure the benign operation and orderly development of sentencing. In artificial intelligence sentencing cases, it is necessary to accurately identify the remaining criminal facts and convert them into sentencing circumstances. Then, the statutory sentencing circumstances and discretionary sentencing circumstances are dealt with separately. The judge needs to conduct value reasoning on the sentencing results of the quantitative criminal emotion and discretionary criminal emotion, to get the possible impact on the sentencing and publish the results after comprehensive consideration.

When adopting deep learning technology to generate legal knowledge, it is necessary to describe relevant legal knowledge and concepts as well as criminal facts. When judging the constitution of a crime fact or the constitution of a non-crime fact, deep learning technology is first adopted to train the learning network strategy by taking the existing classic judgment data of the court as training samples. Then, the model is used to generate the corresponding legal sentencing knowledge and form the knowledge base belonging to the model (Camps et al., 2018; Harrou et al., 2020; Hashimoto et al., 2020).

Knowledge-Activated Reasoning of Intelligent Robot System Under Deep Learning in the Legal Field

To activate the knowledge base of the deep learning model, an algorithm is required to search the game tree, which is a supervised learning network and an augmented learning network provided by the model. According to the study and self-study of classic cases, the knowledge base is constantly updated. Supervised learning network and reinforcement learning network are the deepening of multi-layer neural network or convolutional neural network. Through convolution operation, the depth of figure extraction is continuously deepened. The whole training process of the neural network automatically modulates the parameters of convolutional kernel, and further produces classification features without supervision (Wang et al., 2019). Therefore, this process can activate the knowledge base to complete the classification of sentencing circumstances. In this research, the restricted Boltzmann deep learning model is utilized for auxiliary sentencing. The restricted Boltzmann network is a neural network that generates random bidirectional connections, in which the signal is converted between the hidden layer and the visible layer. Thus, it is widely applied.

Research Process

The flow chart of this research process is displayed in Figure 12. First, it is necessary to establish an auxiliary sentencing model under deep learning, and second, data for different types of cases are collected. After, the model is applied for the trial of the case, to obtain the trial period and trial results. With the database results as the standard, the accuracy of its trials is assessed.

FIGURE 12
www.frontiersin.org

Figure 12. Schematic diagram of the research process.

(1) Data sources and analysis methods

The dataset adopted is provided by the National Crime Information Center (NCIC) database (Shi, 2021). It is used to select cases for empirical analysis in which different types of crimes were sentenced to fixed-term imprisonment in 2019–2020. Among these crimes, there are 120 traffic accidents, 140 copyright information cases, 120 trademark infringements, 102 copyright protection cases, and 190 thefts. The sentencing technology-assisted trials based on the deep learning model are constructed, and the trial period of the cases and the accuracy of trials (subject to the database results) are taken as the evaluation standards of the application value. For the trial period, the time used for the first trial, the second trial, the two trials, the third trial, other trial procedures, and the final review is analyzed and compared (Hooshmand et al., 2020).

(2) Computer-assisted sentencing

The specific steps to establish computer-assisted sentencing are as follows. First, an in-depth investigation is conducted on the sentencing situation of the case and the sentencing experience of trial experts, several representative judgments approved by experts are collected, and the sentencing elements are extracted and quantified from these verdicts. Artificial intelligence based on the restricted Boltzmann deep learning model is adopted to evaluate the circumstance for sentencing. By training classic cases, extracting and quantifying similar plots from new cases and substituting them into the sentencing model of deep learning, the declaratory punishment of this case is obtained.

(3) Deep learning model

Hiton and Uebergang (2017) built the neural network model by adding random mechanisms into the neural network model. There are two main differences between random networks and other neural networks. (I) In the learning phase, the random network does not adjust the weight based on a certain deterministic algorithm like other networks but is modified according to a certain probability distribution. (II) In the operation stage, the random network does not perform state evolution according to a certain deterministic network equation but determines its state transition according to a certain probability distribution. The net input of a neuron can’t determine whether its state is 1 or 0, but it can determine the probability of its state is 1 or 0. Various network models are randomly generated. This network model is called Boltzmann deep learning model. It can learn data without supervision. Figure 13 is a schematic diagram of the network structure of the restricted Boltzmann deep learning model (Liu and Yan, 2020). Figure 13 shows that the restricted Boltzmann deep learning model is composed of two layers of neural networks: the visible layer and the hidden layer. The nodes in the network structure of restricted Boltzmann deep learning models are binary variable nodes. And the nodes of the visible and hidden layers are not connected.

FIGURE 13
www.frontiersin.org

Figure 13. Model structure of the restricted Boltzmann machine.

If the visible layer is set as v and the hidden layer is set as h, then the probability P(h|v) of Boltzmann distribution satisfied by the visible layer is expressed as equation 1.

P(h|v)=jnP(hi|v)(1)

In the neural network, the joint probability distribution of visible and hidden nodes is expressed by equation (2):

Pθ(v,h)=1Z(θ)e-E(v,h,θ)=1Z(θ)i,jeWijvihjiebivijeajhj(2)

Among them, Z(θ) = ∑v,h eE(v,h,θ).

The RBM energy function is as follows:

E(v,h,θ)=-aTh-bTv-vTwh=-i,jwijvijhj-ibivi-Jajhj(3)

Among them, E is the expected value; θ = {W,a,b} is the model parameter; aj is the deviation of the input variable vi; bi is the deviation of hidden variable hj, Wij is the weight of the interaction between i and j in the visible layer and the hidden layer. The definition of marginal probability distribution P of the data vector v is expressed by equation (4).

P(v;θ)=he-E(v,h,θ)v,he-E(v,h,θ)=1Z(θ)he-E(v,h,θ)=1Z(θ)ebTvheaTh+bTv+vTwh=1Z(θ)ebTvj=1Fhj{0,1}e(ajhj+i=1DWijvihj)=1Z(θ)ebTvj=1F(1+e(ajhj+i=1DWijvihj))(4)

Among them, Z(θ) represents the normalization factor, T represents kinetic energy, and F represents constant.

Equation (4) is the marginal distribution function of visible units. The characteristic of this function is that when the energy of the system changes, it gives a high probability to the system with low energy and a low probability to the system with high energy. Therefore, according to the energy function, the probability of equations (5) to (9) is defined as follows.

P(v|h;θ)=iP(vi|h)(5)
P(vi=1|h)=φ(bj+jhjWij)(6)
P(h|v;θ)=jP(hj;v)(7)
P(hj|v)=φ(aj+iviWij)(8)
φ(x)=11+e-x(9)

In equations (5) to (9), θ is the parameter of the restricted Boltzmann deep learning mode; b and a are the biases of the visible unit and the hidden unit, respectively; x represents the learning rate, v represents the visible variable v, and h represents hidden variables.

The parameters in the experiment are set. The learning rate (lr) is [0.01, 0.001, 0.0001] and the batch size is [16, 32, 64, 128]. The optimizer adopts the Adam optimizer, the number of iterations is 30, and the activation function is the Relu activation function. The research is carried out according to the above parameters, to compare the effect of algorithm assistance (Yuan and Wu, 2020).

(4) Result verification and analysis

Figure 14 shows the trial cycle distribution diagram of each case, and Figure 15 shows the cycle distribution diagram after the adoption of legal sentencing based on artificial intelligence technology. Figures 13, 14 show that artificial intelligence based on deep learning technology greatly shortens the trial period of cases when sentencing. Under normal circumstances, the final trial periods for traffic accidents, copyright information, trademark infringement, copyright protection, and theft cases are 1,049, 796, 663, 847, and 201 days, respectively. The final trial periods for traffic accidents, copyright information, trademark infringement, copyright protection, and theft cases via artificial intelligence evaluation based on the restricted Boltzmann deep learning model are 458, 387, 376, 438, and 247 days, respectively. This is similar to the research results of Nweke et al. (2018), showing that artificial intelligence based on the restricted Boltzmann deep learning model greatly shortens the trial period of different types of cases. Surprisingly, the final trial period for theft cases is 201 days under normal circumstances, while the final trial period for theft cases under artificial intelligence is 247 days. It may be because most of the theft cases involve a small amount, and the case is relatively simple and clear, so artificial judgment is more intuitive and faster. Figure 16 represents the accuracy of the trial results under the deep learning algorithm-based sentencing technology. The 117 cases of traffic accident, 135 cases of copyright infringement, 113 cases of trademark infringement, 100 cases of copyright protection, and 189 cases of theft are trialed correctly. The accuracy is more than 92%, which is pretty high; and the technology is of a high application value.

FIGURE 14
www.frontiersin.org

Figure 14. The trial period of different types of cases under normal circumstances. (A: Traffic accident; B: copyright infringement; C: trademark infringement; D: copyright protection; E: theft infringement).

FIGURE 15
www.frontiersin.org

Figure 15. The trial cycle of different types of cases with the help of artificial intelligence based on deep learning technology. (A: Traffic accident infringement; B: copyright infringement; C: trademark infringement; D: copyright protection; E: theft infringement).

FIGURE 16
www.frontiersin.org

Figure 16. The accuracy of the trial results. (A: Traffic accident infringement; B: copyright infringement; C: trademark infringement; D: copyright protection; E: theft infringement).

Conclusion

To analyze the application of intelligent robot system under deep learning technology in the sentencing field, in this study, the basic concept of sentencing, sentencing principles, and the restricted Boltzmann deep learning model were introduced, and three questions through the combination of deep learning technology model and law were proposed. That is, the conversion of the remaining constitution of the crime fact for conviction, the insufficient development of artificial intelligence data resources in the legal field, and the optimization of the trial cycle in sentencing. The above three questions are the application difficulties of deep learning technology in legal sentencing. Finally, based on the example, the application of intelligent robot system based on deep learning in legal sentencing was verified. The verification results showed that it was feasible to verify the criminal facts, which indicated that the intelligent robot system under deep learning technology could help lawyers to judge cases in the field of legal sentencing.

The validity of legal intelligence sentencing is analyzed by adopting intelligent robot system based on the restricted Boltzmann deep learning model. However, the deep learning model adopted in this research is relatively basic, and the optimization analysis of the restricted Boltzmann deep learning model will be considered. Moreover, the empirical part only shows the quantitative data results of the trial period of the case, which is insufficient to solve other problems. In the future, it should increase the selection and sorting of cases and strive to apply deep learning artificial intelligence to more legal issues. In conclusion, the results can provide ideas for the further study of the legal intelligent auxiliary system and promote the scientific and technological reform and innovation of the judiciary.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

Author Contributions

The author confirms being the sole contributor of this work and has approved it for publication.

Funding

This work was supported by Research Program of Zhejiang Soft Science (2021C35033) and Project of National Social Science Fund of China (18BSH119).

Conflict of Interest

The author declares that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher’s Note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

Aletras, N., Tsarapatsanis, D., Preoţiuc-Pietro, D., and Lampos, V. (2017). Predicting judicial decisions of the european court of human rights: a natural language processing perspective. Peerj Comput. Sci. 2:e93. doi: 10.7717/peerj-cs.93

CrossRef Full Text | Google Scholar

Allen, C. H., Vold, K., Felsen, G., and Blumenthal-Barby, J. S., and Aharoni, E. (2019). Reconciling the opposing effects of neurobiological evidence on criminal sentencing judgments. PLoS One 14:e0210584. doi: 10.1371/journal.pone.0210584

PubMed Abstract | CrossRef Full Text | Google Scholar

Bainbridge, M. B., and Webb, J. K. (2017). Artificial intelligence applied to the automatic analysis of absorption spectra. Objective measurement of the fine structure constant. Mon. Not. R Astron. Soc. 468, 1639–1670. doi: 10.1093/mnras/stx179

CrossRef Full Text | Google Scholar

Balas, V. E., Roy, S. S., Sharma, D., and Samui, P. (eds). (2019). Handbook of Deep Learning Applications, Vol. 12. New York, NY: Springer, 363. doi: 10.1007/978-3-030-11479-4

CrossRef Full Text | Google Scholar

Blb, D., Lfa, B., and Jmmb, C. (2021). Helping to detect legal swimming pools with deep learning and data visualization. Proc. Comput. Sci. 181, 1058–1065. doi: 10.1016/j.procs.2021.01.301

CrossRef Full Text | Google Scholar

Branting, L. K. (2017). Data-centric and logic-based models for automated legal problem solving. Artif. Intell. Law 25, 5–27. doi: 10.1007/s10506-017-9193-x

CrossRef Full Text | Google Scholar

Business, K., Governance, L., University, J. C., Governance, L., University, J. C., and University, J. C. (2018). Individual minke whale recognition using deep learning convolutional neural networks. Proc. Comput. Sci. 6:12.

Google Scholar

Camps, J., Sama, A., Martin, M., Rodríguez-Martín, D., Pérez-López, C., Moreno Arostegui, J. M., et al. (2018). Deep learning for freezing of gait detection in Parkinson’s disease patients in their homes using a waist-worn inertial measurement unit. Knowl. Based Syst. 139, 119–131. doi: 10.1016/j.knosys.2017.10.017

CrossRef Full Text | Google Scholar

Carrel, A. (2018). Legal intelligence through artificial intelligence requires emotional intelligence: a new competency model for the 21st century legal professional. Ga. St. Univ. Law Rev. 35:1153.

Google Scholar

Cath, C., Wachter, S., Mittelstadt, B., Taddeo, M., and Floridi, L. (2018). Artificial intelligence and the ‘good society’: the US, EU, and UK approach. Sci. Eng. Ethics 24, 505–528. doi: 10.1007/s11948-017-9901-7

PubMed Abstract | CrossRef Full Text | Google Scholar

Chalkidis, I., and Dimitrios, K. (2019). Deep learning in law: early adaptation and legal word embeddings trained on large corpora. Artif. Intell. Law 27, 171–198. doi: 10.1007/s10506-018-9238-9

CrossRef Full Text | Google Scholar

Crawford, K. (2016). Artificial intelligence’s white guy problem. N. Y. Times 25, 41–47.

Google Scholar

Dessi, D., Helaoui, R., Kumar, V., Reforgiato, R. D., and Riboni, D. (2020). Tf-IDF vs word embeddings for morbidity identification in clinical notes: an initial study. ACM SmartPhil 2596, 1–12.

Google Scholar

Duan, Y. Q., Edwards, J. S., and Dwivedi, Y. K. (2019). Artificial intelligence for decision making in the era of Big Data-evolution, challenges and research agenda. Int. J. Inform. Manag. 48, 63–71. doi: 10.1016/j.ijinfomgt.2019.01.021

CrossRef Full Text | Google Scholar

Etzioni, A., and Etzioni, O. (2017). Incorporating ethics into artificial intelligence. J. Ethics 21, 403–418. doi: 10.1007/s10892-017-9252-2

CrossRef Full Text | Google Scholar

Guo, C., Lu, J., Tian, Z., Guo, W., and Darvishan, A. (2019). Optimization of critical parameters of pem fuel cell using tlbo-de based on elman neural network. Energy Convers. Manag. 183, 149–158. doi: 10.1016/j.enconman.2018.12.088

CrossRef Full Text | Google Scholar

Harrou, F., Dairi, A., Kadri, F., and Sun, Y. (2020). Forecasting emergency department overcrowding: a deep learning framework. Chaos Solitons Fractals 139:110247. doi: 10.1016/j.chaos.2020.110247

PubMed Abstract | CrossRef Full Text | Google Scholar

Hashimoto, D. A., Witkowski, E., Gao, L., Meireles, O., and Rosman, G. (2020). Artificial intelligence in anesthesiology: current techniques. Clin. Appl. Limitat. Anesthesiol. 132, 379–394. doi: 10.1097/ALN.0000000000002960

PubMed Abstract | CrossRef Full Text | Google Scholar

He, Q. (2019). Chronology of practice: Chinese practice in private international law in 2017. Chin. J. Int. Law 17, 1101–1146. doi: 10.1093/chinesejil/jmy028

CrossRef Full Text | Google Scholar

He, Y., Mendis, G. J., and Wei, J. (2017). Real-time detection of false data injection attacks in smart grid: a deep learning-based intelligent mechanism. IEEE Trans. Smart Grid 8, 2505–2516.10.1109/TSG.2017.2703842

Google Scholar

Hess, M., Hackenberg, M., and Binder, H. (2020). Exploring generative deep learning for omics data using log-linear models. Bioinformatics 36, 5045–5053. doi: 10.1093/bioinformatics/btaa623

PubMed Abstract | CrossRef Full Text | Google Scholar

Hiton, M., and Uebergang, J. (2017). Artificial intelligence in law: an overview. Precedent 139, 35–39.

Google Scholar

Hooshmand, S. A., Zarei Ghobadi, M., Hooshmand, S. E., Azimzadeh Jamalkandi, S., Alavi, S. M., and Masoudi-Nejad, A. (2020). A multimodal deep learning-based drug repurposing approach for treatment of COVID-19. Mol Divers 25, 1717–1730. doi: 10.1007/s11030-020-10144-9

PubMed Abstract | CrossRef Full Text | Google Scholar

Hu, E. (2016). Computers as inventors-legal and policy implications of artificial intelligence on patent law. Scripted 13, 305–309. doi: 10.2966/scrip.130316.305

CrossRef Full Text | Google Scholar

Jayakumar, P., Moore, M. L. G., and Bozic, K. J. (2019). Value-based healthcare: can artificial intelligence provide value in orthopaedic surgery? Clin. Orthop. Relat. Res. 477, 1777–1780. doi: 10.1097/CORR.0000000000000873

PubMed Abstract | CrossRef Full Text | Google Scholar

Kingston, A. (2019). Artificial intelligence: the ambiguous labor market impact of automating prediction. J. Econ. Perspect. 33, 31–50. doi: 10.1257/jep.33.2.31

CrossRef Full Text | Google Scholar

Koos, S. (2018). Artificial intelligence–science fiction and legal reality. Malays. J. Syariah Law 6, 23–29. doi: 10.33102/mjsl.v6i3.135

CrossRef Full Text | Google Scholar

Kumar, V., Recupero, D. R., Riboni, D., and Helaoui, R. (2021). Ensembling classical machine learning and deep learning approaches for morbidity identification from clinical notes. IEEE Access 9, 7107–7126.

Google Scholar

Lakemeyer, G. (2018). European association for artificial intelligence (eurai). Impact 8, 4–5.

Google Scholar

Li, B. (2019). The status quo and trend of artificial intelligence in the field of education in China and Russia. Sci. Innovat. 7, 133–136.

Google Scholar

Liew, C. (2018). The future of radiology augmented with artificial intelligence: a strategy for success. Eur. J. Radiol. 102, 152–156. doi: 10.1016/j.ejrad.2018.03.019

PubMed Abstract | CrossRef Full Text | Google Scholar

Liu, Y., and Yan, Z. (2020). A combined deep-learning and lattice boltzmann model for segmentation of the hippocampus in mri. Sensors 20:3628. doi: 10.3390/s20133628

PubMed Abstract | CrossRef Full Text | Google Scholar

Lv, Z., Kong, W., Zhang, X., Jiang, D., and Lu, X. (2019). Intelligent security planning for regional distributed energy internet. IEEE Trans. Industr. Inform. 16, 3540–3547.

Google Scholar

Mauer, M., Well, J. V., Herrmann, J., Groth, M., and Sring, D. (2021). Automated age estimation of young individuals based on 3D knee MRI using deep learning. Int. J. Legal Med. 135, 649–663. doi: 10.1007/s00414-020-02465-z

PubMed Abstract | CrossRef Full Text | Google Scholar

Mireile, D., and Reynoldson, L. (2017). How to avoid’summoning the demon’: the legal review of weapons with artificial intelligence. Pandora’s Box 17, 97–100.

Google Scholar

Munir, K., Elahi, H., Ayub, A., Frezza, F., and Rizzi, A. (2019). Cancer diagnosis using deep learning: a bibliographic review. Cancers 11:1235.

Google Scholar

Nemitz, P. (2018). Constitutional democracy and technology in the age of artificial intelligence. Philos. Trans. A Math. Phys. Eng. Sci. 376, 89–95. doi: 10.1098/rsta.2018.0089

PubMed Abstract | CrossRef Full Text | Google Scholar

Nweke, H. F., Teh, Y. W., Al-Garadi, M. A., and Alo, U. R. (2018). Deep learning algorithms for human activity recognition using mobile and wearable sensor networks: state of the art and research challenges. Expert Syst. Appl. 105, 233–261.

Google Scholar

Ribeiro, G., Tangen, J. M., and Mckimmie, B. M. (2018). Beliefs about error rates and human judgment in forensic science. Sensors 13:232. doi: 10.1016/j.forsciint.2019.01.034

PubMed Abstract | CrossRef Full Text | Google Scholar

Shi, L. (2021). Crime trend perceptions, negative emotions, and public punitiveness: a survey experiment of information treatment. J. Exp. Criminol. 9, 23–29.

Google Scholar

Stockholm, S. (2021). Reflections on the use of ai in the legal domain. Law Bus. 1, 1–10.

Google Scholar

Sun, C., Yang, Y., Wen, C., Xie, K., and Wen, F. (2018). Voiceprint identification for limited dataset using the deep migration hybrid model based on transfer learning. Sensors 18:2399. doi: 10.3390/s18072399

PubMed Abstract | CrossRef Full Text | Google Scholar

Ting, D. S. W., Pasquale, L. R., Peng, L., Campbell, J. P., Lee, A. Y., Raman, R., et al. (2019). Artificial intelligence and deep learning in ophthalmology. Br. J. Ophthalmol. 103, 167–175. doi: 10.1136/bjophthalmol-2018-313173

PubMed Abstract | CrossRef Full Text | Google Scholar

Wang, H., He, T., Zou, Z., Shen, S., and Li, Y. (2019). “Using case facts to predict accusation based on deep learning,” in Proceedings of the 2019 IEEE 19th International Conference on Software Quality, Reliability and Security Companion (QRS-C), (Sofia: IEEE), 386–397. doi: 10.1109/QRS-C.2019.00038

CrossRef Full Text | Google Scholar

Weidong, J. I. (2021). The change of judicial power in china in the era of artificial intelligence. Asian J. Law Soc. 7, 1–16.

Google Scholar

Xiong, X., Jiang, H., Li, X., and Niu, M. (2020). A wasserstein gradient-penalty generative adversarial network with deep auto-encoder for bearing intelligent fault diagnosis. Meas.Sci. Technol. 31:045006. doi: 10.1088/1361-6501/ab47df

CrossRef Full Text | Google Scholar

Yan-Fang, X. U., and Zhu, L. M. (2019). Criminal risk and legislation improvement in the era of artificial intelligence. J. Qiqihar Univ. 7, 453–456.

Google Scholar

Yang, H. Q., Zhang, L., and Li, D. Q. (2018). Efficient method for probabilistic estimation of spatially varied hydraulic properties in a soil slope based on field responses: a Bayesian approach. Comput. Geotech. 102, 262–272. doi: 10.1016/j.compgeo.2017.11.012

CrossRef Full Text | Google Scholar

Yin, Y., Yang, H., Zhao, Z., and Chen, S. (2019). “A judicial sentencing method based on fused deep neural networks,” in Proceedings of the International Conference on Artificial Neural Networks and machine learning, Vol. 26, eds I. Tetko, V. Kùrková, P. Karpov, and F. Theis (Cham: Springer), 355–374.

Google Scholar

Yuan, C. H., and Wu, Y. (2020). Mobile instant messaging or face-to-face? Group interactions in cooperative simulations. Comput. Hum. Behav. 113:106508. doi: 10.1016/j.chb.2020.106508

CrossRef Full Text | Google Scholar

Zekos, G. I. (2021). “AI and legal issues,” in Economics and Law of Artificial Intelligence, Vol. 25, (Cham: Springer), 37–43. doi: 10.1007/978-3-030-64254-9_10

CrossRef Full Text | Google Scholar

Keywords: deep learning, artificial intelligence, sentencing, law, restricted boltzmann deep learning model

Citation: Chen X (2022) Deep Learning-Based Intelligent Robot in Sentencing. Front. Psychol. 13:901796. doi: 10.3389/fpsyg.2022.901796

Received: 22 March 2022; Accepted: 13 June 2022;
Published: 18 July 2022.

Edited by:

Mu-Yen Chen, National Cheng Kung University, Taiwan

Reviewed by:

Kholis Roisah, Diponegoro University, Indonesia
Ahmad Fathan Hidayatullah, Islamic University of Indonesia, Indonesia

Copyright © 2022 Chen. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Xuan Chen, Y2hlbnh1YW5AenN0dS5lZHUuY24=

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.