Construction method of vehicle accident risk assessment model

By establishing a multi-layer classification assessment model based on vehicle data information from the traffic management department's 'six-in-one' database, the deficiencies in vehicle accident risk assessment in the existing technology are solved, and accurate prediction and risk level classification of vehicle accident risks are achieved, improving The management measures have been targeted and the incidence of motor vehicle accidents has been reduced.

CN118710144APending Publication Date: 2024-09-27CHANGAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410799114.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The existing technology lacks accident risk assessment and prediction from the perspective of the vehicle, especially the use of features that are highly correlated with the long-term risk status of the vehicle but less correlated with the real-time status of the vehicle, and there is a lack of research on special data 'six-in-one' data. This makes it difficult to accurately predict the risk of vehicle accidents in the future.

Method used

Based on the vehicle data information in the traffic management department's 'six-in-one' database, through classification processing and multi-layer classification evaluation models, combined with basic vehicle information, illegal information and historical accident information, using a variety of predictive classifiers and grid optimization methods, Establish a vehicle accident risk assessment model to conduct risk assessment and risk level classification within the next year.

Benefits of technology

It has realized accident risk assessment and risk level classification for different vehicle types, improved the pertinence and effectiveness of management measures, reduced the incidence of motor vehicle accidents, and ensured the safety of people and property.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118710144A
    Figure CN118710144A
Patent Text Reader

Abstract

The invention belongs to the technical field of road traffic safety, and particularly discloses a method for constructing a vehicle accident risk assessment model, which comprises the following steps of: 1) preprocessing initial data according to a vehicle type to obtain a model assessment index; 2) based on different combinations of two model training data sets and four prediction classifiers, determining a single model with an optimal effect; and 3) constructing a vehicle accident risk multi-layer classification evaluation model based on the determined single model, and performing accident risk evaluation and risk grade division on the vehicle according to the model. Based on data information of vehicles in a six-in-one database of a traffic management department, a risk assessment method system for accidents of vehicles in the next year can be constructed and applied to a risk control platform of the traffic management department, technical support is provided for the traffic management department to quickly screen and determine vehicles with different risk levels, high-risk vehicles are intervened in time, and the risk assessment efficiency is improved. Therefore, the accident rate of the motor vehicle is reduced or even eliminated, and personal and property safety is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of road traffic safety, and in particular relates to a method for constructing a vehicle accident risk assessment model. Background Art

[0002] With the continuous increase in the number of motor vehicles and the total number of drivers in my country, road traffic safety issues are becoming more and more serious. Therefore, how to reduce the incidence of motor vehicle accidents has become an imminent challenge.

[0003] To this end, relevant researchers have proposed various solutions, one of which is to conduct accident risk assessment and risk level classification for vehicles, so that high-risk vehicles can be discovered in time, thereby improving the safety level of vehicles to a certain extent. However, the indicators used in the current research on vehicle accident risk assessment often come from multiple aspects such as people, vehicles, roads, and the environment, and lack assessment and prediction from the perspective of vehicles alone. For example: Chinese patent application CN111354225A discloses a highway vehicle accident risk assessment and early warning intervention method based on road and vehicle information. Chinese patent application CN117315941A discloses a vehicle risk management early warning system based on vehicle driving data and environmental data. However, current research lacks research on special data such as "six-in-one" data, and also lacks research on the possibility of predicting the risk of accidents in vehicles in the future using features that are highly correlated with the long-term risk status of the vehicle but less correlated with the real-time status of the vehicle.

[0004] In view of this, this invention is proposed. Summary of the invention

[0005] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and provide a method for constructing a vehicle accident risk assessment model. The present invention constructs a vehicle accident risk assessment model based on the vehicle data information in the "six-in-one" database of the traffic management department, and evaluates and predicts the accident risk of the vehicle in the next year and divides the risk level according to the model, providing technical support for managers to conduct early warning and intervention, thereby achieving the goal of reducing or even eliminating the incidence of motor vehicle accidents, thereby ensuring the safety of life and property.

[0006] The purpose of the present invention is to be solved by the following technical solutions:

[0007] The present invention provides a method for constructing a vehicle accident risk assessment model, which is based on vehicle data information in a "six-in-one" database of a traffic management department and specifically includes the following steps:

[0008] Step 1: Obtain vehicle data information from the database, and classify the data information according to vehicle type to obtain a model evaluation index;

[0009] Step 2: Based on the model evaluation index obtained in step 1, two model training data sets are first established, and multiple prediction classifiers are selected. Then, the two model training data sets and the multiple prediction classifiers are arranged and combined, and a single model with high accuracy is determined by comparative evaluation with accuracy as the main goal;

[0010] Step 3: Based on the single model determined in step 2, a multi-layer classification assessment model for vehicle accident risk is established by changing the weights of the accident data in the model training set and dividing them by vehicle type. Accident risk assessment and accident risk level classification are performed on vehicles of corresponding vehicle types based on the multi-layer classification assessment model.

[0011] Furthermore, in step 1, the vehicle data information includes basic vehicle information, vehicle violation information, and vehicle historical accident information;

[0012] The vehicle types are divided into five categories, including: non-commercial cars, commercial cars, medium and large passenger cars, light trucks and medium and large trucks.

[0013] Furthermore, the basic vehicle information includes vehicle body color, vehicle status, vehicle age, whether it is a new energy vehicle, ownership, and usage nature;

[0014] The vehicle violation information is the cumulative number of key violations;

[0015] The vehicle historical accident information is accident frequency;

[0016] The accident frequency calculation formula is:

[0017] Where: F represents the accident frequency, N represents the number of all vehicle accidents in the year before the forecast year, and C represents the age of the vehicle.

[0018] Furthermore, the determination of the key illegal behaviors is obtained by analyzing a binary logistic regression model, and in the binary logistic regression model, the dependent variable is whether a traffic accident occurs, and the independent variable is the number of times the illegal behaviors occur.

[0019] Furthermore, when the significant difference P in the binary logistic regression model is less than a set threshold, it is determined to be a key illegal behavior.

[0020] Furthermore, in step 2, the variables and target variables of the two model training data sets are derived from the three dimensions of vehicle basic information, vehicle violation information, and vehicle historical accident information in the data information, and the difference between the two model training data sets is that the statistical time range of the cumulative number of key violations is different.

[0021] Furthermore, the time range for statistics of the cumulative number of key illegal behaviors in the two model training data sets is 1 year and 2 years respectively.

[0022] Furthermore, there are four types of prediction classifiers, which are the traditional prediction classifier decision tree, the extreme gradient boosting decision tree (XGBoost) based on ensemble learning ideas, LightGBM, and random forest.

[0023] Furthermore, in step three, the recall rate of the multi-layer classification evaluation model is improved by gradually increasing the weight of the accident data, so that the multi-layer classification evaluation model can accurately predict the accident vehicle.

[0024] Furthermore, the basic single model of each vehicle type is determined by step 2, and the single model of each vehicle type is not exactly the same;

[0025] The weight of the accident data is determined by grid optimization. Three sub-models are established by selecting three different weights. The three sub-models correspond to high, medium and low accident risk assessment models, respectively, and then form the entire large model.

[0026] Furthermore, in step 3, the assessment of the vehicle accident risk and the classification of the risk level are determined based on the multi-layer classification assessment model of the corresponding vehicle model, i.e., the assessment results of the three sub-models;

[0027] Specifically, the evaluation sub-model with high precision and low recall rate is defined as a high accident risk model, the evaluation result with low precision and high recall rate is defined as a low accident risk model, and the model with a recall rate and precision in between is defined as a medium accident risk model. Each vehicle will obtain three evaluation results after being evaluated by the three sub-models. Finally, the three evaluation results are substituted into the risk relationship corresponding rule table to obtain the final risk level of the vehicle.

[0028] It should be noted that the definition of accident risk level does not refer to the risk level of a single vehicle, but to the risk level of a vehicle collection as a whole. For example, for accident vehicles predicted by the high accident risk model, the prediction results have a high accuracy rate, which means that most of the vehicles predicted to have accident risks actually have accidents. Therefore, for this vehicle collection, the overall accident risk is at a high level.

[0029] Compared with the prior art, the present invention has the following beneficial effects:

[0030] The method for constructing a vehicle accident risk assessment model provided by the present invention is based on the data information of vehicles in the "six-in-one" database of the traffic management department, firstly divides the vehicles into five types, and selects assessment indicators mainly from three dimensions: basic vehicle information, vehicle violation information, and vehicle historical accident information; then, based on the determined single model, a multi-layer classification assessment model for vehicle accident risk is established by changing the accident weight; finally, based on the model, the accident risk of vehicles is assessed and risk levels are divided according to vehicle types. The technical solution provided by the present invention can bring at least the following two advantages:

[0031] First, it can evaluate and predict accident risks and classify risk levels for different types of vehicles, thereby reducing the impact of different driving behaviors, usage scenarios, and unique risk factors and characteristics of different vehicle types on the model;

[0032] Secondly, by classifying the predicted accident vehicles into risk levels, the traffic management department's needs for graded management of risky vehicles can be met, making management measures more targeted and effective. For example, owners of vehicles assessed as having high accident risks can be interviewed offline, owners of vehicles with medium accident risks can be interviewed by phone, owners of vehicles with low accident risks can be reminded by text messages, and vehicles with very low accident risks can be temporarily not intervened. This will achieve the goal of reducing or even eliminating the incidence of motor vehicle accidents to protect the safety of life and property. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The accompanying drawings are incorporated in and constitute a part of this specification and, together with the description, serve to explain the principles of the present invention.

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0035] Figure 1 is a flow chart of a method for constructing a vehicle accident risk assessment model according to the present invention;

[0036] Figure 2 It is an invention data processing flow chart;

[0037] Figure 3 It is a schematic diagram of two model training data sets of the present invention;

[0038] Figure 4 It is a structural schematic diagram of the multi-layer classification assessment model for vehicle accident risk of the present invention;

[0039] Figure 5is a schematic diagram of accidents and violations of a target vehicle in an embodiment of the present invention;

[0040] Figure 6 1 is a confusion matrix diagram of the model evaluation results of an embodiment of the present invention; wherein, (a) is a confusion matrix diagram of a high-risk model; (b) is a confusion matrix diagram of a medium-risk model; and (c) is a confusion matrix diagram of a low-risk model. DETAILED DESCRIPTION

[0041] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples consistent with some aspects of the present invention as detailed in the appended claims.

[0042] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0043] See also Figure 1 The inventor provides a method for constructing a vehicle accident risk assessment model, which is based on the vehicle data information in the "six-in-one" database of the traffic management department, and specifically includes the following steps:

[0044] Step 1: Obtain data information of all vehicles in the database, and classify the data information according to vehicle type to obtain model evaluation indicators.

[0045] Specifically, in step 1, refer to Figure 2 , extract the original vehicle data information from the database, classify and process the data according to the vehicle type, and obtain the characteristic indicators of the model from three dimensions: basic vehicle information, vehicle violation information and vehicle historical accident information; among them, vehicle types are classified according to different driving behaviors, usage scenarios, and unique risk factors and characteristics of vehicles, and are specifically divided into five categories: non-operating sedans, operating sedans, medium and large passenger cars, light trucks and medium and large trucks.

[0046] Furthermore, the characteristic indicators of vehicle basic information are body color, vehicle status, vehicle age, whether it is new energy, ownership and usage nature; the characteristic indicator of vehicle violation information is the cumulative number of key violations; the characteristic indicator of vehicle historical accident information is accident frequency, and the accident frequency calculation formula is Where: F represents the accident frequency, N represents the number of all vehicle accidents in the year before the forecast year, and C represents the age of the vehicle.

[0047] Among them, the determination of key illegal behaviors is obtained by binary logistic regression model analysis, and in this binary logistic regression model, the dependent variable is whether a traffic accident occurs, and the independent variable is the number of illegal behaviors.

[0048] There is an item "illegal behavior" in both the original vehicle violation information table and the accident information table. There are many codes for these illegal behaviors, a total of 340, and the frequency of occurrence of some codes is extremely low. Therefore, the present invention first merges similar illegal behaviors, and the merged results are shown in Table 1 below.

[0049] Table 1. Consolidated results of illegal acts

[0050]

[0051] The results of binary logistic regression are shown in Table 2 below. When the significant difference P value in the binary logistic regression model is <0.05, the influencing factor is considered significant. Therefore, 17 types of high-risk traffic violations were finally determined, namely, failure to use lights according to regulations, illegal use of lanes, violation of warning signs, failure to give way according to regulations, speeding, drunk driving, driving in the opposite direction, fatigue driving, failure to slow down on the sidewalk, driving a vehicle that does not meet safety regulations, hit-and-run, forced overtaking, driving without a license, failure to use the horn according to regulations, overloading, failure to meet vehicles according to regulations, and other unsafe behaviors.

[0052] Table 2 Binary logistic regression results

[0053]

[0054] Step 2: Based on the model evaluation index obtained in step 1, two model training data sets are first established, and multiple prediction classifiers are selected. Then, through different permutations and combinations of the two model training data sets and the multiple prediction classifiers, a single model with high accuracy is determined with comparative evaluation as the main goal.

[0055] Specifically, in step 2, the composition of the two model training data sets is different. Figure 3 ,Both model training data sets are processed based on the time dimension.,The feature variables and target variables of the two model data sets are from the three dimensions of,vehicle basic information, vehicle violation information and vehicle historical accident information.,The difference between the two is that the time range for the statistics of the,cumulative number of key violations is one year and two years, respectively.

[0056] In addition, for the processing of prediction classifiers, the present invention selects four methods: traditional prediction classifier decision tree, extreme gradient boosting decision tree (XGBoost) based on ensemble learning ideas, LightGBM, and random forest as the prediction classifiers of the model. The invention adopts a grid optimization method to determine the key hyperparameters of the four prediction classifiers, so that the model can better train and learn the data set, and thus have better performance on the test set. Through the permutations and combinations of the two model training data sets and the four prediction classifiers, the evaluation results of each combination are compared by vehicle type, and the optimal single model for each vehicle type is determined. The selection of the optimal model should be based on the accuracy rate as the main goal, combined with the actual work needs of the traffic management department, and it is necessary to ensure that the accident vehicles predicted by the model do have a certain accident risk.

[0057] Step 3: Based on the single model determined in step 2, a multi-layer classification assessment model for vehicle accident risk is established by changing the weights of the accident data in the model training set and dividing them by vehicle type. Accident risk assessment and accident risk level classification are performed on vehicles of corresponding vehicle types based on the multi-layer classification assessment model.

[0058] Specifically, in step three, the accident data refers to the target variable in the model training data set. The target variable is whether an accident occurred, and has two labels 0 and 1, 0 for no accident and 1 for an accident. Changing the weight of the accident data in the model training set refers to changing the weight of the accident data in the model training set, that is, 1.

[0059] Since the basic single model of each vehicle type is determined in step 2, the single model of each vehicle type is not exactly the same. The weight of the accident data is determined by grid optimization. The recall rate of the multi-layer classification evaluation model is improved by gradually increasing the weight of the accident data, so that the multi-layer classification evaluation model can accurately predict the accident vehicle. Three sub-models are established by selecting three different weights to form the entire large model.

[0060] Furthermore, the three sub-models correspond to high, medium and low accident risk assessment models respectively. The high accident risk model is characterized by high precision and low recall rate, which can ensure that most of the predicted accident vehicles have actually had accidents; the low accident risk model is characterized by low precision and high recall rate, which can ensure that most accident vehicles are successfully predicted.

[0061] Structural diagram of the classification evaluation model reference Figure 4 , substitute the data into the three sub-models for evaluation and prediction respectively, obtain three evaluation results, and then compare the evaluation results with the risk relationship corresponding rule table, as shown in Table 3 below, to determine the risk level of each vehicle.

[0062] Table 3 Risk relationship corresponding rules table

[0063]

[0064] In order to further verify the efficacy of the present invention, the inventors put the method into practical application:

[0065] Specifically, medium and large dangerous goods transport trucks in the database are selected. This is because the safety of dangerous goods transport vehicles has always been paid attention to by relevant national departments and has an important impact on the development of the road transport industry. Therefore, this paper selects this type of vehicle as the object of example analysis. The database records the data of 1,608 dangerous goods trucks. The specific accidents and violations of these vehicles in the past four years from 2020 to 2023 are as follows: Figure 5 shown.

[0066] Since medium and large dangerous goods transport trucks belong to medium and large trucks, the medium and large truck data processing standards and evaluation models can be used when performing data processing and selecting evaluation methods. It can be seen from the research of the present invention that the basic single model used by the multi-layer classification evaluation model of medium and large trucks is a decision tree model based on two years of violation data. Therefore, the present invention uses the accident situation of medium and large dangerous goods transport trucks in 2023 as the model dependent variable, that is, the model label value. Through statistics, it is found that a total of 79 vehicles of these vehicles had accidents in 2023; then, the present invention statistically processed the cumulative number of key violations in 2021 and 2022, and the remaining basic attribute characteristic variables were processed according to the medium and large truck data processing standards, and finally the data set required for the example analysis was obtained.

[0067] Substitute the processed data into the vehicle accident risk multi-layer classification assessment model proposed in the present invention for prediction and assessment to obtain the final assessment result. The confusion matrix of the model is as follows: Figure 6 As shown, the vehicle risk status and corresponding management measures obtained according to the risk relationship corresponding rule table are shown in Table 4 below.

[0068] Table 4 Risk vehicle classification management measures

[0069]

[0070] Depend on Figure 6 As can be seen from Table 4, the model successfully predicted the vast majority of accident vehicles and classified their risk levels, meeting the traffic control department's needs for risk vehicle classification management.

[0071] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention.

[0072] It should be understood that the present invention is not limited to what has been described above and that various modifications and changes may be made without departing from its scope. The scope of the present invention is limited only by the appended claims.

Claims

1. A method for constructing a vehicle accident risk assessment model, characterized in that: The construction method is based on the vehicle data information in the "six-in-one" database of the traffic management department, and specifically includes the following steps: Step 1: Obtain vehicle data information from the database, and classify the data information according to vehicle type to obtain a model evaluation index; Step 2: Based on the model evaluation index obtained in step 1, two model training data sets are first established, and multiple prediction classifiers are selected. Then, the two model training data sets and the multiple prediction classifiers are arranged and combined, and a single model with high accuracy is determined by comparative evaluation with accuracy as the main goal; Step 3: Based on the single model determined in step 2, a multi-layer classification assessment model for vehicle accident risk is established by changing the weights of the accident data in the model training set and dividing them by vehicle type. Accident risk assessment and accident risk level classification are performed on vehicles of corresponding vehicle types based on the multi-layer classification assessment model.

2. The method for constructing a vehicle accident risk assessment model according to claim 1, characterized in that: In step 1, the vehicle data information includes basic vehicle information, vehicle violation information, and vehicle historical accident information; The vehicle types are divided into five categories, including: non-commercial cars, commercial cars, medium and large passenger cars, light trucks and medium and large trucks.

3. The method for constructing a vehicle accident risk assessment model according to claim 2, characterized in that: The basic vehicle information includes vehicle body color, vehicle status, vehicle age, whether it is a new energy vehicle, ownership, and usage nature; The vehicle violation information is the cumulative number of key violations; The vehicle historical accident information is accident frequency; The accident frequency calculation formula is: Where: F represents the accident frequency, N represents the number of all vehicle accidents in the year before the forecast year, and C represents the age of the vehicle.

4. The method for constructing a vehicle accident risk assessment model according to claim 3, characterized in that: The determination of the key illegal behaviors is obtained by analyzing the binary logistic regression model, and in the binary logistic regression model, the dependent variable is whether a traffic accident occurs, and the independent variable is the number of times the illegal behaviors occur.

5. The method for constructing a vehicle accident risk assessment model according to claim 4, characterized in that: When the significant difference P in the binary logistic regression model is less than the set threshold, it is determined to be a key illegal behavior.

6. The method for constructing a vehicle accident risk assessment model according to claim 1, characterized in that: In step 2, the variables and target variables of the two model training data sets are derived from the three dimensions of vehicle basic information, vehicle violation information, and vehicle historical accident information in the data information, and the difference between the two model training data sets is that the statistical time range of the cumulative number of key violations is different.

7. The method for constructing a vehicle accident risk assessment model according to claim 6, characterized in that: The time range for statistics on the cumulative number of key illegal behaviors in the two model training data sets is 1 year and 2 years respectively.

8. The method for constructing a vehicle accident risk assessment model according to claim 1, characterized in that: There are four types of prediction classifiers, which are the traditional prediction classifier decision tree, the extreme gradient boosting decision tree (XGBoost) based on ensemble learning ideas, LightGBM, and random forest.

9. The method for constructing a vehicle accident risk assessment model according to claim 1, characterized in that: In step 3, the recall rate of the multi-layer classification evaluation model is improved by gradually increasing the weight of the accident data, so that the multi-layer classification evaluation model can accurately predict the accident vehicle; The weight of the accident data is determined by grid optimization, and specifically, three sub-models are established by selecting three different weights, thereby forming a multi-layer classification evaluation model.

10. The method for constructing a vehicle accident risk assessment model according to claim 9, characterized in that: In step 3, the assessment of the vehicle accident risk and the classification of the risk level are determined based on the multi-layer classification assessment model of the corresponding vehicle model, i.e., the assessment results of the three sub-models; Specifically, the evaluation sub-model with high precision and low recall rate is defined as a high accident risk model, the evaluation result with low precision and high recall rate is defined as a low accident risk model, and the model with a recall rate and precision in between is defined as a medium accident risk model. Each vehicle will obtain three evaluation results after being evaluated by the three sub-models. Finally, the three evaluation results are substituted into the risk relationship corresponding rule table to obtain the final risk level of the vehicle.