Risk map model construction method and device, medium and product

A risk map model is constructed through reinforcement learning algorithms and deep learning networks, which integrates driver intentions and traffic risks, solves the problem of conflicts between assisted driving systems and driver strategies, and improves driving safety and consistency.

CN118651242APending Publication Date: 2024-09-17BEIJING INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing assisted driving systems are prone to conflict with driver strategies in emergency scenarios, leading to inconsistent opinions on human-machine co-driving decisions and increasing driving risks.

Method used

A reinforcement learning algorithm is used to construct a risk map model, which is combined with a deep learning network and value model to integrate subjective driver intentions and objective traffic risks. Driving actions and risk assessments are determined through fault tree analysis and fuzzy measurement methods to form a fused risk map.

Benefits of technology

The constructed risk map model can provide consistent auxiliary driving opinions with the driver in lane-changing scenarios, reduce human-machine co-driving conflicts, and improve driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118651242A
    Figure CN118651242A
Patent Text Reader

Abstract

The invention discloses a risk map model construction method and device, a medium and a product, and relates to the field of aided driving, and the method comprises the steps: training a depth subsequent representation reinforcement learning model through employing a reinforcement learning algorithm based on a training data set, and building a risk map model; the elements of the reinforcement learning algorithm comprise a state, a strategy, an action and a reward value; the state is lane changing data in any driving scene; the strategy is a driving strategy; the driving strategy comprises an upper-layer driving intention extraction model and a lower-layer driving action prediction model so as to perform driving intention recognition and driving action prediction; the action is a driving action; the driving action is the transverse acceleration and the longitudinal acceleration of the main vehicle; the reward value is a scene risk of collision risks between the main vehicle and a vehicle in front of the current lane, a vehicle behind the current lane, a vehicle in front of the target lane and a vehicle behind the target lane; the scene risk is determined by using a fault tree analysis method and a fuzzy measurement method based on the driving action. According to the invention, the problem of man-machine co-driving is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of assisted driving, and in particular to a method, device, medium and product for constructing a risk map model. Background Art

[0002] The popularization and application of assisted driving can improve driving safety and reduce driving risks. This is especially true for lane changing, where drivers face complex scenarios and many potential dangers. Humans drive with strong subjective will, and sometimes the driving strategy they adopt is not the safest. In some extreme scenarios, human drivers may make wrong predictions based on their driving habits, leading to traffic accidents.

[0003] In order to ensure driving safety, existing studies have proposed many risk indicators for individual risks, such as TTC (time-to-collison), DARC (deceleration rate to avoid a crash), etc. These indicators can quickly calculate the driving risk between the main vehicle and other vehicles, but they can only calculate the risk for the main vehicle position, and cannot construct the overall risk of the scene. Some studies have proposed the concept of risk field to achieve an objective description of the scene collision risk and provide assisted driving advice to the driver based on the risk. Although these risk evaluation methods are of great significance for assisted driving, assisted driving systems based only on objective safety construction will have the problem of human-machine co-driving conflict.

[0004] When encountering an emergency scenario, if the strategy generated by the driver based on his own experience does not match the suggestions of the assisted driving system, there will be a conflict in decision-making opinions. This will further cause the driver to hesitate and thus cause danger. Therefore, it is necessary to establish a risk model that coordinates objective risks and the driver's subjective strategy to solve the conflict problem between human and machine co-driving. Summary of the invention

[0005] The purpose of this application is to provide a risk map model construction method, equipment, medium and product to solve the problem of human-machine co-driving conflict.

[0006] To achieve the above objectives, this application provides the following solutions:

[0007] In a first aspect, the present application provides a method for constructing a risk map model, comprising:

[0008] Acquire a training data set; the training data set includes lane change data and corresponding values ​​in historical driving scenarios; the lane change data includes a main vehicle speed, a front vehicle speed in a current lane, a rear vehicle speed in a current lane, a front vehicle speed in a target lane, a rear vehicle speed in a target lane, and distances between the main vehicle and the front vehicle in the current lane, the rear vehicle in the current lane, the front vehicle in the target lane, and the rear vehicle in the target lane, respectively;

[0009] According to the training data set, a deep successor representation reinforcement learning model is trained using a reinforcement learning algorithm to establish a risk map model; the deep successor representation reinforcement learning model includes a deep learning network and a value model; the elements of the reinforcement learning algorithm include state, strategy, action and reward value; the state is the lane change data in any driving scenario; the strategy is the driving strategy; the driving strategy includes an upper-layer driving intention extraction model and a lower-layer driving action prediction model; the lower-layer driving action prediction model includes a driving action prediction model under lane keeping intention and a driving action prediction model under lane changing intention; the upper-layer driving intention extraction model is a model that uses the lane change data in historical driving scenarios and the corresponding driving intention to extract the lane change data. The driving action prediction model under the lane keeping intention is obtained by training the Gaussian process regression model using the lane changing data corresponding to the lane keeping intention and the corresponding driving action; the driving action prediction model under the lane changing intention is obtained by training the Gaussian process regression model using the lane changing data corresponding to the lane changing intention and the corresponding driving action; the action is a driving action; the driving action is the lateral acceleration and longitudinal acceleration of the main vehicle; the reward value is the scenario risk of the collision risk between the main vehicle and the front vehicle in the current lane, the rear vehicle in the current lane, the front vehicle in the target lane and the rear vehicle in the target lane; the scenario risk is determined based on the driving action using the fault tree analysis method and the fuzzy measurement method;

[0010] Get lane change data for the current driving scenario;

[0011] According to the lane change data in the current driving scenario, the value in the current driving scenario is determined using the risk map model to determine the accident risk value of the driver's behavior after a preset period of time; the value includes a risk map point value.

[0012] Optionally, according to the training data set, a deep successor representation reinforcement learning model is trained using a reinforcement learning algorithm to establish a risk map model, specifically including:

[0013] Build driving strategies;

[0014] Based on the lane change data in each historical driving scenario, using the driving strategy, determining the driving action in each historical driving scenario;

[0015] According to the driving actions in any historical driving scenario, the reward value is determined by using the fault tree analysis method and the fuzzy measurement method;

[0016] According to the training data set, the deep successor representation reinforcement learning model is trained using elements of the reinforcement learning algorithm to obtain a risk map model.

[0017] Optionally, according to the driving action in any historical driving scenario, the reward value is determined by using a fault tree analysis method and a fuzzy measurement method, specifically including:

[0018] According to the driving actions in any historical driving scenario, the fuzzy measurement method is used to determine the collision risks of the main vehicle with the front vehicle in the current lane, the rear vehicle in the current lane, the front vehicle in the target lane, and the rear vehicle in the target lane.

[0019] The reward value is determined using the fault tree analysis method according to the collision risks of the main vehicle with the front vehicle in the current lane, the rear vehicle in the current lane, the front vehicle in the target lane, and the rear vehicle in the target lane.

[0020] Optionally, according to the driving action in any historical driving scenario, a fuzzy measurement method is used to determine the collision risks of the host vehicle with the front vehicle in the current lane, the rear vehicle in the current lane, the front vehicle in the target lane, and the rear vehicle in the target lane, respectively, including:

[0021] Using the formula Determine the collision risk between the main vehicle and the vehicle in front of the current lane, the collision risk between the main vehicle and the vehicle behind the current lane, the collision risk between the main vehicle and the vehicle in front of the target lane, or the collision risk between the main vehicle and the vehicle behind the target lane; wherein, The collision risk between the main vehicle and the vehicle in front of the current lane, the collision risk between the main vehicle and the vehicle behind the current lane, the collision risk between the main vehicle and the vehicle in front of the target lane, or the collision risk between the main vehicle and the vehicle behind the target lane; d is the distance between the vehicle behind the current lane and the vehicle in front of the current lane; and is the intermediate amount; is the lateral speed or longitudinal speed of the vehicle behind in the current lane; is the lateral speed or longitudinal speed of the front vehicle in the current lane; τ is the reaction time of the rear vehicle in the current lane; a f,comf is the comfortable deceleration acceleration of the vehicle behind in the current lane; a f,max is the maximum deceleration acceleration of the vehicle behind in the current lane; a l,max is the maximum deceleration acceleration of the vehicle in front of the current lane; C * It is the vehicle in front of the current lane, the vehicle behind the current lane, the vehicle in front of the target lane, or the vehicle behind the target lane; D * Is it horizontal or vertical.

[0022] Optionally, the reward value is determined by using a fault tree analysis method according to the collision risks of the host vehicle with the front vehicle in the current lane, the rear vehicle in the current lane, the front vehicle in the target lane, and the rear vehicle in the target lane, specifically including:

[0023] Using the formula Determine the reward value; where r is the reward value; C * It is the vehicle in front of the current lane, the vehicle behind the current lane, the vehicle in front of the target lane, or the vehicle behind the target lane; The collision risk between the main vehicle and the vehicle ahead in the current lane, the collision risk between the main vehicle and the vehicle behind in the current lane, the collision risk between the main vehicle and the vehicle ahead in the target lane, or the collision risk between the main vehicle and the vehicle behind in the target lane; It is the collision risk between the longitudinal main vehicle and the vehicle in front of the current lane, the collision risk between the longitudinal main vehicle and the vehicle in the rear of the current lane, the collision risk between the longitudinal main vehicle and the vehicle in front of the target lane, or the collision risk between the longitudinal main vehicle and the vehicle in front of the target lane; SFV is the vehicle in the rear of the current lane; SFV is the vehicle in front of the current lane; TFV is the vehicle in the rear of the target lane; TLV is the vehicle in front of the target lane; LCP is the lane change stage; LCI is the straight section before lane change.

[0024] Optionally, the deep learning network includes a first multi-layer perceptron and a second multi-layer perceptron connected in sequence;

[0025] The first multi-layer perceptron is used to determine risk characteristics according to state variables in a driving scenario;

[0026] The second multi-layer perceptron is used to determine a subsequent risk feature representation in a driving scenario based on the risk feature and the driving strategy.

[0027] Optionally, the value model is:

[0028] V(s)=m(s) T ω; wherein V is the value in the driving scenario; m(s) is the subsequent risk feature representation in the driving scenario, and the subsequent risk feature representation in the driving scenario is determined using the deep learning network; T is the transpose; ω is the reward weight vector.

[0029] In a second aspect, the present application provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any of the risk map model construction methods described above.

[0030] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the risk map model construction method described in any one of the above is implemented.

[0031] In a fourth aspect, the present application provides a computer program product, including a computer program, characterized in that when the computer program is executed by a processor, it implements any of the risk map model construction methods described above.

[0032] According to the specific embodiments provided in this application, this application discloses the following technical effects:

[0033] The present application provides a method, device, medium and product for constructing a risk map model, by obtaining a training data set; according to the training data set, a deep successor representation reinforcement learning model is trained using a reinforcement learning algorithm to establish a risk map model; the deep successor representation reinforcement learning model includes a deep learning network and a value model; the elements of the reinforcement learning algorithm include state, strategy, action and reward value; the state is the lane change data in any driving scenario; the strategy is the driving strategy; the driving strategy includes an upper driving intention extraction model and a lower driving action prediction model to perform driving intention recognition and driving action prediction; the action is the driving action; the driving action is the lateral acceleration and longitudinal acceleration of the main vehicle; the reward value is the scene risk of the collision risk between the main vehicle and the front vehicle in the current lane, the rear vehicle in the current lane, the front vehicle in the target lane and the rear vehicle in the target lane; the scene risk is determined based on the driving action using a fault tree analysis method and a fuzzy measurement method. The present application introduces deep reinforcement learning to obtain a risk map that integrates subjective and objective factors. According to fuzzy theory and risk tree, a risk index is constructed for objective risk. The driver's strategy is integrated into cognition to construct the driver's subjective factor. After integrating the two, the constructed risk map can provide auxiliary safe driving advice that is consistent with the driver, thus solving the problem of human-machine co-driving. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0035] Figure 1 A schematic diagram of a process for constructing a risk map model provided in one embodiment of the present application;

[0036] Figure 2 This is a schematic diagram of scenario risk assessment in one embodiment of the present application;

[0037] Figure 3 This is an application environment diagram of a risk map model construction method in one embodiment of the present application;

[0038] Figure 4A schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0040] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0041] This application proposes a risk map model that integrates subjective driver cognition and objective traffic risk indicators, so that it can provide assisted driving suggestions that are in line with driver habits and ensure safety in lane change scenarios.

[0042] Deep reinforcement learning is introduced to obtain a risk map that integrates subjective and objective factors. Based on fuzzy theory and risk tree, risk indicators are constructed for objective risks. Driver strategies are integrated into cognition to construct driver subjectivity. After integrating the two, the risk map constructed can provide auxiliary safe driving opinions that are consistent with the driver.

[0043] The proposed method considers the subsequent risk transfer relationship based on the DSR algorithm in the construction of subjective cognition, which enables subjective cognition to have the ability to consider future risks.

[0044] First, as Figure 1 As shown, the present application provides a method for constructing a risk map model, comprising:

[0045] S1: Obtain a training data set; the training data set includes lane change data and corresponding values ​​under historical driving scenarios; the lane change data includes the speed of the main vehicle, the speed of the front vehicle in the current lane, the speed of the rear vehicle in the current lane, the speed of the front vehicle in the target lane, the speed of the rear vehicle in the target lane, and the distances between the main vehicle and the front vehicle in the current lane, the rear vehicle in the current lane, the front vehicle in the target lane, and the rear vehicle in the target lane, respectively.

[0046] S2: According to the training data set, a deep successor representation reinforcement learning model is trained using a reinforcement learning algorithm to establish a risk map model; the deep successor representation reinforcement learning model includes a deep learning network and a value model; the elements of the reinforcement learning algorithm include state, strategy, action and reward value; the state is the lane change data in any driving scenario; the strategy is the driving strategy; the driving strategy includes an upper-level driving intention extraction model and a lower-level driving action prediction model; the lower-level driving action prediction model includes a driving action prediction model under lane keeping intention and a driving action prediction model under lane changing intention; the upper-level driving intention extraction model is a model that uses the lane change data in historical driving scenarios and the corresponding driving intention to extract the lane change data. The driving action prediction model under the lane keeping intention is obtained by training the Gaussian process regression model using the lane changing data corresponding to the lane keeping intention and the corresponding driving action; the driving action prediction model under the lane changing intention is obtained by training the Gaussian process regression model using the lane changing data corresponding to the lane changing intention and the corresponding driving action; the action is a driving action; the driving action is the lateral acceleration and longitudinal acceleration of the main vehicle; the reward value is the scenario risk of the collision risk between the main vehicle and the front vehicle in the current lane, the rear vehicle in the current lane, the front vehicle in the target lane and the rear vehicle in the target lane; the scenario risk is determined based on the driving action using the fault tree analysis method and the fuzzy measurement method.

[0047] As an optional implementation, S2 specifically includes:

[0048] Step 21: Build a driving policy.

[0049] In practical applications, based on the training data set, the driving strategy corresponding to this data set is extracted. The driving strategy is divided into two layers, namely the upper-layer driving intention extraction model and the lower-layer driving action prediction model; the lower-layer driving action prediction model includes a driving action prediction model under lane keeping intention and a driving action prediction model under lane changing intention; the upper layer extracts driving intention, and the lower layer is a specific driving action. The following is a detailed explanation.

[0050] The upper driving intention extraction model is used to determine whether the current scene should go straight or change lanes. The support vector machine model is used for modeling. The input of the model is: the lateral speed and longitudinal speed of the main vehicle in the current scene, the speed of the front vehicle in the current lane, and the speed of the rear vehicle in the current lane. The output of the model is: the main vehicle should take lane keeping behavior in the current scene, or the main vehicle should take lane changing behavior in the current scene.

[0051] The lower-level driving action prediction model predicts the lateral and longitudinal acceleration of the vehicle. After determining the driving intention, the corresponding driving action is performed. The Gaussian process regression model is used for modeling. The input of the model is the speed and distance of the main vehicle and surrounding vehicles. The output of the model is the lateral and longitudinal acceleration of the main vehicle at the current moment. The Gaussian regression model under the lane keeping intention (driving action prediction model under the lane keeping intention) and the Gaussian regression model under the lane changing intention (driving action prediction model under the lane changing intention) are established respectively.

[0052] The above two models together constitute the driving strategy. The driving strategy module is completed and implemented: input the current scene and predict the lateral and longitudinal acceleration of the main vehicle.

[0053] Step 22: Based on the lane change data in each historical driving scenario, the driving strategy is used to determine the driving action in each historical driving scenario.

[0054] Step 23: According to the driving actions in any historical driving scenario, the reward value is determined by using the fault tree analysis method and the fuzzy measurement method.

[0055] As an optional implementation, according to the driving action in any historical driving scenario, the reward value is determined by using the fault tree analysis method and the fuzzy measurement method, specifically including:

[0056] According to the driving actions in any historical driving scenario, the fuzzy measurement method is used to determine the collision risks of the main vehicle with the front vehicle in the current lane, the rear vehicle in the current lane, the front vehicle in the target lane, and the rear vehicle in the target lane.

[0057] The reward value is determined using the fault tree analysis method according to the collision risks of the main vehicle with the front vehicle in the current lane, the rear vehicle in the current lane, the front vehicle in the target lane, and the rear vehicle in the target lane.

[0058] In practical applications, a reward function is constructed. A method combining fault tree analysis and fuzzy measurement is used to quantify the scenario risk at the current moment, and this scenario risk is defined as the reward value. The following is a detailed explanation.

[0059] First, fuzzy metrics are used to measure the collision risk between the main vehicle and the surrounding single vehicles in a certain direction. The collision risk of the ego vehicle in a single direction is represented by μ. For any following vehicle and leading vehicle, the collision risk is calculated as follows:

[0060]

[0061] in, The collision risk between the main vehicle and the vehicle in front of the current lane, the collision risk between the main vehicle and the vehicle behind the current lane, the collision risk between the main vehicle and the vehicle in front of the target lane, or the collision risk between the main vehicle and the vehicle behind the target lane.

[0062]

[0063]

[0064] Where d is the distance between the vehicle behind the current lane and the vehicle in front of the current lane; and is the intermediate amount; is the lateral speed or longitudinal speed of the vehicle behind in the current lane; is the lateral speed or longitudinal speed of the front vehicle in the current lane; τ is the reaction time of the rear vehicle in the current lane; a f,comf is the comfortable deceleration acceleration of the vehicle behind in the current lane; a f,max is the maximum deceleration acceleration of the vehicle behind in the current lane; a l,max is the maximum deceleration acceleration of the vehicle in front of the current lane; C * It is the vehicle in front of the current lane, the vehicle behind the current lane, the vehicle in front of the target lane, or the vehicle behind the target lane; D * Is it horizontal or vertical.

[0065] Then, the risk of surrounding vehicles is comprehensively evaluated through the fault tree to achieve risk assessment of the scene. Figure 2 As shown in the figure, in the straight section before lane change (LCI), the factors affecting the risk of the main vehicle (EV) are only the vehicle in front of the current lane (SLV) and the vehicle behind the current lane (SFV). In the stage of lane change (LCP), the factors affecting the main vehicle are SLV, SFV, the vehicle in front of the target lane (TFV), and the vehicle behind the target lane (TLV). The risk of collision between the main vehicle and a surrounding vehicle in the horizontal and vertical directions is an "AND" relationship. The vehicles collide only when both the horizontal and vertical directions are dangerous. In the scenario, the collision between the main vehicle and all surrounding vehicles is an "OR" relationship, that is, an accident occurs as long as it collides with a surrounding vehicle.

[0066] Finally, we get the scenario risk that combines the collision risk between the main vehicle and the four vehicles. We define this scenario risk as the reward value r in this scenario.

[0067]

[0068] Among them, r is the reward value; C * It is the vehicle in front of the current lane, the vehicle behind the current lane, the vehicle in front of the target lane, or the vehicle behind the target lane; The collision risk between the main vehicle and the vehicle ahead in the current lane, the collision risk between the main vehicle and the vehicle behind in the current lane, the collision risk between the main vehicle and the vehicle ahead in the target lane, or the collision risk between the main vehicle and the vehicle behind in the target lane; It is the collision risk between the longitudinal main vehicle and the vehicle in front of the current lane, the collision risk between the longitudinal main vehicle and the vehicle in the rear of the current lane, the collision risk between the longitudinal main vehicle and the vehicle in front of the target lane, or the collision risk between the longitudinal main vehicle and the vehicle in front of the target lane; SFV is the vehicle in the rear of the current lane; SLV is the vehicle in the front of the current lane; TFV is the vehicle in the rear of the target lane; TLV is the vehicle in the front of the target lane; LCP is the lane change stage; LCI is the straight section before lane change.

[0069] Step 24: Based on the training data set, the deep successor representation reinforcement learning model is trained using elements of the reinforcement learning algorithm to obtain a risk map model.

[0070] As an optional implementation, the deep learning network includes a first multilayer perceptron and a second multilayer perceptron connected in sequence. Construct a deep learning network in DSR. The input of the multilayer perceptron f1 is s, and the output is φ. The input of the multilayer perceptron f2 is φ, π, and the output is m.

[0071] The value model is:

[0072] V(s)=m(s) T ω; where V is the value in the driving scenario; m(s) is the subsequent risk feature representation in the driving scenario; T is the transpose; ω is the reward weight vector.

[0073] The DSR algorithm formula used in the risk map model. The value V formula in DSR is as follows.

[0074] V(s)=E π [R|s0=s]=m(s) T ω.

[0075] Among them, m is the subsequent risk feature representation; ω is the reward weight vector.

[0076] The reward value R can be broken down into:

[0077]

[0078] Where φ is the risk characteristic.

[0079] The deep successor representation reinforcement learning algorithm (DSR) in the deep reinforcement learning algorithm is used to model the risk map. The elements of reinforcement learning include: state (s), strategy (π), action (a), and reward value (R). The state is defined as the speed of EV, the speed of SLV, SFV, TLV, TFV and their relative distance from the main vehicle. The strategy is the driving strategy constructed in step 21 above. The action is the driving action in step 22, that is, the lateral and longitudinal acceleration of the main vehicle. The reward value is the set of scenario risks r defined in step 23.

[0080] Based on the DSR elements defined above (i.e., state, strategy, action, reward value), based on the value model, and based on the deep learning network, the DSR model (deep successor representation reinforcement learning model) is trained to obtain the risk map model.

[0081] S3: Obtain lane change data in the current driving scenario.

[0082] S4: Determine the value of the current driving scenario based on the lane change data in the current driving scenario and using the risk map model to determine the accident risk value of the driver's behavior after a preset period of time; the value includes a risk map point value.

[0083] In actual applications, the current scenario is input into the risk map model, and the value V of the scenario at this time is returned. The value V is a risk map point value that includes both subjective and objective factors.

[0084] This application realizes the evaluation of risks, including subjective and objective ones. The driving strategy based on the construction represents the driver's subjective cognition. The scenario risk based on the generation represents the objective indicator risk value. After learning through reinforcement learning, the final training obtains a risk map model that integrates subjective and objective factors.

[0085] It can predict the future risk value. This is determined by the algorithm characteristics of the DSR algorithm. It enables the risk map point value to consider the behavior at the subsequent moment and comprehensively give a risk value that takes into account the future driver behavior.

[0086] The driving strategy is integrated into the risk assessment. An objective risk assessment method that can be applied to multiple scenarios is established. By adding the distinction between different driving stages to the fault tree, a scenario risk generation method that can consider multiple surrounding vehicles and different driving stages is comprehensively constructed. This allows the risk of a single vehicle to generate corresponding scenario risks according to different driving stages.

[0087] The risk map model construction method provided in the embodiment of the present application can be applied to Figure 3In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be set up separately, integrated on the server 104, or placed on the cloud or other servers. The terminal 102 can send the training data set to the server 104, and the server 104 receives the training data set. For the training data set, the server 104 uses the reinforcement learning algorithm to train the deep successor representation reinforcement learning model based on the acquired training data set to establish a risk map model; obtain the lane change data in the current driving scene; according to the lane change data in the current driving scene, use the risk map model to determine the value in the current driving scene to determine the accident risk value of the driver's behavior after a preset period of time. The server 104 can feedback the obtained value in the current driving scene to the terminal 102. In addition, in some embodiments, the risk map model construction method can also be implemented by the server 104 or the terminal 102 alone, such as the terminal 102 can directly use the training data set to construct the risk map model, or the server 104 can obtain the training data set from the data storage system and use the training data set to construct the risk map model.

[0088] The terminal 102 may be, but is not limited to, various desktop computers, laptop computers, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart vehicle-mounted devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers, or may be a cloud server.

[0089] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store training data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a risk map model construction method is implemented.

[0090] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0091] In an exemplary embodiment, a computer device is also provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above-mentioned risk map model construction method when executing the computer program.

[0092] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the above-mentioned risk map model construction method when executed by a processor.

[0093] In an exemplary embodiment, a computer program product is provided, including a computer program, which implements the above-mentioned risk map model construction method when executed by a processor.

[0094] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0095] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0096] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.

[0097] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0098] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.

Claims

1. A method for constructing a risk map model, characterized in that: include: Get the training dataset; The training data set includes lane change data and corresponding values ​​in historical driving scenarios; The lane change data includes the main vehicle speed, the speed of the front vehicle in the current lane, the speed of the rear vehicle in the current lane, the speed of the front vehicle in the target lane, the speed of the rear vehicle in the target lane, and the distances between the main vehicle and the front vehicle in the current lane, the rear vehicle in the current lane, the front vehicle in the target lane, and the rear vehicle in the target lane, respectively; According to the training data set, a deep successor representation reinforcement learning model is trained using a reinforcement learning algorithm to establish a risk map model; the deep successor representation reinforcement learning model includes a deep learning network and a value model; the elements of the reinforcement learning algorithm include state, strategy, action and reward value; the state is the lane change data under any driving scenario; the strategy is the driving strategy; the driving strategy includes an upper-level driving intention extraction model and a lower-level driving action prediction model; the lower-level driving action prediction model includes a driving action prediction model under lane keeping intention and a driving action prediction model under lane changing intention; the upper-level driving intention extraction model is a model that uses historical driving scenarios to extract lane information. The support vector machine model is trained using the lane changing data and the corresponding driving intention under the lane keeping intention; the driving action prediction model under the lane changing intention is trained using the lane changing data corresponding to the lane keeping intention and the corresponding driving action to train the Gaussian process regression model; the driving action prediction model under the lane changing intention is trained using the lane changing data and the corresponding driving action to train the Gaussian process regression model; the action is a driving action; the driving action is the lateral acceleration and longitudinal acceleration of the main vehicle; the reward value is the scenario risk of the collision risk between the main vehicle and the front vehicle in the current lane, the rear vehicle in the current lane, the front vehicle in the target lane, and the rear vehicle in the target lane; The scenario risk is determined based on driving actions using a fault tree analysis method and a fuzzy metric method; Get lane change data for the current driving scenario; According to the lane change data in the current driving scenario, the value in the current driving scenario is determined by using the risk map model to determine the accident risk value of the driver's behavior after a preset period of time; The value includes a risk map point value.

2. The risk map model construction method according to claim 1 is characterized in that: According to the training data set, the deep successor representation reinforcement learning model is trained using a reinforcement learning algorithm to establish a risk map model, specifically including: Build driving strategies; Based on the lane change data in each historical driving scenario, using the driving strategy, determining the driving action in each historical driving scenario; According to the driving actions in any historical driving scenario, the reward value is determined by using the fault tree analysis method and the fuzzy measurement method; According to the training data set, the deep successor representation reinforcement learning model is trained using elements of the reinforcement learning algorithm to obtain a risk map model.

3. The risk map model construction method according to claim 1, characterized in that: According to the driving action in any historical driving scenario, the reward value is determined by using the fault tree analysis method and fuzzy measurement method, including: According to the driving actions in any historical driving scenario, the fuzzy measurement method is used to determine the collision risks of the main vehicle with the front vehicle in the current lane, the rear vehicle in the current lane, the front vehicle in the target lane, and the rear vehicle in the target lane. The reward value is determined using the fault tree analysis method according to the collision risks of the main vehicle with the front vehicle in the current lane, the rear vehicle in the current lane, the front vehicle in the target lane, and the rear vehicle in the target lane.

4. The risk map model construction method according to claim 3 is characterized in that: According to the driving action in any historical driving scenario, the fuzzy measurement method is used to determine the collision risk between the main vehicle and the front vehicle in the current lane, the rear vehicle in the current lane, the front vehicle in the target lane, and the rear vehicle in the target lane, including: Using the formula Determine the collision risk between the main vehicle and the vehicle in front of the current lane, the collision risk between the main vehicle and the vehicle behind the current lane, the collision risk between the main vehicle and the vehicle in front of the target lane, or the collision risk between the main vehicle and the vehicle behind the target lane; wherein, The collision risk between the main vehicle and the vehicle in front of the current lane, the collision risk between the main vehicle and the vehicle behind the current lane, the collision risk between the main vehicle and the vehicle in front of the target lane, or the collision risk between the main vehicle and the vehicle behind the target lane; d is the distance between the vehicle behind the current lane and the vehicle in front of the current lane; and is the intermediate amount; is the lateral speed or longitudinal speed of the vehicle behind in the current lane; is the lateral speed or longitudinal speed of the front vehicle in the current lane; τ is the reaction time of the rear vehicle in the current lane; a f,comf is the comfortable deceleration acceleration of the vehicle behind in the current lane; a f,max is the maximum deceleration acceleration of the vehicle behind in the current lane; a l,max is the maximum deceleration acceleration of the vehicle in front of the current lane; C * It is the vehicle in front of the current lane, the vehicle behind the current lane, the vehicle in front of the target lane, or the vehicle behind the target lane; D * Is it horizontal or vertical.

5. The risk map model construction method according to claim 3 is characterized in that: According to the collision risks between the main vehicle and the vehicle in front of the current lane, the vehicle behind the current lane, the vehicle in front of the target lane, and the vehicle behind the target lane, the fault tree analysis method is used to determine the reward value, including: Using the formula Determine the reward value; where r is the reward value; C * It is the vehicle in front of the current lane, the vehicle behind the current lane, the vehicle in front of the target lane, or the vehicle behind the target lane; The collision risk between the main vehicle and the vehicle ahead in the current lane, the collision risk between the main vehicle and the vehicle behind in the current lane, the collision risk between the main vehicle and the vehicle ahead in the target lane, or the collision risk between the main vehicle and the vehicle behind in the target lane; It is the collision risk between the longitudinal main vehicle and the vehicle in front of the current lane, the collision risk between the longitudinal main vehicle and the vehicle in the rear of the current lane, the collision risk between the longitudinal main vehicle and the vehicle in front of the target lane, or the collision risk between the longitudinal main vehicle and the vehicle in front of the target lane; SLV is the vehicle in the rear of the current lane; SLV is the vehicle in front of the current lane; TFV is the vehicle in the rear of the target lane; TLV is the vehicle in front of the target lane; LCP is the lane change stage; LCI is the straight section before lane change.

6. The risk map model construction method according to claim 1, characterized in that: The deep learning network includes a first multi-layer perceptron and a second multi-layer perceptron connected in sequence; The first multi-layer perceptron is used to determine risk characteristics according to state variables in a driving scenario; The second multi-layer perceptron is used to determine a subsequent risk feature representation in a driving scenario based on the risk feature and the driving strategy.

7. The risk map model construction method according to claim 6 is characterized in that: The value model is: V(s)=m(s) T ω; wherein V is the value in the driving scenario; m(s) is the subsequent risk feature representation in the driving scenario, and the subsequent risk feature representation in the driving scenario is determined using the deep learning network; T is the transpose; ω is the reward weight vector.

8. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the risk map model construction method described in any one of claims 1 to 7.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the risk map model construction method described in any one of claims 1 to 7 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the risk map model construction method described in any one of claims 1 to 7 is implemented.