Automatic driving model, automatic driving method and device based on state node prediction

Through the automatic driving model based on state node prediction, the deficiencies of the existing automatic driving models in controlling vehicle position and multi-mode processing are solved, and more accurate automatic driving decisions and route planning are achieved.

CN118551806APending Publication Date: 2024-08-27APOLLO INTELLIGENT DRIVING (BEIJING) TECHNOLOGY CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410693771.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Existing autonomous driving models have difficulty in accurately controlling vehicle position when predicting steering wheel and accelerator movements. Position point sequence predictions can easily lead to vehicle behavior that is inconsistent with dynamics, and cannot handle multi-mode driving characteristics, such as routes through obstacles.

Method used

Using an autonomous driving model based on state node prediction, the sensing information and vehicle state are encoded through the encoding layer. The prediction layer generates control signals to minimize the candidate states and predictions based on the probability distribution of the vehicle state in the predefined state range in the future. Differences in status to avoid fitting inaccessible routes.

Benefits of technology

It improves the control accuracy and multi-mode processing capabilities of the autonomous driving model, avoids fitting inaccessible routes, and provides more accurate autonomous driving decisions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118551806A
    Figure CN118551806A
Patent Text Reader

Abstract

The invention provides an automatic driving model, an automatic driving method and an automatic driving device based on state node prediction, and particularly relates to the technical field of automatic driving and artificial intelligence. According to the implementation scheme, the automatic driving model comprises a coding layer configured to code input information at least comprising perception information and a vehicle state to obtain coded input information, and the vehicle state comprises a position coordinate and a speed vector of a vehicle; a prediction layer configured to process the encoded input information to obtain a prediction probability distribution of a vehicle state in a predefined state range at a future moment after a predetermined duration from a current moment, the prediction probability distribution being used for determining a prediction state of the vehicle to generate a control signal of the vehicle, and the prediction probability distribution being used for determining a prediction state of the vehicle to generate a control signal of the vehicle; the predicted state of the vehicle is determined by minimizing a difference between a probability distribution of candidate states of the vehicle and the predicted probability distribution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, in particular to the field of autonomous driving and artificial intelligence technology, and specifically to an autonomous driving model based on state node prediction, an autonomous driving method and device, a training method and device for an autonomous driving model, an electronic device, a computer-readable storage medium, and a computer program product. Background Art

[0002] Artificial intelligence is a discipline that studies how to use computers to simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.). It includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, as well as machine learning / deep learning, big data processing technology, knowledge graph technology, and other major directions.

[0003] During the autonomous driving process, the autonomous driving model analyzes the environmental information around the vehicle to obtain driving strategy information to control the vehicle to continue driving.

[0004] The methods described in this section are not necessarily methods that have been previously conceived or employed. Unless otherwise indicated, it should not be assumed that any method described in this section is considered to be prior art simply because it is included in this section. Similarly, unless otherwise indicated, the issues mentioned in this section should not be considered to have been recognized in any prior art. Summary of the invention

[0005] The present disclosure provides an autonomous driving model based on state node prediction, an autonomous driving method and device, a training method and device for an autonomous driving model, an electronic device, a computer-readable storage medium, and a computer program product.

[0006] According to one aspect of the present disclosure, an autonomous driving model is provided, comprising: an encoding layer, configured to encode input information including at least perception information and a vehicle state to obtain encoded input information, wherein the vehicle state includes a position coordinate and a velocity vector of the vehicle; a prediction layer, configured to process the encoded input information to obtain a predicted probability distribution of the vehicle state at a future moment after a predetermined time from a current moment over a predefined state range, wherein the predicted probability distribution is used to determine a predicted state of the vehicle to generate a control signal for the vehicle, wherein the predicted state of the vehicle is determined by minimizing the difference between the probability distribution of candidate states of the vehicle and the predicted probability distribution.

[0007] According to another aspect of the present disclosure, there is provided an autonomous driving method implemented by using an autonomous driving model according to an embodiment of the present disclosure, comprising: encoding input information including at least perception information and vehicle state to obtain encoded input information, wherein the vehicle state includes position coordinates and a velocity vector of the vehicle; processing the encoded input information to obtain a predicted probability distribution of the vehicle state at a future moment after a predetermined time from a current moment over a predefined state range, wherein the predicted probability distribution is used to determine a predicted state of the vehicle to generate a control signal for the vehicle, wherein the predicted state of the vehicle is determined by minimizing the difference between the probability distribution of candidate states of the vehicle and the predicted probability distribution.

[0008] According to another aspect of the present disclosure, a method for training an autonomous driving model according to an embodiment of the present disclosure is provided, comprising: determining a sample data set for training the autonomous driving model, wherein the sample data in the sample data set comprises a plurality of sample inputs, wherein each sample input comprises perception information and a vehicle state corresponding to a sample moment, wherein the vehicle state comprises a position coordinate and a velocity vector of the vehicle, and the sample data further comprises a labeled real vehicle state for each sample input, wherein the real vehicle state corresponds to a future moment after a predetermined time from the sample; encoding the first sample input data using a coding layer to obtain an encoded first sample input; processing the encoded first sample input using a prediction layer to obtain a predicted probability distribution of the vehicle state at a future moment after a predetermined time from the sample moment corresponding to the first sample input over a predefined state range; determining a probability distribution of a first real vehicle state for the first sample input based on the sample data set; and training the autonomous driving model by adjusting parameters of the autonomous driving model, wherein the parameters are adjusted to reduce the difference between the predicted probability distribution and the probability distribution of the first real vehicle state.

[0009] According to another aspect of the present disclosure, a method for training an autonomous driving model according to an embodiment of the present disclosure is provided, comprising: determining a sample data set for training the autonomous driving model, wherein the sample data in the sample data set comprises a plurality of sample inputs, wherein each sample input comprises perception information and a vehicle state corresponding to a sample moment, wherein the vehicle state comprises a position coordinate and a velocity vector of the vehicle, and the sample data further comprises a labeled real vehicle state for each sample input, wherein the real vehicle state corresponds to a future moment after a predetermined time from the sample; encoding the first sample input data using a coding layer to obtain an encoded first sample input; processing the encoded first sample input using a prediction layer to obtain a predicted probability distribution of the vehicle state at a future moment after a predetermined time from the sample moment corresponding to the first sample input over a predefined state range; determining a probability distribution of a first real vehicle state for the first sample input based on the sample data set; and training the autonomous driving model by adjusting parameters of the autonomous driving model, wherein the parameters are adjusted to reduce the difference between the predicted probability distribution and the probability distribution of the first real vehicle state.

[0010] According to another aspect of the present disclosure, an automatic driving device implemented according to an automatic driving model of an embodiment of the present disclosure is provided, including: an encoding unit, configured to encode input information including at least perception information and vehicle state to obtain encoded input information, wherein the vehicle state includes position coordinates and a velocity vector of the vehicle; a prediction unit, configured to process the encoded input information to obtain a predicted probability distribution of the vehicle state at a future moment after a predetermined time from a current moment over a predefined state range, wherein the predicted probability distribution is used to determine a predicted state of the vehicle to generate a control signal for the vehicle, wherein the predicted state of the vehicle is determined by minimizing the difference between the probability distribution of candidate states of the vehicle and the predicted probability distribution.

[0011] According to another aspect of the present disclosure, there is provided an apparatus for training an autonomous driving model according to an embodiment of the present disclosure, comprising: a sample data determination unit, configured to determine a sample data set for training the autonomous driving model, wherein the sample data in the sample data set comprises a plurality of sample inputs, each of the sample inputs comprises perception information and a vehicle state corresponding to a sample moment, wherein the vehicle state comprises a position coordinate and a velocity vector of the vehicle, and the sample data further comprises a labeled real vehicle state for each sample input, wherein the real vehicle state corresponds to a future moment after a predetermined time from the sample; an encoding unit, configured to encode a first sample input data using an encoding layer to obtain an encoded first sample input; a prediction unit, configured to process the encoded first sample input using a prediction layer to obtain a predicted probability distribution of the vehicle state at a future moment after a predetermined time from the sample moment corresponding to the first sample input over a predefined state range; a real target determination unit, configured to determine a probability distribution of a first real vehicle state for the first sample input according to the sample data set; and a training unit, configured to train the autonomous driving model by adjusting parameters of the autonomous driving model, wherein the parameters are adjusted to reduce the difference between the predicted probability distribution and the probability distribution of the first real vehicle state.

[0012] According to another aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor so that the at least one processor can execute the above method.

[0013] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the above method.

[0014] According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein the computer program implements the above method when executed by a processor.

[0015] According to another aspect of the present disclosure, an autonomous driving vehicle is provided, comprising: an autonomous driving device according to an embodiment of the present disclosure, or one of an electronic device.

[0016] According to one or more embodiments of the present disclosure, the autonomous driving capability of the autonomous driving model may be improved.

[0017] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings exemplarily illustrate the embodiments and constitute a part of the specification, and together with the text description of the specification, are used to explain the exemplary implementation of the embodiments. The embodiments shown are for illustrative purposes only and do not limit the scope of the claims. In all drawings, the same reference numerals refer to similar but not necessarily identical elements.

[0019] Figure 1 A schematic diagram showing an exemplary system in which the various methods described herein may be implemented according to an embodiment of the present disclosure;

[0020] Figure 2 An exemplary block diagram of an autonomous driving model according to an embodiment of the present disclosure is shown;

[0021] Figure 3 An exemplary flow chart of an autonomous driving method according to an embodiment of the present disclosure is shown;

[0022] Figure 4 The embodiment of the present disclosure is shown in FIG. Figure 2 An exemplary flowchart of a method for training an autonomous driving model described herein;

[0023] Figure 5 An exemplary block diagram of an automatic driving device according to an embodiment of the present disclosure is shown;

[0024] Figure 6 The embodiment of the present disclosure is shown for combining Figure 2 An exemplary block diagram of a device for training an autonomous driving model described herein;

[0025] Figure 7 A structural block diagram of an exemplary electronic device that can be used to implement the embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0026] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope of the present disclosure. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0027] In the present disclosure, unless otherwise specified, the use of the terms "first", "second", etc. to describe various elements is not intended to limit the positional relationship, temporal relationship, or importance relationship of these elements, and such terms are only used to distinguish one element from another element. In some examples, the first element and the second element may refer to the same instance of the element, and in some cases, based on the description of the context, they may also refer to different instances.

[0028] The terms used in the description of various examples in this disclosure are only for the purpose of describing specific examples and are not intended to be limiting. Unless the context clearly indicates otherwise, if the number of elements is not specifically limited, the element can be one or more. In addition, the term "and / or" used in this disclosure covers any one of the listed items and all possible combinations.

[0029] The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.

[0030] Figure 1 FIG. 1 is a schematic diagram of an exemplary system 100 in which various methods and apparatuses described herein may be implemented according to an embodiment of the present disclosure. Figure 1 , the system 100 includes a motor vehicle 110 , a server 120 , and one or more communication networks 130 coupling the motor vehicle 110 to the server 120 .

[0031] In an embodiment of the present disclosure, the motor vehicle 110 may include a computing device according to an embodiment of the present disclosure and / or be configured to perform a method according to an embodiment of the present disclosure.

[0032] The server 120 may run one or more services or software applications that enable the method of autonomous driving. In some embodiments, the server 120 may also provide other services or software applications, which may include non-virtualized environments and virtualized environments. Figure 1 In the configuration shown, the server 120 may include one or more components that implement the functions performed by the server 120. These components may include software components, hardware components, or a combination thereof that can be executed by one or more processors. A user of the motor vehicle 110 may in turn utilize one or more client applications to interact with the server 120 to utilize the services provided by these components. It should be understood that a variety of different system configurations are possible, which may differ from the system 100. Therefore, Figure 1 is one example of a system for implementing the various methods described herein and is not intended to be limiting.

[0033] Server 120 may include one or more general purpose computers, dedicated server computers (e.g., PC (personal computer) servers, UNIX servers, mid-range servers), blade servers, mainframe computers, server clusters, or any other suitable arrangement and / or combination. Server 120 may include one or more virtual machines running virtual operating systems, or other computing architectures involving virtualization (e.g., one or more flexible pools of logical storage devices that may be virtualized to maintain a server's virtual storage device). In various embodiments, server 120 may run one or more services or software applications that provide the functionality described below.

[0034] The computing units in the server 120 may run one or more operating systems including any of the above operating systems and any commercially available server operating systems. The server 120 may also run any of a variety of additional server applications and / or middle-tier applications, including HTTP servers, FTP servers, CGI servers, JAVA servers, database servers, etc.

[0035] In some embodiments, server 120 may include one or more applications to analyze and consolidate data feeds and / or event updates received from motor vehicle 110. Server 120 may also include one or more applications to display data feeds and / or real-time events via one or more display devices of motor vehicle 110.

[0036] The network 130 may be any type of network known to those skilled in the art that may support data communications using any of a variety of available protocols, including, but not limited to, TCP / IP, SNA, IPX, etc. By way of example only, one or more networks 130 may be a satellite communications network, a local area network (LAN), an Ethernet-based network, a token ring, a wide area network (WAN), the Internet, a virtual network, a virtual private network (VPN), an intranet, an extranet, a blockchain network, a public switched telephone network (PSTN), an infrared network, a wireless network (including, for example, Bluetooth, WiFi), and / or any combination of these and other networks.

[0037] The system 100 may also include one or more databases 150. In some embodiments, these databases may be used to store data and other information. For example, one or more of the databases 150 may be used to store information such as audio files and video files. The databases 150 may reside in various locations. For example, the data repository used by the server 120 may be local to the server 120, or may be remote from the server 120 and may communicate with the server 120 via a network-based or dedicated connection. The data repository 150 may be of different types. In some embodiments, the data repository used by the server 120 may be a database, such as a relational database. One or more of these databases may store, update, and retrieve data to and from the database in response to a command.

[0038] In some embodiments, one or more of the databases 150 may also be used by an application to store application data. The databases used by the application may be different types of databases, such as a key-value store, an object store, or a conventional store backed by a file system.

[0039] The motor vehicle 110 may include a sensor 111 for sensing the surrounding environment. The sensor 111 may include one or more of the following sensors: a visual camera, an infrared camera, an ultrasonic sensor, a millimeter wave radar, and a laser radar (LiDAR). Different sensors may provide different detection accuracy and range. The camera may be installed at the front, rear, or other location of the vehicle. The visual camera may capture the situation inside and outside the vehicle in real time and present it to the driver and / or passengers. In addition, by analyzing the images captured by the visual camera, information such as traffic light indications, intersection conditions, and the operating status of other vehicles may be obtained. The infrared camera may capture objects under night vision conditions. Ultrasonic sensors may be installed around the vehicle to measure the distance of objects outside the vehicle from the vehicle using the characteristics of strong ultrasonic directionality. Millimeter wave radars may be installed at the front, rear, or other location of the vehicle to measure the distance of objects outside the vehicle from the vehicle using the characteristics of electromagnetic waves. Laser radars may be installed at the front, rear, or other location of the vehicle to detect object edges and shape information, thereby identifying and tracking objects. Due to the Doppler effect, the radar device may also measure the speed change of the vehicle and the moving object.

[0040] The motor vehicle 110 may also include a communication device 112. The communication device 112 may include a satellite positioning module capable of receiving satellite positioning signals (e.g., Beidou, GPS, GLONASS, and GALILEO) from satellites 141 and generating coordinates based on these signals. The communication device 112 may also include a module for communicating with a mobile communication base station 142, and the mobile communication network may implement any suitable communication technology, such as GSM / GPRS, CDMA, LTE, and other current or evolving wireless communication technologies (e.g., 5G technology). The communication device 112 may also have a vehicle-to-vehicle or vehicle-to-everything (V2X) module, which is configured to implement, for example, vehicle-to-vehicle (V2V) communication with other vehicles 143 and vehicle-to-infrastructure (V2I) communication with infrastructure 144. In addition, the communication device 112 may also have a module configured to communicate with a user terminal 145 (including but not limited to a smartphone, a tablet computer, or a wearable device such as a watch) by, for example, using a wireless LAN or Bluetooth using the IEEE 802.11 standard. Using the communication device 112, the motor vehicle 110 may also access the server 120 via the network 130.

[0041] The motor vehicle 110 may also include a control device 113. The control device 113 may include a processor that communicates with various types of computer-readable storage devices or media, such as a central processing unit (CPU) or a graphics processing unit (GPU), or other dedicated processors. The control device 113 may include an automatic driving system for automatically controlling various actuators in the vehicle. The automatic driving system is configured to control the powertrain, steering system, and braking system of the motor vehicle 110 (not shown) via multiple actuators in response to inputs from multiple sensors 111 or other input devices to control acceleration, steering, and braking, respectively, without human intervention or limited human intervention. Some processing functions of the control device 113 can be implemented through cloud computing. For example, some processing can be performed using an on-board processor, while other processing can be performed using computing resources in the cloud. The control device 113 can be configured to perform a method according to the present disclosure. In addition, the control device 113 can be implemented as an example of a computing device on the motor vehicle side (client) according to the present disclosure.

[0042] Figure 1 The system 100 may be configured and operated in various ways to enable the application of various methods and apparatuses described in the present disclosure.

[0043] In related technologies, the main autonomous driving decision-making and control methods include: (1) predicting steering wheel and throttle movements; (2) predicting position point sequences.

[0044] The main problems with these two types of control methods include: (1) Direct prediction of the steering wheel and throttle makes it difficult to accurately control the vehicle position, making it difficult for the model to achieve precise control when it encounters a need to stop at the stop line. In addition, there is a physical delay in the generation of steering wheel and throttle signals. (2) Position point sequence prediction can easily lead to vehicle behavior that is inconsistent with dynamics. In addition, predicting position points alone cannot handle the Multi-Modal characteristics of autonomous driving. For example, when there are actually multiple possible driving routes, directly fitting the position points of multiple routes will cause the model to find an intermediate route that is closer to all possible routes, which will result in a prediction result that is far from the ideal route, and may even generate an unfeasible route, such as directly passing through an obstacle between two roads.

[0045] In order to solve the above problems, the present disclosure provides a new autonomous driving model.

[0046] Figure 2 An exemplary block diagram of an autonomous driving model according to an embodiment of the present disclosure is shown.

[0047] like Figure 2 As shown, the autonomous driving model 200 includes a coding layer 210 and a prediction layer 220 .

[0048] The encoding layer 210 is configured to encode input information including at least sensory information and vehicle status to obtain encoded input information, wherein the vehicle status includes the position coordinates and velocity vector of the vehicle.

[0049] The prediction layer 220 is configured to process the encoded input information to obtain a predicted probability distribution of the vehicle state at a future moment after a predetermined period of time from the current moment over a predefined state range, wherein the predicted probability distribution is used to determine the predicted state of the vehicle to generate a control signal for the vehicle, wherein the predicted state of the vehicle is determined by minimizing the difference between the probability distribution of the candidate states of the vehicle and the predicted probability distribution.

[0050] By using the above-mentioned autonomous driving model provided by the embodiments of the present disclosure, by predicting the probability distribution of the vehicle state in a predefined state range, when a multi-mode situation occurs, the probability distribution of the inaccessible position points will be predicted to be close to zero, thereby avoiding the fitting result being close to the route that is actually inaccessible. In addition, by predicting the probability distribution in the state range including the vehicle position and speed, more precise control can be provided for the autonomous driving process.

[0051] The principles of the present disclosure will be described in detail below.

[0052] The encoding layer 210 may be configured to encode input information including at least sensory information and vehicle status to obtain encoded input information, wherein the vehicle status includes the position coordinates and velocity vector of the vehicle. The sensory information and vehicle status mentioned here may include sensory information and vehicle status at the current moment, and may also include historical sensory information and historical vehicle status within a predetermined time period before the current moment.

[0053] The perception information may include sensor input collected by at least one sensor installed on the autonomous vehicle. The perception information for the vehicle's surroundings may include at least one of the following items: perception information from one or more cameras, perception information from one or more laser radars, and perception information from one or more millimeter wave radars. The current perception information may include sensor input collected at the current time t.

[0054] In some embodiments, the perceptual information can be encoded using the encoding layer 210 to obtain an implicit representation corresponding to the perceptual information. The encoding layer can be implemented as a neural network layer based on Transformer, or as a neural network layer based on CNN. The present application does not limit the specific implementation form of the encoding layer. In some examples, the implicit representation mentioned here may refer to the implicit representation of the perceptual information in the BEV space. For example, the current perceptual information can be mapped to the bird's-eye view BEV space to obtain a continuous BEV representation of the current perceptual information. The current perceptual information can be mapped to the BEV space using models such as BEVFormer and BEVFusion to obtain a continuous BEV representation of the current perceptual information. Then, the continuous BEV representation can be discretized according to the pre-trained vocabulary to obtain a discrete space representation of the perceptual information.

[0055] Although the principles of the present disclosure are described above by representing the perceptual information in the BEV space, it is understood that, without departing from the principles of the present disclosure, the perceptual information may be mapped to other spaces other than the BEV space and the discrete spatial representation of the corresponding perceptual information may be determined. In addition, the discrete spatial representation of the perceptual information may be determined by any other suitable method other than the vocabulary.

[0056] The prediction layer 220 may be configured to process the encoded input information to obtain a predicted probability distribution of the vehicle state at a future time after a predetermined time from the current time over a predefined state range, wherein the predicted probability distribution is used to determine the predicted state of the vehicle to generate a control signal for the vehicle, wherein the predicted state of the vehicle is determined by minimizing the difference between the probability distribution of the candidate state of the vehicle and the predicted probability distribution. The predicted probability distribution may be continuous or discrete.

[0057] The prediction layer 220 may be implemented as a neural network layer based on a Transformer, or as a neural network layer based on a CNN. The present application does not limit the specific implementation form of the prediction layer.

[0058] As mentioned above, the vehicle state includes both the position coordinates and the velocity vector of the vehicle. Accordingly, the predefined state range involved in the embodiments of the present disclosure includes a predetermined position range and a predetermined speed range centered on the currently processed vehicle state, that is, the range of change of the vehicle state. Each vehicle state within the state range can be defined by a position point within a predetermined position range and a speed point within a predetermined speed range. Among them, the predefined state range may include a plurality of discretized state points, wherein each state point has a position parameter and a speed parameter within the corresponding state range. The predefined state range can be represented by a discretized grid, wherein each grid corresponds to a state point, and the center point of each grid can correspond to the corresponding position point and speed point. In the example, each position point and speed point may also include multiple components. For example, the predefined state range may include N grids, N=N x ×N y ×N vx ×N vy Among them, N x Indicates the number of position points in the x direction, N y Indicates the number of position points in the y direction orthogonal to the x direction, N vx Indicates the number of velocity points in the x direction, N vx Indicates the number of velocity points in the y direction. The above-mentioned permutations and combinations of position points and velocity points can constitute N state points within a predefined state range.

[0059] The prediction layer 220 can process the input encoded input information, perceive and reason the input information through the trained neural network, and obtain the prediction probability distribution for the predefined state range. In the case where the predefined state range includes N state points, the prediction probability distribution output by the prediction layer 220 includes the prediction probability output for each state point in the state range, and the prediction probability indicates the possibility that the vehicle state at the future moment is the position parameter and speed parameter corresponding to each state point.

[0060] It can be seen that in the embodiments provided by the present disclosure, the autonomous driving model does not directly predict the position, speed or driving action of the vehicle at a future time, but indicates possible driving decision information by predicting the probability distribution of the vehicle state at a future time. If there is an obstacle in the middle of the lane, the vehicle can choose to bypass it from the left or right side, and the weights of the two routes are similar. In this case, the result output by the prediction layer will indicate that the state points corresponding to the position points on the routes on the left and right sides of the obstacle have similar probabilities, and the probability of the state points corresponding to the position points in the middle of the two routes (i.e., the route passing through the obstacle) will be close to 0, so it will not appear in the final output result. This can overcome the problem in the aforementioned related art that after fitting two different routes with similar probabilities, a route result that deviates from the possible path (such as passing through an obstacle) is obtained.

[0061] After the prediction probability distribution of the state point at the future time is obtained by using the prediction layer 220, the state point corresponding to the future time can be inferred.

[0062] In some embodiments, the predicted state of the vehicle at a future moment can be determined by minimizing the difference between the probability distribution of the candidate states of the vehicle and the predicted probability distribution. In the example, an initial candidate state can be determined. The initial candidate state can be randomly generated or a predetermined fixed initial state. The candidate state probability distribution of the initial candidate state within a predefined state range of the predicted state can be determined, and then the difference between the candidate state probability distribution and the predicted probability distribution can be determined. The probability distribution of the initial candidate state over a predefined state range can be determined based on a probability distribution function determined based on a predefined standard deviation.

[0063] In the example, the KL (Kullback-Leibler) distance can be used to represent the difference between the candidate state probability distribution and the predicted probability distribution. The initial candidate state can then be optimized by an optimization algorithm to minimize the difference between the candidate state probability distribution and the predicted probability distribution. In the example, gradient descent algorithm, Gauss-Newton algorithm and other methods can be used as optimization algorithms. The KL distance can be used to measure the difference between two probability distributions in the same event space. It can be understood that, without departing from the principles of the present disclosure, other metrics can also be used to replace the KL distance to describe the difference between the candidate state probability distribution and the predicted probability distribution.

[0064] In some examples, the objective of the optimization algorithm can be expressed as:

[0065]

[0066] in, represents the predicted probability distribution, i, j, k, m represent the index of the state point within the state range, corresponding to the position parameters and speed parameters in the x and y directions respectively, Indicates candidate status, Represents the probability distribution of candidate states within the state range.

[0067] By adjusting the parameters of the candidate states to minimize the objective of the optimization algorithm, the final predicted state can be obtained.

[0068] In some embodiments, the predicted state may include the position and speed of the vehicle at a future time. The inverse dynamics model may be used to reversely infer the vehicle control signal based on the predicted position and predicted speed of the vehicle corresponding to the predicted state and the current position and current speed of the vehicle at the current time. The above control signal may be used to control the vehicle to change from the vehicle state at the current time to the predicted state at the future time. In the example, the control signal may be a steering wheel direction control signal and a throttle signal.

[0069] In some embodiments, the predicted state may include the vehicle position and speed of the vehicle at a future time represented by the control signal for the vehicle from the current time to the future time based on the forward dynamics model. In this case, the position and speed of the vehicle at the future time indicated in the predicted state are represented by a function of the control signal. Therefore, after determining the result of the predicted state by the optimization algorithm, the corresponding control signal can be determined according to the functional representation of the control signal. Using this method, the reasoning process based on inverse dynamics can be omitted, thereby reducing the reasoning error of the model.

[0070] Figure 3 An exemplary flow chart of an automatic driving method according to an embodiment of the present disclosure is shown. Figure 2 Described autonomous driving model implementation Figure 3 The automatic driving method shown in the above combination Figure 2 The advantages of the described autonomous driving model are also applicable to the autonomous driving method 300 and will not be elaborated here.

[0071] In step S302, input information including at least the perception information and the vehicle state may be encoded to obtain encoded input information, wherein the vehicle state includes the position coordinates and the velocity vector of the vehicle.

[0072] In step S304, the encoded input information can be processed to obtain a predicted probability distribution of the vehicle state at a future moment after a predetermined period of time from the current moment over a predefined state range, wherein the predicted probability distribution is used to determine the predicted state of the vehicle to generate a control signal for the vehicle, wherein the predicted state of the vehicle is determined by minimizing the difference between the probability distribution of the candidate states of the vehicle and the predicted probability distribution.

[0073] By using the above-mentioned automatic driving method provided by the embodiment of the present disclosure, by predicting the probability distribution of the vehicle state in a predefined state range, when a multi-mode situation occurs, the probability distribution of the inaccessible position points will be predicted to be close to zero, thereby avoiding the fitting result being close to the route that is actually inaccessible. In addition, by predicting the probability distribution in the state range including the vehicle position and speed, more precise control can be provided for the automatic driving process.

[0074] In some embodiments, the encoded input information is an implicit representation of the input information in a bird's eye view space.

[0075] In some embodiments, the predefined state range includes a predetermined position range and a predetermined speed range based on a vehicle state at a current moment.

[0076] In some embodiments, the predefined state range includes a plurality of discretized state points, and each state point in the plurality of state points has a position parameter and a velocity parameter within the corresponding state range.

[0077] In some embodiments, the predicted probability distribution includes a predicted probability output for each state point in a plurality of state points, wherein the predicted probability indicates the possibility that the predicted state at a future time is the position parameter and the speed parameter corresponding to the vehicle state.

[0078] In some embodiments, the predicted state includes the vehicle position and speed of the vehicle at a future moment, and the control signal of the vehicle is generated by the following operations including: determining the predicted state by minimizing the difference between the probability distribution of candidate states of the vehicle and the predicted probability distribution; based on the inverse dynamics model, determining the control signal for the vehicle from the current moment to the future moment according to the predicted position and predicted speed of the vehicle at the future moment and the current position and current speed of the vehicle at the current moment.

[0079] In some embodiments, the predicted state includes the vehicle position and speed of the vehicle at a future moment represented by a control signal for the vehicle between the current moment and the future moment based on a forward dynamics model, and the control signal for the vehicle is generated by the following operations: determining the predicted state by minimizing the difference between the probability distribution of candidate states of the vehicle and the predicted probability distribution; determining the control signal for the vehicle between the current moment and the future moment based on the predicted state.

[0080] Figure 4 The embodiment of the present disclosure is shown in FIG. Figure 2 An exemplary flowchart of a method for training an autonomous driving model is described.

[0081] In step S402, a sample data set for training an autonomous driving model may be determined, wherein the sample data in the sample data set includes multiple sample inputs, each sample input includes perception information and a vehicle state corresponding to a sample moment, wherein the vehicle state includes a position coordinate and a velocity vector of the vehicle, and the sample data also includes a labeled real vehicle state for each sample input, wherein the real vehicle state corresponds to a future moment after a predetermined time from the start of the sample.

[0082] In step S404, the first sample input data may be encoded using the encoding layer to obtain an encoded first sample input. The encoded first sample input may be an implicit representation of the first sample input in the bird's-eye view space. The encoding layer may be a neural network layer based on Transformer or CNN, such as a combination of Figure 2 As described.

[0083] In step S406, the encoded first sample input may be processed by a prediction layer to obtain a predicted probability distribution of the vehicle state at a future time after a predetermined time from the sample time corresponding to the first sample input over a predefined state range. The prediction layer may be a neural network layer based on a Transformer or CNN, such as a combination of Figure 2 As described.

[0084] The predefined state range may include a predetermined position range and a predetermined speed range based on the vehicle state at the sample time. In some embodiments, the predefined state range may include a plurality of discretized state points, each of which has a position parameter and a speed parameter within the corresponding state range. The predicted probability distribution includes a predicted probability output for each of the plurality of state points, wherein the predicted probability indicates the possibility that the predicted state at the future time is the position parameter and the speed parameter corresponding to the vehicle state.

[0085] In step S408 , a probability distribution of a first real vehicle state for a first sample input may be determined according to the sample data set.

[0086] The probability distribution of the first real vehicle state within a predefined state range may be determined based on a predefined probability distribution function. For example, the probability distribution of the first real vehicle state within the state range may be calculated based on a Gaussian distribution function. The standard deviation of the Gaussian distribution function may be predetermined based on actual conditions.

[0087] The probability distribution of the first real vehicle state within the state range can be calculated based on formulas (2)-(4):

[0088]

[0089]

[0090] Z=∑ i,j,k,m π(i,j,k,m|s t ) (4)

[0091] Among them, i, j, k, m represent the index numbers of the state points within the state range, x i represents the position parameter of the state point (i, j, k, m) in the x direction, y j represents the position parameter of the state point (i, j, k, m) in the y direction, v i represents the velocity parameter in the x direction of the state point (i, j, k, m), v j represents the velocity parameter in the y direction of the state point (i, j, k, m), x t ,y t 、v xt 、v yt is the first real vehicle state s at sample time t t The position parameters and velocity parameters in the x and y directions. p(i, j, k, m|s t ) represents the probability of the first real vehicle state being at the state point (i, j, k, m) within the state range.

[0092] In step S410, the autonomous driving model may be trained by adjusting parameters of the autonomous driving model, wherein the parameters are adjusted to reduce the difference between the predicted probability distribution and the probability distribution of the first real vehicle state. The predicted probability distribution output by the autonomous driving model may be made close to the annotated true probability distribution by supervised learning, thereby improving the prediction capability of the autonomous driving model.

[0093] In some embodiments, the autonomous driving model may be further trained using reinforcement learning. For example, the predicted probability distribution output by the autonomous driving model may be evaluated to obtain evaluation information of the predicted probability distribution. The predicted probability distribution may be processed using a trained evaluation model or manual evaluation to obtain a scoring result for the prediction result. Then, the parameters of the autonomous driving model may be adjusted according to the evaluation information to reduce the difference between the predicted probability distribution and the probability distribution of the first real vehicle state.

[0094] Formula (5) can be used to determine the training objective of reinforcement learning:

[0095]

[0096] Among them, i, j, k, m represent the index numbers of the state points within the state range. is the predicted probability of the state point (i, j, k, m), p(i, j, k, m|st ) is the first real vehicle state s t The probability distribution at the state point (i, j, k, m), r t is the predicted probability distribution In the training objective shown in formula (5), the evaluation information r t It is configured as the weight of the KL distance. The state point with a higher evaluation score contributes more to the training target.

[0097] Figure 5 An exemplary block diagram of an automatic driving device according to an embodiment of the present disclosure is shown. Figure 2 The described autonomous driving model implements the autonomous driving device 500.

[0098] like Figure 5 As shown, the automatic driving device 500 may include an encoding unit 510 and a prediction unit 520 .

[0099] The encoding unit 510 may be configured to encode input information including at least the perception information and the vehicle state to obtain encoded input information, wherein the vehicle state includes the position coordinates and the velocity vector of the vehicle.

[0100] The prediction unit 520 can be configured to process the encoded input information to obtain a predicted probability distribution of the vehicle state at a future time after a predetermined period of time from the current time over a predefined state range, wherein the predicted probability distribution is used to determine the predicted state of the vehicle to generate a control signal for the vehicle, wherein the predicted state of the vehicle is determined by minimizing the difference between the probability distribution of the candidate states of the vehicle and the predicted probability distribution.

[0101] It should be understood that Figure 5 The various modules or units of the apparatus 500 shown in FIG. 5 can be used in conjunction with the reference Figure 3 The steps in the method 300 described above correspond to each other. Therefore, the operations, features and advantages described above for the method 300 are also applicable to the device 500 and the modules and units included therein. For the sake of brevity, some operations, features and advantages are not repeated here.

[0102] Figure 6 The embodiment of the present disclosure is shown for combining Figure 2 An exemplary block diagram of an apparatus for training an autonomous driving model is described.

[0103] like Figure 6 As shown, the training device 600 may include a sample data determination unit 610 , an encoding unit 620 , a prediction unit 630 , a true target determination unit 640 and a training unit 650 .

[0104] The sample data determination unit 610 can be configured to determine a sample data set for training an autonomous driving model, wherein the sample data in the sample data set includes multiple sample inputs, each sample input includes perception information and a vehicle state corresponding to a sample moment, wherein the vehicle state includes the vehicle's position coordinates and a velocity vector, and the sample data also includes a labeled real vehicle state for each sample input, wherein the real vehicle state corresponds to a future moment after a predetermined time from the start of the sample.

[0105] The encoding unit 620 may be configured to encode the first sample input data using the encoding layer to obtain an encoded first sample input.

[0106] The prediction unit 630 may be configured to process the encoded first sample input using a prediction layer to obtain a predicted probability distribution of the vehicle state at a future time after a predetermined time from the sample time corresponding to the first sample input over a predefined state range.

[0107] The real target determination unit 640 is configured to determine a probability distribution of a first real vehicle state for a first sample input according to the sample data set.

[0108] The training unit 650 may be configured to train the autonomous driving model by adjusting parameters of the autonomous driving model, wherein the parameters are adjusted to reduce a difference between the predicted probability distribution and the probability distribution of the first real vehicle state.

[0109] It should be understood that Figure 6 The various modules or units of the apparatus 600 shown in FIG. 6 can be used in conjunction with the reference Figure 4 The steps in the method 400 described above correspond to each other. Therefore, the operations, features and advantages described above for the method 400 are also applicable to the device 600 and the modules and units included therein. For the sake of brevity, some operations, features and advantages are not repeated here.

[0110] Although specific functionality is discussed above with reference to specific modules, it should be noted that the functionality of the various units discussed herein may be separated into multiple units, and / or at least some functionality of multiple units may be combined into a single unit.

[0111] It should also be understood that various techniques may be described herein in the general context of software hardware elements or program modules. Figure 5 , Figure 5The various units described can be implemented in hardware or in hardware in combination with software and / or firmware. For example, these units can be implemented as computer program codes / instructions, which are configured to be executed in one or more processors and stored in a computer-readable storage medium. Alternatively, these units can be implemented as hardware logic / circuits. For example, in some embodiments, one or more of units 510 to 530, units 610 to 650 can be implemented together in a system on chip (System on Chip, SoC). SoC may include an integrated circuit chip (which includes a processor (e.g., a central processing unit (CPU), a microcontroller, a microprocessor, a digital signal processor (DSP), etc.), a memory, one or more communication interfaces, and / or one or more components in other circuits), and may optionally execute the received program code and / or include embedded firmware to perform functions.

[0112] According to another aspect of the present disclosure, an electronic device is also provided, including: at least one processor; and a memory communicatively connected to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the autonomous driving method according to an embodiment of the present disclosure.

[0113] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is also provided, and the computer instructions are used to enable the computer to execute the automatic driving method according to an embodiment of the present disclosure.

[0114] According to another aspect of the present disclosure, a computer program product is also provided, including a computer program, wherein the computer program implements the automatic driving method according to an embodiment of the present disclosure when executed by a processor.

[0115] According to another aspect of the present disclosure, an autonomous driving vehicle is also provided, comprising an autonomous driving device according to an embodiment of the present disclosure and one of the above-mentioned electronic devices. In the technical solution of the present disclosure, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0116] According to an embodiment of the present disclosure, an electronic device, a readable storage medium and a computer program product are also provided.

[0117] refer to Figure 7, a block diagram of an electronic device 700 that can be used as a server or client of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0118] like Figure 7 As shown, the electronic device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0119] Multiple components in the electronic device 700 are connected to the I / O interface 705, including: an input unit 706, an output unit 707, a storage unit 708, and a communication unit 709. The input unit 706 can be any type of device that can input information to the electronic device 700. The input unit 706 can receive input digital or character information and generate key signal input related to user settings and / or function control of the electronic device, and can include but is not limited to a mouse, a keyboard, a touch screen, a track pad, a track ball, a joystick, a microphone, and / or a remote controller. The output unit 707 can be any type of device that can present information, and can include but is not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 708 can include but is not limited to a disk, an optical disk. The communication unit 709 allows the electronic device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and can include but is not limited to a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth™ device, an 802.11 device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.

[0120] The computing unit 701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 701 performs the various methods and processes described above, such as methods 200 and 300. For example, in some embodiments, methods 200 and 300 may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the methods 200 and 300 described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to execute the methods 200 and 300 in any other appropriate manner (eg, by means of firmware).

[0121] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0122] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0123] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0124] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0125] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.

[0126] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0127] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0128] Although the embodiments or examples of the present disclosure have been described with reference to the accompanying drawings, it should be understood that the above-mentioned methods, systems and devices are merely exemplary embodiments or examples, and the scope of the present invention is not limited by these embodiments or examples, but only by the claims after authorization and their equivalent scope. Various elements in the embodiments or examples can be omitted or replaced by their equivalent elements. In addition, each step can be performed in an order different from that described in the present disclosure. Further, the various elements in the embodiments or examples can be combined in various ways. It is important that with the evolution of technology, many elements described herein can be replaced by equivalent elements that appear after the present disclosure.

Claims

1. An autonomous driving model, include: an encoding layer configured to encode input information including at least the perception information and a vehicle state to obtain encoded input information, wherein the vehicle state includes a position coordinate and a velocity vector of the vehicle; A prediction layer is configured to process the encoded input information to obtain a predicted probability distribution of the vehicle state at a future moment after a predetermined time from a current moment over a predefined state range, wherein the predicted probability distribution is used to determine the predicted state of the vehicle to generate a control signal for the vehicle, wherein the predicted state of the vehicle is determined by minimizing the difference between the probability distribution of the candidate states of the vehicle and the predicted probability distribution.

2. The autonomous driving model according to claim 1, in, The encoded input information includes an implicit representation of the perceptual information in a bird's-eye view space.

3. The autonomous driving model according to claim 1, in, The encoding layer and the prediction layer are neural network layers based on Transformer.

4. The autonomous driving model according to claim 1, in, The predefined state range includes a predetermined position range and a predetermined speed range based on the vehicle state at the current moment as the center.

5. The automatic driving model as claimed in claim 4, in, The predefined state range includes a plurality of discretized state points, and each state point in the plurality of state points has a corresponding position parameter and a velocity parameter within the state range.

6. The automatic driving model as claimed in claim 5, in, The predicted probability distribution includes a predicted probability output for each state point among the multiple state points, wherein the predicted probability indicates the possibility that the predicted state at the future time is the position parameter and the speed parameter corresponding to the state point.

7. The autonomous driving model according to claim 1, in, The predicted state includes the vehicle position and speed of the vehicle at the future time, and the control signal of the vehicle is generated by the following operations: determining the predicted state by minimizing a difference between a probability distribution of candidate states of the vehicle and the predicted probability distribution; Based on the inverse dynamics model, a control signal for the vehicle from the current time to the future time is determined according to the predicted position and predicted speed of the vehicle at the future time and the current position and current speed of the vehicle at the current time.

8. The autonomous driving model according to claim 1, in, The predicted state includes a vehicle position and a speed of the vehicle at the future time represented by a control signal for the vehicle from the current time to the future time based on a forward dynamics model, the control signal for the vehicle being generated by: determining the predicted state by minimizing a difference between a probability distribution of candidate states of the vehicle and the predicted probability distribution; A control signal for the vehicle between the current time and the future time is determined based on the predicted state.

9. An automatic driving method implemented by using the automatic driving model according to any one of claims 1 to 8, include: Encoding input information including at least the perception information and a vehicle state to obtain encoded input information, wherein the vehicle state includes a position coordinate and a velocity vector of the vehicle; The encoded input information is processed to obtain a predicted probability distribution of the vehicle state at a future moment after a predetermined time from the current moment over a predefined state range, wherein the predicted probability distribution is used to determine the predicted state of the vehicle to generate a control signal for the vehicle, wherein the predicted state of the vehicle is determined by minimizing the difference between the probability distribution of the candidate states of the vehicle and the predicted probability distribution.

10. The automatic driving method according to claim 9, in, The encoded input information is an implicit representation of the input information in a bird's-eye view space.

11. The automatic driving method according to claim 9, in, The predefined state range includes a predetermined position range and a predetermined speed range based on the vehicle state at the current moment as the center.

12. The automatic driving method according to claim 11, in, The predefined state range includes a plurality of discretized state points, and each state point in the plurality of state points has a corresponding position parameter and a velocity parameter within the state range.

13. The automatic driving method according to claim 12, in, The predicted probability distribution includes a predicted probability output for each of the plurality of state points, wherein the predicted probability indicates a possibility that the predicted state at the future time is a position parameter and a speed parameter corresponding to the vehicle state.

14. The automatic driving method according to claim 9, in, The predicted state includes the vehicle position and speed of the vehicle at the future time, The vehicle control signal is generated by: determining the predicted state by minimizing a difference between a probability distribution of candidate states of the vehicle and the predicted probability distribution; Based on the inverse dynamics model, a control signal for the vehicle from the current time to the future time is determined according to the predicted position and predicted speed of the vehicle at the future time and the current position and current speed of the vehicle at the current time.

15. The automatic driving method according to claim 9, in, The predicted state includes a vehicle position and a speed of the vehicle at the future time represented by a control signal for the vehicle between the current time and the future time based on a forward dynamics model, The vehicle control signal is generated by: determining the predicted state by minimizing a difference between a probability distribution of candidate states of the vehicle and the predicted probability distribution; A control signal for the vehicle between the current time and the future time is determined based on the predicted state.

16. A method for training an autonomous driving model according to any one of claims 1 to 8, include: Determine a sample data set for training an autonomous driving model, wherein the sample data in the sample data set includes a plurality of sample inputs, each of the sample inputs includes perception information and a vehicle state corresponding to a sample moment, wherein the vehicle state includes a position coordinate and a velocity vector of the vehicle, and the sample data further includes a labeled real vehicle state for each sample input, wherein the real vehicle state corresponds to a future moment after a predetermined time from the start of the sample; Encoding the first sample input data using the encoding layer to obtain an encoded first sample input; Processing the encoded first sample input using a prediction layer to obtain a predicted probability distribution of the vehicle state at a future time after a predetermined time from a sample time corresponding to the first sample input over a predefined state range; Determining a probability distribution of a first real vehicle state for the first sample input based on the sample data set; The autonomous driving model is trained by adjusting parameters of the autonomous driving model, wherein the parameters are adjusted to reduce the difference between the predicted probability distribution and the probability distribution of the first real vehicle state.

17. The method of claim 16, in, The encoded first sample input is an implicit representation of the first sample input in a bird's eye view space.

18. The method of claim 16, in, The encoding layer and the prediction layer are neural network layers based on Transformer.

19. The method of claim 16, in, The predefined state range includes a predetermined position range and a predetermined speed range based on the vehicle state at the sample time.

20. The method of claim 19, in, The predefined state range includes a plurality of discretized state points, and each state point in the plurality of state points has a corresponding position parameter and a velocity parameter within the state range.

21. The method of claim 20, in, The predicted probability distribution includes a predicted probability output for each of the plurality of state points, wherein the predicted probability indicates a possibility that the predicted state at the future time is a position parameter and a speed parameter corresponding to the vehicle state.

22. The method of claim 16, in, Training the autonomous driving model by adjusting parameters of the autonomous driving model includes: Determining evaluation information of the predicted probability distribution; By using reinforcement learning, the parameters of the autonomous driving model are adjusted according to the evaluation information to reduce the difference between the predicted probability distribution and the probability distribution of the first real vehicle state.

23. An automatic driving device implemented by using the automatic driving model according to any one of claims 1 to 8, include: an encoding unit configured to encode input information including at least the perception information and a vehicle state to obtain encoded input information, wherein the vehicle state includes a position coordinate and a velocity vector of the vehicle; A prediction unit is configured to process the encoded input information to obtain a predicted probability distribution of the vehicle state at a future moment after a predetermined time from a current moment over a predefined state range, wherein the predicted probability distribution is used to determine a predicted state of the vehicle to generate a control signal for the vehicle, wherein the predicted state of the vehicle is determined by minimizing the difference between the probability distribution of the candidate states of the vehicle and the predicted probability distribution.

24. A device for training an automatic driving model according to any one of claims 1 to 8, include: A sample data determination unit is configured to determine a sample data set for training an autonomous driving model, wherein the sample data in the sample data set includes a plurality of sample inputs, each of the sample inputs includes perception information and a vehicle state corresponding to a sample moment, wherein the vehicle state includes a position coordinate and a velocity vector of the vehicle, and the sample data further includes a labeled real vehicle state for each sample input, wherein the real vehicle state corresponds to a future moment after a predetermined time from the start of the sample; an encoding unit configured to encode the first sample input data using the encoding layer to obtain an encoded first sample input; a prediction unit configured to process the encoded first sample input using a prediction layer to obtain a predicted probability distribution of a vehicle state at a future time after a predetermined time from a sample time corresponding to the first sample input over a predefined state range; a real target determination unit, configured to determine a probability distribution of a first real vehicle state for the first sample input according to the sample data set; A training unit is configured to train the autonomous driving model by adjusting parameters of the autonomous driving model, wherein the parameters are adjusted to reduce the difference between the predicted probability distribution and the probability distribution of the first real vehicle state.

25. An electronic device, include: at least one processor; as well as a memory communicatively coupled to the at least one processor; in The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 9 to 22.

26. A non-transitory computer-readable storage medium storing computer instructions, in, The computer instructions are used to cause the computer to execute the method according to any one of claims 9-22.

27. A computer program product comprising a computer program, in, The computer program implements the method according to any one of claims 9 to 22 when executed by a processor.

28. An autonomous driving vehicle, include: One of the automatic driving device according to claim 23 and the electronic device according to claim 25.

Citation Information

Cited By

  • Prediction method and device for motion state corresponding to space grid and automatic driving vehicle

    CN119810790A

  • Space grid corresponding motion state prediction method and device, and autonomous vehicle

    CN119810790B