Training and using method, device and vehicle for decision model in autonomous driving vehicle

Through the end-to-end deep learning architecture training decision-making model, the driving strategy is generated directly based on the intersection image, which solves the problem of autonomous vehicles' dependence on traffic light recognition in intersection environment recognition, reduces the detection difficulty and map maintenance cost, and improves the accuracy of the driving strategy. accuracy and vehicle safety.

CN118323198BActive Publication Date: 2024-08-27NEOLIX TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410760364.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-08-27
Estimated Expiration
2044-06-13

AI Technical Summary

Technical Problem

In the intersection environment recognition of autonomous vehicles, the existing decision-making model relies heavily on the recognition of traffic lights, and the accuracy of the three-dimensional high-precision map is low and the update frequency is low, resulting in matching failures and mismatches, and the inability to generate accurate decision-making instructions, which affects normal operation of the vehicle.

Method used

An end-to-end deep learning architecture is used to train the decision-making model. By obtaining the correlation settings of multiple driving strategies, the prediction module generates driving strategies directly based on intersection images, reducing reliance on detailed information about traffic lights and high-precision maps, and using segmented training. Accelerate model convergence.

Benefits of technology

It reduces the difficulty of detection, saves the cost of labeling and maintenance of high-precision maps, improves detection efficiency, and can generate accurate driving strategies in complex environments to ensure safe driving of vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118323198B
    Figure CN118323198B
Patent Text Reader

Abstract

The present application discloses a method, device and vehicle for training and using a decision model in an autonomous driving vehicle, and belongs to the field of autonomous driving technology. A first training set and a second training set are obtained, wherein the first label in the first training set is used to annotate the real target information in the first intersection image, and the second label in the second training set is used to annotate the real target information and the real driving strategy in the second intersection image; a decision model is created, wherein the decision model includes a prediction module for predicting the probability value of each driving strategy, and the prediction module is set based on the correlation between multiple driving strategies; the decision model is trained for n rounds using the first intersection image and the first label in the first training set; the decision model after n rounds of training is trained using the second intersection image and the second label in the second training set to obtain a trained decision model. The present application can save the annotation and maintenance costs of high-precision maps, reduce the difficulty of detection, and improve detection efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of autonomous driving technology, and in particular to a method, device and vehicle for training and using a decision model in an autonomous driving vehicle. Background Art

[0002] When an autonomous vehicle drives to an intersection, the decision model deployed in the autonomous vehicle needs to identify the driving environment of the intersection, generate decision instructions based on the identification results and send them to the execution module, which guides the actual driving of the autonomous vehicle.

[0003] In the related technology, the decision model strongly relies on traffic lights to identify the driving environment of the intersection. Specifically, the cameras deployed in the autonomous driving vehicle will collect image information around the intersection from different angles. These images include not only the road conditions and vehicle positions, but also key traffic lights, road signs and other important elements, providing valuable visual data for subsequent detection and decision-making. Then, the collected images are detected using target detection algorithms, such as the YOLO series, to identify the traffic light information such as the position, color, direction and light type of each traffic light in the image. Then, the detected traffic light information is matched with the traffic light position in the pre-built three-dimensional high-precision map. After successful matching, the color, light type and other important information of the traffic light to be seen in the driving direction of the autonomous driving vehicle can be obtained. Finally, according to the state of the traffic light obtained by matching, combined with the complex decision rules pre-set in the decision model, it can be inferred whether the autonomous driving vehicle can make action decisions such as going straight, turning left, turning right or stopping in the current intersection environment. These decision rules are determined by multiple factors such as traffic regulations and safe distances, and require developers to carefully design and debug them based on actual conditions to ensure the accuracy of decisions and vehicle driving safety.

[0004] When identifying the driving environment at an intersection, the target detection algorithm is not only required to have excellent detection accuracy, but also to have strong robustness and be able to adapt to various complex environmental conditions, such as direct sunlight, dark and humid, haze and other unfavorable weather conditions, and the target detection algorithm is required to be able to reliably identify traffic lights of various shapes, sizes, and directions, including pedestrian lights, car lights, arrow lights and other types. This places high demands on the design of the target detection algorithm and the quality and quantity of training data. When the accuracy of the three-dimensional high-precision map is not high and the update frequency is low, matching failures or even mismatches are prone to occur. In addition, the decision rules set in the decision model cannot cover all driving environments, which results in the decision model being unable to generate accurate decision instructions, resulting in the inability of the autonomous driving vehicle to drive normally. Summary of the invention

[0005] The present application provides a method, device and vehicle for training and using a decision model in an autonomous driving vehicle, which is used to solve the problem of inaccurate recognition of the driving environment at an intersection and inability to provide decision guidance. The technical solution is as follows:

[0006] According to a first aspect of the present application, a method for training a decision model in an autonomous driving vehicle is provided, the method comprising:

[0007] Acquire a first training set and a second training set, wherein the training samples in the first training set include a first intersection image and a first label, and the training samples in the second training set include a second intersection image and a second label, wherein the first label is used to annotate the real target information of each target in the first intersection image, and the second label is used to annotate the real target information and the real driving strategy of each target in the second intersection image, wherein the real driving strategy is a correct driving strategy selected from a plurality of driving strategies based on the driving environment of the intersection shown in the second intersection image;

[0008] Creating a decision model, wherein the decision model includes a prediction module for predicting a probability value of each driving strategy, and the prediction module is set based on the correlation between the multiple driving strategies;

[0009] Perform n rounds of training on the decision model using the first intersection image and the first label in the first training set;

[0010] The decision model after n rounds of training is trained using the second intersection image and the second label in the second training set to obtain a trained decision model, wherein the trained decision model is used to predict the driving strategy of the autonomous driving vehicle based on the input intersection image.

[0011] In a possible implementation, the performing n rounds of training on the decision model using the first intersection image and the first label in the first training set includes:

[0012] In each round of training, the decision model is used to process the first intersection image in the first training set to obtain predicted target information; loss calculation is performed on the predicted target information and the corresponding real target information according to a first loss function, and the decision model is updated according to the loss calculation.

[0013] In a possible implementation, the step of training the decision model after n rounds of training by using the second intersection image and the second label in the second training set includes:

[0014] In each round of training, the decision model is used to process the second intersection image in the second training set to obtain predicted target information and predicted driving strategies; the predicted target information and the corresponding real target information, the predicted driving strategies and the corresponding real driving strategies are calculated according to the second loss function, and the decision model is updated according to the loss calculation.

[0015] In a possible implementation, the distribution function and hyperparameters in the prediction module are set based on the correlation between the multiple driving strategies.

[0016] According to a second aspect of the present application, a method for using a decision model in an autonomous driving vehicle is provided, the method comprising:

[0017] Obtaining intersection images collected by the autonomous driving vehicle at the intersection;

[0018] Obtaining a pre-trained decision model, wherein the decision model is trained using the training method described above;

[0019] Processing the intersection image using the decision model to obtain a probability value for each driving strategy;

[0020] The driving strategy with the largest probability value is determined as the predicted driving strategy, and the predicted driving strategy is used to indicate the driving strategy of the autonomous driving vehicle at the intersection.

[0021] In a possible implementation, the decision model includes a prediction module, and the distribution function and hyperparameters in the prediction module are set based on the correlation between the multiple driving strategies.

[0022] According to a third aspect of the present application, a training device for a decision model in an autonomous driving vehicle is provided, the device comprising:

[0023] a training set acquisition module, used to acquire a first training set and a second training set, wherein the training samples in the first training set include a first intersection image and a first label, and the training samples in the second training set include a second intersection image and a second label, wherein the first label is used to annotate the real target information of each target in the first intersection image, and the second label is used to annotate the real target information and the real driving strategy of each target in the second intersection image, and the real driving strategy is a correct driving strategy selected from a plurality of driving strategies based on the second intersection image;

[0024] A model creation module, used for creating a decision model, wherein the decision model includes a prediction module for predicting the probability value of each driving strategy, and the prediction module is set based on the correlation between the multiple driving strategies;

[0025] A first training module, configured to perform n rounds of training on the decision model using the first intersection image and the first label in the first training set;

[0026] The second training module is used to train the decision model after n rounds of training using the second intersection image and the second label in the second training set to obtain a trained decision model, and the trained decision model is used to predict the driving strategy of the autonomous driving vehicle based on the input intersection image.

[0027] According to a fourth aspect of the present application, a device for using a decision model in an autonomous driving vehicle is provided, the device comprising:

[0028] An image acquisition module, used to acquire intersection images collected by the autonomous driving vehicle at the intersection;

[0029] A model acquisition module, used to acquire a pre-trained decision model, wherein the decision model is trained using the training method described above;

[0030] A probability calculation module, used to process the intersection image using the decision model, and obtain the probability value of each driving strategy;

[0031] A strategy determination module is used to determine the driving strategy with the largest probability value as the predicted driving strategy, and the predicted driving strategy is used to indicate the driving strategy of the autonomous driving vehicle at the intersection.

[0032] According to a fifth aspect of the present application, a computer-readable storage medium is provided, wherein at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement the training method of the decision-making model in the autonomous driving vehicle as described above, or the at least one instruction is loaded and executed by a processor to implement the method of using the decision-making model in the autonomous driving vehicle as described above.

[0033] According to a sixth aspect of the present application, an autonomous driving vehicle is provided, characterized in that the autonomous driving vehicle comprises: a device for using the decision-making model in the autonomous driving vehicle as described above.

[0034] The beneficial effects of the technical solution provided by this application include at least:

[0035] By training an end-to-end decision-making model, the corresponding driving strategy can be generated directly based on the global information in the intersection image. There is no need to identify detailed information such as the color, direction, and light type of traffic lights, nor is there any need to rely on high-precision maps and complex manually designed rules. This can save a lot of high-precision map annotation and maintenance costs, reduce detection difficulty, and improve detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of 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 creative work.

[0037] Figure 1 It is a structural diagram of a decision model;

[0038] Figure 2 is a flowchart of a method for training a decision model in an autonomous driving vehicle provided by an embodiment of the present application;

[0039] Figure 3 is a flowchart of a method for using a decision model in an autonomous driving vehicle provided by an embodiment of the present application;

[0040] Figure 4 It is a schematic diagram of the decision model used when the traffic light is black;

[0041] Figure 5 It is a schematic diagram of the decision model used when the traffic light is black;

[0042] Figure 6 It is a schematic diagram of the decision model used in the scenario of pedestrians running red lights;

[0043] Figure 7 It is a structural block diagram of a training device for a decision model in an autonomous driving vehicle provided by an embodiment of the present application;

[0044] Figure 8 This is a structural block diagram of a device for using a decision-making model in an autonomous driving vehicle provided by an embodiment of the present application. DETAILED DESCRIPTION

[0045] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0046] This application designs an end-to-end decision model, which adopts an end-to-end deep learning architecture. Its function is to accurately identify and locate targets at intersections, such as vehicles, pedestrians, traffic signs, etc., based on the collected images, and can also simultaneously predict all driving strategies that the autonomous driving vehicle can execute at the intersection. The driving strategies mentioned here include at least one of straight, left, right, and U-turn, and may also include other strategies not mentioned here, which are not limited in this embodiment.

[0047] like Figure 1As shown, the decision model includes three parts: backbone, neck and head. The main function of the backbone is to extract features, the main function of the neck is to fuse multi-scale feature information, and the main function of the head is to output the probability value of each driving strategy. The specific structures of the backbone, neck and head can be set according to actual business needs, and this embodiment does not limit this.

[0048] The input of the decision model is an intersection image, and the output includes two branches: the first branch includes Reg box, Obj box and Cls box, Reg represents the target position, Obj represents the target confidence, and Cls represents the target category; the second branch includes Straight box, Left box, Right box and Uturn box, Straight represents straight going, Left represents left turn, Right represents right turn, and Uturn represents U-turn.

[0049] When training the decision model, if the decision model is directly asked to learn the high-dimensional mapping relationship between images and driving strategies, the decision model is often difficult to learn. In order to accelerate the convergence of the model, we need to train the decision model in segments. That is, in the first stage, the first branch of the decision model is trained, and in the second stage, the first branch and the second branch of the decision model are trained. The following is an explanation of the training process of the decision model.

[0050] like Figure 2 As shown, it shows a method flow chart of a method for training a decision model in an autonomous driving vehicle provided by an embodiment of the present application. The method for training a decision model in an autonomous driving vehicle may include:

[0051] Step 201, obtaining a first training set and a second training set, wherein the training samples in the first training set include a first intersection image and a first label, and the training samples in the second training set include a second intersection image and a second label, wherein the first label is used to annotate the real target information of each target in the first intersection image, and the second label is used to annotate the real target information and the real driving strategy of each target in the second intersection image, wherein the real driving strategy is a correct driving strategy selected from a plurality of driving strategies based on the driving environment of the intersection shown in the second intersection image.

[0052] The training set in this embodiment includes a first training set and a second training set, the first training set is used for the first stage of training, and the second training set is used for the second stage of training. The first training set and the second training set both include intersection images and labels, the intersection images are images taken at the intersection, and the labels are manually annotated and are used to represent information related to the intersection images.

[0053] For the sake of distinction, in this embodiment, the intersection image in the first training set is referred to as the first intersection image, the label in the first training set is referred to as the first label, the intersection image in the second training set is referred to as the second intersection image, and the label in the second training set is referred to as the second label. The first intersection image and the second intersection image may be the same or different.

[0054] The first label is annotated with the real target information of each target object in the first intersection image. The target objects mentioned here may include vehicles, pedestrians, traffic signs, etc., and the real target information may include target position (Reg), target confidence (Obj), target category (Cls), etc.

[0055] The second label is annotated with the real target information and real driving strategy of each target object in the second intersection image. The real target information here may include target position (Reg), target confidence (Obj), target category (Cls), etc. The real driving strategy may be one of straight (Straight), left turn (Left), right turn (Right), and U-turn (Uturn).

[0056] Step 202: Create a decision model, which includes a prediction module for predicting the probability value of each driving strategy, and the prediction module is set based on the correlation between multiple driving strategies.

[0057] The decision model is also provided with a prediction module, which is used to predict the probability value of each driving strategy.

[0058] In the related art, the model only believes the real driving strategy marked in the second label and completely denies other driving strategies. The formula of its prediction module is as follows: Where k represents the category, k∈{1,…,K}, x represents the predicted value, y represents the true value, represents the distribution of predicted values, The distribution of the true value is a Dirac distribution, that is, only when k=y, =1, other cases =0. This paradigm easily leads to overfitting of the model and reduces the generalization ability. Although the labels are manually annotated with a very high accuracy, there will be a small number of mislabeling. In order to make the decision model more robust, we modified the prediction module. The formula of the new prediction module is as follows: in, represents the new predicted value distribution, is a hyperparameter used to control the degree of label smoothing, and its value range satisfies 0< <1, The larger it is, the smoother the label is. u(k) represents a certain distribution, such as uniform distribution, Gaussian distribution, etc. When u(k) represents uniform distribution, u(k)=1 / K, and the corresponding formula of the new prediction module is as follows:

[0059] To more intuitively understand the changes in the distribution of predicted values ​​before and after the change, let's take an example: y=3, k=4, =0.1, then: {0, 0, 1, 0}

[0060] ={0.025, 0.025, 0.925, 0.025}

[0061] The distribution function and hyperparameters in the prediction module are set based on the correlation between multiple driving strategies to make the decision model more suitable for the application scenario of the intersection. For example, in the real world intersection, left turn is often mutually exclusive with right turn and straight driving, and is associated with U-turn. When the true value is left turn, the probability value of U-turn with higher correlation can be given a larger value than the mutually exclusive probability value.

[0062] Step 203: Perform n rounds of training on the decision model using the first intersection image and the first label in the first training set.

[0063] n is a positive integer, and its specific value can be set according to actual business needs and is not limited here.

[0064] Specifically, using the first intersection image and the first label in the first training set to train the decision model for n rounds may include: in each round of training, using the decision model to process the first intersection image in the first training set to obtain predicted target information; performing loss calculation on the predicted target information and the corresponding real target information according to the first loss function, and updating the decision model according to the loss calculation. The first loss function is Loss=L reg +L obj +L cls , epoch<n,L reg represents the loss function of the target position, L obj Represents the loss function of target confidence, L cls Denotes the loss function for the target class.

[0065] Step 204, using the second intersection image and the second label in the second training set to train the decision model after n rounds of training, to obtain a trained decision model, and the trained decision model is used to predict the driving strategy of the autonomous driving vehicle based on the input intersection image.

[0066] Specifically, using the second intersection image and the second label in the second training set to train the decision model after n rounds of training may include: in each round of training, using the decision model to process the second intersection image in the second training set to obtain predicted target information and predicted driving strategy; performing loss calculation on the predicted target information and the corresponding real target information, the predicted driving strategy and the corresponding real driving strategy according to the second loss function, and updating the decision model according to the loss calculation. The second loss function is Loss=L reg +L obj +L cls +L straight +L left +L right +L uturn , epoch ≥ n, L straight represents the loss function for straight line, L left represents the loss function for turning left, L right represents the loss function for right turn, L uturn represents the loss function of U-turn.

[0067] To summarize, the training method of the decision model in the autonomous driving vehicle provided in the embodiment of the present application can generate the corresponding driving strategy directly according to the global information in the intersection image by training an end-to-end decision model. There is no need to identify the color, direction, light type and other detailed information of the traffic lights, and there is no need to rely on high-precision maps and manually designed complex rules. It can save a lot of high-precision map annotation and maintenance costs, reduce the detection difficulty and improve the detection efficiency.

[0068] Figure 1 In the model, the first branch plays an auxiliary supervisory role, and the second branch is the real decisive factor in the follow-up. Therefore, in the model deployment stage, we can delete the first branch and keep the second branch to reduce the complexity of the decision model. The following is an explanation of the use of the decision model.

[0069] like Figure 3 As shown, it shows a method flow chart of a method for using a decision model in an autonomous driving vehicle provided by an embodiment of the present application. The method for using a decision model in an autonomous driving vehicle may include:

[0070] Step 301, obtaining an intersection image collected by the autonomous driving vehicle at the intersection.

[0071] Autonomous vehicles use high-resolution cameras installed on the vehicle to collect real-time intersection images, which include key information such as traffic lights, vehicles, pedestrians, etc. High-quality images enable autonomous vehicles to perceive at a greater distance and are the basis for ensuring the accuracy of subsequent processing links.

[0072] Step 302: Obtain a pre-trained decision model.

[0073] The decision model adopts Figure 2 The training method shown is used for training.

[0074] Step 303: Process the intersection image using the decision model to obtain the probability value of each driving strategy.

[0075] The decision model can process the intersection image to obtain the predicted target information, and then process the predicted target information to obtain the probability value of each driving strategy.

[0076] Step 304: The driving strategy with the largest probability value is determined as the predicted driving strategy, and the predicted driving strategy is used to indicate the driving strategy of the autonomous driving vehicle at the intersection.

[0077] The autonomous driving vehicle can match the driving strategy related to the current driving direction according to the probability values ​​of various driving strategies given by the decision model, and send the driving strategy to the execution module to guide the actual driving of the autonomous driving vehicle.

[0078] In this embodiment, the decision model can autonomously learn to extract key information from intersection images and directly map the intersection images to the traffic actions that need to be performed. There is no need to manually design complex rules or processes, thereby realizing intelligent traffic decisions for autonomous driving at intersections.

[0079] To summarize, the method for using the decision-making model in an autonomous driving vehicle provided in the embodiment of the present application, by training an end-to-end decision-making model, can directly generate a corresponding driving strategy based on the global information in the intersection image. There is no need to identify detailed information such as the color, direction, and light type of traffic lights, nor is there any need to rely on high-precision maps and manually designed complex rules. This can save a lot of high-precision map annotation and maintenance costs, reduce detection difficulty, and improve detection efficiency.

[0080] like Figure 4 and Figure 5 As shown in the figure, due to the exposure time / failure of the traffic light device, the traffic light bound to the high-precision map has always been displayed as a black light. The perception + matching method has made it difficult to predict and judge, which is prone to safety hazards. The decision model in this application can determine whether the current intersection prohibits straight driving / left turning / U-turning based on the driving trajectory of the lateral electric vehicle.

[0081] like Figure 6As shown, in the scenario where two pedestrians on electric bikes run a red light, the traffic lights that the autonomous driving vehicle needs to check are "left turn / red light" and "straight ahead / red light" respectively. When the traffic light fails, the decision model in this application will rely on traffic participants to determine whether the current intersection can go straight / turn left, etc. When the traffic light is displayed normally, it will trust the traffic light more than the traffic participants. Although there are two traffic participants going straight, the traffic light is displayed as red. The decision model integrates all the elements in the image and the final prediction result is no straight ahead, no left turn, right turn allowed, and U-turn, which complies with the traffic rules of the intersection.

[0082] like Figure 7 As shown, it shows a structural block diagram of a training device for a decision model in an autonomous driving vehicle provided by an embodiment of the present application. The training device for a decision model in an autonomous driving vehicle may include:

[0083] The training set acquisition module 710 is used to acquire a first training set and a second training set, wherein the training samples in the first training set include a first intersection image and a first label, and the training samples in the second training set include a second intersection image and a second label, wherein the first label is used to annotate the real target information of each target in the first intersection image, and the second label is used to annotate the real target information and the real driving strategy of each target in the second intersection image, wherein the real driving strategy is a correct driving strategy selected from a plurality of driving strategies based on the second intersection image;

[0084] A model creation module 720, for creating a decision model, wherein the decision model includes a prediction module for predicting the probability value of each driving strategy, and the prediction module is set based on the correlation between multiple driving strategies;

[0085] A first training module 730, configured to perform n rounds of training on the decision model using the first intersection image and the first label in the first training set;

[0086] The second training module 740 is used to train the decision model after n rounds of training using the second intersection image and the second label in the second training set to obtain a trained decision model. The trained decision model is used to predict the driving strategy of the autonomous driving vehicle based on the input intersection image.

[0087] In an optional embodiment, the first training module 730 is further configured to:

[0088] In each round of training, the decision model is used to process the first intersection image in the first training set to obtain predicted target information; the loss of the predicted target information and the corresponding real target information is calculated according to the first loss function, and the decision model is updated according to the loss calculation.

[0089] In an optional embodiment, the second training module 740 is further configured to:

[0090] In each round of training, the decision model is used to process the second intersection image in the second training set to obtain predicted target information and predicted driving strategies. The predicted target information and the corresponding real target information, the predicted driving strategy and the corresponding real driving strategy are calculated according to the second loss function, and the decision model is updated according to the loss calculation.

[0091] In an optional embodiment, the distribution function and hyperparameters in the prediction module are set based on the correlation between multiple driving strategies.

[0092] To summarize, the training device for the decision model in the autonomous driving vehicle provided in the embodiment of the present application can generate a corresponding driving strategy directly based on the global information in the intersection image by training an end-to-end decision model. It is no longer necessary to identify detailed information such as the color, direction, and light type of traffic lights, and it is no longer necessary to rely on high-precision maps and manually designed complex rules. This can save a lot of high-precision map annotation and maintenance costs, reduce detection difficulty, and improve detection efficiency.

[0093] like Figure 8 As shown, it shows a structural block diagram of a device for using a decision model in an autonomous driving vehicle provided by an embodiment of the present application. The device for using a decision model in an autonomous driving vehicle may include:

[0094] An image acquisition module 810 is used to acquire an intersection image collected by the autonomous driving vehicle at the intersection;

[0095] Model acquisition module 820 is used to acquire a pre-trained decision model. The decision model adopts Figure 1 The training method shown is used for training;

[0096] The probability calculation module 830 is used to process the intersection image using the decision model and the probability value of each driving strategy;

[0097] The strategy determination module 840 is used to determine the driving strategy with the largest probability value as the predicted driving strategy, and the predicted driving strategy is used to indicate the driving strategy of the autonomous driving vehicle at the intersection.

[0098] In an optional embodiment, the decision model includes a prediction module, and the distribution function and hyperparameters in the prediction module are set based on the correlation between multiple driving strategies.

[0099] To summarize, the device for using the decision-making model in an autonomous driving vehicle provided in the embodiment of the present application can generate a corresponding driving strategy directly based on the global information in the intersection image by training an end-to-end decision-making model. It is no longer necessary to identify detailed information such as the color, direction, and light type of traffic lights, and it is no longer necessary to rely on high-precision maps and manually designed complex rules. This can save a lot of high-precision map annotation and maintenance costs, reduce detection difficulty, and improve detection efficiency.

[0100] An embodiment of the present application provides a computer-readable storage medium, wherein at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement the training method of the decision-making model in the autonomous driving vehicle as described above, or the at least one instruction is loaded and executed by a processor to implement the method of using the decision-making model in the autonomous driving vehicle as described above.

[0101] An embodiment of the present application provides an autonomous driving vehicle, which includes a device for using the decision-making model in the above-mentioned autonomous driving vehicle.

[0102] It should be noted that: the training and use device for the decision model in the autonomous driving vehicle provided in the above embodiment only uses the division of the above functional modules as an example when training and using the decision model in the autonomous driving vehicle. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the training and use device for the decision model in the autonomous driving vehicle is divided into different functional modules to complete all or part of the functions described above. In addition, the training and use device for the decision model in the autonomous driving vehicle provided in the above embodiment and the training and use method embodiment of the decision model in the autonomous driving vehicle belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0103] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0104] The above description is not intended to limit the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the embodiments of the present application.

Claims

1. A method for training a decision model in an autonomous driving vehicle, characterized in that: The method comprises: Acquire a first training set and a second training set, wherein the training samples in the first training set include a first intersection image and a first label, and the training samples in the second training set include a second intersection image and a second label, wherein the first label is used to annotate the real target information of each target in the first intersection image, and the second label is used to annotate the real target information and the real driving strategy of each target in the second intersection image, wherein the real driving strategy is a correct driving strategy selected from a plurality of driving strategies based on the driving environment of the intersection shown in the second intersection image; Creating a decision model, wherein the decision model includes a prediction module for predicting a probability value of each driving strategy, and the prediction module is set based on the correlation between the multiple driving strategies; Perform n rounds of training on the decision model using the first intersection image and the first label in the first training set; Using the second intersection image and the second label in the second training set to train the decision model after n rounds of training, to obtain a trained decision model, wherein the trained decision model is used to predict the driving strategy of the autonomous driving vehicle based on the input intersection image; The method of performing n rounds of training on the decision model using the first intersection image and the first label in the first training set comprises: in each round of training, using the decision model to process the first intersection image in the first training set to obtain predicted target information; performing loss calculation on the predicted target information and the corresponding real target information according to a first loss function, and updating the decision model according to the loss calculation; The method of training the decision model after n rounds of training using the second intersection image and the second label in the second training set includes: in each round of training, using the decision model to process the second intersection image in the second training set to obtain predicted target information and predicted driving strategy; performing loss calculation on the predicted target information and the corresponding real target information, the predicted driving strategy and the corresponding real driving strategy according to a second loss function, and updating the decision model according to the loss calculation.

2. The method for training a decision model in an autonomous driving vehicle according to claim 1, characterized in that: The distribution function and hyperparameters in the prediction module are set based on the correlation between the multiple driving strategies.

3. A method for using a decision model in an autonomous driving vehicle, characterized in that: The method comprises: Obtaining intersection images collected by the autonomous driving vehicle at the intersection; Obtaining a pre-trained decision model, wherein the decision model is trained using the training method according to claim 1 or 2; Processing the intersection image using the decision model to obtain a probability value of each driving strategy; The driving strategy with the largest probability value is determined as the predicted driving strategy, and the predicted driving strategy is used to indicate the driving strategy of the automatic driving vehicle at the intersection.

4. The method for using the decision model in an autonomous driving vehicle according to claim 3, characterized in that: The decision model includes a prediction module, and the distribution function and hyperparameters in the prediction module are set based on the correlation between the multiple driving strategies.

5. A training device for a decision model in an autonomous driving vehicle, characterized in that: For implementing the training method according to claim 1, the device comprises: a training set acquisition module, used to acquire a first training set and a second training set, wherein the training samples in the first training set include a first intersection image and a first label, and the training samples in the second training set include a second intersection image and a second label, wherein the first label is used to annotate the real target information of each target in the first intersection image, and the second label is used to annotate the real target information and the real driving strategy of each target in the second intersection image, and the real driving strategy is a correct driving strategy selected from a plurality of driving strategies based on the second intersection image; A model creation module, used for creating a decision model, wherein the decision model includes a prediction module for predicting the probability value of each driving strategy, and the prediction module is set based on the correlation between the multiple driving strategies; A first training module, configured to perform n rounds of training on the decision model using the first intersection image and the first label in the first training set; The second training module is used to train the decision model after n rounds of training using the second intersection image and the second label in the second training set to obtain a trained decision model, and the trained decision model is used to predict the driving strategy of the autonomous driving vehicle based on the input intersection image.

6. A device for using a decision model in an autonomous driving vehicle, characterized in that: The device comprises: An image acquisition module, used to acquire intersection images collected by the autonomous driving vehicle at the intersection; A model acquisition module, used to acquire a pre-trained decision model, wherein the decision model is trained using the training method according to claim 1 or 2; A probability calculation module, used to process the intersection image using the decision model, and obtain the probability value of each driving strategy; A strategy determination module is used to determine the driving strategy with the largest probability value as the predicted driving strategy, and the predicted driving strategy is used to indicate the driving strategy of the autonomous driving vehicle at the intersection.

7. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the training method of the decision-making model in the autonomous driving vehicle as described in claim 1 or 2, or the at least one instruction is loaded and executed by the processor to implement the method for using the decision-making model in the autonomous driving vehicle as described in claim 3 or 4.

8. An autonomous driving vehicle, characterized in that: The autonomous driving vehicle includes: a device for using the decision-making model in the autonomous driving vehicle as described in claim 6.

Citation Information

Patent Citations

  • Automatic driving decision-making method and device

    CN115116029A

  • Automatic driving decision-making system and method capable of being explained

    CN115743150A

  • Automatic driving model, training method and device and vehicle

    CN116881707A

  • Training system for automatic driving control strategy

    WO2020147276A1