Next Article in Journal
A Virtual Reality Lab for Automotive Service Specialists: A Knowledge Transfer System in the Digital Age
Next Article in Special Issue
Assessing the Credit Risk of Crypto-Assets Using Daily Range Volatility Models
Previous Article in Journal
Assessing Fine-Grained Explicitness of Song Lyrics
Previous Article in Special Issue
Smart Contracts in Blockchain Technology: A Critical Review
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Prediction Machine Learning Models on Propensity Convicts to Criminal Recidivism

1
Department of Applied Mathematics, West Ukrainian National University, 46009 Ternopil, Ukraine
2
Department of Computer Science and Automatics, University of Bielsko-Biala, 43-309 Bielsko-Biala, Poland
3
Department of Cyber Security, Ternopil Ivan Puluj National Technical University, 46001 Ternopil, Ukraine
4
Department of Criminal Law and Process, West Ukrainian National University, 46009 Ternopil, Ukraine
5
Department of Cyber Security, West Ukrainian National University, 46009 Ternopil, Ukraine
6
Department of Computer Science, West Ukrainian National University, 46009 Ternopil, Ukraine
*
Author to whom correspondence should be addressed.
Submission received: 8 February 2023 / Revised: 24 February 2023 / Accepted: 28 February 2023 / Published: 3 March 2023

Abstract

:
Increasing internal state security requires an understanding of the factors that influence the commission of repetitive crimes (recidivism) since the crime is not caused by public danger but by the criminal person. Against the background of informatization of the information activities of law enforcement agencies, there is no doubt about the expediency of using artificial intelligence algorithms and blockchain technology to predict and prevent crimes. The prediction machine-learning models for identifying significant factors (individual characteristics of convicts), which affect the propensity to commit criminal recidivism, were applied in this article. For predicting the probability of propensity for criminal recidivism of customers of Ukrainian penitentiary institutions, a Decision Tree model was built to suggest the probability of repeated criminal offenses by convicts. It was established that the number of convictions to the actual punishment and suspended convictions is the main factors that determine the propensity of customers of penitentiary institutions to commit criminal recidivism in the future. Decision Tree models for the classification of convicts prone or not prone to recidivism were built. They can be used to predict new cases for decision-making support in criminal justice. In our further research, the possibility of using the technology of distributed registers/blockchain in predictive criminology will be analyzed.

1. Introduction

The issue of security has become critical not only for development but also for the survival of modern smart society. The research on internal state security problems requires special attention. Forensics is one of the important components of ensuring the personal safety of citizens and national security in general. Modern society does not have full confidence in institutions of criminal justice. Hundreds of prisoners around the world are spending time in prison because of false charges. Innocent people are convicted on forged or false evidence and testimony causing social and economic discontent [1]. Law enforcement agencies are increasingly using AI and blockchain technology to transparently and securely collect, process, and access evidence. Artificial intelligence, big data, blockchain, the Internet of Things, digitization, and nanotechnology create an environment for new threats that will intensify in the future. In the coming years, new technology will become an important tool even in national security and criminal justice. Smart society is vulnerable to cyberattacks, so nowadays the world is recording an increase in the number of crimes that take place in cyberspace and significantly affect security. To uncover and prevent such crimes, law enforcement agencies must use information technologies focused on data mining and machine learning techniques [2,3,4,5]. This opens up wide opportunities for the implementation of new strategic approaches, i.e., smart policing. This consists of the rational use of data and knowledge, analytical methods, increasing efficiency, introducing innovations to reduce the level of crime, and increasing the relevance of the evidence base [6]. The analysis of crime consists not only of the disclosure of already committed crimes but also of the identification of non-obvious patterns and trends of crime in order to prevent the commission of future crimes, in particular, relapses. Law enforcement agencies are increasingly using the latest information technologies to fight and prevent crime, including biometrics, audio eavesdropping, and even virtual reality. One of the most controversial AI tools is the use of algorithm-based predictive policing to predict the location of a future crime [7,8]. One of the successful applications of AI in criminal justice is an artificial neural network that can identify criminals by specific facial features [9]. Information technology and analytical methods are effective tools for analyzing evidence and assessing its relevance to an investigation or trial in criminal justice. Thus, a technology-assisted review (TAR) is used to form an evidence base to support the adoption of a reasoned decision in criminal proceedings and to conduct analytics of pre-trial decisions. This is a range of machine-reading algorithms, including analysis and predictive coding for the classification of legal documents [10,11]. The use of machine learning algorithms to support decision-making in criminal justice can be extremely beneficial to the justice system in general. D. Zhdanov et al. present a systematic framework to build and evaluate AI systems that include principles of fairness, accountability, and transparency (FAT) [12].
Blockchain technology is a distributed database or electronic ledger under decentralized control, allowing it to slip away from traditional investigative actions [13]. The most common application of blockchain technology is Bitcoin, which is increasingly becoming a tool for criminal activities on the dark web [14]. With the help of blockchain solutions, you can track evidence during the entire duration of the investigation, from the scene of the crime to the court session, while ensuring transparency, integrity, and immutability. Blockchain can provide reliable informational support to investigative bodies of criminal justice, court bodies, and prosecutors in decision-making in criminal proceedings. The implementation of blockchain technologies in the practice of law enforcement agencies will make it possible to reduce the level of false convictions, ensure the honesty and transparency of the criminal justice system, and increase trust in it.
As international practice demonstrates, penitentiary institutions not only do not change prisoners for the better in most cases make them inveterate criminals. Significant parts of crimes are committed by people who have been convicted earlier. Recidivism research is limited as only some countries keep such statistics on the national level. This makes it difficult to research the problems in this area. However, even a small range of studies proves of existing a significant percentage of criminal recidivism: about 70% in the UK, 60% in France, and 55% in the USA [15]. The estimation of the number of convicted recidivists varies across countries significantly. The widespread implementation of the technology of storing data in a blockchain could ensure not only transparent and reliable storage of criminal records but also comparability and the possibility of exchanging information about criminals between different countries. However, criminal recidivism is a serious global issue and a threat to either the internal security of individual states or international security in general. This further confirms the need for research on recidivism at the national level. Identifying risk factors of criminal recidivism among convicts is an essential part of their adaptation to society after imprisonment and the prevention of recidivism.
The purpose of this research is to recognize the main individual characteristics of prisoners that have the greatest influence on the probable tendency for criminal recidivism.

2. Related Work

The importance and ambiguity of the problems of applying innovative methods and data science in the activities of law enforcement agencies increasingly prompt scientists from different countries of the world to study the effectiveness of various policing strategies [16,17,18,19,20]. M. P. Basilio, V. Pereira, and M. W. C. M. d. Oliveira studied and presented an overview of research conducted by various authors in the field of crime control in various countries over the past 50 years [21]. This greatly simplified data analysis in this area for other researchers and provided important information for our research. F. Dakalbab et al. conducted a systematic literature review on the application of AI tools in crime prediction [22]. A. Sangani et al. presented a brief overview of various research works devoted to the application of data mining methods in crime analysis [23]. Researchers pay considerable attention to the application of the predictive policing strategy in the work of law enforcement agencies [24,25,26]. M. A. Andresen and T. K. Hodgkinson applied negative binomial and binary logistic regressions to evaluate the impact of the police foot patrol [27]. M. A. Andresen and J. L. Shen evaluated the impact of foot patrols on crime [28].
A number of scientists tried to determine the factors that affect the quantity of crime recidivism at the state and interstate levels [29,30,31]. However, the existing discrepancy in the dataset sample, the definition of the concept of “recidivism”, and the observation duration prevented them from obtaining reliable and highly-quality results. The majority of the research on this topic is devoted to the analysis of the influence of mental disorders or psychotropic substances on recidivism cases [32,33]. A. Karlsson and A. Håkansson studied the relationship between the use of specific psychoactive substances (ranked by a severity index) and recidivism. Risk factors for criminal recidivism were assessed using Cox regression analysis [34]. L. A. Jacobs et al. created a linear regression model to identify general risk factors for recidivism among two groups of individuals with serious mental disorders: with co-occurring substance use disorders or without them [35]. The comparative analysis results of recidivism rates in different countries confirmed that international data are not comparable [15,36]. The development and implementation of artificial intelligence solutions and blockchain technology open up new opportunities for using big data to prevent and predict criminal offenses [37,38]. P. Chen, J. Kurland, and S. C. Shi used a binary logistic regression approach to check the effectiveness of using AI and machine learning methods in predicting future crime in a case study of Beijing thieves and burglars [39]. D. Anderes et. al studied the possibility of the effective use of blockchain technology to store evidence in criminal cases and provide an efficient solution. Researchers have found that storing evidence on a blockchain can reduce the problems of loss, forgery, and manipulation of evidence [40]. Interpol is implementing a special project to prevent the use of blockchain technology by criminals. The project is financed by the European Union and is worth EUR 5 million. It is aimed at developing technical solutions to investigate and combat crimes and terrorism primarily related to virtual currencies and underground market operations. The goal of the project is to ensure legality while respecting users’ legitimate right to privacy [41].
In Ukraine, the application of data science and innovative strategies in the activities of criminal justice bodies is only at the initial stage [11,35,36,42]. Therefore, national research is relevant to identify factors that influence the commission of repeated criminal crimes.

3. Background

There has been a rapid and unrelenting increase in the number of prisoners in recent decades in most countries of the world. Nowadays, there are more than 10 million of them according to World Prison Brief [43]. The reasons for the increasing number of prisoners are complex and ambiguous in different countries. However, their consequences are obvious. Prison overpopulation leads to the overcrowding of penitentiaries. As result, it causes inhumane, degrading conditions of detention, reduces the ability of penitentiary systems to control all groups of prisoners, increases the risk of conflict in a prison, and poses a serious threat to public safety. Furthermore, the maintenance of prisoners is expensive and carries a significant burden on the state budget. Therefore, a range of countries has made a clear political decision to reduce the prison population. Most European states have already introduced the institution of probation [44]. Alternative measures to imprisonment are used for those convicted of minor crimes in these countries. It guarantees a significant saving of state funds, and the accused acquires a real chance to socialize and provide for themselves and their families. Ukraine ranks 41st in the prison population rating among 223 countries of the world.
In Ukraine, the total prison population (including pre-trial detainees and prisoners) as of December 2022 is 48,038 (not including prisoners in Crimea, Sevastopol, Donetsk, and Luhansk regions that are not under the control of the Ukrainian authorities) [43]. It only adopts international experience in the area of prevention of criminal offenses by probation authorities. However, the issue of public safety remains decisive. In today’s digital society, criminals are increasingly using AI and blockchain technologies to commit crimes [45]. The same technologies should be used by law enforcement agencies to prevent and solve criminal crimes. Artificial intelligence applications, blockchain technologies, and big data have opened a new era of unique opportunities for fast and high-quality collection, analysis and data, and interpretation of connections and patterns in criminal records. These tools are designed to help criminal justice agencies not only detect but also predict and prevent crime. Law enforcement agencies need to clearly realize who among the convicts is most likely to threaten society and may commit a repeat crime in the future. Nowadays, clear effective solutions are required based on the qualitative results of various scientific research on this issue. The purpose of this work is to determine the factors that have a significant impact on the tendency of convicts to recidivism. Such information will provide reliable support to the justice authorities in decision-making regarding freedom restriction, crime prevention, and the prevention of repeated criminal offenses (recidivism) in the future.

4. Materials and Methods

This study reviewed data from nearly 13,000 Ukrainian felons, who are detained in Ukrainian penitentiary institutions, to ascertain the significant factors (statistical and individual characteristics) that determine the propensity of offenders to commit repeated criminal offenses.
The following attributes were used in the applied research:
  • Recidivism (binominal): 1—yes; 2—no;
  • Sex (binominal): 1—male, 2—female;
  • Age (nominal): 1—to 18 years old, 2—18 to 30 years old, 3—30 to 45 years old; 4—over 45 years old;
  • Age1: (age at the time of the first conviction (to the actual degree of punishment), integer): 1—to 18 years old, 2—18 to 30 years old, 3—30 to 45 years old; 4—over 45 years old;
  • Age2: (age at the time of the first conviction (suspended or actual sentence), integer): 1—to 18 years old, 2—18 to 30 years old, 3—30 to 45 years old; 4—over 45 years old;
  • Marital status (binominal): 1—single, 2—married;
  • Education (nominal): 0—incomplete secondary, 1—secondary, 2—special secondary, 3—incomplete higher, 4—higher;
  • Place of residence (place of residence to the actual degree of punishment, nominal): 1—rural area, 2—urban area;
  • Type of employment (type of employment at the time of conviction (up to actual punishment), nominal): 0—unemployed, 1—part-time, 2—full-time;
  • Early dismissals (availability of early dismissals, binominal): 0—no, 1—yes;
  • Motivation for dismissal (binominal): 0—no,1—yes;
  • Real convictions (number);
  • Suspended convictions (number).
Using the RapidMiner Studio tool for mining, we built the following machine-learning models [46,47,48] for predicting the tendency of convicts to commit criminal recidivism:
  • Generalized Linear Model: generalization of linear regression models;
  • Deep Learning: multi-level neural network for learning non-linear relationships;
  • Decision Tree: finds simple tree-like models which are easy to clarify;
  • Random Forest: an ensemble of multiple randomized trees;
  • Gradient Boosted Trees: powerful but complex model using ensembles of Decision Trees;
  • Support Vector Machine: powerful but relatively fast model, especially for non-linear relationships.
The GLM generalized linear regression models are an extension of classical linear models that can be used to model relationships between dependent attributes and one or more independent attributes. This method uses the maximization of the log-likelihood for adapting GLM to the dataset. The parameter’s model regularization is conducted by elastic net penalty.
Deep Learning is a method of machine learning. It uses a multi-layer feed-forward artificial neural network. The neural network is trained with stochastic gradient descent using back-propagation. The number of hidden layers is unlimited. These layers are composed of neurons with rectifier function, tanh function, and max-out activation function. Advanced features (rate annealing, adaptive learning rate, dropout, L1 or L2 regularization, and stimulus training) allow for high predictive accuracy. Each calculated node asynchronously trains a copy of the overall model parameters on its branch data with multi-threading and transitively to the overall model by model-averaging along the network.
Algorithms of decision tree construction are based on the application of methods of regressive and cross-correlation analysis. One of the most popular algorithms of this family, CART (Classification and Regression Trees), is based on the separation of data in the branch of a tree on two daughter branches. Thus, the further division of that or the other branch depends on how much data are described by this branch. The division is conducted on the basis of the highest described branch of data coefficient of correlation between parameters according to that division, and the parameter must be envisaged in the future.
A random forest is a class of some number of random trees, with a certain number of trees declared as the parameter. These techniques can be used to predict either continuous attributes (regression problems) or categorical attributes (classification problems). The randomized trees are built (trained) on bootstrapped sub-sets of the input dataset. Each node of a randomized tree depicts a separating rule for one certain attribute. A sub-set of dataset attributes defined with the subset ratio criterion is regarded for the separating rule selection. The rule selection splits values in the most appropriate sequence of actions for the selected certain parameter criterion. For classification, the rule splits value appointments into several class predictions (nodes). The split is conducted while regression splits them to reduce the estimation error. Separating to new class prediction is repeated until the limited criteria value is given.
A gradient-boosted model is a powerful algorithm that can be used for regression or classification tasks. They are forward-learning methods classes. Regression and classification-boosted models obtain a predictive attribute value by incrementally improved evaluations. Boosting is a flexible nonlinear regression algorithm that gives an opportunity to enhance the accuracy of gradient-boosted trees. By serially using feeble classification procedures to the bit-by-bit changed dataset, assembles of decision trees are built that algorithmize a class of feeble forecasting models.
The Support Vector Machine (SVM) is a data analysis method for classification and regression analysis using models with supervised learning. SVM applies training algorithms for a given set of training examples, each of which is known to belong to one of two given categories. The SVM model assigns new samples to one of these two categories based on a non-probabilistic binary linear classifier. The SVM model depicts new examples as points in an n-dimensional space. In this representation, examples assigned to different categories should be separated by a clear boundary and be as far away from each other as possible.
The simplest assessment of model efficiency is total accuracy. This measure determines how accurate the positive predictions are, that is, what percentage of convicts identified as prone to recidivism virtually are recidivists. It is calculated as a percentage of correctly classified samples:
A c c u r a c y = N u m b e r   o f   c o r r e c t   p r e d i c t i o n T o t a l   n u m b e r   o f   p r e d i c t i o n .
There is another way to calculate accuracy for binary classification by the following formula:
A c c u r a c y = T P + T N T P + T N + F P + F N ,
where TP refers to True Positives, TN refers to True Negatives, FP refers to False Positives, and FN refers to False Negatives.
Precision is a fraction of correctly identified positive cases:
P r e c i s i o n = T P T P + F P .
Precision measures the fraction of actual positives that were identified correctly, and recall measures the coverage of actual positive cases.
The model is acceptable if its precision and recall are high:
R e c a l l = T P T P + F N .
Specificity is a score estimation of detection of the actual negative samples (what percentage of convicts who are not recidivists are predicted to be prone to recidivism):
S p e c i f i t y = T N T N + F P .
Since the mislabeling of a non-recidivist convict as prone to criminal recidivism has the greatest impact, in our case, the specificity model should be sufficiently high.
F-measure is computed as the harmonic mean of precision and recall. Each of these measures is given the same weighting.
The receiver operating characteristic curve (ROC curve) is a plot representing the quality estimates of binary classification. It visualizes the relationship between the number of true positives objects and the total number of false positives objects (also known as the error curve). The higher the AUC (the plot is located as close as possible to the upper left corner of the chart), the higher quality of the model.

5. Results

Among the built models, the highest accuracy (98.3%) is demonstrated by Decision Tree, Random Forest, and Gradient Boosted Trees (Figure 1).
The following models: Fast Large Margin (98.7%), Decision Tree, Random Forest, and Gradient Boosted Trees (97.7%) present the highest precision (Figure 2).
The highest recall is observed in Naive Bayes, Logistic Regression, and Deep Learning models (99.5%) (Figure 3).
Decision Tree, Random Forest, and Gradient Boosted Trees models have the highest sensitivity (98.8%), which is shown in Figure 4.
Fast Large Margin (99.2%), Decision Tree, Random Forest, and Gradient Boosted Trees (97.8%) have the highest specificity (Figure 5).
In general, The Decision Tree model classifies prisoners as prone or not prone to criminal recidivism in the best way according to the obtained quality and accuracy estimation of the constructed models (Table 1). This is confirmed by the Roc Surveys (Figure 6).
The quantitative interpretation of ROC is the AUC indicator (Area Under Curve). This is an estimation area bounded by the ROC curve and the axis representing the number of false positives. A classifier is better if the AUC is higher. The model is unsuitable if the AUC indicator is not greater than 0.5.
Each of the used machine learning models has a very high AUC (at least 0.96) (Figure 7).
Decision Tree, Random Forest, and Gradient Boosted Trees models provide the highest quality and precision scores among all other created models. Decision Trees are most often applied to solving classification problems when the target attributes are binomial, as in our case. Table 2 presents the high estimation of the sensitivity and specificity of created models. This is paramount for our investigation when one’s freedom depends on decision-making.
We conclude that the attributes Real convictions (0.680), Convictions (0.625), Early dismissals (0.493), Age2 (0.394), and Age1 (0.89) make the greatest contribution to the distribution of convicts prone or not prone to criminal recidivism, according to the weights chart (Figure 8) which is an influence graphical representation of the attributes on the predictive results.
So, the younger and more often a person attends court and prison, the more likely this person is to return. A significant factor is also the feeling of impunity, which provokes new crimes.
A Lift Chart is a graphical representation of model performance. It is built by calculating the ratio between the result obtained using the model against the result obtained without one.
For any given number of cases (values on the X-axis), the expected number of positive results is presented when predicting without a model but only based on randomly selected cases. This is the standard by which the performance of the model is evaluated. The bar chart provides the number of true positive cases in each group (in 10 deciles).
The constructed decision tree chart visualizes the algorithm for the distribution of prisoners into groups prone or not prone to commit future criminal offenses (Figure 9).
The Lift Chart explains the obvious advantage of using the Decision Trees model for predicting the probability of recidivism by convicts (Figure 10).
The created model confirms the falsity of the thesis that all convicts are recidivists, and it predicted a 67% probability of convicts’ propensity for criminal recidivism (Figure 11).
The number of convictions with real punishment (Real convictions), the number of convictions with suspended or real punishment (Convictions), and the type of employment (Type of employment) became the most significant when assigning convicts to the group prone to criminal recidivism in the future (Figure 12).
The highest correlation of data attributes was found between the age of the first conviction to a suspended or real sentence (Age1) and the number of convictions to a suspended or real sentence (Real convictions), the number of imprisonments (Convictions), and the presence of suspended convictions (Suspended convictions) (Table 3). The earlier the inmate committed his first criminal offence (Age1 = 1, Age1 = 2), the more likely he was to be rehabilitated by the justice system, and the more likely he committed criminal recidivism. For the category of inmates who were sentenced after adulthood (Age1 = 3), there is an inverse correlation between the attributes: the majority of them did not have suspended convictions or early releases, and they are less likely to be prone to commit repeated criminal offences.
For each of the convicts from the dataset, the probability of criminal recidivism in the future was determined, and significant factors affecting his propensity to repeat crimes were determined (Table 4).
The model simulation for a prisoner aged 30 to 45 years old (Age = 3) who was convicted for the first time at the age of 18 to 30 years old (Age1 = 2) and had an early dismissal (Early dismissals = 1) demonstrated an 83% forecast of the probability of criminal recidivism (Figure 13).

6. Discussion

When separated into groups, the essential factor is the number of real convictions. For criminals who are serving their first or second sentence, the level of education is a significant factor. The more educated the felon, the less likely he/she is to commit criminal recidivism. An interesting fact is that for convicts who have not completed secondary education (Education = 0), a significant factor is the existence of motivation for release. Convicts who are motivated to be released are less prone to criminal recidivism. For prisoners who are serving at least the third sentence, the number of convictions to suspended or real punishment is a vital factor in the tendency to recidivism. This fact highlights that suspended convictions create the illusion of impunity and “provoke” repeated crimes.
The Generalized Linear Model, Deep Learning, Decision Tree, Random Forest, Gradient Boosted Trees, and Support Vector Machine were applied for predicting the probability of propensity for criminal recidivism of felons of Ukrainian penitentiary institutions. The obtained models were compared. It was established that the use of the Decision Trees model for predicting the probability of recidivism by convicts has obvious advantages.
The Decision Tree model was developed to determine the highly significant factors of felons’ propensity to recidivism. It predicted a 67% probability of convicts being prone to criminal recidivism. It was found that the number of previous convictions to the real punishment, the number of convictions to the suspended or real punishment (which includes the existence of suspended convictions), and the type of employment have the greatest weight for classifying convicts as prone or not prone to recidivism. The earlier the prisoner committed his first crime, the more loyal the judicial system was to him. This created the illusion of impunity and provoked the commission of repeated criminal offenses. Prisoners who were convicted after coming of age were not given additional chances of correction by the justice system. Most had no probation or parole and were less likely to re-offend.
For each of the 13,000 convicts from the dataset, individual influencing factors were determined. For example, a model simulation for a prisoner aged 30 to 45 years old, who was convicted for the first time at the age of 18 to 30 years old and had early releases, with 83% probability predicted committing criminal recidivism in the future. This information will be useful for law enforcement agencies when making a decision on parole or taking preventive measures against recidivism after the release of convicts.
The model can be applied to new cases. The created Decision Tree model provides useful information for justice authorities regarding the possibility of applying a suspended punishment, parole, or participation in probation to a particular convicted person. The obtained results can provide informational support for conducting an effective criminal justice policy in Ukraine, in particular, during optimal decision-making regarding the use of an appropriate system of prevention, punishment, or implementing the institution of probation.
The next stage of our research will be the analysis of the possibility of using the technology of distributed registers/blockchains in predictive criminology. The share of crimes moving from physical space to cyberspace is growing exponentially. Nowadays, more than ever, we need adequate technologies to protect against crimes, in particular, cybercriminals. The use of blockchain technology can become an effective tool that will ensure the reduction of the impact of crime on victims and society and become the basis for the creation of new predictive criminology.

Author Contributions

Conceptualization, O.K. and S.B.; methodology, O.K. and M.K. (Mykhailo Kasianchuk); software, O.K.; validation, N.Z., R.S. and M.K. (Mykhailo Kasianchuk); formal analysis, R.S. and M.K. (Mikolaj Karpinski); investigation, R.S., N.Z. and M.K. (Mykhailo Kasianchuk); resources, O.K.; data duration, S.B.; writing—original draft preparation, O.K. and N.Z.; writing—review and editing, O.K., R.S. and M.K. (Mykhailo Kasianchuk); supervision, M.K. (Mikolaj Karpinski); funding acquisition, M.K. (Mikolaj Karpinski). All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to the safety policy in Ukraine.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

References

  1. Hutt, O.; Bowers, K.; Johnson, S.; Davies, T. Data and evidence challenges facing placebased policing. Polic. Int. J. 2018, 41, 339–351. [Google Scholar] [CrossRef] [Green Version]
  2. Jabeen, N.; Agarwal, P. Data Mining in Crime Analysis. In Proceedings of the Second International Conference on Smart Energy and Communication, Jaipur, India, March 20–21 2020. [Google Scholar] [CrossRef]
  3. Ogochukwu, O.; Forster, O. An Overview of Crime Analysis, Prevention and Prediction Using Data Mining Based on Real Time and Location Data. Int. J. Eng. Appl. Sci. Technol. 2021, 5, 99–103. [Google Scholar] [CrossRef]
  4. Saravanan, P.; Selvaprabu, J.; Raj, L.A.; Khan, A.; Sathick, K. Survey on crime analysis and prediction using data mining and machine learning techniques. Lect. Notes Electr. Eng. 2021, 688, 435–448. [Google Scholar] [CrossRef]
  5. Greenstein, S. Preserving the rule of law in the era of artificial intelligence (AI). Artif. Intell. Law 2022, 30, 291–323. [Google Scholar] [CrossRef]
  6. Coldren, J.R.; Huntoon, A.; Medaris, M. Introducing Smart Policing: Foundations, Principles, and Practice. Police Q. 2013, 16, 275–286. Available online: https://journals.sagepub.com (accessed on 8 December 2022).
  7. Walter, L.P.; McInnis, B.; Price, C.C.; Smith, S.; Hollywood, J.S. Predictive Policing: The Role of Crime Forecasting in Law Enforcement Operations. RAND Corporation 2013. Available online: https://www.rand.org/pubs/research_reports/RR233.html (accessed on 8 December 2022).
  8. Sandhu, A.; Fussey, P. The ‘uberization of policing’? How police negotiate and operationalize predictive policing technology. Polic. Soc. 2020, 31, 66–81. [Google Scholar] [CrossRef]
  9. Dervis, H. Bibliometric analysis using bibliometrix an R package. J. Scientometr. Res. 2019, 8, 156–160. [Google Scholar] [CrossRef]
  10. Wyner, A.; Mochales-Palau, R.; Moens, M.-F.; Milward, D. Approaches to Text Mining Arguments from Legal Cases. In Proceedings of the Conference “Semantic Processing of Legal Texts”, Valletta, Malta, 23 May 2010. [Google Scholar] [CrossRef]
  11. Kovalchuk, O.; Banakh, S.; Masonkova, M.; Berezka, K.; Mokhun, S.; Fedchyshyn. Text Mining for the Analysis of Legal Texts. In Proceedings of the 12th International Conference “Advanced Computer Information Technologies”, Spišská Kapitula, Slovakia, 26–28 September 2022. [Google Scholar] [CrossRef]
  12. Zhdanov, D.; Bhattacharjee, S.; Bragin, M.A. Incorporating FAT and privacy aware AI modeling approaches into business decision making frameworks. Decis. Support Syst. 2022, 155. (accessed on 2 November 2022). [Google Scholar] [CrossRef]
  13. Blockchain Facts: What Is It, How It Works, and How It Can Be Used. Investopedia. Available online: https://www.investopedia.com/terms/b/blockchain.asp (accessed on 2 December 2022).
  14. Kovalchuk, O.; Masonkova, M.; Banakh, S. The Dark Web Worldwide 2020: Anonymous vs Safety. In Proceedings of the 11th International Conference “Advanced Computer Information Technologies”, Deggendorf, Germany, 15–17 September 2021. [Google Scholar] [CrossRef]
  15. Fazel, S.; Wolf, A. A Systematic Review of Criminal Recidivism Rates Worldwide: Current Difficulties and Recommendations for Best Practice. PLoS ONE 2015, 10, e0130390. [Google Scholar] [CrossRef] [Green Version]
  16. Basilio, M.P.; Brum, G.S.; Pereira, V. A model of policing strategy choice: The integration of the Latent Dirichlet Allocation (LDA) method with ELECTRE I. J. Model. Manag. 2020, 15, 849–891. [Google Scholar] [CrossRef]
  17. Basilio, M.P.; Pereira, V. Operational research applied in the field of public security: The ordering of policing strategies such as the ELECTRE IV. J. Model. Manag. 2020, 15, 1227–1276. [Google Scholar] [CrossRef]
  18. Basilio, M.P.; Pereira, V.; Oliveira, M.W.C.D.; Costa Neto, A.F. Ranking policing strategies as a function of criminal complaints: Application of the PROMETHEE II method in the brazilian context. J. Model. Manag. 2020, 5, 549–562. [Google Scholar] [CrossRef]
  19. Hendrix, J.A.; Taniguchi, T.; Strom, K.J.; Aagaard, B.J.N. Strategic policing philosophy and the acquisition of technology: Findings from a nationally representative survey of law enforcement. Polic. Soc. 2019, 29, 727–743. [Google Scholar] [CrossRef]
  20. Mucchielli, L. The evolution of municipal police forces in France: An imitation of state police doomed to failure? Deviance Et Soc. 2017, 41, 239–271. [Google Scholar] [CrossRef]
  21. Basilio, M.P.; Pereira, V.; Oliveira, M.W.C.M.D. Knowledge discovery in research on policing strategies: An overview of the past fifty years. J. Model. Manag. 2021, 17, 1372–1409. [Google Scholar] [CrossRef]
  22. Dakalbab, F.; Talib, M.; Waraga, O.; Nassif, A.; Abbas, S.; Nasir, Q. Artificial intelligence & crime prediction: A systematic literature review. Soc. Sci. Humanit. Open 2022, 6, 100342. [Google Scholar] [CrossRef]
  23. Sangani, A.; Sampat, C.; Pinjarkar, V. Crime Prediction and Analysis. In Proceedings of the 2nd International Conference on Advances in Science & Technology (ICAST) 2019, Mumbai, India, 8–9 April 2019. [Google Scholar] [CrossRef]
  24. Meijer, A.; Wessels, M. Predictive policing: Review of benefits and drawbacks. Int. J. Public Adm. 2019, 42, 1031–1039. [Google Scholar] [CrossRef] [Green Version]
  25. Leigh, J.; Dunnett, S.; Jackson, L. Predictive police patrolling to target hotspots and cover response demand. Ann. Oper. Res. 2019, 283, 395–410. [Google Scholar] [CrossRef] [Green Version]
  26. Egbert, S. Predictive policing and the platformization of police work. Surveill. Soc. 2019, 17, 83–88. [Google Scholar] [CrossRef]
  27. Andresen, M.A.; Hodgkinson, T.K. Evaluating the impact of police foot patrol at the microgeographic level. Polic. Int. J. 2018, 41, 314–324. [Google Scholar] [CrossRef]
  28. Andresen, M.A.; Shen, J.L. The spatial effect of police foot patrol on crime patterns: A local analysis. Int. J. Offender Ther. Comp. Criminol. 2019, 63, 1446–1464. [Google Scholar] [CrossRef]
  29. Yu, R.; Långström, N.; Forsman, M.; Sjölander, A.; Fazel, S.; Molero, Y. Associations between prisons and recidivism: A nationwide longitudinal study. National Center for Biotechnology Information. PLoS ONE 2022, 17, e0267941. [Google Scholar] [CrossRef]
  30. Berezka, K.; Kovalchuk, O.; Banakh, S.; Zlyvko, S.; Hrechaniuk, R. A Binary Logistic Regression Model for Support Decision Making in Criminal Justice. Folia Oeconomica Stetin. 2022, 22, 1–17. [Google Scholar] [CrossRef]
  31. Kovalchuk, O.; Banakh, S.; Masonkova, M.; Burdin, V.; Zaverukha, O.; Ivanytskyy, R. A Scoring Model for Support Decision Making in Criminal Justice. In Proceedings of the 12th International Conference “Advanced Computer Information Technologies”, Spišská Kapitula, Slovakia, 26–28 September 2022. [Google Scholar] [CrossRef]
  32. Edberg, H.; Chen, Q.; Andiné, P.; Larsson, H.; Hirvikoski, T. Criminal recidivism in offenders with and without intellectual disability sentenced to forensic psychiatric care in Sweden—A 17-year follow-up study. Forensic Psychiatry 2022, 13. [Google Scholar] [CrossRef]
  33. Zgoba, K.; Reeves, R.; Tamburello, A.C.; Debilio, L. Criminal Recidivism in Inmates with Mental Illness and Substance Use Disorders. J. Am. Acad. Psychiatry Law 2020, 48, 209–215. [Google Scholar] [CrossRef]
  34. Karlsson, A.; Håkansson, A. Crime-Specific Recidivism in Criminal Justice Clients with Substance Use—A Cohort Study. Int. J. Environ. Res. Public Health 2022, 19, 7623. [Google Scholar] [CrossRef]
  35. Jacobs, L.A.; Fixler, A.; Labrum, T.; Givens, A.; Newhill, C. Ashley Givens, and Christina Newhill. Risk Factors for Criminal Recidivism Among Persons With Serious Psychiatric Diagnoses: Disentangling What Matters for Whom. Front. Psychiatry 2021, 12, 778399. [Google Scholar] [CrossRef] [PubMed]
  36. Yukhnenko, D.; Sridhar, S.; Fazel, S. A systematic review of criminal recidivism rates worldwide: 3-year update. PubMed Cent. 2019, 4, 28. [Google Scholar] [CrossRef]
  37. Shapiro, A. Predictive policing for reform? Indeterminacy and intervention in big data policing. Surveill. Soc. 2019, 17, 456–472. [Google Scholar] [CrossRef]
  38. Inamdar, Z.; Raut, R.; Narwane, V.S.; Gardas, B.; Narkhede, B.; Sagnak, M. A systematic literature review with bibliometric analysis of big data analytics adoption from period 2014 to 2018. J. Enterp. Inf. Manag. 2020, 34, 101–139. [Google Scholar] [CrossRef]
  39. Chen, P.; Kurland, J.; Shi, S.C. Predicting repeat offenders with machine learning: A case study of Beijing theives and burglars. In Proceedings of the 4th IEEE International Conference on Big Data Analytics (ICBDA), Suzhou, China, 15–18 March 2019. [Google Scholar] [CrossRef]
  40. Anderes, D.; Baumel, E.; Grier, C.; Veun, R.; Wright, S. The Use of Blockchain within Evidence Management Systems; Neithercutt, K., Ed.; Alister Inc.: New York, NY, USA, 2020; p. 21. Available online: https://f.hubspotusercontent10.net/hubfs/5260862/Ebooks%20and%20Whitepapers/Blockchain%20of%20Evidence%20FINAL%20DRAFT-3.pdf (accessed on 13 November 2022).
  41. Project to Prevent Criminal Use of Blockchain Technology Launched by International Consortium. Interpol. 2017. Available online: https://www.interpol.int/fr/Actualites-et-evenements/Actualites/2017/Project-to-prevent-criminal-use-of-blockchain-technology-launched-by-international-consortium (accessed on 9 January 2022).
  42. Kovalchuk, O. Modeling the risks of the confession process of the accused of criminal offenses based on survival concept. Sci. J. TNTU 2022, 108, 27–37. [Google Scholar]
  43. World Prison Brief Data. World Prison Brief. Available online: https://www.prisonstudies.org/ (accessed on 3 January 2023).
  44. Aebi, M.F.; Cocco, E.; Hashimoto, Y.Z. Probation and Prisons in Europe 2022: Key Findings of the SPACE Reports. Series UNILCRIM 2022/4. Council of Europe and University of Lausanne. Available online: https://wp.unil.ch/space/files/2022/06/Key-Findings_Prisons-and-Prisoners-in-Europe-2021_220615.pdf (accessed on 13 December 2022).
  45. Caldwell, M.; Andrews, J.T.; Tanay, T. AI-enabled future crime. Crime Sci. 2020, 9, 14. [Google Scholar] [CrossRef]
  46. Yıldırım, S. 15 Must-Know Machine Learning Algorithms. A Comprehensive Guide for Machine Learning. Towards Data Science. Available online: https://towardsdatascience.com/15-must-know-machine-learning-algorithms-44faf6bc758e (accessed on 21 November 2022).
  47. Gupta, P. Decision Trees in Machine Learning. Towards Data Science. Available online: https://towardsdatascience.com/decision-trees-in-machine-learning-641b9c4e8052 (accessed on 21 November 2022).
  48. RapidMiner Documentation. Available online: https://docs.rapidminer.com (accessed on 13 June 2022).
Figure 1. The accuracy chart for the machine learning models.
Figure 1. The accuracy chart for the machine learning models.
Information 14 00161 g001
Figure 2. The precision chart for the machine learning models.
Figure 2. The precision chart for the machine learning models.
Information 14 00161 g002
Figure 3. The recall chart for the machine learning models.
Figure 3. The recall chart for the machine learning models.
Information 14 00161 g003
Figure 4. The sensitivity chart for the machine learning models.
Figure 4. The sensitivity chart for the machine learning models.
Information 14 00161 g004
Figure 5. The specificity chart for the machine learning models.
Figure 5. The specificity chart for the machine learning models.
Information 14 00161 g005
Figure 6. The ROC curves for the machine learning models.
Figure 6. The ROC curves for the machine learning models.
Information 14 00161 g006
Figure 7. The AUC chart for the machine learning models.
Figure 7. The AUC chart for the machine learning models.
Information 14 00161 g007
Figure 8. Weights by Correlation.
Figure 8. Weights by Correlation.
Information 14 00161 g008
Figure 9. Decision Trees model plot.
Figure 9. Decision Trees model plot.
Information 14 00161 g009
Figure 10. Lift Chart for the Decision Trees model.
Figure 10. Lift Chart for the Decision Trees model.
Information 14 00161 g010
Figure 11. Lift Chart for the Decision Trees model.
Figure 11. Lift Chart for the Decision Trees model.
Information 14 00161 g011
Figure 12. Important factors for “Recidivism” = yes.
Figure 12. Important factors for “Recidivism” = yes.
Information 14 00161 g012
Figure 13. Most likely for “Recidivism” = yes.
Figure 13. Most likely for “Recidivism” = yes.
Information 14 00161 g013
Table 1. Comparison evaluation tables for machine learning models.
Table 1. Comparison evaluation tables for machine learning models.
ModelAccuracyPrecisionRecallF MeasureSensitivitySpecificityAUC
Naive Bayes86.7%78.9%99.5%88.0%99.5%74.4%0.96
Generalized Linear Model95.8%92.8%99.1%95.8%99.1%92.6%0.99
Logistic Regression91.1%85.0%99.5%91.7%99.5%83.1%0.99
Fast Large Margin80.5%98.7%61.3%75.6%61.3%99.2%0.99
Deep Learning84.4%76.1%99.5%86.3%99.5%69.6%0.99
Decision Tree98.3%97.7%98.8%98.3%98.8%97.8%0.99
Random Forest98.3%97.7%98.8%98.3%98.8%97.8%0.99
Gradient Boosted Trees98.3%97.7%98.8%98.3%98.8%97.8%0.99
Table 2. Confusion matrix for Decision Tree models.
Table 2. Confusion matrix for Decision Tree models.
Title 1True 2True 1Class Precision
pred 218442198.88%
pred 142180897.73%
class recall97.77%98.85%
Table 3. Correlation matrix (fragment).
Table 3. Correlation matrix (fragment).
AttributesAge1 = 1Age1 = 2Age1 = 3Early_dismissals = 1ConvictionsReal_convictions
Early_dissmissals = 10.1330.093−0.15410.4210.42
Convictions0.2540.099−0.2250.42110.834
Real_convictions0.2910.075−0.2360.4120.8341
Conditional_convictions0.0550.074−0.0790.1880.6480.121
Table 4. Decision Tree prediction (fragment).
Table 4. Decision Tree prediction (fragment).
Row No.RecidivismPrediction (Recidivism)Age 1Age 2Number of ConvictionsEarly Dismission
297010.9041121
297110.9042191
297210.9041121
297310.9041101
297410.3892200
297510.9042131
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Kovalchuk, O.; Karpinski, M.; Banakh, S.; Kasianchuk, M.; Shevchuk, R.; Zagorodna, N. Prediction Machine Learning Models on Propensity Convicts to Criminal Recidivism. Information 2023, 14, 161. https://0-doi-org.brum.beds.ac.uk/10.3390/info14030161

AMA Style

Kovalchuk O, Karpinski M, Banakh S, Kasianchuk M, Shevchuk R, Zagorodna N. Prediction Machine Learning Models on Propensity Convicts to Criminal Recidivism. Information. 2023; 14(3):161. https://0-doi-org.brum.beds.ac.uk/10.3390/info14030161

Chicago/Turabian Style

Kovalchuk, Olha, Mikolaj Karpinski, Serhiy Banakh, Mykhailo Kasianchuk, Ruslan Shevchuk, and Nataliya Zagorodna. 2023. "Prediction Machine Learning Models on Propensity Convicts to Criminal Recidivism" Information 14, no. 3: 161. https://0-doi-org.brum.beds.ac.uk/10.3390/info14030161

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop