Automatic driving control method, device, system, equipment and storage medium

By collecting and expanding multi-scenario samples of the autonomous driving decision-making model and adjusting its parameters, the problem of insufficient generalization capabilities of existing models in different environments and scenarios is solved, enabling better adaptation to complex driving environments and reducing training costs.

CN118393973BActive Publication Date: 2024-09-17SHANDONG HAILIANG INFORMATION TECH RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410834398.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-17
Estimated Expiration
2044-06-26

AI Technical Summary

Technical Problem

Existing autonomous driving decision-making models have insufficient generalization capabilities in different environments and scenarios, resulting in significant differences in their performance in practical applications, making it difficult to adapt to complex and changeable driving environments.

Method used

By obtaining the automatic driving decision-making network, using it to drive vehicle movement and interaction with the environment, we collect real-vehicle driving samples in multiple scenarios, and expand the samples to generate synthetic samples with the same feature distribution as the real-vehicle driving samples, adjust model parameters, and improve the model's performance. Generalization ability.

Benefits of technology

With a small environmental interaction cost, the autonomous driving decision-making model can learn multi-scenario driving knowledge, improve its adaptability and generalization ability to complex environments, reduce data distribution deviation, and reduce training difficulty and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118393973B
    Figure CN118393973B
Patent Text Reader

Abstract

The present invention relates to the field of autonomous driving technology, and specifically discloses an autonomous driving control method, device, system, equipment and storage medium. When training an autonomous driving decision model, an autonomous driving decision network is used to drive the vehicle movement and interact with the driving environment to collect first real vehicle driving samples of multiple scenes and generate first synthetic driving samples with the same sample feature distribution as the first real vehicle driving samples to adjust the model parameters of the autonomous driving decision network, and the autonomous driving decision model is trained to learn the knowledge of rich driving samples of multiple scenes with a smaller environmental interaction cost. While increasing the scale of data collection, the difficulty of model training caused by data distribution offset is avoided, and the generalization ability of the autonomous driving decision model is improved. The autonomous driving decision model trained in this way is used to control the movement of the target vehicle, so as to better adapt to the complex and changeable real vehicle driving environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of autonomous driving technology, and in particular to an autonomous driving control method, device, system, equipment and storage medium. Background Art

[0002] Autonomous driving technology is a technical field that integrates environmental perception, decision-making planning, control execution, etc. In the current transportation field, the research goal of autonomous driving technology is to enable vehicles to be free from human control and achieve automatic and safe driving, thereby improving the level of intelligent road traffic.

[0003] In recent years, solutions to provide solutions for autonomous driving decision-making have been continuously introduced through machine learning methods, such as reinforcement learning methods. Although the application of reinforcement learning algorithms can achieve the goal of autonomous driving to a certain extent, since the direction of model optimization mainly depends on environmental feedback information, the performance of the same model in different environments and scenarios may vary significantly, resulting in limited generalization ability.

[0004] Improving the generalization ability of the autonomous driving decision-making model and enabling the autonomous driving solution to play a practical application value in the application environment is a technical problem that technical personnel in this field need to solve. Summary of the invention

[0005] The objective of the present invention is to provide an autonomous driving control method, apparatus, system, device and storage medium for improving the model generalization capability of the autonomous driving decision model.

[0006] In order to solve the above technical problems, the present invention provides an automatic driving control method, comprising:

[0007] Obtain the autonomous driving decision network;

[0008] Performing model iteration training on the autonomous driving decision network, and during the model iteration training process, using the autonomous driving decision network to drive the vehicle movement to interact with the driving environment to collect first real vehicle driving samples of multiple scenarios, performing sample expansion on the first real vehicle driving samples to obtain first synthetic driving samples having the same sample feature distribution as the first real vehicle driving samples, and adjusting model parameters of the autonomous driving decision network using the first real vehicle driving samples and the first synthetic driving samples;

[0009] After the model training end conditions are met, the autonomous driving decision model is obtained;

[0010] The autonomous driving decision model is deployed on a target vehicle to control the movement of the target vehicle using the autonomous driving decision model.

[0011] On the one hand, the autonomous driving decision network is used to drive the vehicle movement to interact with the driving environment to collect first real vehicle driving samples in multiple scenarios, including:

[0012] Using a driving state encoding module to encode the collected vehicle driving state perception data at the current moment to obtain a driving state parameter at the current moment and input it into the automatic driving decision network;

[0013] Using the automatic driving decision network to select driving action parameters according to the driving state parameters at the current moment, and using the selected driving action parameters to drive the vehicle to move;

[0014] In the process of driving the vehicle to interact with the driving environment, environmental feedback information is collected to calculate the environmental reward parameters;

[0015] The driving state encoding module is used to encode the collected vehicle driving state perception data at the next moment to obtain the driving state parameters at the next moment;

[0016] The first real vehicle driving sample is constructed with a set of driving state parameters, driving action parameters, environmental reward parameters at the current moment and driving state parameters at the next moment.

[0017] On the other hand, the collected vehicle driving state perception data is multimodal driving perception data including vehicle state information of the target vehicle and environmental state information of the driving environment.

[0018] On the other hand, the driving state encoding module is used to encode the collected vehicle driving state perception data to obtain driving state parameters, including:

[0019] The driving state encoding module is used to perform dimensionality reduction processing on the collected vehicle driving state perception data to obtain driving state parameters.

[0020] On the other hand, the driving state encoding module is used to encode the collected vehicle driving state perception data to obtain driving state parameters, including:

[0021] The collected vehicle driving state perception data is encoded using the pre-trained driving state encoding module to obtain driving state parameters that meet a preset distribution.

[0022] On the other hand, the driving state encoding module is used to encode the collected vehicle driving state perception data to obtain driving state parameters, including:

[0023] The pre-trained driving state encoding module is used to perform dimensionality reduction processing on the collected vehicle driving state perception data and output driving state parameters that meet the preset distribution.

[0024] On the other hand, the pre-training step of the driving state encoding module includes:

[0025] Obtain vehicle driving data;

[0026] Extracting vehicle state information and environment state information from the vehicle driving data to construct multimodal driving perception data to obtain a driving state data set;

[0027] A symmetric convolutional neural network structure is used to build a driving state encoding network and a driving state decoding network;

[0028] Extracting encoder training samples from the driving state data set to train the driving state encoding network and the driving state decoding network; during the training process, inputting the encoder training samples into the driving state encoding network to extract the sample data distribution of the encoder training samples; sampling from the sample data distribution of the encoder training samples to obtain sample distribution feature codes; inputting the sample distribution feature codes into the driving state decoding network to output reconstructed samples; maximizing the likelihood of the reconstructed samples and the corresponding encoder training samples and minimizing the relative entropy between the potential representation distribution of the encoder training samples and the standard normal distribution as the training objectives; performing loss optimization training on the driving state encoding network and the driving state decoding network;

[0029] After the driving state encoding module training end condition is reached, the driving state encoding module is obtained.

[0030] On the other hand, the training loss function of the driving state encoding module is:

[0031] ;

[0032] in, is the training loss function of the driving state encoding module, Parameters of the driving state encoding network, Parameters of the driving state decoding network, is the encoder training sample, is the number of encoder training samples, is the sample data distribution of the encoder training samples, is the standard normal distribution, is the KL divergence between the sample data distribution of the encoder training sample and the standard normal distribution, is the number of distribution variables drawn from the standard normal distribution, is the reconstruction sample, is the encoder training sample, is the square of the two-norm calculation, For the The variance of the encoder training samples, For the The mean of the encoder training samples.

[0033] On the other hand, performing sample expansion on the first real vehicle driving sample to obtain a first synthetic driving sample having the same sample feature distribution as the first real vehicle driving sample includes:

[0034] The first real vehicle driving sample is expanded by using a diffusion model to obtain the first synthetic driving sample having the same sample feature distribution as the first real vehicle driving sample.

[0035] On the other hand, collecting the first real vehicle driving sample includes:

[0036] The pre-trained driving state encoding module is used to perform dimensionality reduction processing on the collected vehicle driving state perception data, and then outputs driving state parameters that meet the preset distribution. The first real vehicle driving sample is collected, including the driving state parameters at the current moment, the driving action parameters selected by the automatic driving decision network according to the driving state parameters at the current moment, the environmental reward parameters obtained based on the driving action parameters, and the driving state parameters at the next moment.

[0037] On the other hand, the training step of the diffusion model includes:

[0038] Iteratively train the denoiser network. In each iteration, extract denoised training samples from the first real vehicle driving samples, add noise to the denoised training samples according to a preset noise level schedule to obtain noisy samples, use the denoiser network to denoise the noisy samples to obtain denoised samples, calculate the difference loss value of the denoiser network using the error between the denoised samples and the corresponding denoised training samples, and perform back propagation to update the model parameters of the denoiser network;

[0039] When the denoiser iteration termination condition is met, the diffusion model is obtained.

[0040] On the other hand, the training step of the diffusion model includes:

[0041] Initialize the network parameters of the denoiser network ;

[0042] Calculate the distribution standard deviation based on the denoised sample data set consisting of the first real car driving sample ;

[0043] Randomly extract a small batch of denoising training samples from the denoising sample dataset ;

[0044] Set the noise based on a lognormal distribution ,according to Add noise to the denoised training samples to obtain noisy samples ;

[0045] according to , the denoiser network is used to denoise the noisy samples Perform denoising processing; wherein, is the output of the denoiser network the denoised samples;

[0046] according to Calculating a difference loss value between the denoised sample and the corresponding denoised training sample;

[0047] Updating the network parameters of the denoiser network using a back-propagation method to reduce the difference loss value;

[0048] Repeat the above steps until the denoiser iteration end condition is reached, and the diffusion model is obtained;

[0049] in, is the number of denoising training samples, For the The denoising training samples, For the The noisy samples, For the The denoised samples, For noise, is the distribution standard deviation of the denoised sample data set, is the standard deviation of the noise distribution, is the difference loss value between the denoised sample and the corresponding denoised training sample, is the denoised sample, is the denoising training sample, E[·] is the difference loss calculation, The square of the 2-norm.

[0050] On the other hand, the method of using the diffusion model to perform sample expansion on the first real vehicle driving sample to obtain the first synthetic driving sample having the same sample feature distribution as the first real vehicle driving sample includes:

[0051] The noise level schedule and sampling factor are set according to the following formula:

[0052] ;

[0053] ;

[0054] Based on noise level Sampling generates random noise samples as initial input ;

[0055] according to and , for any Noise samples during the iteration , with noise samples Random sampling is performed at the center; is random noise;

[0056] Using the diffusion model Calculate the The denoising score value of the iteration process;

[0057] According to the noise sample of the next iteration step ; Among them, if ,but ;

[0058] like , then according to Calculate the +1 denoising score value of the iteration process;

[0059] If the sampling end condition is met, determining that the generation of the first synthetic driving sample is completed, and outputting the first synthetic driving sample;

[0060] If the sampling end condition is not met, then return to the Noise samples during the iteration , with noise samples Steps for random sampling for the center;

[0061] in, is the diffusion model The noise level scheduling of the iterative process, is the control coefficient of noise level scheduling, is the standard deviation of the distribution of the maximum noise level, is the standard deviation of the distribution of the minimum noise level;

[0062] is the diffusion model The sampling coefficient of the iteration process, is the preset diffusion sampling step number, , is the noise sampling amplitude, is the lower limit of the noise level, is the upper limit of noise level;

[0063] , , are random sampling coefficients, and ;

[0064] For the The sampling noise of the iterative process is For the The noise sample input in the iteration process, For noise samples is the sampling noise sample obtained by random sampling from the center, For The random noise sampled from is a multidimensional standard normal distribution, is the identity matrix;

[0065] is the sampled noise sample The denoising score of is the sampled noise sample The denoised output obtained by inputting the denoiser model;

[0066] For the +1 Noise sample input during the iteration, is the noise sample +1 Noise level scheduling for the iteration process;

[0067] is the noise sample The denoising score of is the noise sample The denoised output of the input denoiser model.

[0068] On the other hand, the method of using the diffusion model to perform sample expansion on the first real vehicle driving sample to obtain the first synthetic driving sample having the same sample feature distribution as the first real vehicle driving sample includes:

[0069] During the training process of the autonomous driving decision model, when the diffusion model update condition is met, the model parameters of the diffusion model are updated using the first real vehicle driving sample currently collected, and then the first synthetic driving sample is generated using the updated diffusion model.

[0070] On the other hand, the diffusion model update condition is that the autonomous driving decision model has undergone a first preset number of iterations and / or the cumulative data volume of the first real vehicle driving sample has reached a first preset data volume since the model parameters of the diffusion model were last updated.

[0071] On the other hand, the first real vehicle driving sample collection step includes:

[0072] Use the automatic driving decision model to sample the decision action parameters according to the current driving state parameters , and generate motor skills based on trajectory planning methods ;

[0073] Control the target vehicle to perform a motor skill , and receive environmental feedback rewards during execution, and calculate the cumulative reward value within the skill cycle , until the driving state is transferred to the next moment, the driving state parameters of the next moment are collected ;

[0074] Data tuple As the first real car driving sample;

[0075] in, for Driving action parameters at the moment, for Driving state parameters at the moment, is the actuator network, For is the initial state and the length is The vehicle trajectory of time steps, For the motor skill generation process based on motion planning, for Waypoints at the moment, for +1 time waypoint, for + Waypoints at the moment, for The environmental reward parameter at the moment, is the number of time steps in a skill cycle, for The single-step reward value at time, for + Driving status parameters at the moment.

[0076] On the other hand, adjusting the model parameters of the autonomous driving decision network by using the first real vehicle driving sample and the first synthetic driving sample includes:

[0077] A first preset number of model parameter updates are performed in each optimization iteration of the autonomous driving decision model. In each model parameter update process, the first real vehicle driving sample is collected and the first synthetic driving sample is generated. Decision model update training samples are extracted from the first real vehicle driving sample and the first synthetic driving sample to update the actuator network, the current evaluator network and the target evaluator network in the autonomous driving decision model. When the model parameter update end condition is met, the model parameter update is completed once.

[0078] In order to solve the above technical problems, the present invention also provides an automatic driving control system, comprising: a cloud server and a vehicle-mounted edge server;

[0079] Among them, the on-board edge server is used to obtain an autonomous driving decision network; perform model iterative training on the autonomous driving decision network, and during the model iterative training process, use the autonomous driving decision network to drive the vehicle movement and interact with the driving environment to collect first real vehicle driving samples in multiple scenarios, send the first real vehicle driving samples to the cloud server, and receive the first synthetic driving samples obtained by the cloud server through sample expansion of the first real vehicle driving samples and the same sample feature distribution as the first real vehicle driving samples, and use the first real vehicle driving samples and the first synthetic driving samples to adjust the model parameters of the autonomous driving decision network; after the model training end conditions are met, obtain an autonomous driving decision model; deploy the autonomous driving decision model on the target vehicle to control the movement of the target vehicle using the autonomous driving decision model.

[0080] In order to solve the above technical problems, the present invention further provides an automatic driving control device, comprising:

[0081] A model updating module is used to obtain an autonomous driving decision network; perform model iterative training on the autonomous driving decision network, and during the model iterative training process, use the autonomous driving decision network to drive the vehicle movement to interact with the driving environment to collect first real vehicle driving samples of multiple scenes, use the first real vehicle driving samples and expand the samples according to the first real vehicle driving samples to obtain first synthetic driving samples with the same sample feature distribution as the first real vehicle driving samples to adjust the model parameters of the autonomous driving decision network; after the model training end condition is met, obtain the autonomous driving decision model;

[0082] a data synthesis module, configured to perform sample expansion on the first real vehicle driving sample to obtain the first synthetic driving sample having the same sample feature distribution as the first real vehicle driving sample;

[0083] A decision control module is used to deploy the autonomous driving decision model on a target vehicle so as to control the movement of the target vehicle using the autonomous driving decision model.

[0084] In order to solve the above technical problems, the present invention further provides an automatic driving control device, comprising:

[0085] Memory for storing computer programs;

[0086] A processor is used to execute the computer program, and when the computer program is executed by the processor, the steps of the automatic driving control method as described in any one of the above items are implemented.

[0087] In order to solve the above technical problems, the present invention also provides a non-volatile storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the automatic driving control method as described in any one of the above items are implemented.

[0088] In order to solve the above technical problems, the present invention also provides a computer program product, including a computer program / instructions, which, when executed by a processor, implement the steps of the automatic driving control method as described in any one of the above items.

[0089] The autonomous driving control method provided by the present invention has the beneficial effect of targeting the problem of poor model generalization ability of the autonomous driving decision model of the autonomous driving technology. When training the autonomous driving decision model, in the sample collection stage, not only the autonomous driving decision network is used to drive the vehicle movement to interact with the driving environment to collect the first real vehicle driving samples of multiple scenes, but also the first real vehicle driving samples are sample expanded to obtain the first synthetic driving samples with the same sample feature distribution as the first real vehicle driving samples. In the model parameter update stage, the model parameters of the autonomous driving decision network are adjusted using the first real vehicle driving samples and the first synthetic driving samples. After the model training end condition is met, the autonomous driving decision model is obtained, so that the autonomous driving decision model learns the knowledge of rich driving samples of multiple scenes with a small environmental interaction cost, and by generating the first synthetic driving samples with the same sample feature distribution as the first real vehicle driving samples, the data collection scale is increased while avoiding the increase in the difficulty of model training caused by data distribution offset, so as to improve the adaptability of the autonomous driving decision model to multiple scenes with a small training cost, improve the generalization ability of the autonomous driving decision model, and use the autonomous driving decision model trained in this way to control the movement of the target vehicle, so as to better adapt to the complex and changeable real vehicle driving environment.

[0090] The present invention also provides an automatic driving control device, system, equipment, non-volatile storage medium and computer program product, which have the above-mentioned beneficial effects and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0092] Figure 1 An architecture diagram of an automatic driving control system provided by an embodiment of the present invention;

[0093] Figure 2 A flowchart of an automatic driving control method provided by an embodiment of the present invention;

[0094] Figure 3 A schematic diagram of the structure of a driving state encoding network and a driving state decoding network provided by an embodiment of the present invention;

[0095] Figure 4 A structural schematic diagram of a diffusion model provided by an embodiment of the present invention;

[0096] Figure 5 A flowchart of a training process of an autonomous driving decision model provided by an embodiment of the present invention;

[0097] Figure 6 A schematic diagram of the structure of an automatic driving control device provided by an embodiment of the present invention;

[0098] Figure 7 A schematic diagram of the structure of an automatic driving control device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0099] The core of the present invention is to provide an autonomous driving control method, device, system, equipment and storage medium for improving the model generalization capability of the autonomous driving decision model.

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

[0101] To facilitate understanding of the technical solution provided by the embodiment of the present invention, some key terms used in the embodiment of the present invention are explained here:

[0102] Reinforcement Learning (RL), also known as reinforcement learning, evaluation learning or enhanced learning, is one of the paradigms and methodologies of machine learning. It is used to describe and solve the problem of how an agent can maximize rewards or achieve specific goals through learning strategies during its interaction with the environment.

[0103] Bird's Eye View (BEV) is a perspective of viewing an object or scene from above, just like a bird looking down at the ground in the air. In the field of autonomous driving and robotics, data obtained by sensors (such as radars and cameras) are usually converted into BEV representations to better perform tasks such as object detection and path planning. BEV can simplify complex three-dimensional environments into two-dimensional images, which is particularly important for efficient computing in real-time systems. In an embodiment of the present invention, a BEV diagram or a BEV image is a bird's-eye view.

[0104] The Actor-Critic Algorithm is a reinforcement learning method that combines policy gradient and temporal difference learning, including an actuator network and a critic network. The actuator network obtains the highest possible reward through learning strategies, which is used to generate actions and interact with the environment. The critic network is used to evaluate the quality of the actuator network through the reward function, that is, to evaluate the quality of the actuator and guide the actuator's actions in the next stage.

[0105] Hidden variables, or latent variables, are unobservable random variables that can be inferred from observed data through mathematical models. Hidden variables are related to some factors in reality. Measuring these factors is theoretically feasible, but difficult in practice. One of the benefits of using hidden variables is that they can be used to reduce the dimension of data. A large number of observed variables can be integrated into a hidden variable to represent deep concepts, making observed data easier to understand.

[0106] Markov Decision Process (MDP) is a mathematical model of sequential decision, which is used to simulate the random strategies and rewards that can be achieved by intelligent agents in an environment where the system state has Markov properties. Markov decision process is built based on a set of interacting objects, namely intelligent agents and environments, and its elements include state, action, strategy and reward. In the simulation of Markov decision process, the intelligent agent will perceive the current system state, take actions on the environment according to the strategy, thereby changing the state of the environment and receiving rewards. The accumulation of rewards over time is called reward. Markov decision process is used to model reinforcement learning problems in machine learning. By using methods such as dynamic programming and random sampling, Markov decision process can solve the intelligent agent strategy that maximizes the reward, and has been applied in topics such as automatic control and recommendation systems.

[0107] Vehicle to everything (V2X) wireless communication technology refers to the information exchange between vehicles and the outside world, which enables vehicles to communicate with each other, vehicles to base stations, and base stations to base stations, thereby obtaining a series of traffic information such as real-time traffic conditions, road information, and pedestrian information.

[0108] Relative entropy, also known as Kullback-Leibler divergence (KL divergence) or information divergence, is an asymmetric measure of the difference between two probability distributions. In information theory, relative entropy is equivalent to the difference between the Shannon entropy of two probability distributions.

[0109] With the rapid development of artificial intelligence and machine learning technologies, autonomous driving technology has become a research hotspot in the global transportation field. By integrating advanced sensors, high-speed computer processing systems and complex algorithms, autonomous vehicles have the potential to solve a series of problems such as traffic congestion, reduce traffic accidents and improve travel efficiency. However, in the process of moving towards widespread application, autonomous driving technology faces multiple challenges. On the technical level, autonomous driving systems must be able to navigate and make decisions efficiently in complex and changing traffic environments. This requires the system to be able to handle not only static road structures and traffic rules, but also dynamic traffic flows, pedestrian behaviors, emergencies, etc. Although traditional rule-based planning methods can achieve this goal to a certain extent, they are stretched when dealing with the dynamic nature of real-world scenarios. Such methods usually rely on pre-set rules and parameters and are difficult to adapt to the ever-changing traffic environment. In addition, rule-based planning methods also face the problem of parameter adjustment. Small parameter changes may have a significant impact on system behavior, resulting in inefficient and costly system adjustments.

[0110] In recent years, modern machine learning methods, especially reinforcement learning, have provided a new solution for the development of autonomous driving technology. Reinforcement learning algorithms allow agents to learn through trial and error in the environment and autonomously optimize decision-making strategies, which is expected to improve the performance of autonomous driving systems.

[0111] However, in practical applications, reinforcement learning also faces many limitations. Since the guidance of the model optimization direction mainly depends on environmental feedback information, the model performance is closely related to its exploration ability during the interaction process. Although the exploration-trial-error learning mechanism of reinforcement learning has significant advantages in autonomous driving decision-making models and can avoid the performance constraints brought by prior requirements, this mechanism is also accompanied by the problem of low sample utilization efficiency. Especially in high-dimensional complex scenarios, the model needs to spend a lot of time collecting driving data to support decision-making model training, which greatly increases the difficulty of practical application.

[0112] In view of the application limitations caused by low sample exploration and utilization efficiency and long training time faced by the current autonomous driving solutions with reinforcement learning as the core, an embodiment of the present invention provides an autonomous driving control solution. When training an autonomous driving decision model, in the sample collection stage, not only the autonomous driving decision network is used to drive the vehicle movement and interact with the driving environment to collect first real vehicle driving samples of multiple scenes, but also the first real vehicle driving samples are sample expanded to obtain first synthetic driving samples with the same sample feature distribution as the first real vehicle driving samples. In the model parameter update stage, the model parameters of the autonomous driving decision network are adjusted using the first real vehicle driving samples and the first synthetic driving samples. After the model training end condition is met, the autonomous driving decision model is obtained, so that the autonomous driving decision model learns the knowledge of rich driving samples of multiple scenes with a relatively small environmental interaction cost. By generating the first synthetic driving samples with the same sample feature distribution as the first real vehicle driving samples, the difficulty of model training caused by data distribution offset is avoided while the data collection scale is increased, so as to improve the adaptability of the autonomous driving decision model to multiple scenes with a relatively small training cost, and improve the generalization ability of the autonomous driving decision model. The autonomous driving decision model trained in this way is used to control the movement of the target vehicle, which can better adapt to the complex and changeable real vehicle driving environment.

[0113] Figure 1 An architectural diagram of an autonomous driving control system provided in accordance with an embodiment of the present invention.

[0114] To facilitate understanding, the system architecture to which the present invention is applicable is first introduced.

[0115] The automatic driving control system provided by the embodiment of the present invention includes: a cloud server and a vehicle-mounted edge server;

[0116] Among them, the on-board edge server is used to obtain the autonomous driving decision network; perform model iterative training on the autonomous driving decision network, and during the model iterative training process, use the autonomous driving decision network to drive the vehicle movement and interact with the driving environment to collect first real vehicle driving samples in multiple scenarios, send the first real vehicle driving samples to the cloud server, and receive the first synthetic driving samples obtained by the cloud server through sample expansion of the first real vehicle driving samples and the same sample feature distribution as the first real vehicle driving samples, and use the first real vehicle driving samples and the first synthetic driving samples to adjust the model parameters of the autonomous driving decision network; after the model training end conditions are met, obtain the autonomous driving decision model; deploy the autonomous driving decision model on the target vehicle to control the movement of the target vehicle using the autonomous driving decision model.

[0117] like Figure 1As shown, the automatic driving control system provided by the embodiment of the present invention may also include a vehicle-mounted sensor module. The types of vehicle-mounted sensor modules may include at least one of radar and camera for providing environmental perception data to the vehicle-mounted edge server, a vehicle-mounted control unit for providing vehicle control signals to the vehicle-mounted edge server, and at least one of inertial measurement unit (IMU) and global positioning navigation system (GPS) for providing vehicle motion status to the vehicle-mounted edge server.

[0118] The vehicle edge server is provided with a data preprocessing module for preprocessing vehicle driving state perception data such as environmental perception data, vehicle control signals and vehicle motion status provided by the vehicle sensor module. The data preprocessing module includes a timestamp alignment module and a multimodal data processing module. Among them, the timestamp alignment module is used to perform timestamp alignment processing on various vehicle driving state perception data, and the multimodal data processing module is used to perform multimodal data fusion processing on various vehicle driving state perception data after timestamp alignment to obtain a BEV image (bird's eye view). The bird's eye view is sent to the cloud server and stored in the storage module of the cloud server to construct a driving state data set. Figure 1 In the pre-training scenario of the driving state encoding module, the driving state encoding module can be obtained by pre-training the driving state data set using the first model update module deployed by the cloud server.

[0119] like Figure 1 In the online learning scenario of the data enhancement-driven autonomous driving decision model in the embodiment, during the online learning process of the autonomous driving decision model, the pre-trained driving state encoding module is loaded into the vehicle edge server. The vehicle edge server collects real vehicle driving samples and stores them in the storage module of the vehicle edge server and sends them to the cloud server to be stored in the storage module of the cloud server. The storage module of the cloud server constructs a denoising sample data set, so that the denoiser network is trained according to the denoising sample data set by using the second model updating module on the cloud server, and the denoiser network is used to generate synthetic driving samples and send them to the vehicle edge server, and store them in the synthetic sample buffer of the vehicle edge server. The third model updating module of the vehicle edge server is used to train the autonomous driving decision network by batch sampling real vehicle driving samples from the real vehicle sample buffer and synthetic driving samples from the synthetic sample buffer to provide a decision basis for the decision control module deployed on the vehicle edge server. The decision control module deployed on the vehicle edge server obtains the driving state parameters by using the autonomous driving decision network according to the driving state parameters generated by the driving state encoding module, outputs the skill parameters to the skill generation module deployed on the vehicle edge server to generate the vehicle motion trajectory, and inputs the vehicle control unit to control the actual vehicle or simulate the vehicle motion.

[0120] like Figure 1 In the deployment and application scenario of the autonomous driving decision model on the vehicle side, after the autonomous driving decision network is trained to obtain the autonomous driving decision model, the deployment and application of the autonomous driving decision model on the vehicle side is entered, and the pre-trained driving state encoding module and the decision control module including the autonomous driving decision model are loaded in the vehicle-mounted edge server, so as to realize that in the target vehicle, the vehicle-mounted sensor module is used to collect vehicle driving state perception data such as environmental perception data, vehicle control signals and vehicle motion status, and the data preprocessing module is used to align the timestamps of the vehicle driving state perception data and process the multi-modal data to generate a bird's-eye view and send it to the driving state encoding module for encoding, and the driving state parameters are obtained and input into the decision control module to generate driving action parameters, and the skill generation module is used to generate the vehicle motion trajectory and send it to the vehicle-mounted control unit to realize the driving control of the target vehicle.

[0121] Based on the above architecture, the automatic driving control method provided by an embodiment of the present invention is described below with reference to the accompanying drawings.

[0122] Figure 2 A flowchart of an automatic driving control method provided by an embodiment of the present invention.

[0123] like Figure 2 As shown, the automatic driving control method provided by the embodiment of the present invention includes:

[0124] S201: Obtain an autonomous driving decision network.

[0125] S202: Performing model iterative training on the autonomous driving decision network, and during the model iterative training process, using the autonomous driving decision network to drive the vehicle movement and interaction with the driving environment to collect first real vehicle driving samples in multiple scenarios, performing sample expansion on the first real vehicle driving samples to obtain first synthetic driving samples having the same sample feature distribution as the first real vehicle driving samples, and adjusting model parameters of the autonomous driving decision network using the first real vehicle driving samples and the first synthetic driving samples.

[0126] S203: After the model training end conditions are met, an autonomous driving decision model is obtained.

[0127] S204: Deploy the autonomous driving decision model to the target vehicle to control the movement of the target vehicle using the autonomous driving decision model.

[0128] In the process of training the autonomous driving decision network to obtain the autonomous driving decision model, since the autonomous driving decision model can only improve the strategy based on the experience samples generated by the interaction between the strategy and the environment, and is limited by the model's exploration ability, within a certain training time or number of training steps, the model can only explore a limited area of ​​the driving state space, and it is difficult to cover all driving situations in complex traffic. On the other hand, due to limited hardware computing and storage resources, the set playback buffer cannot store all sample data generated by the interaction of the training interval. Therefore, each update of the autonomous driving decision model can only be performed on the most recently collected experience data, and the historical data from a longer time ago will be forgotten, although there may be many high-value samples among them. The above two aspects will lead to insufficient sample diversity, low sample utilization efficiency, and thus affect the model learning performance and final performance.

[0129] In response to the above problems, in an embodiment of the present invention, a large amount of driving expert demonstration data can be collected and behaviors can be extracted from the data through offline learning methods, or the expert demonstration data can be added to the online learning process for guidance. However, when the collected data does not match the application environment, the model performance will fail.

[0130] Therefore, in an embodiment of the present invention, on the basis of the actual vehicle driving samples, by generating synthetic driving samples with the same sample feature distribution as the actual vehicle driving samples, the network parameters of the autonomous driving decision network are updated using mixed samples consisting of the actual vehicle driving samples and the synthetic driving samples to train and obtain an autonomous driving decision model. That is, by reusing the online learning experience of the collected actual vehicle driving samples and expanding the number of samples in a generated manner, the number of samples that can be learned by the autonomous driving decision model is increased, the model exploration capability of the autonomous driving decision model is enhanced, and the cost of collecting actual vehicle driving samples for excessive environmental interaction is not incurred.

[0131] In an embodiment of the present invention, the first real vehicle driving sample may include at least one of a second real vehicle driving sample collected during the online training process of the autonomous driving decision model and a historically collected offline driving expert driving sample. Then the first synthetic driving sample may include at least one of a second synthetic driving sample generated based on the second real vehicle driving sample and a third synthetic driving sample generated based on the offline driving expert driving sample. In actual applications, the source of the first real vehicle driving sample and the data source for generating the first synthetic driving sample are selected according to the actual scenario requirements.

[0132] In the embodiment of the present invention, Figure 1 As shown, a driving state encoding module, a third model updating module, a decision control module, a skill generation module and a data synthesis module are deployed to implement the training steps of the autonomous driving decision model in the autonomous driving control method.

[0133] Among them, the driving state encoding module is used to encode the collected vehicle driving state perception data as the input of the decision control module.

[0134] The third model update module can build an autonomous driving decision network based on the actuator network-evaluator network architecture. Used to fit decision control strategies, evaluator (Critic) network Used to evaluate strategy performance, where is the driving state parameter, Driving action parameters.

[0135] The decision control module is used to make decisions based on the autonomous driving decision network during training or the autonomous driving decision model obtained through training, and select driving action parameters according to the input driving state parameters.

[0136] The skill generation module is used to generate a vehicle running trajectory according to the driving action parameters provided by the decision control module to control the vehicle movement.

[0137] The data synthesis module is used to expand the samples based on the real vehicle driving samples to obtain synthetic driving samples with the same sample feature distribution as the real vehicle driving samples. For example, in an embodiment of the present invention, the data synthesis module is used to generate a first synthetic driving sample with the same sample feature distribution as the first real vehicle driving sample based on the first real vehicle driving sample.

[0138] In the embodiment of the present invention, depending on the application scenario, an autonomous driving simulation system can be used to implement online training of the autonomous driving decision model, or an autonomous driving control system composed of an actual vehicle and a cloud server can be used to implement online training of the autonomous driving decision model.

[0139] If the method of building an autonomous driving simulation system is adopted to realize online training of the autonomous driving decision model, the autonomous driving simulation system can be composed of a computer (PC) terminal and a server, wherein the computer end is used to build a simulated traffic environment to simulate the vehicle edge server, and the server can perform online training of the autonomous driving decision model under the Ubuntu system, and data communication between the computer end and the server can be carried out through Ethernet.

[0140] If an autonomous driving control system is used to implement online training of the autonomous driving decision model, the driving state encoding module and the decision control module can be deployed on the on-board edge server of the actual vehicle, and the data synthesis module can be deployed on the cloud server. Data communication between the on-board edge server and the cloud server can be carried out via Ethernet.

[0141] Introducing the data synthesis module into the online learning process of the autonomous driving decision model can help expand the training data set and improve the generalization and robustness of the model. During the online learning process of the autonomous driving decision model, the first real vehicle driving sample generated by the interaction between the vehicle and the driving environment can be uploaded to the cloud server at regular intervals. The data synthesis module will update its own network parameters based on the new driving data and generate the first synthetic driving sample to expand the scale and diversity of training samples required for the autonomous driving decision model, help the autonomous driving decision model better adapt to diverse environments and scenarios, accelerate the training process, and reduce online interaction costs.

[0142] The model training termination condition of the autonomous driving decision model may be reaching a preset number of iterations or reaching a preset convergence condition. When the autonomous driving decision model trained by the online training method provided by the embodiment of the present invention is deployed on the target vehicle to realize the vehicle autonomous driving control, since the autonomous driving decision model has learned the real vehicle driving knowledge of multiple scenarios and is learned on the basis of sample expansion, the model exploration capability is effectively improved, so that it can be more adaptable to the complex and changeable actual driving environment.

[0143] Based on the above embodiment, the embodiment of the present invention further illustrates the driving state encoding module.

[0144] In S202, the training process of the autonomous driving decision network is divided into two stages: data collection and model update. In the data collection stage, the actuator network samples decision actions according to the input driving state parameters and generates driving action parameters. After using the driving action parameters to control the interaction between the vehicle operation and the environment, the environmental feedback data of the driving environment is collected, and the environmental reward parameters are calculated based on this. At this time, the vehicle enters the next state.

[0145] Then, in S202, using the autonomous driving decision network to drive the vehicle movement to interact with the driving environment to collect first real vehicle driving samples in multiple scenarios may include:

[0146] The driving state encoding module is used to encode the collected vehicle driving state perception data at the current moment to obtain the driving state parameters at the current moment and input them into the automatic driving decision network;

[0147] Using the automatic driving decision network to select driving action parameters according to the current driving state parameters, and using the selected driving action parameters to drive the vehicle to move;

[0148] In the process of driving the vehicle to interact with the driving environment, environmental feedback information is collected to calculate the environmental reward parameters;

[0149] The driving state encoding module is used to encode the collected vehicle driving state perception data at the next moment to obtain the driving state parameters at the next moment;

[0150] A first real vehicle driving sample is constructed with a set of current driving state parameters, driving action parameters, environmental reward parameters and next moment driving state parameters.

[0151] In an embodiment of the present invention, the collected vehicle driving state perception data may be multimodal driving perception data including vehicle state information of the target vehicle and environmental state information of the driving environment.

[0152] The driving state encoding module is used to encode the collected vehicle driving state perception data as the input of the autonomous driving decision model. In the process of training the autonomous driving decision model, human expert drivers can be used to control the vehicle in complex driving scenarios, and the on-board sensor module can be used to collect multimodal driving perception data and synthesize them into the form of BEV graphs, which can be uploaded to the cloud server to build a driving state data set.

[0153] The driving state encoding module can be designed with a symmetric network structure and unsupervised pre-trained based on the driving state dataset in the cloud server. After pre-training, the encoder network in the driving state encoding module is retained as upstream data support for subsequent tasks.

[0154] In an embodiment of the present invention, a large amount of driving data is collected by using an on-board sensor module on the vehicle side, and timestamp alignment and multimodal data fusion are performed in the on-board edge server to establish a driving state data set. Then, a driving state encoding model is constructed and learned in the cloud server to extract the potential distribution structure of the driving state and generate a low-dimensional, meaningful potential representation as the input state of the decision model. In general, the driving state encoding module can be pre-trained in advance, or it can be combined with the decision control module for end-to-end online training. The actual application can depend on the input data dimension and task complexity. In order to reduce the difficulty of online learning of the autonomous driving decision model, the training task of the driving state encoding module can be separated from the training task of the autonomous driving decision model, and the driving state encoding module can be trained separately.

[0155] The pre-training of the driving state encoding module requires the use of on-board sensor equipment to collect a large amount of diverse driving data, including vehicle sensor data (such as radar, lidar, camera, etc.), vehicle control signals (such as steering angle, throttle, brake, etc.) and vehicle driving trajectory, etc. The above driving data is aligned according to timestamps in the on-board edge server, and then synthesized into a BEV image with multi-channel semantic information using a multimodal data processing method to obtain multimodal driving perception data.

[0156] During the pre-training stage of the driving state encoding module, the simulator application programming interface (API) can be used directly on the computer to obtain the vehicle motion state, road topology, surrounding environment and traffic flow data, and then synthesize them into a BEV image with multi-channel semantic information.

[0157] In some optional implementations of the embodiments of the present invention, encoding the collected vehicle driving state perception data using the driving state encoding module to obtain driving state parameters may include: using the driving state encoding module to perform dimensionality reduction processing on the collected vehicle driving state perception data to obtain the driving state parameters. By using the driving state encoding module to perform dimensionality reduction processing in the process of converting multimodal driving perception data into driving state parameters, the multimodal driving perception data is converted into a low-dimensional representation, thereby reducing the difficulty of online learning of the autonomous driving decision model.

[0158] In some other optional implementations of the embodiments of the present invention, using a driving state encoding module to encode the collected vehicle driving state perception data to obtain driving state parameters may include: using a pre-trained driving state encoding module to encode the collected vehicle driving state perception data to obtain driving state parameters that meet a preset distribution. By using the driving state encoding module to convert the multimodal driving perception data into driving state parameters that meet a preset distribution during the process of converting the multimodal driving perception data into driving state parameters, it can help reduce the difficulty of the data synthesis module in learning the sample feature distribution of the first real vehicle driving sample, thereby further reducing the difficulty of online learning of the autonomous driving decision model.

[0159] In some preferred implementations of the embodiments of the present invention, encoding the collected vehicle driving state perception data using a driving state encoding module to obtain driving state parameters may include: using a pre-trained driving state encoding module to perform dimensionality reduction processing on the collected vehicle driving state perception data and then outputting driving state parameters that meet a preset distribution. That is, by using a driving state encoding module to perform dimensionality reduction in the process of converting multimodal driving perception data into driving state parameters and encoding the driving state parameters into the same distribution, the difficulty of online learning of the autonomous driving decision model can be significantly reduced when providing upstream data support for the training of the autonomous driving decision model.

[0160] Since in an embodiment of the present invention, the driving state encoding module is only concerned with the feature representation of driving data in a low-dimensional latent space, and does not involve tasks such as classification and detection, there is no need to annotate the driving data used to train the driving state encoding module. After completing the driving data collection and BEV image synthesis, it is uploaded to the cloud server as a driving state data set through V2X communication technology. Taking into account the diversity of driving scenarios, the number and diversity of training data for the driving state encoding module can also be increased through data enhancement technology. For example, the BEV image can be transformed by rotation, translation, scaling or adding noise, so as to generate more challenging driving state encoding modules and improve the generalization ability of the driving state encoding module.

[0161] In an embodiment of the present invention, an unsupervised manner can be used to control the driving state encoding module to learn effective encoding of driving data, and its model structure can include an encoder and a decoder. The encoder is used to map the input driving state data to distribution parameters in the latent space, and the decoder decodes the vector sampled from the latent space into the original input data to restore the original driving state information.

[0162] In the embodiment of the present invention, the input data is a BEV image (multimodal driving perception data) of size 5*200*200, and a convolutional neural network is used to construct an encoder and a decoder. Figure 3 A schematic diagram of the structure of a driving state encoding network and a driving state decoding network provided in an embodiment of the present invention. Since the input data and the output data structure are basically the same, the model structure has significant symmetry. In an embodiment of the present invention, the part that compresses data from the input layer to the center of the architecture is called a driving state encoding network, and its function is to extract low-dimensional key information from the original data. The information purified from the original data is feature coding; the part that expands data from the coding to the output layer is called a driving state decoding network, and the output of the driving state decoding network is a reconstructed image, and its function is to restore the extracted information to the original structure. Different types of neural networks can be used to design and implement driving state encoding networks and driving state decoding networks according to data scale and computing requirements.

[0163] like Figure 3 As shown in Figure 1, a three-layer convolutional neural network is used to construct a driving state encoding network and a driving state decoding network, and the driving state encoding module is trained in the cloud server using the collected driving data. Figure 3For example, the driving state encoding network can be used. The convolution network 1 with a convolution kernel of 3 and a step number of 2 can be used to convert the multimodal state perception data of 200*200*5 into 99*99*128, the convolution network 2 with a convolution kernel of 3 and a step number of 2 can be used to convert the multimodal state perception data of 99*99*128 into 49*49*128, and the convolution network 3 with a convolution kernel of 3 and a step number of 2 can be used to convert the multimodal state perception data of 49*49*128 into 24*24*64, and then the data is flattened into 36864 using a flattening layer, and the driving state parameters are obtained through sample distribution feature encoding. In the driving state decoding network, the driving state encoding parameters of 36864 are reshaped into 24*24*64 using a reshaping layer, and then decoded through the deconvolution network 3, the deconvolution network 2 and the deconvolution network 1 in turn to obtain a reconstructed sample.

[0164] In some optional implementations of the embodiments of the present invention, the pre-training step of the driving state encoding module may include:

[0165] Obtain vehicle driving data;

[0166] Extracting vehicle state information and environment state information from vehicle driving data to construct multimodal driving perception data and obtain a driving state data set;

[0167] A symmetric convolutional neural network structure is used to build a driving state encoding network and a driving state decoding network;

[0168] Extract encoder training samples from the driving state data set to train the driving state encoding network and the driving state decoding network. During the training process, the encoder training samples are input into the driving state encoding network to extract the sample data distribution of the encoder training samples, and the sample distribution feature encoding is obtained by sampling from the sample data distribution of the encoder training samples. The sample distribution feature encoding is input into the driving state decoding network to output the reconstructed samples, with the training objectives of maximizing the likelihood of the reconstructed samples and the corresponding encoder training samples and minimizing the relative entropy between the potential representation distribution of the encoder training samples and the standard normal distribution, and performing loss optimization training on the driving state encoding network and the driving state decoding network;

[0169] After the driving state encoding module training end condition is reached, the driving state encoding module is obtained.

[0170] When training the driving state encoding module, the training objectives are to maximize the likelihood of the reconstructed samples and the corresponding encoder training samples (minimize the reconstruction error) and to minimize the relative entropy of the latent representation distribution of the encoder training samples and the standard normal distribution to ensure that the learned representation has a certain structure and continuity.

[0171] When training the driving state encoding module, the original BEV image will be input into the driving state encoding network as multimodal driving perception data, and then feature encoding will be formed after passing through the driving state encoding network. It will then be input into the driving state decoding network and restored back to the original input structure to obtain a reconstructed sample.

[0172] In order to ensure the continuity of the mapping space of the driving state encoding network, the embodiment of the present invention does not directly pass the encoded result of the driving state encoding network to the driving state decoding network, but makes the implicit representation meet the preset distribution. In view of this, the driving state encoding network does not directly output a hidden variable, but outputs the mean of a multi-dimensional Gaussian distribution. and variance , and then sample from the obtained distribution to obtain a As feature encoding, Send it to the decoder for decoding, using Also the original input.

[0173] In some other optional implementations of the embodiments of the present invention, applied to a cloud server, the pre-training step of the driving state encoding module may include:

[0174] Collect multimodal driving perception data obtained by human expert drivers based on on-board sensor equipment while driving in complex traffic scenarios, synthesize the multimodal driving perception data into BEV images through multimodal data processing, semantic segmentation and other technologies, and construct a driving status dataset ;

[0175] A driving state encoding module is constructed using a symmetric convolutional neural network structure, and the network parameters of the driving state encoding network and the driving state decoding network are randomly initialized.

[0176] Randomly from the driving state dataset Draw small batches of samples ;

[0177] Extracting sample data distribution through encoder network , sampled from Encoded features ;

[0178] Will As input, the reconstructed sample data is obtained through the decoder network ;

[0179] Calculate the reconstruction loss based on the reconstructed samples and the real samples, calculate the training loss, and calculate the distribution loss through the encoder output feature distribution, and update the encoder and decoder network parameters through back propagation;

[0180] Repeat the above steps until the model converges or reaches the preset number of training iterations, and output the driving state encoding module.

[0181] in, For the Vehicle driving state perception data, is the amount of vehicle driving state perception data, For the driving state dataset The number of vehicle driving state perception data extracted from For the The mean of the vehicle driving state perception data, For the The variance of the vehicle driving state perception data, For the self The vehicle driving state perception data is sampled from Encoded features, For the The vehicle driving state perception data is sampled from The reconstructed sample data corresponding to the encoded features.

[0182] Assume that the original BEV image is , the driving state encoding network needs to achieve arrive The mapping process, that is, the distribution , and the driving state decoding network needs to achieve Restore Back The process of distribution , the two distributions have the following relationship:

[0183] ; (1)

[0184] in, and They are and Prior distribution. Considering the integral term It is difficult to calculate directly. The driving state encoding network will train a probability distribution through a neural network. To approximate the posterior probability distribution , The network parameters of the driving state encoding network are mainly achieved by minimizing the following distribution metric function:

[0185] ; (2)

[0186] in, KL divergence, also known as Kluber-Leibler divergence, is used to measure the difference between the model's predicted distribution and the true distribution. Right now and The KL divergence between , log represents the logarithmic likelihood distribution. is the lower bound of evidence in variational inference, expressed as:

[0187] ; (3)

[0188] Due to input Given, so is a constant, so minimizing the KL divergence is equivalent to minimizing the evidence lower bound (ELBO). The meaning of is to make the probability distribution output by the driving state encoding network consistent with the prior probability distribution. Based on distribution Sampling Reconstruction The expected probability of It can be obtained through neural network training of the driving state decoding network. This item is used as the reconstruction loss to measure the relationship between the model input and output.

[0189] Assume that the parameters of the driving state encoding network are , the parameters of the driving state decoding network are , then the loss function of the driving state encoding module can be defined as:

[0190] ; (4)

[0191] The first term is calculated by the means and variances of the two distributions. To simplify the calculation, the prior distribution Set to standard normal distribution , assuming , then:

[0192] ; (5)

[0193] Correspondingly, the reconstruction loss of the second term is designed as:

[0194] ; (6)

[0195] in, The parameters of the decoding network in the driving state are The time achieved from arrive The mapping process, The network parameters for the driving state encoding network are Output The distribution of is the variance of the output distribution of the driving state encoding network, is the mean of the driving state encoding network output distribution, To reconstruct the sample, are equivalent identifiers.

[0196] Considering that the driving state encoding network and the driving state decoding network are connected by sampling distribution during the training process, the middle cannot be described by a differentiable function relationship, resulting in the inability to perform back propagation. In this embodiment of the present invention, a reparameterization technique can be used to establish the encoding feature and the mean of the distribution and variance Since the intermediate sampling operation is independent of the network and does not participate in the gradient update operation, the network can perform back propagation normally during training.

[0197] Given a driving state dataset consisting of BEV images , for any sample , the distribution of all feature information it carries is converted into a Gaussian distribution through the encoder, and the mean of the Gaussian distribution is obtained and variance , and then randomly sample from a standard normal distribution variable , and use the reparameterization technique to calculate , and then the corresponding reconstructed samples are obtained through the decoder .

[0198] In the embodiment of the present invention, the training objectives of the driving state encoding module are composed of two parts: maximizing the real sample Reconstruction sample The likelihood (reconstruction error) of , and minimizing the potential representation distribution With standard normal distribution The KL divergence of is used to ensure that the learned representation has certain structure and continuity.

[0199] In summary, the pre-training process of the driving state encoding module can be described as follows:

[0200] (On the computer side) Use the autonomous driving simulator to build a simulated traffic environment, call the built-in rule-based autonomous driving planner of the autonomous driving simulator or load the expert driving strategy to control the vehicle to achieve simulated autonomous driving. During this period, the vehicle motion status, road topology, surrounding environment and traffic flow data are obtained in real time through the simulator application interface, and the BEV image is synthesized according to the spatial position information to build a driving status data set ;

[0201] Driving Status Dataset The data is sent to a server with an Ubuntu system, and a driving state encoding module is constructed under the Pytorch framework using a symmetric convolutional neural network structure, and the driving state encoding network parameters are calculated. and driving state decoding network parameters Perform random initialization;

[0202] Randomly from the driving state dataset Draw small batches of samples ;

[0203] Extracting sample data distribution through encoder network ;

[0204] Draw randomly from a standard normal distribution Distribution variables , calculated by the following formula Encoded features :

[0205] ; (7)

[0206] Will As input, reconstructed sample data is obtained through the driving state decoding network ;

[0207] The training loss of the driving state encoding module is calculated according to the following training loss function, by back-propagating the network parameters;

[0208] ; (8)

[0209] Repeat the above steps until the model converges or reaches the preset number of training iterations, and output the encoder network;

[0210] in, is the training loss function of the driving state encoding module, The parameters of the network encoding the driving state, The parameters of the driving state decoding network, is the encoder training sample, is the number of encoder training samples, is the sample data distribution of encoder training samples, is the standard normal distribution, is the KL divergence between the sample data distribution of the encoder training sample and the standard normal distribution, is the number of distribution variables drawn from the standard normal distribution, To reconstruct the sample, is the encoder training sample, is the square of the two-norm calculation, For the The variance of the encoder training samples, For the The mean of the encoder training samples.

[0211] The trained driving state encoding module is deployed on the computer side of the autonomous driving simulation system or the on-board edge server of the autonomous driving control system as upstream data support for subsequent decision-making and planning tasks to provide a more expressive and versatile low-dimensional latent state representation, which can help improve the overall performance and adaptability of the system and enable it to better adapt to various complex driving environments and task requirements.

[0212] Based on the above embodiments, the embodiments of the present invention further illustrate the data synthesis module.

[0213] In an embodiment of the present invention, in order to solve the problem that the autonomous driving decision model has poor model exploration ability for real vehicle driving samples, a data synthesis module is used to perform sample expansion on the first real vehicle driving sample to generate a first synthetic driving sample to reuse the first real vehicle driving sample, so that the autonomous driving decision model can learn more driving experience.

[0214] In some optional implementations of the embodiments of the present invention, the first real vehicle driving sample is expanded to obtain the first synthetic driving sample, and the first synthetic driving sample can be synthesized by using a generative modeling method such as a variational auto encoder (VAE) or a generative adversarial network (GAN) to achieve data augmentation. However, such generation methods do not consider the dynamics of environmental state transitions, which may result in insufficient rationality of the generated samples and inconsistent with the sample feature distribution generated by actual interaction.

[0215] In view of this, in an embodiment of the present invention, in S202, the first real vehicle driving sample is expanded to obtain a first synthetic driving sample with the same sample feature distribution as the first real vehicle driving sample, which may include: using a diffusion model to expand the first real vehicle driving sample to obtain a first synthetic driving sample with the same sample feature distribution as the first real vehicle driving sample. The diffusion model is combined with the forward dynamics model to perform sample synthesis, so as to ensure that the generated first synthetic driving sample is more consistent with the real environment dynamics, and can generate novel, diverse and dynamically accurate data.

[0216] In an embodiment of the present invention, a data synthesis module can be constructed based on a diffusion model and forward dynamics. The constructed data synthesis module can be used to perform data enhancement in the online learning phase of the autonomous driving decision model and even in the pre-training phase of the driving state encoding module. Using the data synthesis module to synthesize samples can ensure that the synthesized driving samples are more consistent with the real environment dynamics, and can generate novel, diverse, and dynamically accurate data.

[0217] In some optional implementations of the embodiments of the present invention, the step of training the diffusion model may include:

[0218] Iteratively train the denoiser network. In each iteration, extract denoised training samples from the first real vehicle driving samples, add noise to the denoised training samples according to a preset noise level schedule to obtain noisy samples, use the denoiser network to denoise the noisy samples to obtain denoised samples, calculate the difference loss value of the denoiser network using the error between the denoised samples and the corresponding denoised training samples, and perform back propagation to update the model parameters of the denoiser network;

[0219] When the denoiser iteration end condition is met, the diffusion model is obtained.

[0220] Specifically, in the network training stage of the data synthesis module, given a denoised sample data set, the data synthesis module will randomly extract a small batch of denoised training samples from the denoised sample data set and add noise to them according to the preset noise level schedule; then the denoiser network is used to denoise the noisy samples, and the network training loss is calculated based on the difference between the denoised samples and the real samples (i.e., the denoised training samples), and then the denoiser network parameters are updated through the back-propagation method to reduce the loss value.

[0221] In the sample generation stage of the data synthesis module, the noise level schedule and sampling coefficient are first set according to the predefined diffusion sampling steps, and then random noise samples are generated as the initial input based on the initial noise level sampling; for the noise samples in any iteration process, the scoring function is calculated according to the trained denoiser network, and the noise samples for the next iteration input are calculated according to the scoring value until the maximum sampling iteration steps are reached and the sample generation is completed.

[0222] The data synthesis module is introduced into the online learning process of the autonomous driving decision model. The data synthesis module will update the model parameters in the server at regular intervals based on the latest driving experience generated by the interaction to synthesize more diverse decision control model training samples, accelerate the training process, and reduce online interaction costs.

[0223] Collecting the first real vehicle driving sample in S202 may include: using a pre-trained driving state encoding module to perform dimensionality reduction processing on the collected vehicle driving state perception data and then outputting driving state parameters that meet a preset distribution, collecting and implementing the first real vehicle driving sample including the driving state parameters at the current moment, driving action parameters selected by the automatic driving decision network according to the driving state parameters at the current moment, environmental reward parameters obtained based on the driving action parameters, and driving state parameters at the next moment.

[0224] The driving state transition data is regarded as training samples to be synthesized ,in, for Driving state parameters at the moment, for The driving action parameters selected at each moment, Based on Driving state parameters at the moment and The environmental reward parameters obtained by the driving action parameters selected at each moment, for + The training process of the data synthesis module based on the diffusion model includes two parts: forward diffusion and reverse denoising. The model will learn to iteratively reverse the forward diffusion process and generate samples from noise. Given a standard deviation of The sample distribution of , consider adding the standard deviation Independent and identically distributed Gaussian noise is used to obtain a noisy sample distribution The forward diffusion process is scheduled by following a fixed noise level The noise distribution sequence is defined as is the diffusion sampling step number, when When , the final sample distribution Essentially no different from random noise. Here we use the following probability flow ordinary differential equation to represent the scheduling with continuous noise level The corresponding inverse denoising process under these conditions:

[0225] ; (9)

[0226] in, is the continuous noise level schedule The time derivative of is a scoring function that describes the gradient information of model parameters for data distribution to guide the direction and magnitude of parameter updates. Unknown, we can train a denoising model to minimize the denoising loss To approximate it, the training objective is as follows:

[0227] ; (10)

[0228] in, The mean is 0 and the standard deviation is The normal distribution of for The expected computational operation under the condition, is the noise sample The denoised output obtained by inputting the denoising model, is the square of the two-norm calculation, is the standard deviation of the noise distribution.

[0229] Furthermore, the connection between score matching and denoising can be used to calculate the score function:

[0230] ; (11)

[0231] The forward diffusion process can be reversed using a stochastic differential equation (SDE) solver to achieve sample generation.

[0232] Currently, in most generation tasks based on diffusion models, the input data is often images or multimodal high-dimensional data. In order to obtain high-dimensional statistical distribution information, it is necessary to use complex network structures such as convolutional neural networks and Transformers to build denoising models, which leads to a slow sampling and denoising process. It takes a long time of iterative training to ensure model performance, and sample generation takes too long.

[0233] In the embodiment of the present invention, since the driving state data has been mapped to a low-dimensional potential state space by a pre-trained driving state encoding module, the input data It can be represented as a low-dimensional vector, and only a simple fully connected network is needed to meet the requirements of the denoising model. It can significantly reduce the iterative training cost of the data synthesis module and speed up the sample generation.

[0234] Therefore, the embodiment of the present invention uses a fully connected network with residual connections to construct a denoising model. . Figure 4 A structural diagram of a diffusion model provided by an embodiment of the present invention. Figure 4 As shown, the network structure of the diffusion model used in the embodiment of the present invention may include: after the input noise is sinusoidally encoded, the result is sequentially input into the first linear layer, the first activation layer, and the second linear layer, and after the result of the noise input into the third linear layer is summed, the sum value is sequentially passed through the fourth linear layer, the residual multilayer perceptron, the first normalization layer, the second activation layer, and the fifth linear layer. Among them, the residual multilayer perceptron is composed of six groups of the second normalization layer, the third activation layer, and the sixth linear layer.

[0235] like Figure 4 As shown, the noise input , , ,……, ,……, Input denoiser network, according to Eq. , After the sinusoidal position encoding, it is obtained by the first linear layer, the first activation layer, the second linear layer, and the third linear layer. Calculation is performed in the first activation layer Calculation is performed in the second linear layer Calculation is performed in the third linear layer calculate. , , ,……, ,……, and , , ,……, ,……, The corresponding sum is , , ,……, ,……, , input into the fourth linear layer, and then pass through the fourth linear layer, residual multi-layer perceptron, first normalization layer, second activation layer and fifth linear layer for denoising output , , ,……, ,……, Among them, in the fourth linear layer Calculation is performed in the residual multilayer perceptron Calculation is performed in the first normalization layer Calculation is performed in the second activation layer Calculation is performed in the fifth linear layer Calculation. In the residual multilayer perceptron, in the second normalization layer Calculation is performed in the third activation layer Calculation is performed in the sixth linear layer calculate.

[0236] in, is the total number of denoising training samples input in each batch, For the The noisy samples corresponding to the denoised training samples, is the encoding vector dimension, is the location information, is the position encoding matrix Locations, To represent the intermediate features of the output of the intermediate layer of the network, is the linear layer calculation operation, For noisy samples The corresponding intermediate network layer output features, For noisy samples The corresponding third linear layer output features, For noisy samples The corresponding denoised output, Used to represent the intermediate features of the output of the intermediate layer of the network, Compute operations for the residual network module, is the layer normalization operation, Calculate the maximum value.

[0237] In some other optional implementations of the embodiments of the present invention, the training step of the diffusion model may include:

[0238] Initialize the network parameters of the denoiser network ;

[0239] Calculate the distribution standard deviation based on the denoised sample data set consisting of the first real car driving sample ;

[0240] Randomly extract small batch denoising training samples from the denoising sample dataset ;

[0241] Set the noise based on a lognormal distribution ,according to Add noise to the denoised training samples to obtain noisy samples ;

[0242] according to , using a denoiser network to denoise noisy samples Perform denoising processing; wherein, is the output of the denoiser network. denoised samples;

[0243] according to Calculate the difference loss between the denoised sample and the corresponding denoised training sample;

[0244] The network parameters of the denoiser network are updated using the back-propagation method to reduce the difference loss value;

[0245] Repeat the above steps until the denoiser iteration end condition is reached, and the diffusion model is obtained;

[0246] in, is the number of denoising training samples, For the denoising training samples, For the Noisy samples, For the denoised samples, For noise, is the distribution standard deviation of the denoised sample data set, is the standard deviation of the noise distribution, is the difference loss value between the denoised sample and the corresponding denoised training sample, is the denoised sample, is the denoising training sample, E[·] is the difference loss calculation, The square of the 2-norm.

[0247] On this basis, using the diffusion model to perform sample expansion on the first real vehicle driving sample to obtain a first synthetic driving sample having the same sample feature distribution as the first real vehicle driving sample may include:

[0248] The noise level schedule and sampling factor are set according to the following formula:

[0249] ;

[0250] ;

[0251] Based on noise level Sampling generates random noise samples as initial input ;

[0252] according to and , for any Noise samples during the iteration , with noise samples Random sampling is performed at the center; is random noise;

[0253] Using the diffusion model Calculate the The denoising score value of the iteration process;

[0254] According to the noise sample of the next iteration step ; Among them, if ,but ;

[0255] like , then according to Calculate the +1 denoising score value of the iteration process;

[0256] If the sampling end condition is met, it is determined that the generation of the first synthetic driving sample is completed, and the first synthetic driving sample is output;

[0257] If the sampling end condition is not met, the Noise samples during the iteration , with noise samples Steps for random sampling for the center;

[0258] in, The diffusion model The noise level scheduling of the iterative process, is the control coefficient of noise level scheduling, is the standard deviation of the distribution of the maximum noise level, is the standard deviation of the distribution of the minimum noise level;

[0259] The diffusion model The sampling coefficient of the iteration process, is the preset diffusion sampling step number, , is the noise sampling amplitude, is the lower limit of the noise level, is the upper limit of noise level;

[0260] , , are random sampling coefficients, and ;

[0261] For the The sampling noise of the iterative process is For the The noise sample input in the iteration process, For noise samples is the sampling noise sample obtained by random sampling from the center, For The random noise sampled from is a multidimensional standard normal distribution, is the identity matrix;

[0262] is the sampled noise sample The denoising score of is the sampled noise sample The denoised output obtained by inputting the denoiser model;

[0263] For the +1 Noise sample input during the iteration, is the noise sample +1 Noise level scheduling for the iteration process;

[0264] is the noise sample The denoising score of is the noise sample The denoised output of the input denoiser model.

[0265] Based on the above embodiments, the embodiments of the present invention further illustrate the training process of the autonomous driving decision model.

[0266] By loading a pre-trained driving state encoding module to provide low-dimensional potential state input, an embodiment of the present invention can construct a decision control module based on reinforcement learning in a server, which is used to implement reasoning and execution work in the process of training an autonomous driving decision model based on an initial autonomous driving decision network.

[0267] In an embodiment of the present invention, the autonomous driving decision model can be constructed based on an actuator network-evaluator network architecture. Used to fit decision control strategies, evaluator (Critic) network To avoid overestimation of value and improve performance stability, in this embodiment of the present invention, a dual network mechanism can be used to train the autonomous driving decision model, that is, one actuator network and two current evaluator networks are set. , and 2 target evaluator networks , .

[0268] The online training process of the autonomous driving decision model is divided into two stages: data collection and model update.

[0269] In the embodiment of the present invention, for the problem of autonomous driving in complex and changeable traffic scenarios, the environment can be modeled as a Markov decision process, defined as a tuple ,in and denote the state and action space respectively, State transition probability, is the reward function, is the initial state distribution, is the discount factor.

[0270] The current time is At this moment, the driving state parameter at the current moment is , the driving action parameters are , the environmental reward parameter is , the driving state parameter at the next moment is , then the first real car driving sample includes the data tuple .

[0271] The goal of reinforcement learning is to optimize the policy , so that the expected discounted return Maximize. Set as the output feature of the driving state encoding module, action Set to generate driving movement skills free parameters to facilitate diverse driving behavior learning, where So is the initial state and the length is The vehicle motion trajectory, For and status The corresponding trajectory initial point, Represents the process of motor skill generation based on motion planning.

[0272] In the data collection stage, a first real vehicle driving sample is collected. The steps of collecting the first real vehicle driving sample may include:

[0273] Use the automatic driving decision model to sample the decision action parameters according to the current driving state parameters , and generate motor skills based on trajectory planning methods ;

[0274] Control the target vehicle to perform motor skills , and receive environmental feedback rewards during execution, and calculate the cumulative reward value within the skill cycle , until the driving state is transferred to the next moment, the driving state parameters of the next moment are collected ;

[0275] Data tuple As the first real car driving sample;

[0276] in, for Driving action parameters at the moment, for Driving state parameters at the moment, is the actuator network, For is the initial state and the length is The vehicle trajectory of time steps, For the motor skill generation process based on motion planning, for Waypoints at the moment, for +1 time waypoint, for + Waypoints at the moment, for The environmental reward parameter at the moment, is the number of time steps in a skill cycle, for The single-step reward value at time, for + Driving status parameters at the moment.

[0277] With the support of the upstream driving state encoding module, decision-making and control tasks can be performed in the latent feature space, which will significantly reduce the difficulty of model training. In view of this, the decision-making and control module only uses a simple fully connected network to map the low-dimensional state characteristics of the vehicle to the decision-making and control actions. Due to the low computing power requirements, its training and reasoning can be performed in the vehicle edge server. In this embodiment of the present invention, the hidden layers of the actuator network and the evaluator network can both use a fully connected network with the same 2-layer structure. The encoding output layer of the actuator network will output the mean of the action distribution. and variance , the encoding layer of the evaluator network will output a scalar as the policy value estimate. The actuator network and the evaluator network do not share parameters in order to better decouple the training process of the two roles and improve the learning effect and performance of the network.

[0278] To ensure the sample size, you can use the playback buffer to store the first real car driving sample. So in the model update phase, you can randomly select Small batches of samples are extracted from the training set, and the parameters of the actuator network and the evaluator network are updated respectively with the goal of maximizing the expected return. During the training, the two stages are iterated alternately until the number of training iterations reaches the set upper limit, and the actuator network is output.

[0279] Based on the above conditions, in the embodiment of the present invention, the decision control module can be applied to work in a single-step reasoning-multi-step execution mode, that is, every The time step makes an action decision, and each action will continue steps, so the reward function should be set as the cumulative reward within a skill execution cycle, that is, ,in for Single-step reward with constant environmental feedback.

[0280] In some optional implementations of the embodiments of the present invention, adjusting the model parameters of the automatic driving decision network using the first real vehicle driving sample and the first synthetic driving sample in S202 may include:

[0281] A first preset number of model parameter updates are performed in each optimization iteration of the autonomous driving decision model. In each model parameter update process, a first real vehicle driving sample is collected and a first synthetic driving sample is generated. A decision model update training sample is extracted from the first real vehicle driving sample and the first synthetic driving sample to update the actuator network, the current evaluator network and the target evaluator network in the autonomous driving decision model. When the model parameter update end condition is met, the model parameter update is completed.

[0282] In an embodiment of the present invention, the online training process of the autonomous driving decision model may include:

[0283] Load the pre-trained driving state encoding module in the server, use a fully connected network to build a decision control module under the Pytorch framework, and randomly initialize the parameters of the actuator network, current evaluator network, and target evaluator network;

[0284] During the data collection phase, for any At this moment, the server obtains the vehicle driving status data in the simulation environment transmitted by the computer, and synthesizes it into a BEV semantic image through the data preprocessing module;

[0285] A pre-trained driving state encoding module is used to convert BEV semantic images into low-dimensional state features. As the input of the decision control module, the execution network determines the driving state parameters at the current moment. Sampling driving action parameters , and generate motor skills based on trajectory planning methods;

[0286] The server sends the motion skill to the computer. The simulator reads the skill trajectory and converts it into vehicle control instructions through the underlying interface to achieve trajectory tracking and state transfer within a skill cycle. During this period, the simulator sends the environmental feedback signal to the server in real time to calculate the cumulative reward within the skill cycle, that is, the environmental reward parameter. , and the data tuple Collect to playback buffer ;

[0287] Repeat the above data collection steps until the vehicle's execution steps reach the set upper limit;

[0288] During the model update phase, randomly select Extract small batches of samples, update the actuator network, the current evaluator network, and the target evaluator network in turn;

[0289] Repeat the above model update steps until the number of update steps reaches the set upper limit;

[0290] Repeat the above data collection steps and model update steps until the number of training iterations reaches the set upper limit, and output the actuator network.

[0291] During online training, since the autonomous driving decision model can only improve its strategy based on the experience samples generated by the interaction between the strategy and the environment, and is limited by the model's exploration capabilities, within a certain training time or number of training steps, the model can only explore a limited area of ​​the driving state space, and it is difficult to cover all driving situations in complex traffic. On the other hand, due to limited hardware computing and storage resources, the set playback buffer cannot store all sample data generated by the interaction of the training interval. Therefore, each model update can only be performed on the most recently collected experience data, and historical data from a longer time ago will be forgotten, although there may be many high-value samples among them. The above two aspects will lead to insufficient sample diversity, low sample utilization efficiency, and thus affect the model learning performance and final performance.

[0292] To address the above issues, an embodiment of the present invention constructs a data synthesis module based on a diffusion model. The module synthesizes samples by combining a system forward dynamics model to ensure better consistency with the actual environmental dynamics and to generate novel, diverse, dynamically accurate data.

[0293] The step of using the data synthesis module to generate the first synthetic driving sample according to the first real vehicle driving sample can be seen in the description of the above embodiment.

[0294] As mentioned above, a playback buffer for storing the first real vehicle driving sample is deployed on the vehicle edge server. , as training samples for autonomous driving decision network training.

[0295] In the embodiment of the present invention, a plurality of playback buffers may be deployed to store the first real vehicle driving sample and the first synthetic driving sample.

[0296] In some optional implementations of the embodiments of the present invention, the playback buffer for storing the second real vehicle driving sample is referred to as the first playback buffer, the playback buffer for storing the second synthetic driving sample generated according to the second real vehicle driving sample is referred to as the second playback buffer, and the playback buffer for storing the third synthetic driving sample generated according to the offline driving expert driving sample is referred to as the third playback buffer. Training samples can be extracted from the multiple playback buffers according to a certain sampling ratio, and used to train the autonomous driving decision model.

[0297] Figure 5 A flowchart of a training process of an autonomous driving decision model provided in an embodiment of the present invention.

[0298] In order to meet the training data requirements in different application scenarios, different data enhancement implementation methods can be used in the embodiments of the present invention.

[0299] like Figure 5 As shown, after obtaining the decision control training task of autonomous driving, it is determined whether to access offline data. If offline data is accessed, the data set is loaded to obtain an offline expert data set, which includes offline driving expert driving samples, and the offline expert data set is stored in the third playback buffer. At the same time, the second data synthesis module can be used to generate a third synthetic driving sample (virtual expert data) and store it in the third playback buffer. If offline data is not accessed, the online learning stage of the autonomous driving decision model is directly entered.

[0300] In the online learning stage of the autonomous driving decision model, the driving state encoding module is used to encode the vehicle driving state perception data collected from the target environment to obtain the driving state encoding, and the decision control module is used to select actions according to the driving state encoding to obtain the environmental reward signal given by the target environment. According to the type of decision control training task, if it is a model fine-tuning and upgrading task, the importance sampling method is used to sample from the first playback buffer storing the second real vehicle driving sample; if it is not a model fine-tuning and upgrading task, the second real vehicle driving sample in the first playback buffer is randomly sampled. At the same time, the second real vehicle driving sample is stored in the temporary playback buffer, and the first data synthesis module is used to expand the sample according to the second real vehicle driving sample to generate the second synthetic driving sample and store it in the second playback buffer. The second synthetic sample is randomly sampled from the second playback buffer, and the expert sample is randomly sampled from the third playback buffer. The model parameters of the autonomous driving decision network are updated using the second real vehicle driving sample, the second synthetic sample and the expert sample sampled from the playback buffer, and the autonomous driving decision model is trained.

[0301] In some optional implementations of the embodiments of the present invention, an application scenario in which an actual vehicle or simulated vehicle interacts online with a driving environment to generate training samples for an autonomous driving decision model can be selected. The data synthesis module provided by the embodiments of the present invention is used to learn the online empirical data distribution of the second real vehicle driving sample in the first playback buffer, and generate a second synthetic driving sample consistent with its distribution. During the online learning of the autonomous driving decision model, data synthesis can be used to update the network parameters based on the latest collected second real vehicle driving samples at regular intervals to ensure that the learned data distribution is consistent with the current driving state transfer distribution, and at the same time generate a large number of second synthetic driving samples for mixed sampling when the autonomous driving decision model is updated.

[0302] Furthermore, the data objects learned by the data synthesis module can be further designed to meet the different training requirements of the autonomous driving decision model:

[0303] In some optional implementations of the embodiments of the present invention, for the randomly initialized autonomous driving decision model training task, the data synthesis module needs to use all the second real vehicle driving samples in the first playback buffer for learning, so as to support the autonomous driving decision model to quickly learn general driving skills with high exploration-utilization efficiency. During online learning, the first playback buffer only stores the vehicle driving data of the most recent period, and the data synthesis module will periodically use the new data to update the network parameters, and then generate a large number of second synthetic driving samples and store them in the second playback buffer. Then, the autonomous driving decision model will randomly sample small batches of samples from the two playback buffers according to the set sampling ratio for model gradient updates.

[0304] In some other optional implementations of the embodiments of the present invention, for the task of upgrading the automatic driving decision model that has mastered certain driving skills, the data synthesis module can be used to conduct targeted learning on some preset type data in the first playback buffer to improve the model's ability to respond to specific driving situations. For the demand for improving driving safety, the preset type data can be defined as vehicle driving data under high-risk situations; for the personalized driving needs under different target scenarios, the preset type data can be defined as driving behavior data to be learned under different traffic conditions, such as vehicle active negotiation driving behavior data under signal-free intersection scenarios, and vehicle lane change and overtaking behavior data under high-speed scenarios. During online learning, while the second real vehicle driving sample is stored in the first playback buffer, a part of the preset type data will be additionally stored in the temporary playback buffer, and the data synthesis module only uses the data in the temporary playback buffer to update the network parameters to achieve learning enhancement of the preset type data. Similarly, the generated synthetic samples will be stored in the second playback buffer, and the decision model will also sample small batches of samples from the two buffers according to the set sampling ratio. Taking into account the targeted learning needs of the decision model for specific driving data in this case, for the first playback buffer, importance sampling can be performed based on the correlation between the sample and the specific data, and for the second playback buffer, random sampling is adopted.

[0305] For application scenarios that have accumulated a certain amount of data in the early stage, such as a large amount of expert demonstration data generated by human driving that has been collected in the early stage, by introducing such data to provide a priori guidance for the optimization direction of the decision model, the model learning efficiency can be significantly improved. Considering that expert data has high utilization value, but its scale and diversity are limited, a data synthesis module can be used to learn the distribution characteristics of offline driving expert driving samples to generate more diverse virtual expert data, namely the third synthetic driving samples. In other optional implementations of the embodiments of the present invention, offline driving expert driving samples can be introduced for sample expansion and training of the autonomous driving decision model. At this time, one of the following three sample generation methods can be selected:

[0306] In an embodiment of the present invention, sample expansion can be performed only on offline driving expert driving samples. By pre-training the data synthesis module with offline driving expert driving samples in advance, a large number of third synthetic driving samples are generated to expand the expert data set. During the online learning of the autonomous driving decision model, the offline driving expert driving samples and the third synthetic driving samples are synonymously loaded into the third playback buffer, and the second real vehicle driving samples generated by the online interaction of the vehicle are also collected in real time into the first playback buffer. Similarly, the decision control module will randomly sample small batches of samples from the first playback buffer and the third playback buffer according to the set sampling ratio, which are used to update the model gradient of the autonomous driving decision model.

[0307] In an embodiment of the present invention, the second real vehicle driving sample and the offline driving expert driving sample can also be sampled for expansion. At this time, two data synthesis modules can be pre-trained, and the first data synthesis module is used to learn the data distribution of the full or randomly selected second real vehicle driving sample or part of the preset type data in the second real vehicle driving sample and generate a large batch of second synthetic driving samples, and the second synthetic driving samples are stored in the second playback buffer. The second data synthesis module is used to learn the data distribution of the offline driving expert driving sample and generate a large batch of third synthetic driving samples, and the offline driving expert driving sample and the third synthetic driving sample are uniformly loaded into the third playback buffer. The decision control module will sample small batches of samples from the first playback buffer, the second playback buffer, and the third playback buffer according to the set sampling ratio, which are used to update the model gradient of the autonomous driving decision model.

[0308] In an embodiment of the present invention, sample expansion can also be performed only on the second real vehicle driving samples generated by the online learning process of the autonomous driving decision model. The data synthesis module is pre-trained by using the second real vehicle driving samples generated by the online learning process of the autonomous driving decision model to generate a large number of second synthetic driving samples, and the second synthetic driving samples are stored in the second playback buffer. The offline driving expert driving samples are placed in the third playback buffer. The decision control module will sample small batches of samples from the first playback buffer, the second playback buffer, and the third playback buffer according to the set sampling ratio, respectively, for updating the model gradient of the autonomous driving decision model.

[0309] During the online learning process of the autonomous driving decision model, since a large number of iterations are required, the second real vehicle driving samples collected in different time periods may have large differences, so the model parameters of the data synthesis module can be adjusted accordingly.

[0310] In an embodiment of the present invention, using a diffusion model to perform sample expansion on the first real vehicle driving sample to obtain a first synthetic driving sample with the same sample feature distribution as the first real vehicle driving sample may include: during the training process of the autonomous driving decision model, when the diffusion model update condition is met, the model parameters of the diffusion model are updated using the currently collected first real vehicle driving sample, and then the first synthetic driving sample is generated using the updated diffusion model.

[0311] Among them, the diffusion model update condition may be that the autonomous driving decision model has undergone a first preset number of iterations and / or the cumulative data volume of the first real vehicle driving sample has reached a first preset data volume since the model parameters of the diffusion model were last updated.

[0312] Taking the sample expansion of the second real car driving sample and the offline driving expert driving sample as an example, the online learning process of the autonomous driving decision model controlled by the data enhancement-driven decision control module may include:

[0313] Initialize the first data synthesis module, the second data synthesis module and the decision control model network parameters, and initialize the first playback buffer, the second playback buffer, the third playback buffer and the temporary playback buffer;

[0314] Set the interval period for updating the parameters of the data synthesis module and the sampling ratio of the training samples in the three playback buffers ,in , and satisfies ; Determine whether to introduce offline driving expert driving samples according to task requirements. If not, set sampling parameters ;

[0315] Determine whether a priori autonomous driving decision model is available in the early stage. If so, load the model parameters of the priori autonomous driving decision model, mark the task as model fine-tuning upgrade, and determine the preset type data definition range according to the upgrade direction; if no priori autonomous driving decision model is available, skip this step;

[0316] If this task requires the introduction of offline driving expert driving samples, the second data synthesis module is used to learn the expert data distribution, and a third synthetic driving sample, i.e., virtual expert data, is generated and stored in the third playback buffer; if no offline driving expert driving sample is available, this step is skipped;

[0317] Using the pre-trained driving state encoding module as upstream input support, the decision control model drives the vehicle to interact with the environment online to collect real driving experience samples and store them in the first playback buffer; if the task is to fine-tune the model, the preset type data of the interaction process is additionally stored in the temporary playback buffer according to the upgrade requirements;

[0318] If the current cumulative training rounds reach the update interval of the first data synthesis module, the first real vehicle driving sample (real sample) is used to update the network parameters of the autonomous driving decision network, and the first synthetic driving sample (virtual sample) is further synthesized; otherwise, this step is skipped:

[0319] If the task is to fine-tune and upgrade the model, the preset type data in the temporary playback buffer is read as the training sample of the first data synthesis module; otherwise, all the experience data in the first playback buffer is read to update the parameters;

[0320] Generate a large batch of second synthetic driving samples using the first data synthesis module, and store them uniformly in the second playback buffer;

[0321] According to the sampling ratio Extracting small batches of samples from the first playback buffer, the second playback buffer, and the third playback buffer respectively, and updating network parameters of the autonomous driving decision network based on the mixed samples obtained by sampling;

[0322] Determine the training end condition: if the maximum number of training iterations is reached, the training ends; otherwise, switch to the step of using the pre-trained driving state encoding module as upstream input support, and the decision control model drives the vehicle to interact with the environment online to collect real driving experience samples, and repeat the above steps.

[0323] It should be noted that the step of updating the model parameters of the autonomous driving decision model through online learning control by the decision control module provided in the embodiment of the present invention can be applied in the autonomous driving simulation system, and can also be applied to the process of model migration after the autonomous driving decision model is deployed on the target vehicle. The real vehicle driving samples and the real vehicle driving samples for sample expansion can be selected according to whether the autonomous driving decision model obtained before online learning is a priori model.

[0324] Load the trained state encoding module and decision control module into the vehicle edge server to realize the vehicle autonomous driving application.

[0325] It should be noted that in the embodiments of the automatic driving control method of the present invention, some of the steps or features can be ignored or not executed. The hardware or software functional modules divided for the convenience of explanation are not the only implementation form of the automatic driving control method provided by the embodiment of the present invention.

[0326] The above describes in detail the various embodiments corresponding to the automatic driving control method. On this basis, the present invention also discloses an automatic driving control device, equipment, non-volatile storage medium and computer program product corresponding to the above method.

[0327] Figure 6A schematic diagram of the structure of an automatic driving control device provided in an embodiment of the present invention.

[0328] like Figure 6 As shown, the automatic driving control device provided by the embodiment of the present invention includes:

[0329] The model updating module 601 is used to obtain an autonomous driving decision network; perform model iterative training on the autonomous driving decision network, and during the model iterative training process, use the autonomous driving decision network to drive the vehicle to interact with the driving environment to collect first real vehicle driving samples of multiple scenes, and use the first real vehicle driving samples and the first synthetic driving samples obtained by sample expansion based on the first real vehicle driving samples to adjust the model parameters of the autonomous driving decision network; after the model training end condition is met, obtain the autonomous driving decision model;

[0330] A data synthesis module 602 is used to perform sample expansion on the first real vehicle driving sample to obtain a first synthetic driving sample having the same sample feature distribution as the first real vehicle driving sample;

[0331] The decision control module 603 is used to deploy the autonomous driving decision model on the target vehicle to control the movement of the target vehicle using the autonomous driving decision model.

[0332] The model updating module 601 can refer to Figure 1 Record of the third model update module in.

[0333] It should be noted that in each implementation of the automatic driving control device provided by the embodiment of the present invention, the division of units is only a logical functional division, and other division methods may be used. The connection method between different units may be electrical, mechanical or other connection methods. Separated units may be located in the same physical location or distributed on multiple network nodes. Each unit may be implemented in the form of hardware or in the form of a software functional unit. That is, part or all of the units provided in the embodiment of the present invention may be selected according to actual needs and the corresponding connection method or integration method may be adopted to achieve the purpose of the embodiment of the present invention.

[0334] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, which will not be repeated here.

[0335] Figure 7 A schematic diagram of the structure of an automatic driving control device provided in an embodiment of the present invention.

[0336] like Figure 7 As shown, the automatic driving control device provided by the embodiment of the present invention includes:

[0337] A memory 710 for storing a computer program 711;

[0338] The processor 720 is used to execute the computer program 711, which, when executed by the processor 720, implements the steps of the automatic driving control method provided in any one of the above embodiments.

[0339] Among them, the processor 720 may include one or more processing cores, such as a 3-core processor, an 8-core processor, etc. The processor 720 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 720 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 720 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 720 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0340] The memory 710 may include one or more non-volatile storage media, which may be non-transitory. The memory 710 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 710 is at least used to store the following computer program 711, wherein the computer program 711, after being loaded and executed by the processor 720, can implement the relevant steps in the automatic driving control method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 710 may also include an operating system 712 and data 713, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 712 may be Windows or other types of operating systems. Data 713 may include, but is not limited to, the data involved in the above method.

[0341] In some embodiments, the autonomous driving control device may also include a display screen 730 , a power supply 740 , a communication interface 750 , an input / output interface 760 , a sensor 770 , and a communication bus 780 .

[0342] Those skilled in the art will understand that Figure 7 The structure shown in does not constitute a limitation of the automatic driving control device and may include more or fewer components than shown in the figure.

[0343] The automatic driving control device provided in an embodiment of the present invention includes a memory and a processor. When the processor executes the program stored in the memory, it can implement the steps of the automatic driving control method provided in the above embodiment, and the effect is the same as above.

[0344] An embodiment of the present invention provides a non-volatile storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the automatic driving control method provided in any one of the above embodiments can be implemented.

[0345] The non-volatile storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0346] For an introduction to the non-volatile storage medium provided in an embodiment of the present invention, please refer to the above-mentioned method embodiment, and the effect thereof is the same as the automatic driving control method provided in an embodiment of the present invention, and the present invention will not elaborate on it here.

[0347] An embodiment of the present invention provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the automatic driving control method provided in any one of the above embodiments.

[0348] For an introduction to the computer program product provided in an embodiment of the present invention, please refer to the above-mentioned method embodiment. The effect thereof is the same as the automatic driving control method provided in an embodiment of the present invention, and the present invention will not elaborate on it here.

[0349] The above is a detailed introduction to an automatic driving control method, device, system, equipment and storage medium provided by the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can refer to each other. For the devices, equipment, non-volatile storage media and computer program products disclosed in the embodiments, since they correspond to the methods and systems disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method and system description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, the present invention can also be improved and modified in several ways, and these improvements and modifications also fall within the scope of protection of the present invention.

[0350] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

Claims

1. An automatic driving control method, It is characterized in that include: Obtain the autonomous driving decision network; Performing model iteration training on the autonomous driving decision network, and during the model iteration training process, using the autonomous driving decision network to drive the vehicle movement to interact with the driving environment to collect first real vehicle driving samples of multiple scenarios, performing sample expansion on the first real vehicle driving samples to obtain first synthetic driving samples having the same sample feature distribution as the first real vehicle driving samples, and adjusting model parameters of the autonomous driving decision network using the first real vehicle driving samples and the first synthetic driving samples; After the model training end conditions are met, the autonomous driving decision model is obtained; Deploying the autonomous driving decision model to a target vehicle to control the movement of the target vehicle using the autonomous driving decision model; The method of expanding the first real vehicle driving sample to obtain a first synthetic driving sample having the same sample feature distribution as the first real vehicle driving sample comprises: expanding the first real vehicle driving sample by using a diffusion model to obtain the first synthetic driving sample having the same sample feature distribution as the first real vehicle driving sample; The training steps of the diffusion model include: The denoiser network is iteratively trained. In each iteration, denoising training samples are extracted from the first real vehicle driving samples. Noise is added to the denoising training samples according to a preset noise level schedule to obtain noisy samples. The denoiser network is used to denoise the noisy samples to obtain denoised samples. The difference loss value of the denoiser network is calculated using the error between the denoised samples and the corresponding denoised training samples, and back propagation is performed to update the model parameters of the denoiser network. When the denoiser iteration end condition is met, the diffusion model is obtained.

2. The automatic driving control method according to claim 1, It is characterized in that The autonomous driving decision network is used to drive the vehicle movement to interact with the driving environment to collect first real vehicle driving samples in multiple scenarios, including: Using a driving state encoding module to encode the collected vehicle driving state perception data at the current moment to obtain a driving state parameter at the current moment and input it into the automatic driving decision network; Using the automatic driving decision network to select driving action parameters according to the driving state parameters at the current moment, and using the selected driving action parameters to drive the vehicle to move; In the process of driving the vehicle to interact with the driving environment, environmental feedback information is collected to calculate the environmental reward parameters; The driving state encoding module is used to encode the collected vehicle driving state perception data at the next moment to obtain the driving state parameters at the next moment; The first real vehicle driving sample is constructed with a set of driving state parameters, driving action parameters, environmental reward parameters at the current moment and driving state parameters at the next moment.

3. The automatic driving control method according to claim 2, It is characterized in that The collected vehicle driving state perception data is multimodal driving perception data including vehicle state information of the target vehicle and environmental state information of the driving environment.

4. The automatic driving control method according to claim 2, It is characterized in that The driving state encoding module is used to encode the collected vehicle driving state perception data to obtain driving state parameters, including: The driving state encoding module is used to perform dimensionality reduction processing on the collected vehicle driving state perception data to obtain driving state parameters.

5. The automatic driving control method according to claim 2, It is characterized in that The driving state encoding module is used to encode the collected vehicle driving state perception data to obtain driving state parameters, including: The collected vehicle driving state perception data is encoded using the pre-trained driving state encoding module to obtain driving state parameters that meet a preset distribution.

6. The automatic driving control method according to claim 2, It is characterized in that The driving state encoding module is used to encode the collected vehicle driving state perception data to obtain driving state parameters, including: The pre-trained driving state encoding module is used to perform dimensionality reduction processing on the collected vehicle driving state perception data and output driving state parameters that meet the preset distribution.

7. The automatic driving control method according to claim 2, It is characterized in that The pre-training step of the driving state encoding module includes: Obtain vehicle driving data; Extracting vehicle state information and environment state information from the vehicle driving data to construct multimodal driving perception data to obtain a driving state data set; A symmetric convolutional neural network structure is used to build a driving state encoding network and a driving state decoding network; Extracting encoder training samples from the driving state data set to train the driving state encoding network and the driving state decoding network; during the training process, inputting the encoder training samples into the driving state encoding network to extract the sample data distribution of the encoder training samples; sampling from the sample data distribution of the encoder training samples to obtain sample distribution feature codes; inputting the sample distribution feature codes into the driving state decoding network to output reconstructed samples; maximizing the likelihood of the reconstructed samples and the corresponding encoder training samples and minimizing the relative entropy between the potential representation distribution of the encoder training samples and the standard normal distribution as the training objectives; performing loss optimization training on the driving state encoding network and the driving state decoding network; After the driving state encoding module training end condition is reached, the driving state encoding module is obtained.

8. The automatic driving control method according to claim 7, It is characterized in that The training loss function of the driving state encoding module is: ; in, is the training loss function of the driving state encoding module, Parameters of the driving state encoding network, Parameters of the driving state decoding network, is the encoder training sample, is the number of encoder training samples, is the sample data distribution of the encoder training samples, is the standard normal distribution, is the KL divergence between the sample data distribution of the encoder training sample and the standard normal distribution, is the number of distribution variables drawn from the standard normal distribution, is the reconstruction sample, is the encoder training sample, is the square of the two-norm calculation, For the The variance of the encoder training samples, For the The mean of the encoder training samples.

9. The automatic driving control method according to claim 1, It is characterized in that The first real car driving sample is collected, including: The pre-trained driving state encoding module is used to perform dimensionality reduction processing on the collected vehicle driving state perception data, and then outputs driving state parameters that meet the preset distribution. The first real vehicle driving sample is collected, including the driving state parameters at the current moment, the driving action parameters selected by the automatic driving decision network according to the driving state parameters at the current moment, the environmental reward parameters obtained based on the driving action parameters, and the driving state parameters at the next moment.

10. The automatic driving control method according to claim 1, It is characterized in that The training steps of the diffusion model include: Initialize the network parameters of the denoiser network ; Calculate the distribution standard deviation based on the denoised sample data set consisting of the first real car driving sample ; Randomly extract a small batch of denoising training samples from the denoising sample dataset ; Set the noise based on a lognormal distribution ,according to The denoised training samples are processed with noise to obtain noisy samples. ; according to , the denoiser network is used to deduce the noisy samples Perform denoising processing; wherein, is the output of the denoiser network the denoised samples; according to Calculating a difference loss value between the denoised sample and the corresponding denoised training sample; Updating the network parameters of the denoiser network using a back-propagation method to reduce the difference loss value; Repeat the above steps until the denoiser iteration end condition is reached, and the diffusion model is obtained; in, is the number of denoising training samples, For the The denoising training samples, For the The noisy samples, For the The denoised samples, For noise, is the distribution standard deviation of the denoised sample data set, is the standard deviation of the noise distribution, is the difference loss value between the denoised sample and the corresponding denoised training sample, is the denoised sample, is the denoising training sample, E[·] is the difference loss calculation, The square of the 2-norm.

11. The automatic driving control method according to claim 1, It is characterized in that The method of using the diffusion model to perform sample expansion on the first real vehicle driving sample to obtain the first synthetic driving sample having the same sample feature distribution as the first real vehicle driving sample includes: The noise level schedule and sampling factor are set according to the following formula: ; ; Based on noise level Sampling generates random noise samples as initial input ; according to and , for any Noise samples during the iteration , with noise samples Random sampling is performed at the center; is random noise; Using the diffusion model Calculate the The denoising score value of the iteration process; According to the noise sample of the next iteration step ; Among them, if ,but ; like , then according to Calculate the +1 denoising score value of the iteration process; If the sampling end condition is met, determining that the generation of the first synthetic driving sample is completed, and outputting the first synthetic driving sample; If the sampling end condition is not met, then return to the Noise samples during the iteration , with noise samples Steps for random sampling for the center; in, is the diffusion model The noise level scheduling of the iterative process, is the control coefficient of noise level scheduling, is the standard deviation of the distribution of the maximum noise level, is the standard deviation of the distribution of the minimum noise level; is the diffusion model The sampling coefficient of the iteration process, is the preset diffusion sampling step number, , is the noise sampling amplitude, is the lower limit of the noise level, is the upper limit of noise level; , , are random sampling coefficients, and ; For the The sampling noise of the iterative process is For the The noise sample input in the iteration process, For noise samples is the sampling noise sample obtained by random sampling from the center, For The random noise sampled from is a multidimensional standard normal distribution, is the identity matrix; is the sampled noise sample The denoising score of is the sampled noise sample The denoised output obtained by inputting the denoiser model; For the +1 Noise sample input during the iteration, is the noise sample +1 Noise level scheduling for the iteration process; is the noise sample The denoising score of is the noise sample The denoised output of the input denoiser model.

12. The automatic driving control method according to claim 1, It is characterized in that The method of using the diffusion model to perform sample expansion on the first real vehicle driving sample to obtain the first synthetic driving sample having the same sample feature distribution as the first real vehicle driving sample includes: During the training process of the autonomous driving decision model, when the diffusion model update condition is met, the model parameters of the diffusion model are updated using the first real vehicle driving sample currently collected, and then the first synthetic driving sample is generated using the updated diffusion model.

13. The automatic driving control method according to claim 12, It is characterized in that The diffusion model update condition is that the autonomous driving decision model has undergone a first preset number of iterations and / or the cumulative data volume of the first real vehicle driving sample has reached a first preset data volume since the model parameters of the diffusion model were last updated.

14. The automatic driving control method according to claim 1, It is characterized in that The first real vehicle driving sample collection step includes: Use the automatic driving decision model to sample the decision action parameters according to the current driving state parameters , and generate motor skills based on trajectory planning methods ; Control the target vehicle to perform a motor skill , and receive environmental feedback rewards during execution, and calculate the cumulative reward value within the skill cycle , until the driving state is transferred to the next moment, the driving state parameters of the next moment are collected ; Data tuple As the first real car driving sample; in, for Driving action parameters at the moment, for Driving state parameters at the moment, is the actuator network, For is the initial state and the length is The vehicle trajectory of time steps, For the motor skill generation process based on motion planning, for Waypoints at the moment, for +1 time waypoint, for + Waypoints at the moment, for The environmental reward parameter at the moment, is the number of time steps in a skill cycle, for The single-step reward value at time, for + Driving status parameters at the moment.

15. The automatic driving control method according to claim 1, It is characterized in that Using the first real vehicle driving sample and the first synthetic driving sample to adjust the model parameters of the automatic driving decision network includes: A first preset number of model parameter updates are performed in each optimization iteration of the autonomous driving decision model. In each model parameter update process, the first real vehicle driving sample is collected and the first synthetic driving sample is generated. Decision model update training samples are extracted from the first real vehicle driving sample and the first synthetic driving sample to update the actuator network, the current evaluator network and the target evaluator network in the autonomous driving decision model. When the model parameter update end condition is met, the model parameter update is completed once.

16. An automatic driving control system, It is characterized in that include: Cloud servers and in-vehicle edge servers; The on-vehicle edge server is used to obtain an autonomous driving decision network; perform model iterative training on the autonomous driving decision network, and during the model iterative training process, use the autonomous driving decision network to drive the vehicle movement to interact with the driving environment to collect first real vehicle driving samples in multiple scenarios, send the first real vehicle driving samples to the cloud server, and receive a first synthetic driving sample obtained by the cloud server through sample expansion of the first real vehicle driving sample, which has the same sample feature distribution as the first real vehicle driving sample, and use the first real vehicle driving sample and the first synthetic driving sample to adjust the model parameters of the autonomous driving decision network; after the model training end condition is met, obtain an autonomous driving decision model; deploy the autonomous driving decision model on a target vehicle to control the movement of the target vehicle using the autonomous driving decision model; The method of expanding the first real vehicle driving sample to obtain a first synthetic driving sample having the same sample feature distribution as the first real vehicle driving sample comprises: expanding the first real vehicle driving sample by using a diffusion model to obtain the first synthetic driving sample having the same sample feature distribution as the first real vehicle driving sample; The training steps of the diffusion model include: The denoiser network is iteratively trained. In each iteration, denoising training samples are extracted from the first real vehicle driving samples. Noise is added to the denoising training samples according to a preset noise level schedule to obtain noisy samples. The denoiser network is used to denoise the noisy samples to obtain denoised samples. The difference loss value of the denoiser network is calculated using the error between the denoised samples and the corresponding denoised training samples, and back propagation is performed to update the model parameters of the denoiser network. When the denoiser iteration end condition is met, the diffusion model is obtained.

17. An automatic driving control device, It is characterized in that include: A model updating module is used to obtain an autonomous driving decision network; perform model iterative training on the autonomous driving decision network, and during the model iterative training process, use the autonomous driving decision network to drive the vehicle movement to interact with the driving environment to collect first real vehicle driving samples of multiple scenes, use the first real vehicle driving samples and expand the samples according to the first real vehicle driving samples to obtain first synthetic driving samples with the same sample feature distribution as the first real vehicle driving samples to adjust the model parameters of the autonomous driving decision network; after the model training end condition is met, obtain the autonomous driving decision model; a data synthesis module, configured to perform sample expansion on the first real vehicle driving sample to obtain the first synthetic driving sample having the same sample feature distribution as the first real vehicle driving sample; A decision control module, used to deploy the autonomous driving decision model on a target vehicle, so as to control the movement of the target vehicle using the autonomous driving decision model; The method of expanding the first real vehicle driving sample to obtain a first synthetic driving sample having the same sample feature distribution as the first real vehicle driving sample comprises: expanding the first real vehicle driving sample by using a diffusion model to obtain the first synthetic driving sample having the same sample feature distribution as the first real vehicle driving sample; The training steps of the diffusion model include: The denoiser network is iteratively trained. In each iteration, denoising training samples are extracted from the first real vehicle driving samples. Noise is added to the denoising training samples according to a preset noise level schedule to obtain noisy samples. The denoiser network is used to denoise the noisy samples to obtain denoised samples. The difference loss value of the denoiser network is calculated using the error between the denoised samples and the corresponding denoised training samples, and back propagation is performed to update the model parameters of the denoiser network. When the denoiser iteration end condition is met, the diffusion model is obtained.

18. An automatic driving control device, It is characterized in that include: Memory for storing computer programs; A processor is used to execute the computer program, and when the computer program is executed by the processor, the steps of the automatic driving control method as described in any one of claims 1 to 15 are implemented.

19. A non-volatile storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the automatic driving control method as described in any one of claims 1 to 15 are implemented.

20. A computer program product comprising a computer program / instructions, It is characterized in that When the computer program / instructions are executed by the processor, the steps of the automatic driving control method as described in any one of claims 1 to 15 are implemented.