Autonomous driving models, training methods, and autonomous driving methods and vehicles
Through the end-to-end neural network model, perception is directly responsible for decision-making, decoupling prediction and planning, using lane-level maps and sensor data, solving the problems of error accumulation and high-precision map dependence in autonomous driving technology, improving decision-making accuracy and security, reduced update costs and expanded application area.
Patent Information
- Application Number
- CN202310266204.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-17
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2043-03-17
AI Technical Summary
In the existing autonomous driving technology, the coupling of the perception module and the planning control module leads to error accumulation, making it difficult to capture key decision-making information. The structured information is limited and cannot effectively resolve the status of unknown obstacles and vehicles and pedestrians, and relies on high-precision maps to cause updates. High cost and limited application area.
Adopt an end-to-end neural network model to directly obtain autonomous driving strategy information through the multi-modal coding layer and decision control layer. Perception is directly responsible for decision-making, reducing error accumulation, decoupling prediction and planning, using lane-level maps and sensor data, and reducing Dependence on high-precision maps.
It improves the decision-making accuracy and safety of autonomous driving, reduces the update cost of high-precision maps, expands the application area, can handle unknown obstacles and the status of vehicles and pedestrians, and enhances the robustness and interpretability of the system.
Smart Images

Figure CN116880462B
Abstract
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, an autonomous driving method implemented using the autonomous driving model, a training method for the autonomous driving model, an autonomous driving device based on the autonomous driving model, a training device for the autonomous driving model, an electronic device, a computer-readable storage medium, a computer program product, and an autonomous driving vehicle. 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] Autonomous driving technology integrates many technologies such as recognition, decision-making, positioning, communication security, and human-computer interaction. Artificial intelligence learning can assist in generating autonomous driving strategies.
[0004] High-precision maps, also known as high-precision maps, are maps used by self-driving cars. High-precision maps have accurate vehicle location information and rich road element data information, which can help cars predict complex road information, such as slope, curvature, and heading, so as to better avoid potential risks. In other words, self-driving technology relies heavily on high-precision maps.
[0005] 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
[0006] The present disclosure provides an autonomous driving model, an autonomous driving method implemented using the autonomous driving model, a training method for the autonomous driving model, an autonomous driving device based on the autonomous driving model, a training device for the autonomous driving model, an electronic device, a computer-readable storage medium, a computer program product, and an autonomous driving vehicle.
[0007] According to one aspect of the present disclosure, an autonomous driving model is provided, comprising a multimodal coding layer and a decision control layer, wherein the multimodal coding layer and the decision control layer are connected to form an end-to-end neural network model, so that the decision control layer directly obtains autonomous driving strategy information based on the output of the multimodal coding layer, wherein first input information of the multimodal coding layer comprises navigation information of a target vehicle and perception information of a surrounding environment of the target vehicle obtained by using a sensor, wherein the perception information comprises current perception information and historical perception information of the surrounding environment of the target vehicle during driving of the vehicle, the multimodal coding layer is configured to obtain an implicit representation corresponding to the first input information, second input information of the decision control layer comprises the implicit representation, and the decision control layer is configured to obtain target autonomous driving strategy information based on the second input information.
[0008] According to another aspect of the present disclosure, there is provided an autonomous driving method implemented by using an autonomous driving model, wherein the autonomous driving model includes a multimodal coding layer and a decision control layer, wherein the multimodal coding layer and the decision control layer are connected to form an end-to-end neural network model, so that the decision control layer directly obtains autonomous driving strategy information based on the output of the multimodal coding layer. The method includes: obtaining first input information of the multimodal coding layer, wherein the first input information includes navigation information of a target vehicle and perception information of the surrounding environment of the target vehicle obtained by using a sensor, wherein the perception information includes current perception information and historical perception information of the surrounding environment of the target vehicle during the driving of the vehicle; inputting the first input information into the multimodal coding layer to obtain an implicit representation corresponding to the first input information output by the multimodal coding layer; and inputting the second input information including the implicit representation into the decision control layer to obtain the target autonomous driving strategy information output by the decision control layer.
[0009] According to another aspect of the present disclosure, a training method for an autonomous driving model is provided, wherein the autonomous driving model includes a multimodal coding layer and a decision control layer, wherein the multimodal coding layer and the decision control layer are connected to form an end-to-end neural network basic model, so that the decision control layer directly obtains autonomous driving strategy information based on the output of the multimodal coding layer, and the method includes a first training process for training the multimodal coding layer and the decision control layer. The first training process includes: obtaining first sample input information and first real autonomous driving strategy information corresponding to the first sample input information, wherein the first sample input information includes first sample navigation information of a first sample vehicle and sample perception information for the surrounding environment of the first sample vehicle, wherein the sample perception information includes current sample perception information and historical sample perception information for the surrounding environment of the first sample vehicle; inputting the first sample input information into the multimodal coding layer to obtain the first sample implicit representation output by the multimodal coding layer; inputting the intermediate sample input information including the first sample implicit representation into the decision control layer to obtain the first predicted autonomous driving strategy information output by the decision control layer; and adjusting the parameters of the multimodal coding layer and the decision control layer based at least on the first predicted autonomous driving strategy information and the first real autonomous driving strategy information.
[0010] According to another aspect of the present disclosure, an automatic driving device based on an automatic driving model is provided, wherein the automatic driving model includes a multimodal coding layer and a decision control layer, wherein the multimodal coding layer and the decision control layer are connected to form an end-to-end neural network model, so that the decision control layer directly obtains automatic driving strategy information based on the output of the multimodal coding layer. The device includes: an input information acquisition unit, configured to obtain first input information of the multimodal coding layer, wherein the first input information includes navigation information of a target vehicle and perception information of the surrounding environment of the target vehicle obtained by using a sensor, wherein the perception information includes current perception information and historical perception information of the surrounding environment of the target vehicle during the driving of the vehicle; a multimodal coding unit, configured to input the first input information into the multimodal coding layer to obtain an implicit representation corresponding to the first input information output by the multimodal coding layer; and a decision control unit, configured to input the second input information including the implicit representation into the decision control layer to obtain the target automatic driving strategy information output by the decision control layer.
[0011] According to another aspect of the present disclosure, a training device for an autonomous driving model is provided, wherein the autonomous driving model includes a multimodal coding layer and a decision control layer, wherein the multimodal coding layer and the decision control layer are connected to form an end-to-end neural network model, so that the decision control layer directly obtains autonomous driving strategy information based on the output of the multimodal coding layer, and the device is used to train the multimodal coding layer and the decision control layer. The device includes: a sample information acquisition unit, configured to acquire first sample input information and first real autonomous driving strategy information corresponding to the first sample input information, the first sample input information including first sample navigation information of a first sample vehicle and sample perception information for the surrounding environment of the first sample vehicle, the sample perception information including current sample perception information and historical sample perception information for the surrounding environment of the first sample vehicle; a multimodal coding layer training unit, configured to input the first sample input information into the multimodal coding layer to obtain a first sample implicit representation output by the multimodal coding layer; a decision control layer training unit, configured to input intermediate sample input information including the first sample implicit representation into the decision control layer to obtain first predicted autonomous driving strategy information output by the decision control layer; and a parameter adjustment unit, configured to adjust parameters of the multimodal coding layer and the decision control layer based at least on the first predicted autonomous driving strategy information and the first real autonomous driving strategy information.
[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, a training device for an autonomous driving model, and one of electronic devices.
[0016] 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
[0017] 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.
[0018] 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;
[0019] Figure 2 A schematic diagram of an autonomous driving model according to an embodiment of the present disclosure is shown;
[0020] Figure 3 A flowchart of an automatic driving method implemented by using an automatic driving model according to an embodiment of the present disclosure is shown;
[0021] Figure 4 A flowchart of an autonomous driving method implemented by using an autonomous driving model according to another embodiment of the present disclosure is shown;
[0022] Figure 5 A flowchart of an autonomous driving method implemented by using an autonomous driving model according to another embodiment of the present disclosure is shown;
[0023] Figure 6 A flowchart of an autonomous driving method implemented by using an autonomous driving model according to another embodiment of the present disclosure is shown;
[0024] Figure 7 A flowchart of an autonomous driving method implemented by using an autonomous driving model according to another embodiment of the present disclosure is shown;
[0025] Figure 8 A flowchart of a method for training an autonomous driving model according to an embodiment of the present disclosure is shown;
[0026] Fig. 9 A flowchart of a method for training an autonomous driving model according to another embodiment of the present disclosure is shown;
[0027] Fig.10 A flowchart showing a partial process of a method for training an autonomous driving model according to an embodiment of the present disclosure;
[0028] Fig.11 A flowchart showing a partial process of a method for training an autonomous driving model according to an embodiment of the present disclosure;
[0029] Fig.12A flowchart showing a partial process of a method for training an autonomous driving model according to an embodiment of the present disclosure;
[0030] Fig.13 A flowchart showing a partial process of a method for training an autonomous driving model according to an embodiment of the present disclosure;
[0031] Fig.14 A flowchart of a method for training an autonomous driving model according to another embodiment of the present disclosure is shown;
[0032] Fig.15 A structural block diagram of an automatic driving device based on an automatic driving model according to an embodiment of the present disclosure is shown;
[0033] Fig.16 A structural block diagram of a training device for an autonomous driving model according to an embodiment of the present disclosure is shown; and
[0034] Fig.17 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
[0035] 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.
[0036] 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.
[0037] 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.
[0038] In the technical solution disclosed herein, 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.
[0039] Among the related technologies, the optimization and rule-based algorithms in autonomous driving technology usually rely on high-precision maps and algorithm optimization for different scenarios. High-precision maps, also known as high-precision maps, mainly include two types of information: one is road information, including the location, category, width, slope and curvature of lanes such as highways; the other is information about ancillary facilities and structures related to lanes, including traffic signs, traffic lights, overpasses, traffic monitoring points (electronic eyes, speed radars), roadside facilities, obstacles and other road details and infrastructure information, including lane restriction scenarios (such as lane restrictions during a certain period of time) and lane restriction information (such as vehicle type, weather conditions, travel time, etc.). Through these data, the navigation system of the autonomous driving vehicle can complete accurate positioning, determine which roads can be driven, and provide guidance for the vehicle.
[0040] HD map data contains both static elements (such as road traffic infrastructure, lane network and road network, etc.) and dynamic elements (such as road congestion, traffic accidents, etc.). In the static data layer, HD maps can include lane topology (such as lane baseline, lane connection point, lane traffic type, lane function type, etc.), road components (pavement markings, road facilities), lane number, type, slope, curvature, traffic light location and other information; in the dynamic data layer, HD maps can include the real-time status of traffic lights at intersections, road congestion, weather conditions in the traffic area, temporary traffic signs and traffic control data caused by traffic congestion, vehicles, pedestrians, and other information.
[0041] High-precision maps have accurate vehicle location information and rich road element data information, which can help cars predict complex road information, such as slope, curvature, heading, etc., so as to better avoid potential risks. Accordingly, the application of algorithms that rely on high-precision maps is limited to very local areas, which may cause autonomous driving failures due to map errors, and it is difficult to solve a large number of long-tail situations. In addition, the algorithms in related technologies rely on a large amount of manual labeling. On the one hand, these labeling methods consume a lot of manpower, and on the other hand, these labeling methods are for the purpose of perception. For example, there is a lot of background information during driving, as well as distant obstacles that are not related to driving (such as non-motor vehicles on the opposite lane). In automatic labeling for the purpose of perception, it is difficult for labelers to determine which obstacles should be identified and which should not be paid attention to, and it is difficult to directly serve the strategy optimization and driving decision-making of autonomous driving.
[0042] In related technologies, unmanned driving technology mainly relies on the synergy of perception modules and planning control modules. The working process of autonomous driving includes two stages: first, converting the unstructured information obtained by sensors such as cameras or radars into structured information (structured information includes obstacle information, other vehicle information, pedestrian and non-motor vehicle information, lane line information, traffic light information, other static road surface information, etc.). This information can be combined and matched with high-precision maps to accurately obtain the location information on high-precision maps. Second, prediction and decision-making are made based on structured information and related observation history. Among them, prediction includes predicting the changes in the surrounding structured environment in the future; decision-making includes generating some structured information that can be used for subsequent trajectory planning (such as changing lanes, plugging in, waiting). Third, based on structured decision information and changes in the surrounding structured environment, the trajectory of the target vehicle for a period of time in the future is planned, such as planning trajectory or control information (such as planning speed and position).
[0043] After research, it was found that autonomous driving technology based on perception-prediction-planning may face some technical problems. The first is the problem of error accumulation, because perception cannot be directly responsible for decision-making, which makes perception not necessarily capture information that plays a key role in decision-making. In addition, because the errors of perception are difficult to make up in the subsequent process (for example, obstacles in the area may not be identified), the subsequent process may find it difficult to make correct decisions when key obstacles are lost. Secondly, the coupling problem between prediction and planning cannot be solved. The behavior of surrounding obstacles, especially key obstacles that interact with the target vehicle, may be affected by the target vehicle. In other words, during the operation of the autonomous driving model, there is a coupling between the two modules of prediction and planning, which makes the streaming decision affect the final autonomous driving effect. In addition, there is also the problem of representation defects of structured information. Structured information is completely limited to artificially predefined standards. Once a new paradigm that is not clearly defined (such as the appearance of unknown obstacles, unknown states of vehicles and pedestrians, etc.) is encountered, the algorithm is likely to fail. Finally, there is the issue of reliance on high-cost maps (such as high-precision maps). Related technologies mainly rely on information such as high-precision map point clouds to locate the vehicle. However, in practice, high-precision maps are only available in limited areas, which limits the actual application areas of autonomous driving. In addition, the update cost of high-precision maps is huge. Once the map and the actual road do not match, it is easy to cause decision-making failures.
[0044] Based on this, the present disclosure provides an autonomous driving model, an autonomous driving method implemented using the autonomous driving model, a training method for the autonomous driving model, an autonomous driving device based on the autonomous driving model, an autonomous driving model training device, an electronic device, a computer-readable storage medium, a computer program product and an autonomous driving vehicle, which adopts the autonomous driving technology of integrated perception-decision making, so that perception is directly responsible for decision making, which is conducive to the perception and capture of information that plays a key role in decision making, reduces error accumulation, and solves the coupling problem between prediction and decision making in related technologies. In addition, the fact that perception is directly responsible for decision making can also overcome the problem that the algorithm is prone to failure due to structured information being limited by artificially predefined standards, and realize the autonomous driving technology that emphasizes perception and neglects maps, thereby overcoming the problem of decision failure caused by untimely updates of high-precision maps and regional restrictions. Since it is free from the dependence on high-precision maps, it can save the cost of updating high-precision maps.
[0045] The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0046] 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 .
[0047] 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.
[0048] The server 120 may run one or more services or software applications that enable 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.
[0049] 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.
[0050] 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.
[0051] 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.
[0052] 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.
[0053] 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 data repository 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.
[0054] 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.
[0055] 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.
[0056] 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 of the IEEE802.11 standard. Using the communication device 112, the motor vehicle 110 may also access the server 120 via the network 130.
[0057] 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.
[0058] 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.
[0059] According to one aspect of the present disclosure, an autonomous driving model is provided. Figure 2 A schematic diagram of an autonomous driving model 200 according to an embodiment of the present disclosure is shown.
[0060] like Figure 2 As shown, the autonomous driving model 200 includes a multimodal coding layer 210 and a decision control layer 220, and the multimodal coding layer 210 and the decision control layer 220 are connected to form an end-to-end neural network model, so that the decision control layer 220 directly obtains the autonomous driving strategy information based on the output of the multimodal coding layer 210. The first input information of the multimodal coding layer 210 includes the navigation information In1 of the target vehicle and the perception information of the surrounding environment of the target vehicle obtained by the sensor (for example, it may include but is not limited to In2, In3 and In4, and the following content is described as an example of the perception information including In2, In3 and In4), and the perception information includes the current perception information and historical perception information of the surrounding environment of the target vehicle during the driving process of the target vehicle. The multimodal coding layer 210 is configured to obtain the implicit representation corresponding to the first input information In1 to In4. t The second input information of the decision control layer 220 includes the implicit representation e t The decision control layer 220 is configured to obtain target autonomous driving strategy information based on the second input information.
[0061] As described above, in the related art, prediction can be first performed based on the perception information to obtain future prediction information, and the decision control layer can then plan based on the future prediction information. That is to say, the decision control layer 220 does not plan directly based on the perception information, but directly plans based on the future prediction information. In the embodiment of the present application, the decision control layer 220 can directly obtain the autonomous driving strategy information based on the output of the multimodal coding layer 210. The multimodal coding layer 210 is used to encode and calculate the perception information, which is equivalent to the decision control layer 220 being able to plan directly based on the perception information and obtain the autonomous driving strategy information. In other words, in the embodiment of the present application, perception is directly responsible for decision-making.
[0062] In the example, the autonomous driving model 200 can adopt a Transformer network structure with an encoder and a decoder. It is understandable that the autonomous driving model 200 can also be other neural network models based on the Transformer network structure, which is not limited here. The Transformer architecture can calculate the implicit representation of the model input and output through the self-attention mechanism. In other words, the Transformer architecture can be an Encoder-Decoder model built based on this self-attention mechanism.
[0063] In the example, the navigation information In1 of the target vehicle in the first input information may include vectorized navigation information and vectorized map information, and the vectorized navigation information and vectorized map information may be obtained by performing vectorization operations on one or more of lane-level or road-level navigation information and coarse positioning information.
[0064] According to some embodiments of the present application, the perception information In2, In3 and In4 of the target vehicle's surroundings may include perception information In2 of one or more cameras, perception information In3 of one or more laser radars, and perception information In4 of one or more millimeter-wave radars. It is understandable that the perception information of the target vehicle's surroundings is not limited to one of the above forms. For example, it may only include perception information In2 of multiple cameras, but not perception information In3 of one or more laser radars and perception information In4 of one or more millimeter-wave radars. The perception information In2 acquired by the camera may be perception information in the form of a picture or video, and the perception information In3 acquired by the laser radar may be perception information in the form of a radar point cloud (e.g., a three-dimensional point cloud). In the example, the above-mentioned different forms of information (pictures, videos, point clouds), etc. can be directly input into the multimodal coding layer 210 without preprocessing. In addition, the perception information includes the current perception information x of the target vehicle's surroundings during the vehicle's driving process. t The historical perception information x corresponding to multiple historical moments t-Δt Here, there may be a time span of a preset duration between t and Δt.
[0065] In the example, the multimodal coding layer 210 can perform coding calculation on the first input information to generate a corresponding implicit representation e t . Implicitly represents e t For example, it can be an implicit representation in the bird's eye view (BEV) space. For example, the camera's perception information In2 can be first input into the shared backbone network (Backbone) to extract the data features of each camera. Then, the perception information In2 of multiple cameras is fused and converted to the BEV space. Then, cross-modal fusion can be performed in the BEV space to fuse the pixel-level visual data and the lidar point cloud. Finally, temporal fusion is performed to form an implicit representation of the BEV space. t .
[0066] In one example, the Transformer Encoder structure that integrates spatiotemporal information can be used to implicitly represent the input information of multiple cameras in the BEV space. tFor example, spatiotemporal information can be exploited through BEV queries with pre-set parameters for grid partitioning. The spatial cross-attention mechanism (i.e., the BEV query mechanism extracts the required spatial features from the multi-camera features through the attention mechanism) is used to allow the BEV query mechanism to extract features from the multi-camera perspectives of interest, thereby aggregating spatial information; in addition, the temporal self-attention mechanism (i.e., the BEV features generated at each moment obtain the required temporal information from the BEV features of the previous moment) is used to fuse historical information, thereby aggregating temporal information.
[0067] Accordingly, the decision control layer 220 is based on the implicit representation e of the input t , obtain the target autonomous driving strategy information. The target autonomous driving strategy information may include, for example, the planned trajectory Out1 or the control signal Out2 for the vehicle (such as the signal for controlling the throttle, brake, steering amplitude, etc.). In the example, the control strategy module in the autonomous driving vehicle may be used to interpret the trajectory planning Out1 to obtain the control signal Out2 for the vehicle; or a neural network may be used to represent the target autonomous driving strategy based on the implicit representation e t The control signal Out2 for the vehicle is directly output.
[0068] In an example, the decision control layer 220 may include a decoder in a Transformer.
[0069] exist Figure 2 In FIG. 1 , the solid arrows between the multimodal coding layer 210 and the decision control layer 220 and between the decision control layer 220 and the trajectory planning Out1 represent differentiable operations. In other words, when the model is trained, the gradient can be back-propagated through the solid arrows.
[0070] It can be seen that in the autonomous driving model 200 according to the embodiment of the present disclosure, the multimodal coding layer 210 and the decision control layer 220 are connected to form an end-to-end neural network model, so the perception information can be directly responsible for the decision, which can solve the coupling problem between prediction and planning. In addition, the introduction of implicit representation can overcome the problem that the algorithm is prone to failure due to the representation defects of structured information. In addition, since perception is directly responsible for decision-making, perception can capture information that is more critical to decision-making and reduce the accumulation of errors caused by perception errors. Furthermore, since perception is directly responsible for decision-making, an autonomous driving technology that emphasizes perception and neglects maps is realized, which can overcome the problem of decision-making failure caused by untimely updates of high-precision maps and restricted areas. Since it gets rid of the dependence on high-precision maps, the cost of updating high-precision maps can be saved.
[0071] According to some embodiments, continue to refer to Figure 2The autonomous driving model 200 may further include a future prediction layer 230, which is configured to represent the implicit representation of the input t The future prediction information Out3 for the surrounding environment of the target vehicle is predicted, and the second input information of the decision control layer 220 may also include at least a part of the future prediction information Out3. For example, the future prediction information Out3 may include the implicit representation e t At least a portion of the future prediction information Out3 can be input as auxiliary information A to the decision control layer 220, and the decision control layer 220 can be based on the implicit representation e t and auxiliary information A to predict the target autonomous driving strategy information.
[0072] In an example, the future prediction layer 230 may be a decoder in a Transformer.
[0073] In the example, the future prediction information Out3 can output structured prediction information. Accordingly, the dotted arrows between the future prediction information Out3 and the auxiliary information A, and between the auxiliary information A and the decision control layer 220 represent non-differentiable operations. In other words, when the model is trained, the gradient cannot be back-propagated through the dotted arrows. However, since the operations from the multimodal coding layer 210 to the future prediction layer 230 and from the future prediction layer 230 to the future prediction information Out3 are differentiable, the gradient can still be back-propagated in the direction indicated by the solid arrows. In other words, the future prediction layer 230 can also be trained separately.
[0074] Therefore, by introducing the future prediction layer 230 into the autonomous driving model 200, at least a portion of the information predicted by the future prediction layer 230 is input into the decision control layer 220 as auxiliary information to assist decision making, which can improve the accuracy and safety of decision making. In addition, when training the model, the multimodal coding layer 210 can be further trained through the future prediction layer 230 on the basis of the decision control layer 220, so that the encoding of the multimodal coding layer 210 is more accurate, so that the decision control layer 220 can predict more optimized target autonomous driving strategy information.
[0075] According to some embodiments, the future prediction information Out3 may include at least one of the following: future prediction perception information about the surrounding environment of the target vehicle (e.g., sensor information at a certain moment in the future); Sensor information at a certain moment in the future includes camera input information or radar input information at a certain moment in the future), and future prediction implicit representation corresponding to future predicted perception information (e.g., the implicit representation of sensor information at a certain moment in the future in the BEV space), and future predicted detection information about the target vehicle’s surroundings (e.g., the position of obstacles at a certain moment in the future ). Moreover, the future predicted detection information may include the types of multiple obstacles in the surrounding environment of the target vehicle and their future predicted state information (including the size of the obstacles and various long-tail information).
[0076] According to some embodiments, continue to refer to Figure 2 The autonomous driving model 200 may further include a perception detection layer 240, which may be configured to represent an implicit representation of an input t Obtain target detection information Out4 for the target vehicle's surroundings, the target detection information Out4 including current detection information and historical detection information, the current detection information including the types of multiple road elements and obstacles in the target vehicle's surroundings and their current state information, the historical detection information including the types of multiple obstacles in the target vehicle's surroundings and their historical state information. The second input information of the decision control layer 220 may also include at least a portion of the target detection information Out4.
[0077] Road surface elements may be stationary objects, while obstacles may be moving objects, so it is not necessary to detect the historical state information of road surface elements.
[0078] In the example, the target detection information Out4 may be a bounding box in the three-dimensional space for the obstacle, and may indicate the classification, status, etc. of the corresponding obstacle in the bounding box. For example, the size, position, and vehicle type, current status of the vehicle (e.g., whether the turn signal, high beam, and other long-tail information are turned on), position and length of the lane line, etc. of the obstacle in the bounding box may be indicated. It will be understood that the classification for the corresponding obstacle in the bounding box may be one or more of a plurality of predefined categories.
[0079] In addition, the target detection information Out4 (current detection information and historical detection information) can be structured information. Accordingly, the dotted arrows between the target detection information Out4 to the auxiliary information A and the auxiliary information A to the decision control layer 220 represent non-differentiable operations. In other words, when the model is trained, the gradient cannot be reversed through the above-mentioned dotted arrows. However, since the operations from the multimodal coding layer 210 to the perception detection layer 240 and the perception detection layer 240 to the target detection information Out4 are differentiable, the gradient can still be reversed through the direction indicated by the solid arrow. In other words, the perception detection layer 240 can also be trained separately.
[0080] In an example, the perceptual detection layer 240 may include a decoder in a Transformer.
[0081] Therefore, by introducing the perception detection layer 240 into the autonomous driving model 200, at least a portion of the information predicted by the perception detection layer 240 is input into the decision control layer 220 as auxiliary information to assist decision making, so that the current and historical detection information of the vehicle's surrounding environment can be used to assist decision making, thereby improving the accuracy and safety of decision making. In addition, when training the model, the multimodal coding layer 210 can be further trained through the perception detection layer 240 on the basis of the decision control layer 220, so that the encoding of the multimodal coding layer 210 is more accurate, so that the decision control layer 220 can predict more optimized target autonomous driving strategy information.
[0082] According to some embodiments, continue to refer to Figure 2 The autonomous driving model 200 may further include an evaluation feedback layer 250, which may be configured to represent the implicit representation of the input t Obtain evaluation feedback information Out5 for the target autonomous driving strategy information.
[0083] In an example, the rating feedback layer 250 may be a decoder in a Transformer.
[0084] Therefore, by introducing the evaluation feedback layer 250 into the autonomous driving model 200, it is possible to indicate whether the current driving behavior comes from a human driver or a model, whether the current driving is comfortable, whether the current driving violates traffic rules, and whether the current driving is dangerous driving, thereby improving the user experience.
[0085] It will be understood that the solid arrows between the multimodal coding layer 210 and the evaluation feedback layer 250 and the evaluation feedback information Out5 represent differentiable operations. In other words, when the model is trained, the gradient can be reversed through the solid arrows. Therefore, when the model is trained, the multimodal coding layer 210 can be further trained through the evaluation feedback layer 250 on the basis of the decision control layer 220, so that the encoding of the multimodal coding layer 210 is more accurate, so that the decision control layer 220 can predict more optimized target autonomous driving strategy information.
[0086] According to some embodiments, Figure 2 As shown by the dotted arrow pointing from the auxiliary information A including the future prediction information Out3 and the target detection information Out4 to the evaluation feedback layer 250, when the autonomous driving model 200 includes the future prediction layer 230 and the perception detection layer 240, the evaluation feedback layer 250 can be configured to be used based on at least a part of one or both of the input future prediction information Out3 and the target detection information Out4, and the implicit representation et The evaluation feedback information Out5 for the target automatic driving strategy information is obtained. Thus, the current and historical detection information and future prediction information for the vehicle's surrounding environment can be used to assist the evaluation and improve the accuracy of the evaluation.
[0087] According to some embodiments, the evaluation feedback layer 250 may be configured to evaluate the implicit representation of the input. t and target autonomous driving strategy information (such as planned trajectory Out1) to obtain evaluation feedback information for the target autonomous driving strategy information. Thus, evaluation feedback is assisted based on the autonomous driving strategy information, which can further improve the accuracy of the evaluation.
[0088] According to other embodiments of the present application, the evaluation feedback layer 250 may be configured to evaluate at least a portion of one or both of the input future prediction information Out3 and the target detection information Out4, the target autonomous driving strategy information, and the implicit representation e t The evaluation feedback information Out5 for the target autonomous driving strategy information is obtained, so as to further improve the accuracy of the evaluation.
[0089] According to some embodiments, further reference is made to Figure 2 The autonomous driving model 200 may further include an interpretation layer 260, which may be configured to represent an implicit representation of an input t The explanation information Out6 for the target autonomous driving strategy information is obtained, and the explanation information Out6 can characterize the decision classification of the target autonomous driving strategy information. Therefore, during the autonomous driving process, the passengers can be provided with explanation information related to the target autonomous driving strategy information, thereby improving the interpretability of the autonomous driving strategy and thus improving the user experience.
[0090] In the example, the interpretation layer 260 can classify the target autonomous driving strategy information, and each classification can be mapped to a preset natural language sentence. For example, the interpretation information Out6 may include natural language sentences such as: lane change is required, there is a traffic light ahead so you need to slow down, and surrounding vehicles may need to cut in. In addition, the interpretation layer 260 may include a decoder in the Transformer to decode the natural language for the interpretation of the driving strategy.
[0091] According to some embodiments, when the autonomous driving model 200 includes the future prediction layer 230 and the perception detection layer 240, the interpretation layer 260 may be configured to interpret the future prediction information and the target detection information based on at least a portion of one or both of the input future prediction information and the target detection information, and the implicit representation e tObtain explanation information Out6 for the target autonomous driving strategy information. Thus, the current and historical target detection information and future prediction information for the vehicle's surrounding environment can be used to assist in the explanation, thereby further improving the accuracy and rationality of the explanation.
[0092] According to some embodiments, continue to refer to Figure 2 , the interpretation layer 260 can be configured to represent the implicit representation of the input t The target autonomous driving strategy information (such as the planned trajectory Out1) is used to obtain the interpretation information for the target autonomous driving strategy information. Therefore, the accuracy of the interpretation can be further improved by using the autonomous driving strategy information to assist the interpretation.
[0093] According to other embodiments of the present application, the interpretation layer 260 may be configured to interpret at least a portion of one or both of the input future prediction information Out3 and the target detection information Out4, the target autonomous driving strategy information, and the implicit representation e t The explanation information Out6 for the target autonomous driving strategy information is obtained, so as to further improve the accuracy of the explanation.
[0094] According to some embodiments, the sensor may include a camera, and the perception information may include a two-dimensional image captured by the camera. Furthermore, the multimodal coding layer 210 may be further configured to: based on the first input information including the two-dimensional image and the intrinsic and extrinsic parameters of the camera, obtain an implicit representation corresponding to the first input information. t .
[0095] In the example, the camera's intrinsic parameters (i.e., parameters related to the camera's own characteristics, such as the camera's focal length, pixel size, etc.) and extrinsic parameters (i.e., parameters in the world coordinate system, such as the camera's position, rotation direction, etc.) can be input into the modality encoding layer 210 as hyperparameters of the autonomous driving model 200. The camera's intrinsic parameters and extrinsic parameters can be used to convert an input two-dimensional image into, for example, a BEV space.
[0096] In addition, the perception information may be a sequence of two-dimensional images captured by a plurality of cameras respectively.
[0097] According to some embodiments, the first input information may also include a lane-level map, and the navigation information may include road-level navigation information and / or lane-level navigation information. Unlike high-precision maps, lane-level maps have better accessibility and smaller space occupancy. Thus, by using lane-level maps and lane-level navigation information, the reliance on high-precision maps can be overcome.
[0098] Navigation maps may include road-level maps (SD Maps), lane-level maps (LD Maps), and high-precision maps (HDMaps). Road-level maps are mainly composed of granular road topology information, and have low navigation positioning accuracy (for example, an accuracy of about 15 meters). They are mainly used to help drivers navigate and cannot meet the needs of autonomous driving. Lane-level maps and high-precision maps can be used for autonomous driving. Lane-level maps add lane-level topology information, and have higher accuracy than road-level maps. The accuracy is generally at the sub-meter level, and can include road information (such as lane lines) and lane-related ancillary facilities information (such as traffic lights, road signs, parking spaces, etc.), which can be used to assist autonomous driving. Compared with lane-level maps, high-precision maps have higher map data accuracy (accuracy reaches the centimeter level), richer map data types, and higher map update frequency, and can be used for autonomous driving. Among the three navigation maps, high-precision maps have the richest information, the highest accuracy, and higher usage and update costs. Since perception is directly responsible for decision-making in the solution of the embodiment of the present application, it is possible to achieve autonomous driving technology that emphasizes perception and light maps, so it can get rid of the dependence on high-precision maps and ensure efficient decision-making. Furthermore, using lane-level maps as auxiliary information for decision making can improve decision-making results.
[0099] According to some embodiments, the perception information may include at least one of the following: images acquired by a camera, information acquired by a laser radar, and information acquired by a millimeter wave radar. It will be understood that the images acquired by the camera may be in the form of pictures or videos, and the information acquired by the laser radar may be a radar point cloud (e.g., a three-dimensional point cloud).
[0100] According to some embodiments, the multimodal encoding layer 210 is configured to map the first input information to a preset space to obtain an intermediate representation, and process the intermediate representation using a temporal attention mechanism and / or a spatial attention mechanism to obtain an implicit representation corresponding to the first input information. t .
[0101] In the example, the preset space can be a BEV space. Because the processes of perception, prediction, decision-making and planning are all carried out in three-dimensional space, and the image information captured by the camera is only the projection of the real physical world under the perspective view, the information obtained from the image needs to be processed in a complex way before it can be used, so there will be a certain amount of information loss. Mapping visual information to BEV space can more conveniently connect perception and planning control.
[0102] In the example, the first input information (e.g., image information in the first input information) can be first input into a backbone network (e.g., ResNet, EfficientNet, etc.), and multi-layer image features can be extracted as an intermediate representation. In addition, the data of the LiDAR and millimeter-wave radar can be directly converted to the BEV space. Subsequently, the spatial self-attention mechanism can be used to extract the required spatial features from the image features, thereby aggregating spatial information; in addition, the temporal self-attention mechanism can be used to fuse historical information, thereby aggregating temporal information.
[0103] Therefore, the implicit representation e is made by fusion of time and space. t It can represent rich temporal and spatial information, thereby further improving the accuracy and safety of decision-making.
[0104] According to some embodiments, the target autonomous driving strategy information may include a target planning trajectory Out1.
[0105] According to another aspect of the present disclosure, an autonomous driving method implemented using an autonomous driving model is provided. Figure 3 A flowchart of an autonomous driving method 300 implemented using an autonomous driving model according to an embodiment of the present disclosure is shown. The autonomous driving model used includes a multimodal coding layer and a decision control layer, and the multimodal coding layer and the decision control layer are connected to form an end-to-end neural network model, so that the decision control layer directly obtains the autonomous driving strategy information based on the output of the multimodal coding layer. For example, the method 300 can be implemented using the autonomous driving model 200 described above.
[0106] like Figure 3 As shown, the automatic driving method 300 includes:
[0107] Step S310: obtaining first input information of the multimodal coding layer, where the first input information includes navigation information of the target vehicle and perception information of the surrounding environment of the target vehicle obtained by using a sensor, where the perception information includes current perception information and historical perception information of the surrounding environment of the target vehicle during the driving process of the vehicle;
[0108] Step S320: input the first input information into the multimodal coding layer to obtain an implicit representation corresponding to the first input information output by the multimodal coding layer; and
[0109] Step S330: input the second input information including the implicit representation into the decision control layer to obtain the target autonomous driving strategy information output by the decision control layer.
[0110] According to some embodiments, after acquiring target autonomous driving strategy information (such as a target planning trajectory or a target control signal, where the target control signal may include, for example, a signal for controlling the throttle, brake, steering amplitude, etc.), the vehicle is controlled to perform autonomous driving according to the target autonomous driving strategy information.
[0111] In step S310, the navigation information of the target vehicle in the first input information may include, for example, vectorized navigation information and vectorized map information, which may be obtained by vectorizing one or more of lane-level or road-level navigation information and coarse positioning information. In addition, the perception information of the surrounding environment of the target vehicle may include perception information of one or more cameras, perception information of one or more laser radars, and perception information of one or more millimeter-wave radars.
[0112] Since the multimodal encoding layer and the decision control layer are connected to form an end-to-end neural network model, the perception information can be directly responsible for the decision, which can solve the coupling problem between prediction and planning. In addition, the introduction of implicit representation can overcome the problem that the algorithm is prone to failure due to the representation defects of structured information. In addition, since perception is directly responsible for decision-making, perception can capture information that is more critical to decision-making and reduce the error accumulation caused by perception errors.
[0113] Figure 4 A flowchart of an autonomous driving method 400 implemented using an autonomous driving model according to another embodiment of the present disclosure is shown.
[0114] According to some embodiments, the autonomous driving model may also include a future prediction layer (e.g. Figure 2 , and refer to the future prediction layer 230 in Figure 4 , the autonomous driving method 400 includes:
[0115] Step S410: Obtain first input information of the multimodal coding layer. The first input information may be the same as Figure 3 The first input information in the described method 300 is similar and will not be described again here;
[0116] Step S420: input the first input information into the multimodal coding layer to obtain an implicit representation corresponding to the first input information output by the multimodal coding layer;
[0117] Step S430, inputting the implicit representation into the future prediction layer to obtain future prediction information for the surrounding environment of the target vehicle output by the future prediction layer; and
[0118] Step S440: inputting at least a portion of the future prediction information and the implicitly represented second input information into the decision control layer to obtain the target autonomous driving strategy information output by the decision control layer.
[0119] Therefore, at least a part of the information predicted by the future prediction layer is input into the decision control layer as auxiliary information to assist decision making, which can improve the accuracy and safety of decision making.
[0120] Figure 5 A flowchart of an autonomous driving method 500 implemented using an autonomous driving model according to another embodiment of the present disclosure is shown.
[0121] According to some embodiments, the autonomous driving model may also include a perception detection layer (e.g. Figure 2 The perception detection layer 240 in FIG. Figure 5 , the autonomous driving method 500 includes:
[0122] Step S510: Obtain first input information of the multimodal coding layer. The first input information may be the same as that described above. Figure 3 The first input information in the described method 300 is similar and will not be described again here;
[0123] Step S520: input the first input information into the multimodal coding layer to obtain an implicit representation corresponding to the first input information output by the multimodal coding layer;
[0124] Step S530, inputting the implicit representation into the perception detection layer to obtain target detection information of the target vehicle surrounding environment output by the perception detection layer, the target detection information including current detection information and historical detection information, the current detection information including types of multiple road elements and obstacles in the target vehicle surrounding environment and their current state information, the historical detection information including types of multiple obstacles in the target vehicle surrounding environment and their historical state information; and
[0125] Step S540: inputting at least a portion of the target detection information and the implicitly represented second input information into the decision control layer to obtain the target autonomous driving strategy information output by the decision control layer.
[0126] Therefore, at least a part of the information predicted by the perception detection layer is input into the decision control layer as auxiliary information to assist decision-making, so that the current and historical detection information of the vehicle's surrounding environment can be used to assist decision-making, thereby improving the accuracy and safety of decision-making.
[0127] Figure 6 A flowchart of an autonomous driving method 600 implemented using an autonomous driving model according to another embodiment of the present disclosure is shown.
[0128] According to some embodiments, the autonomous driving model may also include an evaluation feedback layer (e.g. Figure 2 Evaluation feedback layer 250 in , and refer to Figure 6 , the autonomous driving method 600 includes:
[0129] Step S610: Obtain first input information of the multimodal coding layer. The first input information may be the same as Figure 3 The first input information in the described method 300 is similar and will not be described again here;
[0130] Step S620: input the first input information into the multimodal coding layer to obtain an implicit representation corresponding to the first input information output by the multimodal coding layer; and
[0131] Step S630: input the implicit representation into the evaluation feedback layer to obtain evaluation feedback information output by the evaluation feedback layer for the target autonomous driving strategy information.
[0132] Therefore, through the evaluation feedback layer, it can indicate whether the current driving behavior comes from a human driver or a model, whether the current driving is comfortable, whether the current driving violates traffic regulations, and whether the current driving is dangerous driving, thereby improving the user experience.
[0133] According to some embodiments, when the autonomous driving model includes a future prediction layer and a perception detection layer, the above step S630 may include: inputting at least a portion of one or both of the future prediction information and the target detection information, and the implicit representation into the evaluation feedback layer to obtain the evaluation feedback information output by the evaluation feedback layer for the target autonomous driving strategy information. Thus, the current and historical detection information and future prediction information for the vehicle's surrounding environment can be used to assist the evaluation and improve the accuracy of the evaluation.
[0134] According to some embodiments, the above step S630 may include: inputting the implicit representation and the target autonomous driving strategy information into the evaluation feedback layer to obtain evaluation feedback information output by the evaluation feedback layer for the target autonomous driving strategy information. Thus, assisting in evaluation feedback based on the autonomous driving strategy information can further improve the accuracy of the evaluation.
[0135] Figure 7 A flowchart of an autonomous driving method 700 implemented using an autonomous driving model according to another embodiment of the present disclosure is shown.
[0136] According to some embodiments, the autonomous driving model may also include an interpretation layer (e.g. Figure 2 260), and refer to Figure 7 , the autonomous driving method 700 includes:
[0137] Step S710: Obtain first input information of the multimodal coding layer. The first input information may be the same as that described above. Figure 3 The first input information in the described method 300 is similar and will not be described again here;
[0138] Step S720: input the first input information into the multimodal coding layer to obtain an implicit representation output by the multimodal coding layer corresponding to the first input information; and
[0139] Step S730: input the implicit representation into the interpretation layer to obtain interpretation information for the target autonomous driving strategy information output by the interpretation layer, where the interpretation information can characterize the decision classification of the target autonomous driving strategy information.
[0140] Therefore, during the autonomous driving process, explanatory information related to the target autonomous driving strategy information can be provided to passengers, thereby improving the interpretability of the autonomous driving strategy and thus improving the user experience.
[0141] In the example, the interpretation layer can classify the target autonomous driving strategy information, and each classification can be mapped to a preset natural language sentence. For example, the interpretation information may include natural language sentences such as: you need to change lanes now, there is a traffic light ahead so you need to slow down, and surrounding vehicles may need to cut in. In addition, the interpretation layer can be a decoder in the Transformer to decode the natural language for the interpretation of the driving strategy.
[0142] According to some embodiments, when the autonomous driving model includes a future prediction layer and a perception detection layer, the above step S730 may include: inputting at least a portion of one or both of the future prediction information and the target detection information, and the implicit representation into the interpretation layer to obtain the interpretation information for the target autonomous driving strategy information output by the interpretation layer. Thus, the target detection information and future prediction information for the current and historical period of the vehicle's surrounding environment can be used to assist the interpretation, thereby further improving the accuracy and rationality of the interpretation.
[0143] According to some embodiments, the above step S730 may include: inputting the implicit representation and the target autonomous driving strategy information into the interpretation layer to obtain interpretation information for the target autonomous driving strategy information output by the interpretation layer. Thus, the accuracy of the interpretation can be further improved by using the autonomous driving strategy information to assist the interpretation.
[0144] According to some embodiments, the autonomous driving method may further include:
[0145] The real driving data of the target vehicle in the process of autonomous driving is obtained by using the above-mentioned autonomous driving model to control the target vehicle to perform autonomous driving. The real driving data includes navigation information of the target vehicle, real perception information of the environment around the target vehicle, and real autonomous driving strategy information. The real driving data is used for iterative training of the autonomous driving model.
[0146] The navigation information of the target vehicle in the real driving data may include vectorized navigation information and vectorized map information, and the vectorized navigation information and vectorized map information may be obtained by vectorizing one or more of the lane-level or road-level navigation information and the coarse positioning information. The real perception information may include the perception information of one or more cameras on the vehicle in the real road scene, the perception information of one or more laser radars, and the perception information of one or more millimeter-wave radars. It is understandable that the perception information of the surrounding environment of the target vehicle is not limited to the above-mentioned one form, for example, it may only include the perception information of multiple cameras, but not the perception information of one or more laser radars and the perception information of one or more millimeter-wave radars. The perception information obtained by the camera may be the perception information in the form of pictures or videos, and the perception information obtained by the laser radar may be the perception information in the form of radar point clouds (e.g., three-dimensional point clouds). The real autonomous driving strategy information may include the planned trajectory of the autonomous driving vehicle collected in the real road scene or the control signal for the vehicle (e.g., the signal for controlling the throttle, brake, steering amplitude, etc.).
[0147] According to some embodiments, the autonomous driving method may further include:
[0148] The autonomous driving model obtained by iterative training is used to control the target vehicle to perform autonomous driving again.
[0149] Therefore, during the actual driving process, autonomous driving tasks and model training tasks can be carried out simultaneously. The autonomous driving model can be trained based on real driving data to ensure decision-making efficiency, so that the autonomous driving behavior can be well aligned with the preferences of human passengers, improve user experience, and avoid the long learning process of cold start.
[0150] In the example, the planned trajectory predicted by the autonomous driving model or the control signal for the vehicle (such as the signal for controlling the throttle, brake, steering amplitude, etc.) can be used to control the target vehicle to perform autonomous driving again. For example, the trajectory planning can be interpreted by the control strategy module in the autonomous driving vehicle to obtain the control signal for the vehicle; or the control signal for the vehicle can be directly output by the neural network based on the implicit representation.
[0151] At preset time intervals, real driving data of the process of controlling the target vehicle using the autonomous driving model to perform autonomous driving can be obtained, and the autonomous driving model can be continuously iteratively trained based on the newly acquired real driving data.
[0152] According to another aspect of the present disclosure, a method for training an autonomous driving model is provided. Figure 8 A flow chart of a training method for an autonomous driving model according to an embodiment of the present disclosure is shown. The autonomous driving model includes a multimodal coding layer and a decision control layer, which are connected to form an end-to-end neural network model so that the decision control layer directly obtains autonomous driving strategy information based on the output of the multimodal coding layer. In the example, the autonomous driving model to be trained can adopt a Transformer network structure with an encoder and a decoder. It can be understood that the autonomous driving model to be trained can also be other neural network models based on the Transformer network structure, which is not limited here. For example, the autonomous driving model can be the autonomous driving model 200 described above.
[0153] The training method of the autonomous driving model includes a first training process 800 of training a multimodal encoding layer and a decision control layer, such as Figure 8 As shown, the first training process 800 includes:
[0154] Step S810, obtaining first sample input information and first real autonomous driving strategy information corresponding to the first sample input information, the first sample input information including first sample navigation information of a first sample vehicle and sample perception information for a surrounding environment of the first sample vehicle, the sample perception information including current sample perception information and historical sample perception information for a surrounding environment of the first sample vehicle;
[0155] Step S820: inputting the first sample input information into the multimodal coding layer to obtain an implicit representation of the first sample output by the multimodal coding layer;
[0156] Step S830: inputting the intermediate sample input information including the implicit representation of the first sample into the decision control layer to obtain the first predicted autonomous driving strategy information output by the decision control layer; and
[0157] Step S840: Adjust parameters of the multimodal coding layer and the decision control layer based at least on the first predicted autonomous driving strategy information and the first real autonomous driving strategy information.
[0158] In step S810, the first sample navigation information may include vectorized navigation information and vectorized map information, and the vectorized navigation information and vectorized map information may be obtained by vectorizing one or more of the lane-level or road-level navigation information and the coarse positioning information. The sample perception information may include sample perception information of one or more cameras on the first sample vehicle, sample perception information of one or more laser radars, and sample perception information of one or more millimeter-wave radars. It is understandable that the sample perception information may only include sample perception information of multiple cameras, but not sample perception information of one or more laser radars and sample perception information of one or more millimeter-wave radars. The sample perception information obtained by the camera may be perception information in the form of pictures or videos, and the sample perception information obtained by the laser radar may be perception information in the form of radar point clouds (e.g., three-dimensional point clouds). In the example, the above-mentioned different forms of sample information (pictures, videos, point clouds), etc. can be directly input into the multimodal coding layer without preprocessing.
[0159] In the example, the first sample input information may be collected during the driving of the real vehicle, for example, collected by a manually driven vehicle with an autonomous driving sensor in a real road scene, and the first real autonomous driving strategy information may be the driving trajectory data of the vehicle in the driving process of the real road scene (including the control signals for the vehicle recorded during the driving process). In addition, in the example, the first sample input information may include sample data collected during the driving of the real vehicle in the real road scene and sample data obtained during the driving of the simulated vehicle in the simulated road scene.
[0160] Since the multimodal encoding layer and decision control layer of the model to be trained are connected to form an end-to-end neural network model, the perceptual information in the sample information can be directly responsible for the decision, which can solve the coupling problem between the prediction and planning of the trained autonomous driving model. In addition, the introduction of implicit representation can overcome the problem that the algorithm is prone to failure due to the representation defects of structured information. In addition, since the perceptual information in the sample information can be directly responsible for the decision, perception can capture the information that is more critical to the decision, reducing the error accumulation caused by perceptual errors in the trained model.
[0161] Fig. 9 A flowchart of a method 900 for training an autonomous driving model according to another embodiment of the present disclosure is shown.
[0162] According to some embodiments, reference Fig. 9 , the method 900 comprises:
[0163] Step S910: Before the first training process, pre-train the multimodal encoding layer and the decision control layer offline, so that the autonomous driving model can obtain first predicted autonomous driving strategy information based on the input first sample input information; and
[0164] like Fig. 9 As shown in the steps in the dashed box, the first training process includes:
[0165] Step S920: Execute autonomous driving using the autonomous driving model obtained through offline pre-training, and obtain first sample input information and first real autonomous driving strategy information corresponding to the first sample input information during the autonomous driving process;
[0166] Step S930: inputting the first sample input information into the multimodal coding layer to obtain an implicit representation of the first sample output by the multimodal coding layer;
[0167] Step S940: inputting the intermediate sample input information including the implicit representation of the first sample into the decision control layer to obtain the first predicted autonomous driving strategy information output by the decision control layer; and
[0168] Step S950: Adjust the parameters of the multimodal coding layer and the decision control layer based at least on the first predicted autonomous driving strategy information and the first real autonomous driving strategy information.
[0169] In offline pre-training, the model is not deployed on a real car driving on a real road scene. By pre-training the autonomous driving model offline, the trained model can have preliminary autonomous driving capabilities. On this basis, further real car model training can be carried out. This can not only improve the safety and reliability of the model training process, but also improve the overall efficiency of model training.
[0170] In the example, the sample data used in the offline pre-training stage can be collected by the autonomous driving vehicle during autonomous driving (e.g., L4 level autonomous driving) or during manual driving. In addition, offline pre-training can also be performed in a simulation environment.
[0171] Fig.10 A flowchart of a part of the process of the training method of the autonomous driving model according to an embodiment of the present disclosure is shown. According to some embodiments, the autonomous driving model may also include a perception detection layer and a future prediction layer. Fig.10 As shown, the above step S910 may include:
[0172] Step S1010, obtaining second sample input information and first real detection information and first future real information of the second sample vehicle surrounding environment corresponding to the second sample input information, wherein the first real detection information includes types of multiple real sample obstacles in the second sample vehicle surrounding environment and real current state information and real historical state information thereof, and types of multiple predicted sample road surface elements and real current state information thereof;
[0173] Step S1020: input the second sample input information into the multimodal coding layer to obtain a second sample implicit representation corresponding to the second sample input information output by the multimodal coding layer;
[0174] Step S1030: input the implicit representation of the second sample into the perception detection layer to obtain first prediction detection information output by the perception detection layer, the first prediction detection information including types of multiple prediction sample obstacles in the surrounding environment of the second sample vehicle and their predicted current state information and predicted historical state information, and types of multiple prediction sample road surface elements and their predicted current state information;
[0175] Step S1040: input the second sample implicit representation into the future prediction layer to obtain first future prediction information output by the future prediction layer;
[0176] Step S1050: adjusting parameters of the multimodal coding layer based on the first real detection information and the first predicted detection information, and the first future real information and the first future predicted information;
[0177] Step S1060: adjusting parameters of the perception detection layer based on the first real detection information and the first predicted detection information; and
[0178] Step S1070: adjusting parameters of the future prediction layer based on the first future real information and the first future prediction information.
[0179] The second sample input information (x t ) can be collected by the autonomous driving vehicle during autonomous driving (such as L4 level autonomous driving) or during manual driving, or can be input samples obtained in a simulation environment. For example, the second sample input information may include sensor (such as camera, radar) perception information, map information, or navigation information.
[0180] First real detection information It can be information that is manually annotated. For example, for data (x1, x2..., x t , ...), the road elements and obstacles can be manually labeled to obtain For example, a bounding box in three-dimensional space can be marked with the real classification and current status of the corresponding obstacle in the bounding box. For example, the real size and position of the obstacle in the bounding box can be marked, as well as the vehicle type, the current status of the vehicle (such as whether the turn signal and high beam are turned on), the position and length of the lane line, etc. In addition, the first real detection information It can be self-labeled information, that is, data (x1, x2..., x t , ...), can first rely on the perception model (or the perception output with the training model) for annotation, and then be manually checked and corrected to obtain
[0181] Accordingly, the first predicted detection information (s t ) is the prediction result output by the perception detection layer, which may include a predicted bounding box in the three-dimensional space, and may include the true classification, true current state, etc. of the corresponding obstacles in the predicted bounding box.
[0182] Accordingly, the first future real information With the first real detection information Similar, but first future real information It indicates the detection information at a future time.
[0183] Accordingly, the first future prediction information With the first prediction detection information (s t ) is similar, but first future prediction information It indicates the predicted information for the future time.
[0184] Therefore, in step S1050, based on the first real detection information and the first predicted detection information (s t ), and the first future real information and the first future forecast information Adjust the parameters of the multimodal coding layer. In step S1060, based on the first real detection information and the first predicted detection information (s t ), adjust the parameters of the perception detection layer. In step S1070, based on the first future real information and the first future forecast information Adjust the parameters of the future prediction layer.
[0185] In the example, any of steps S1050 to S1070 may be performed using supervised learning and self-supervised learning. For example, the objective function in the following equation (1) may be used to adjust the parameters of the multimodal encoding layer and the perceptual detection layer:
[0186]
[0187] Where D represents a measure used to measure the first prediction detection information (s t ) and the first real detection information Unless otherwise specified, D in the following text can represent a similar measure.
[0188] For example, the objective function in equation (2) below can be used to adjust the parameters of the multimodal coding layer and the future prediction layer:
[0189]
[0190] Or, when there is not enough annotated first future real information When , the objective function in equation (3) can be used to adjust the parameters of the multimodal encoding layer and the future prediction layer based on the self-labeling:
[0191]
[0192] Among them, (s t+Δt ) can be the output of the perception detection layer of the model to be trained.
[0193] Therefore, when training the model, the learning effect of the multimodal coding layer can be further improved by further coordinating parameters between the perception detection layer and the future prediction layer and the multimodal coding layer.
[0194] In the above steps, the multimodal coding layer is pre-trained using the perception detection layer and the future prediction layer. It can be understood that the multimodal coding layer can also be pre-trained using only the perception detection layer or the future prediction layer. The specific implementation process is similar to the above and will not be described in detail.
[0195] Fig.11 A flowchart of a part of the process of the training method of the autonomous driving model according to an embodiment of the present disclosure is shown. According to some embodiments, the autonomous driving model may also include a future prediction layer. Fig.11 As shown, the above step S910 may include:
[0196] Step S1110, obtaining third sample input information and second future real information of the third sample vehicle surrounding environment corresponding to the third sample input information and second real autonomous driving strategy information;
[0197] Step S1120: input the third sample input information into the multimodal coding layer to obtain a third sample implicit representation corresponding to the third sample input information output by the multimodal coding layer;
[0198] Step S1130: input the third sample implicit representation into the future prediction layer to obtain second future prediction information output by the future prediction layer;
[0199] Step S1140: inputting the sample intermediate representation including the third sample implicit representation into the decision control layer to obtain the second predicted autonomous driving strategy information output by the decision control layer;
[0200] Step S1150: adjusting parameters of the future prediction layer based on the second future real information and the second future prediction information;
[0201] Step S1160: adjusting the parameters of the multimodal coding layer based on the second real autonomous driving strategy information and the second predicted autonomous driving strategy information, as well as the second future real information and the second future predicted information; and
[0202] Step S1170: Adjust the parameters of the decision control layer based on the second real autonomous driving strategy information and the second predicted autonomous driving strategy information.
[0203] The third sample input information (x t ) may be similar to the second sample input information above; and the second future real information It can be similar to the first future real information mentioned above, so it will not be repeated here.
[0204] Second real autonomous driving strategy information It can be the trajectory data of manual driving. t ) is the prediction result (trajectory planning) output by the decision control layer.
[0205] Thus, the parameters of the multimodal coding layer and the decision control layer can be adjusted. For example, the behavior imitation training method can be applied to adjust the parameters of the multimodal coding layer and the decision control layer using the objective function in the following equation (4):
[0206]
[0207] Therefore, when training the model, the learning effect of the multimodal coding layer and the decision control layer can be further improved by further coordinating the parameters of the future prediction layer with the multimodal coding layer and the decision control layer.
[0208] It will be understood that in this embodiment, the parameter adjustment for the future prediction layer can be adopted Fig.10The method described in is used to adjust the parameters of the future prediction layer.
[0209] According to some embodiments, continue to refer to Fig.11 , offline pre-training of the multimodal encoding layer and the decision control layer may include: inputting the third sample input information into the driving strategy prediction model to obtain the second automatic driving strategy real information output by the driving strategy prediction model.
[0210] When the existing real autonomous driving strategy information is limited, the driving strategy prediction model can be used to obtain pseudo-labeled trajectory data based on the existing unlabeled driving data. t ) (such as sensor perception information) is input into the driving strategy prediction model to predict the corresponding trajectory planning (y t ). The predicted trajectory planning (y t ) can be used as the second real information of the autonomous driving strategy during the offline pre-training of the multimodal coding layer and the decision control layer. Thus, the offline pre-training process can be completed when the existing real autonomous driving strategy information is limited.
[0211] According to some embodiments, the future prediction information may include at least one of the following: future prediction perception information about the surrounding environment of the sample vehicle (e.g., sensor information at a certain moment in the future); The sensor information at a certain moment in the future includes the camera input information or radar input information at a certain moment in the future), the future prediction implicit representation corresponding to the future prediction perception information (such as the implicit representation of the BEV space at a certain moment in the future), and the future prediction detection information in the environment around the sample vehicle (such as the obstacle position at a certain moment in the future). ). And the future predicted detection information may include the types of multiple predicted sample obstacles in the surrounding environment of the sample vehicle and their future predicted state information (including the size of the obstacles and various long-tail information).
[0212] Fig.12 A flowchart of a partial process of a method for training an autonomous driving model according to an embodiment of the present disclosure is shown. According to some embodiments, the autonomous driving model may further include an evaluation feedback layer. Fig.12 The above step S910, performing offline pre-training on the multimodal coding layer and the decision control layer, may also include:
[0213] Step S1210: acquiring fourth sample input information and third real autonomous driving strategy information corresponding to the fourth sample input information;
[0214] Step S1220: input the fourth sample input information into the multimodal coding layer to obtain a fourth sample implicit representation corresponding to the fourth sample input information output by the multimodal coding layer;
[0215] Step S1230: inputting the intermediate sample input information including the fourth sample implicit representation into the decision control layer to obtain the third predicted autonomous driving strategy information output by the decision control layer;
[0216] Step S1240: input the fourth sample implicit representation into the evaluation feedback layer to obtain sample evaluation feedback information output by the evaluation feedback layer for the third predicted autonomous driving strategy information;
[0217] Step S1250: Adjust the parameters of the multimodal coding layer and the decision control layer based on the sample evaluation feedback information for the third predicted autonomous driving strategy information, the third predicted autonomous driving strategy information and the third actual autonomous driving strategy information.
[0218] The fourth sample input information (x t ) may be similar to the second sample input information or the third sample input information described above; and the third real autonomous driving strategy information It can be similar to the second real autonomous driving strategy information above; accordingly, the third predicted autonomous driving strategy information (y t ) is the prediction result (trajectory planning) output by the decision control layer, so it will not be repeated here.
[0219] The sample evaluation feedback information may, for example, indicate whether the current driving behavior comes from a human driver or a model, whether the current driving is comfortable, whether the current driving violates traffic regulations, and whether the current driving is dangerous driving.
[0220] Therefore, by further utilizing the sample evaluation feedback information and collaboratively adjusting the evaluation feedback layer, multimodal coding layer, and decision control layer, the learning effect of the multimodal coding layer and the decision control layer can be further improved, thereby improving the user experience.
[0221] In the example, the parameters of the multimodal encoding layer and the decision control layer can be adjusted by reinforcement learning. For example, based on the third predicted autonomous driving strategy information (y1, ...., y t ), third real autonomous driving strategy information And sample evaluation feedback information (r1,....,r t ) for reinforcement learning.
[0222] In an example, a PPO algorithm or a SAC algorithm may be used to perform the reinforcement learning.
[0223] In the example, the objective function in equation (5) below can be used to adjust the parameters of the multimodal encoding layer and the decision control layer:
[0224]
[0225] Among them, A t can indicate the advantage function at time t, and A t The feedback information (r1,....,r t ) is obtained. α can be a hyperparameter used to adjust the size of the loss value.
[0226] Fig.13 A flowchart of a part of the process of the training method of the autonomous driving model according to an embodiment of the present disclosure is shown. According to some embodiments, the evaluation feedback layer can be trained separately. Fig.13 , the training process of the evaluation feedback layer can include:
[0227] Step S1310, obtaining fifth sample input information and true evaluation feedback information for the fifth sample input information;
[0228] Step S1320: input the fifth sample input information into the multimodal coding layer to obtain a fifth sample implicit representation corresponding to the fifth sample input information output by the multimodal coding layer;
[0229] Step S1330: input the fifth sample implicit representation into the evaluation feedback layer to obtain the predicted evaluation feedback information output by the evaluation feedback layer for the fifth sample input information; and
[0230] Step S1340: Adjust parameters of the multimodal coding layer and the evaluation feedback layer based on the real evaluation feedback information and the predicted evaluation feedback information.
[0231] The fifth sample input information (x t ) may be similar to the second sample input information, the third sample input information or the fourth sample input information mentioned above, and thus will not be described in detail.
[0232] Real evaluation feedback information Evaluation feedback information that can be manually fed back (passenger or driver evaluation of the driving experience of the autonomous vehicle) can, for example, indicate whether the current driving behavior comes from a human driver or a model, whether the current driving is comfortable, whether the current driving violates traffic regulations, and whether the current driving is dangerous driving.
[0233] Accordingly, the predicted evaluation feedback information (r t ) is the prediction result output by the evaluation feedback layer.
[0234] In an example, the objective function in the following equation (6) may be used to adjust the parameters of the multimodal coding layer and the evaluation feedback layer:
[0235]
[0236] In the example, feedback modeling can be used to learn a function to estimate the evaluation feedback information. In other words, the model itself can estimate the expected benefit obtained by the current driving trajectory (i.e., the prediction result output by the evaluation feedback layer mentioned above). For example, the following equation (7) can be used to determine (r t ):
[0237] r t =R(x t , ..., x t-l+1 ) Equation (7)
[0238] Among them, (x t , ..., x t-l+1 ) can be sample input information.
[0239] According to some embodiments, the real evaluation feedback information It may include at least one of the following: driving comfort information, driving safety information, driving efficiency, whether the driving lights are used in a civilized manner, driving behavior source information, and whether traffic rules are violated.
[0240] When conducting reinforcement learning training on a real vehicle, the autonomous driving model may need to predict some errors or failures, or even require the target vehicle to collide with surrounding obstacles to learn based on error or collision experience. However, due to cost and safety considerations, it is impossible to allow the autonomous driving vehicle to have a real collision during real vehicle training.
[0241] According to some embodiments, the first sample input information may include an intervention flag, which can characterize whether the first real autonomous driving strategy information is autonomous driving strategy information with human intervention. When the autonomous driving model also includes an evaluation feedback layer, the first training process may further include: inputting the first sample implicit representation into the evaluation feedback layer to obtain sample evaluation feedback information output by the evaluation feedback layer for the first predicted autonomous driving strategy information. And the above-mentioned step S950, at least based on the first predicted autonomous driving strategy information and the first real autonomous driving strategy information, adjusting the parameters of the multimodal encoding layer and the decision control layer may include: based on the sample evaluation feedback information (r1, ...., r t ), intervention identifier (i1, ..., i T ), the first predicted autonomous driving strategy information (y1, ...., y t ) and the first real autonomous driving strategy information Adjust the parameters of the multimodal encoding layer and the decision control layer.
[0242] During the actual vehicle training, the safety officer can intervene at any time in critical moments and seize control of the autonomous driving vehicle. After the crisis is over, the control will be returned to the autonomous driving vehicle. The intervention flag is used to characterize whether the first real autonomous driving strategy information is autonomous driving strategy information with human intervention. In other words, by introducing the intervention flag, the unacceptable model training costs caused by possible collisions during actual vehicle training can be avoided. Reinforcement learning can gradually learn to avoid adverse situations caused by intervention. Through this mechanism, on the one hand, the efficiency of reinforcement learning can be improved, and on the other hand, the impact of disadvantageous experience on the learning process can be reduced, thereby further improving the robustness of the trained model.
[0243] In the example, the parameters of the multimodal encoding layer and the decision control layer can be adjusted by using feedback reinforcement learning and human-in-the-loop learning. For example, the parameters of the multimodal encoding layer and the decision control layer can be adjusted based on the sample evaluation feedback information (r1, ..., r t ), intervention identifier (i1, ..., i t ), the first predicted autonomous driving strategy information (y1, ...., y t ), the first real autonomous driving strategy information And the first sample input information (x1, ...., x t ) is used to learn the five-tuple data including .
[0244] Among them, when the intervention mark (i1, ...., i T ) is true, indicating that the autonomous driving vehicle is manually control and is no longer controlled by the control signal sent by the automatic driving model; when the intervention mark (i1, ..., i T ) is not true, indicating that the autonomous driving vehicle is controlled by the control signal sent by the autonomous driving model rather than by the human Control.
[0245] In an example, the objective function in equation (8) below may be used to adjust the parameters of the multimodal coding layer and the evaluation feedback layer:
[0246]
[0247] Where λ1 and λ2 can be hyperparameters indicating the weighting of the corresponding components. T ) is true value 1, and false value is 0.
[0248] In some embodiments, during the offline pre-training stage, the multiple objective functions described above may be combined to adjust the parameters of the autonomous driving model. For example, in the example, multiple objective functions in equation (1), equation (2) or (3), equation (4), and equation (5) may be used to adjust the parameters of the autonomous driving model during the offline pre-training stage. Accordingly, the objective function may be L1 in the following equation (9):
[0249] L1=L SL +L BC +L SSL +L RL Equation (9)
[0250] In some embodiments, during the actual vehicle training phase, the multiple objective functions described above may be combined to adjust the parameters of the autonomous driving model. For example, in the example, multiple objective functions in equations (2) or (3), equation (5), and equation (8) may be used to adjust the parameters of the autonomous driving model during the actual vehicle training phase. Accordingly, its objective function may be L2 in equation (10):
[0251] L2=L SSL +L RL +L HRL Equation (10)
[0252] Fig.14 A flowchart of a method for training an autonomous driving model according to another embodiment of the present disclosure is shown.
[0253] According to some embodiments, the training method of the autonomous driving model may further include a second training process 1400 for training the multimodal encoding layer and the decision control layer, such as Fig.14 As shown, the second training process 1400 may include:
[0254] Step S1410: performing autonomous driving again using the autonomous driving model trained by the first training process, and obtaining sixth sample input information and fourth real autonomous driving strategy information corresponding to the sixth sample input information during the autonomous driving process;
[0255] Step S1420, obtaining fourth predicted autonomous driving strategy information obtained by the autonomous driving model based on the sixth sample input information input; and
[0256] Step S1430: Adjust the parameters of the multimodal coding layer and the decision control layer again based at least on the fourth real autonomous driving strategy information and the fourth real autonomous driving strategy information.
[0257] The sixth sample input information (x t ) may be similar to the first sample input information above; fourth real autonomous driving strategy information It can be the trajectory data of manual driving. Accordingly, the fourth predicted automatic driving strategy information (y t ) is the prediction result (trajectory planning) output by the decision control layer, so it will not be repeated here.
[0258] Thus, the autonomous driving model can be continuously iterated during both the actual vehicle training process and the simulation training process. In the example, the above iterative training can be performed at preset time intervals, thereby continuously optimizing the autonomous driving model.
[0259] According to some embodiments, the first sample input information may include real sample input information of a multimodal coding layer obtained by performing autonomous driving in a real driving scenario, and / or simulated sample input information of a multimodal coding layer obtained by performing simulated autonomous driving in a simulated driving scenario.
[0260] In the example, the first sample input information may include both the above-mentioned real sample input information and the simulated sample input information. For example, the real sample input information may be used as the main information, and the simulated sample input information may be used as the auxiliary information. Various settings may be made for the simulated sample input information, so as to use the simulation environment to mine more diverse long-tail samples and expand the richness of the training samples. In other words, the amount of real sample input information used in the training process of the autonomous driving model is greater than the amount of simulated sample input information.
[0261] It will be understood that both the offline pre-training stage and the real vehicle training stage may include training conducted in a simulation environment.
[0262] According to some embodiments, the real sample input information and / or the simulated sample input information may include an intervention flag. The intervention flag can indicate whether the corresponding real autonomous driving strategy information is autonomous driving strategy information with human intervention. Thus, by introducing a human intervention scenario into the simulation training scenario, the simulation scenario is more in line with the actual driving scenario, thereby further improving the model training effect in the simulation scenario.
[0263] According to some embodiments, the real driving scenario may include an intervention real driving scenario with human intervention, and the construction process of the simulated driving scenario may include: adding the intervention real driving scenario to the simulated driving scenario. By setting a safety officer for a target vehicle driving based on an autonomous driving model during the simulation process, human intervention can be allowed during the simulation process, thereby enabling the autonomous driving model to be trained using a human-in-the-loop reinforcement learning method during the simulation.
[0264] According to some embodiments, the construction process of the simulated driving scene may include: determining the trajectory of at least one obstacle object in the simulated driving scene based on the environmental information in the simulated driving scene. The environmental information may include driving information based on the autonomous driving model to perform simulated autonomous driving in the simulated driving scene. The obstacle objects in the simulated driving scene may include pedestrians, non-motor vehicles, motor vehicles and other types. A prediction network may be trained for each type of obstacle object in the simulated driving scene to predict the trajectory of the obstacle object based on the environmental information around the obstacle object. This makes it possible to simulate the real scene more realistically in the simulated driving scene, thereby improving the effect of training the autonomous driving model in the simulation environment. In some examples, the prediction network may be implemented using a transformer model.
[0265] According to some embodiments, determining the trajectory of at least one obstacle object in a simulated driving scene based on environmental information in the simulated driving scene may include: determining simulated perception information of the environment surrounding the obstacle object based on the environmental information; determining a behavior pattern category of the obstacle object; and predicting the trajectory of the obstacle object based on the simulated perception information and the behavior pattern category.
[0266] The behavior pattern category of the obstacle object can be randomly selected from a plurality of predefined behavior pattern categories. In some implementations, the behavior pattern category can be a category manually labeled, such as more reckless, more conservative, etc. In other implementations, the behavior pattern category can be a clustering result obtained by unlabeled training. By randomly determining the category of the behavior pattern of each obstacle object in the simulated driving scene, more diverse scene simulations can be achieved in the simulated driving scene.
[0267] The simulation perception information includes the current perception information and historical perception information of the obstacle object regarding the surrounding environment during its movement in the simulation environment. The simulation perception information can be structured information or an implicit representation of structured information (such as in the BEV space).
[0268] In the case where the environmental information includes driving information of simulated autonomous driving performed in a simulated driving scene based on the autonomous driving model, by perceiving the environment and predicting the trajectory of obstacle objects based on the perceived information, the obstacle objects in the simulated environment can make corresponding reactions in response to the driving decisions of the autonomous driving model, thereby enabling the decision-making game between the trained autonomous driving model and other obstacle objects in the simulated environment to be realized in the simulated environment, thereby increasing the authenticity of the simulation scene and improving the training effect of the autonomous driving model.
[0269] The autonomous driving model provided in the embodiments of the present application has the following advantages:
[0270] High generalization. Compared with the serial-based approach in related technologies, the structured representation of intermediate states must be defined. For example, the category of obstacles, the category of road elements, and so on. However, if new obstacles or road elements that are not in the defined format appear, these methods are likely to fail. (Most of them will become "unknown types"). In the end-to-end autonomous driving model in the embodiment of the present application, such problems can be automatically solved to a certain extent through end-to-end gradient iteration. That is, even if we cannot fully define these categories, as long as the model is trained with such data, it can deduce the characteristics of such new obstacles or road elements. That is, the model can learn in the absence of any perceived manual annotation. Even when the environment changes dramatically, the model can gradually update itself through closed-loop learning of people in the loop and feedback to adapt to related changes.
[0271] High robustness. Manually defined rules can hardly guarantee that the model can still be controlled well in the event of an unexpected situation. For example, in the event of partial sensor failure, brake failure, tire blowout, and the discovery that the map and the actual observation do not match, you don’t know which party to trust. In the scheme of the embodiment of the present application, such situations can be fully learned into the model parameters. At the same time, the perception and lane-level map information is imported, and the model can independently determine which information it needs to rely on. For example, when encountering temporary traffic lights, temporary construction and other conditions on the road, the model may learn how to deal with them.
[0272] A certain degree of interpretability and credibility. The solution of the embodiment of the present application proposes that, in addition to driving behavior, the model outputs a series of intermediate results (including structured information, future predictions, and evaluation feedback, etc.), which largely solves the problem of interpretability and credibility, and realizes "knowing whether you know it or not", thereby greatly enhancing the interpretability and credibility of the model to humans.
[0273] A complete and feasible phased execution plan. The solution of the embodiment of the present application can make full use of perception annotations and L4 data for learning. Even without a real car in the early stage of startup, a high level can be achieved. At the same time, a double closed loop of real car and simulation is used. The simulation environment is used to quickly explore scenes that are difficult to encounter with real cars and conduct efficient learning, thereby greatly reducing the need for accumulation of real car scenes.
[0274] According to another aspect of the present disclosure, an autonomous driving device based on an autonomous driving model is provided. The autonomous driving model includes a multimodal coding layer and a decision control layer, and the multimodal coding layer and the decision control layer are connected to form an end-to-end neural network model, so that the decision control layer directly obtains autonomous driving strategy information based on the output of the multimodal coding layer.
[0275] Fig.15 FIG. 1 shows a structural block diagram of an automatic driving device 1500 based on an automatic driving model according to an embodiment of the present disclosure. Fig.15 As shown, the apparatus 1500 comprises:
[0276] The input information acquisition unit 1510 is configured to acquire first input information of the multimodal coding layer, where the first input information includes navigation information of the target vehicle and perception information of the surrounding environment of the target vehicle obtained by using a sensor, where the perception information includes current perception information and historical perception information of the surrounding environment of the target vehicle during the driving of the vehicle;
[0277] The multimodal encoding unit 1520 is configured to input the first input information into the multimodal encoding layer to obtain an implicit representation corresponding to the first input information output by the multimodal encoding layer; and
[0278] The decision control unit 1530 is configured to input the second input information including the implicit representation into the decision control layer to obtain the target autonomous driving strategy information output by the decision control layer.
[0279] According to another aspect of the present disclosure, a training device for an autonomous driving model is provided. The autonomous driving model includes a multimodal coding layer and a decision control layer, and the multimodal coding layer and the decision control layer are connected to form an end-to-end neural network model, so that the decision control layer directly obtains autonomous driving strategy information based on the output of the multimodal coding layer. The training device for the autonomous driving model is used to train the multimodal coding layer and the decision control layer.
[0280] Fig.16 FIG. 1 shows a structural block diagram of a training device 1600 for an autonomous driving model according to an embodiment of the present disclosure. Fig.16 As shown, the apparatus 1600 includes:
[0281] The sample information acquisition unit 1610 is configured to acquire first sample input information and first real autonomous driving strategy information corresponding to the first sample input information, wherein the first sample input information includes first sample navigation information of a first sample vehicle and sample perception information for a surrounding environment of the first sample vehicle, wherein the sample perception information includes current sample perception information and historical sample perception information for a surrounding environment of the first sample vehicle;
[0282] The multimodal coding layer training unit 1620 is configured to input the first sample input information into the multimodal coding layer to obtain a first sample implicit representation output by the multimodal coding layer;
[0283] A decision control layer training unit 1630 is configured to input the intermediate sample input information including the implicit representation of the first sample into the decision control layer to obtain the first predicted autonomous driving strategy information output by the decision control layer; and
[0284] The parameter adjustment unit 1640 is configured to adjust the parameters of the multimodal coding layer and the decision control layer based at least on the first predicted autonomous driving strategy information and the first real autonomous driving strategy information.
[0285] It should be understood that Fig.15 The various modules or units of the apparatus 1500 shown in FIG. 1 can be used in conjunction with the reference Figure 3 Thus, the operations, features and advantages described above for method 300 are also applicable to apparatus 1500 and the modules and units included therein; and Fig.16 The modules or units of the apparatus 1600 shown in FIG. 1 may be the same as those in FIG. Figure 8 The steps in the method 800 described above correspond to each other. Therefore, the operations, features and advantages described above for the method 800 are also applicable to the device 1600 and the modules and units included therein. For the sake of brevity, some operations, features and advantages are not repeated here.
[0286] 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.
[0287] It should also be understood that various techniques may be described herein in the general context of software hardware elements or program modules. Fig.15 and Fig.16 The 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 1510 to 1530 and units 1610 to 1640 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.
[0288] 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 or the training method of the autonomous driving model according to an embodiment of the present disclosure.
[0289] 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 autonomous driving method or the training method of the autonomous driving model according to the embodiment of the present disclosure.
[0290] According to another aspect of the present disclosure, a computer program product is also provided, including a computer program, wherein the computer program, when executed by a processor, implements the autonomous driving method or the training method of the autonomous driving model according to the embodiment of the present disclosure.
[0291] According to another aspect of the present disclosure, an autonomous driving vehicle is also provided, comprising an autonomous driving device 1500 according to an embodiment of the present disclosure, a training device 1600 for an autonomous driving model, and one of the above-mentioned electronic devices.
[0292] refer to Fig.17 , a block diagram of an electronic device 1700 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.
[0293] like Fig.17 As shown, the electronic device 1700 includes a computing unit 1701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1702 or a computer program loaded from a storage unit 1708 into a random access memory (RAM) 1703. In the RAM 1703, various programs and data required for the operation of the electronic device 1700 can also be stored. The computing unit 1701, the ROM 1702, and the RAM 1703 are connected to each other via a bus 1704. An input / output (I / O) interface 1705 is also connected to the bus 1704.
[0294] Multiple components in the electronic device 1700 are connected to the I / O interface 1705, including: an input unit 1706, an output unit 1707, a storage unit 1708, and a communication unit 1709. The input unit 1706 can be any type of device that can input information to the electronic device 1700. The input unit 1706 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 1707 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 1708 can include but is not limited to a disk and an optical disk. The communication unit 1709 allows the electronic device 1700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and may 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.
[0295] The computing unit 1701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1701 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 1701 performs the various methods and processes described above, such as methods (or processes) 300 to 1400. For example, in some embodiments, the methods (or processes) 300 to 1400 may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1708. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 1700 via the ROM 1702 and / or the communication unit 1709. When the computer program is loaded into the RAM 1703 and executed by the computing unit 1701, one or more steps of the methods (or processes) 300 to 1400 described above may be performed. Alternatively, in other embodiments, the computing unit 1701 may be configured to execute the methods (or processes) 300 to 1400 in any other appropriate manner (eg, by means of firmware).
[0296] 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.
[0297] 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.
[0298] 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.
[0299] 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).
[0300] 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.
[0301] 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.
[0302] 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.
[0303] 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, comprising a multimodal coding layer and a decision control layer, wherein the multimodal coding layer and the decision control layer are connected to form an end-to-end neural network model, so that the decision control layer directly obtains autonomous driving strategy information based on the output of the multimodal coding layer, in, The first input information of the multimodal coding layer includes navigation information of the target vehicle and perception information of the surrounding environment of the target vehicle obtained by using a sensor, wherein the perception information includes current perception information and historical perception information of the surrounding environment of the target vehicle during the driving process of the target vehicle, and the multimodal coding layer is configured to obtain an implicit representation corresponding to the first input information, The second input information of the decision control layer includes the implicit representation, and the decision control layer is configured to obtain target autonomous driving strategy information based on the second input information.
2. The model according to claim 1, wherein: The autonomous driving model further includes a future prediction layer configured to predict future prediction information for the surrounding environment of the target vehicle based on the implicit representation of the input, The second input information of the decision control layer also includes at least a part of the future prediction information.
3. The model according to claim 2, wherein: The future prediction information includes at least one of the following: future predicted perception information for the target vehicle's surroundings, future predicted implicit representations corresponding to the future predicted perception information, and future predicted detection information for the target vehicle's surroundings, The future predicted detection information includes the types of multiple obstacles in the surrounding environment of the target vehicle and their future predicted state information.
4. The model according to claim 1, wherein: The autonomous driving model further includes a perception detection layer, which is configured to obtain target detection information for the surrounding environment of the target vehicle based on the input implicit representation, wherein the target detection information includes current detection information and historical detection information, wherein the current detection information includes types of multiple road elements and obstacles in the surrounding environment of the target vehicle and current state information thereof, and the historical detection information includes types of multiple obstacles in the surrounding environment of the target vehicle and historical state information thereof, The second input information of the decision control layer also includes at least a part of the target detection information.
5. A model according to any one of claims 1 to 4, wherein: The autonomous driving model also includes an evaluation feedback layer, The evaluation feedback layer is configured to obtain evaluation feedback information for the target autonomous driving strategy information based on the implicit representation of the input.
6. The model according to claim 5, wherein: When the autonomous driving model includes a future prediction layer and a perception detection layer, the evaluation feedback layer is configured to obtain evaluation feedback information for the target autonomous driving strategy information based on at least a portion of one or both of the input future prediction information and target detection information, and the implicit representation.
7. The model according to claim 5, wherein: The evaluation feedback layer is configured to obtain evaluation feedback information for the target autonomous driving strategy information based on the input implicit representation and the target autonomous driving strategy information.
8. A model according to any one of claims 1 to 4, wherein: The autonomous driving model also includes an interpretation layer, The interpretation layer is configured to obtain interpretation information for the target autonomous driving strategy information based on the implicit representation of the input, and the interpretation information can characterize the decision classification of the target autonomous driving strategy information.
9. The model according to claim 8, wherein: When the autonomous driving model includes a future prediction layer and a perception detection layer, the interpretation layer is configured to obtain interpretation information for the target autonomous driving strategy information based on at least a portion of one or both of the input future prediction information and target detection information, and the implicit representation.
10. The model according to claim 8, wherein: The interpretation layer is configured to obtain interpretation information for the target autonomous driving strategy information based on the input implicit representation and the target autonomous driving strategy information.
11. A model according to any one of claims 1 to 4, wherein: The sensor includes a camera, and the perception information includes a two-dimensional image captured by the camera. The multimodal coding layer is further configured to: Based on first input information including the two-dimensional image and intrinsic and extrinsic parameters of the camera, an implicit representation corresponding to the first input information is acquired.
12. A model according to any one of claims 1 to 4, wherein: The first input information further includes a lane-level map, and the navigation information includes road-level navigation information and / or lane-level navigation information.
13. A model according to any one of claims 1 to 4, wherein: The perception information includes at least one of the following: Images collected by cameras, information collected by lidar, and information collected by millimeter-wave radar.
14. A model according to any one of claims 1 to 4, wherein: The multimodal encoding layer is configured to map the first input information to a preset space to obtain an intermediate representation, and process the intermediate representation using a temporal attention mechanism and / or a spatial attention mechanism to obtain the implicit representation corresponding to the first input information.
15. A model according to any one of claims 1 to 4, wherein: The target autonomous driving strategy information includes a target planning trajectory.
16. An autonomous driving method implemented by using an autonomous driving model, the autonomous driving model comprising a multimodal coding layer and a decision control layer, the multimodal coding layer and the decision control layer are connected to form an end-to-end neural network model, so that the decision control layer directly obtains autonomous driving strategy information based on the output of the multimodal coding layer, the method comprising: Acquire first input information of the multimodal coding layer, the first input information including navigation information of the target vehicle and perception information of the surrounding environment of the target vehicle obtained by using a sensor, the perception information including current perception information and historical perception information of the surrounding environment of the target vehicle during the driving of the vehicle; Inputting the first input information into the multimodal coding layer to obtain an implicit representation corresponding to the first input information output by the multimodal coding layer; as well as The second input information including the implicit representation is input into the decision control layer to obtain the target autonomous driving strategy information output by the decision control layer.
17. The method according to claim 16, wherein: The autonomous driving model also includes a future prediction layer, and the method further includes: Inputting the implicit representation into the future prediction layer to obtain future prediction information output by the future prediction layer for the surrounding environment of the target vehicle, The step of inputting the second input information including the implicit representation into the decision control layer to obtain the target automatic driving strategy information output by the decision control layer includes: Input the second input information including at least a portion of the future prediction information and the implicit representation into the decision control layer to obtain the target autonomous driving strategy information output by the decision control layer.
18. The method according to claim 16, wherein: The autonomous driving model further includes a perception detection layer, and the method further includes: The implicit representation is input into the perception detection layer to obtain target detection information of the target vehicle surrounding environment output by the perception detection layer, wherein the target detection information includes current detection information and historical detection information, wherein the current detection information includes types of multiple obstacles and road elements in the target vehicle surrounding environment and their current state information, and the historical detection information includes types of multiple obstacles in the target vehicle surrounding environment and their historical state information, The step of inputting the second input information including the implicit representation into the decision control layer to obtain the target automatic driving strategy information output by the decision control layer includes: Input the second input information including at least a portion of the target detection information and the implicit representation into the decision control layer to obtain the target autonomous driving strategy information output by the decision control layer.
19. The method according to any one of claims 16 to 18, wherein: The autonomous driving model further includes an evaluation feedback layer, and the method further includes: The implicit representation is input into the evaluation feedback layer to obtain evaluation feedback information output by the evaluation feedback layer for the target autonomous driving strategy information.
20. The method according to claim 19, wherein: When the autonomous driving model includes a future prediction layer and a perception detection layer, the inputting the implicit representation into the evaluation feedback layer to obtain the evaluation feedback information output by the evaluation feedback layer for the target autonomous driving strategy information includes: At least a portion of one or both of the future prediction information and the target detection information, and the implicit representation are input into the evaluation feedback layer to obtain evaluation feedback information output by the evaluation feedback layer for the target autonomous driving strategy information.
21. The method according to claim 19, wherein: The step of inputting the implicit representation into the evaluation feedback layer to obtain evaluation feedback information output by the evaluation feedback layer for the target autonomous driving strategy information includes: The implicit representation and the target autonomous driving strategy information are input into the evaluation feedback layer to obtain evaluation feedback information output by the evaluation feedback layer for the target autonomous driving strategy information.
22. The method according to any one of claims 16 to 18, wherein: The autonomous driving model further includes an interpretation layer, and the method further includes: The implicit representation is input into the interpretation layer to obtain interpretation information for the target autonomous driving strategy information output by the interpretation layer, wherein the interpretation information can characterize the decision classification of the target autonomous driving strategy information.
23. The method according to claim 22, wherein: When the autonomous driving model includes a future prediction layer and a perception detection layer, the inputting the implicit representation into the interpretation layer to obtain interpretation information output by the interpretation layer for the target autonomous driving strategy information includes: At least a portion of one or both of the future prediction information and the target detection information, and the implicit representation are input into the interpretation layer to obtain interpretation information for the target autonomous driving strategy information output by the interpretation layer.
24. The method according to claim 22, wherein: Inputting the implicit representation into the interpretation layer to obtain interpretation information output by the interpretation layer for the target autonomous driving strategy information includes: The implicit representation and the target autonomous driving strategy information are input into the interpretation layer to obtain interpretation information for the target autonomous driving strategy information output by the interpretation layer.
25. A training method for an autonomous driving model, the autonomous driving model comprising a multimodal coding layer and a decision control layer, the multimodal coding layer and the decision control layer being connected to form an end-to-end neural network basic model, so that the decision control layer directly obtains autonomous driving strategy information based on the output of the multimodal coding layer, the method comprising a first training process of training the multimodal coding layer and the decision control layer, in, The first training process includes: Acquire first sample input information and first real autonomous driving strategy information corresponding to the first sample input information, the first sample input information including first sample navigation information of a first sample vehicle and sample perception information for a surrounding environment of the first sample vehicle, the sample perception information including current sample perception information and historical sample perception information for a surrounding environment of the first sample vehicle; Inputting the first sample input information into the multimodal coding layer to obtain a first sample implicit representation output by the multimodal coding layer; Inputting the intermediate sample input information including the implicit representation of the first sample into the decision control layer to obtain the first predicted automatic driving strategy information output by the decision control layer; and Adjust the parameters of the multimodal coding layer and the decision control layer based at least on the first predicted autonomous driving strategy information and the first real autonomous driving strategy information.
26. The method according to claim 25, further comprising: Before the first training process, pre-training the multimodal encoding layer and the decision control layer offline so that the autonomous driving model can obtain the first predicted autonomous driving strategy information based on the input first sample input information; Wherein, the first training process further includes: Autonomous driving is performed using an autonomous driving model obtained through offline pre-training, and during the autonomous driving process, the first sample input information and first real autonomous driving strategy information corresponding to the first sample input information are obtained.
27. The method according to claim 26, wherein: The autonomous driving model further includes a perception detection layer and a future prediction layer, and offline pre-training of the multimodal encoding layer includes: Acquire second sample input information and first real detection information and first future real information of the second sample vehicle surrounding environment corresponding to the second sample input information, wherein the first real detection information includes types of multiple real sample obstacles in the second sample vehicle surrounding environment and real current state information and real historical state information thereof, and types of multiple real sample road surface elements and real current state information thereof; Inputting second sample input information into the multimodal coding layer to obtain a second sample implicit representation corresponding to the second sample input information output by the multimodal coding layer; Inputting the implicit representation of the second sample into the perception detection layer to obtain first prediction detection information output by the perception detection layer, wherein the first prediction detection information includes types of multiple prediction sample obstacles in the surrounding environment of the second sample vehicle and predicted current state information and predicted historical state information thereof, and types of multiple prediction sample road surface elements and predicted current state information thereof; Inputting the second sample implicit representation into the future prediction layer to obtain first future prediction information output by the future prediction layer; Adjusting parameters of the multimodal coding layer based on the first real detection information and the first predicted detection information, and the first future real information and the first future predicted information; adjusting parameters of the perception detection layer based on the first real detection information and the first predicted detection information; and Based on the first future real information and the first future predicted information, the parameters of the future prediction layer are adjusted.
28. The method according to claim 26, wherein: The autonomous driving model further includes a future prediction layer, and offline pre-training of the multimodal encoding layer and the decision control layer includes: Acquire third sample input information and second future real information of a third sample vehicle surrounding environment corresponding to the third sample input information and second real autonomous driving strategy information; Inputting third sample input information into the multimodal coding layer to obtain a third sample implicit representation corresponding to the third sample input information output by the multimodal coding layer; Inputting the third sample implicit representation into the future prediction layer to obtain second future prediction information output by the future prediction layer; Inputting the sample intermediate representation including the third sample implicit representation into the decision control layer to obtain the second predicted autonomous driving strategy information output by the decision control layer; Adjusting parameters of the future prediction layer based on the second future real information and the second future prediction information; adjusting parameters of the multimodal coding layer based on the second real autonomous driving strategy information and the second predicted autonomous driving strategy information, and the second future real information and the second future predicted information; and Based on the second real autonomous driving strategy information and the second predicted autonomous driving strategy information, adjust the parameters of the decision control layer.
29. The method according to claim 28, wherein: Offline pre-training of the multimodal encoding layer and the decision control layer includes: The third sample input information is input into the driving strategy prediction model to obtain the second automatic driving strategy true information output by the driving strategy prediction model.
30. The method according to claim 27 or 28, wherein: The future prediction information includes at least one of the following: Future predicted perception information for the sample vehicle's surroundings, future predicted implicit representations corresponding to the future predicted perception information, and future predicted detection information for the sample vehicle's surroundings, The future prediction detection information includes the types of multiple predicted sample obstacle elements in the surrounding environment of the sample vehicle and their future prediction state information.
31. The method of claim 26, wherein: The autonomous driving model further includes an evaluation feedback layer, and the offline pre-training of the multimodal encoding layer and the decision control layer further includes: Obtaining fourth sample input information and third real autonomous driving strategy information corresponding to the fourth sample input information; Inputting fourth sample input information into the multimodal coding layer to obtain a fourth sample implicit representation corresponding to the fourth sample input information output by the multimodal coding layer; Inputting the intermediate sample input information including the fourth sample implicit representation into the decision control layer to obtain the third predicted automatic driving strategy information output by the decision control layer; Inputting the fourth sample implicit representation into the evaluation feedback layer to obtain sample evaluation feedback information output by the evaluation feedback layer for the third predicted autonomous driving strategy information; Based on the sample evaluation feedback information for the third predicted autonomous driving strategy information, the third predicted autonomous driving strategy information and the third real autonomous driving strategy information, the parameters of the multimodal coding layer and the decision control layer are adjusted.
32. The method according to claim 31, wherein: The training process of the evaluation feedback layer includes: Acquire fifth sample input information and true evaluation feedback information for the fifth sample input information; Inputting the fifth sample input information into the multimodal coding layer to obtain a fifth sample implicit representation corresponding to the fifth sample input information output by the multimodal coding layer; Inputting the fifth sample implicit representation into the evaluation feedback layer to obtain predicted evaluation feedback information output by the evaluation feedback layer for the fifth sample input information; and Based on the real evaluation feedback information and the predicted evaluation feedback information, parameters of the multimodal coding layer and the evaluation feedback layer are adjusted.
33. The method of claim 32, wherein: The real evaluation feedback information includes at least one of the following: Driving comfort information, driving safety information, driving efficiency, whether the driving lights are used in a civilized manner, information on the source of driving behavior, and whether traffic rules are violated.
34. The method according to any one of claims 25 to 29, wherein: The first sample input information includes an intervention flag, and the intervention flag can indicate whether the first real autonomous driving strategy information is autonomous driving strategy information with human intervention. When the autonomous driving model also includes an evaluation feedback layer, the first training process further includes: inputting the first sample implicit representation into the evaluation feedback layer to obtain sample evaluation feedback information output by the evaluation feedback layer for the first predicted autonomous driving strategy information, Wherein, adjusting the parameters of the multimodal coding layer and the decision control layer based at least on the first predicted autonomous driving strategy information and the first real autonomous driving strategy information includes: Based on the sample evaluation feedback information, the intervention identifier, the first predicted autonomous driving strategy information and the first real autonomous driving strategy information, the parameters of the multimodal coding layer and the decision control layer are adjusted.
35. The method according to any one of claims 25 to 29, further comprising a second training process for training the multimodal coding layer and the decision control layer, wherein the second training process comprises: Performing autonomous driving again using the autonomous driving model trained by the first training process, and obtaining sixth sample input information and fourth real autonomous driving strategy information corresponding to the sixth sample input information during the autonomous driving process; Obtaining fourth predicted autonomous driving strategy information obtained by the autonomous driving model based on sixth sample input information input; as well as At least based on the fourth real autonomous driving strategy information and the fourth real autonomous driving strategy information, the parameters of the multimodal coding layer and the decision control layer are adjusted again.
36. The method according to any one of claims 25 to 29, wherein: The first sample input information includes real sample input information of the multimodal coding layer obtained by performing autonomous driving in a real driving scenario, and / or simulated sample input information of the multimodal coding layer obtained by performing simulated autonomous driving in a simulated driving scenario.
37. The method of claim 36, wherein: The real sample input information and / or the simulated sample input information includes an intervention identifier.
38. The method of claim 36, wherein: The real driving scene includes an intervention real driving scene with human intervention, and the construction process of the simulated driving scene includes: The intervening real driving scenario is added to the simulated driving scenario.
39. The method of claim 36, wherein: The construction process of the simulated driving scene includes: The trajectory of at least one obstacle object in the simulated driving scene is determined based on environmental information in the simulated driving scene, wherein the environmental information includes driving information of performing simulated autonomous driving in the simulated driving scene based on the autonomous driving model.
40. The method of claim 39, wherein: Determining the trajectory of at least one obstacle object in the simulated driving scene based on the environmental information in the simulated driving scene comprises: Determine the simulated perception information of the surrounding environment of the obstacle object based on the environmental information; Determine the behavior pattern category of the person with the disorder; The trajectory of the obstacle object is predicted based on the simulated perception information and the behavior pattern category.
41. The method of claim 40, wherein: The categories of behavioral patterns that identify the object of this disorder include: A behavior pattern category of the obstacle object is randomly selected from a plurality of predefined behavior pattern categories.
42. An autonomous driving device based on an autonomous driving model, the autonomous driving model comprising a multimodal coding layer and a decision control layer, the multimodal coding layer and the decision control layer being connected to form an end-to-end neural network model, so that the decision control layer directly obtains autonomous driving strategy information based on the output of the multimodal coding layer, the device comprising: an input information acquisition unit, configured to acquire first input information of the multimodal coding layer, wherein the first input information includes navigation information of the target vehicle and perception information of the surrounding environment of the target vehicle obtained by using a sensor, wherein the perception information includes current perception information and historical perception information of the surrounding environment of the target vehicle during the driving of the vehicle; a multimodal encoding unit, configured to input the first input information into the multimodal encoding layer to obtain an implicit representation output by the multimodal encoding layer corresponding to the first input information; as well as A decision control unit is configured to input the second input information including the implicit representation into the decision control layer to obtain the target automatic driving strategy information output by the decision control layer.
43. A training device for an autonomous driving model, the autonomous driving model comprising a multimodal coding layer and a decision control layer, the multimodal coding layer and the decision control layer being connected to form an end-to-end neural network model, so that the decision control layer directly obtains autonomous driving strategy information based on the output of the multimodal coding layer, the device being used to train the multimodal coding layer and the decision control layer, and comprising: a sample information acquisition unit, configured to acquire first sample input information and first real autonomous driving strategy information corresponding to the first sample input information, the first sample input information including first sample navigation information of a first sample vehicle and sample perception information for a surrounding environment of the first sample vehicle, the sample perception information including current sample perception information and historical sample perception information for a surrounding environment of the first sample vehicle; a multimodal coding layer training unit, configured to input the first sample input information into the multimodal coding layer to obtain a first sample implicit representation output by the multimodal coding layer; a decision control layer training unit, configured to input intermediate sample input information including the implicit representation of the first sample into the decision control layer, so as to obtain first predicted autonomous driving strategy information output by the decision control layer; as well as A parameter adjustment unit is configured to adjust parameters of the multimodal coding layer and the decision control layer based at least on the first predicted autonomous driving strategy information and the first real autonomous driving strategy information.
44. An electronic device comprising: 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 of any one of claims 16-41.
45. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 16-41.
46. A computer program product comprising a computer program, wherein: The computer program implements the method of any one of claims 16-41 when executed by a processor.
47. An autonomous driving vehicle comprising: One of the autonomous driving device according to claim 42, the training device of the autonomous driving model according to claim 43, and the electronic device according to claim 44.
Citation Information
Cited By
Vehicle motion risk self-adaptive supervision control system and method
CN122710578A
An adaptive monitoring and control system and method for vehicle motion risk
CN122710578B
A quality degradation driven pure visual temporal BEV controllable fusion and degradation perception prediction method, a prediction system and a vehicle
CN122967152A
