A joint perception prediction method for autonomous driving fleets in high-speed scenarios

Constructing fleet-level BEV representations through multi-modal sensors and Fast-Ray transformation solves the problem of repeated calculations of single-vehicle perception and prediction in autonomous driving fleets, realizes parameter sharing of perception and prediction tasks, reduces the amount of calculation and safety hazards, and improves Improved perception and prediction accuracy of self-driving fleets.

CN118411701BActive Publication Date: 2024-09-03NORTHEASTERN UNIV CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410882966.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-09-03
Estimated Expiration
2044-07-03

AI Technical Summary

Technical Problem

Existing joint perception-prediction methods for autonomous vehicles are mainly aimed at single vehicles. They fail to effectively solve the problem of repeated calculations caused by a single vehicle in an autonomous vehicle fleet sensing and predicting alone, and cannot realize parameter sharing between sensing and prediction tasks, resulting in Large amount of calculation and security risks.

Method used

Use multi-modal sensors (camera and millimeter-wave radar) for surround perception, build a fleet-level bird's-eye view representation (BEV representation), achieve joint optimization of perception and prediction through multi-task training, and use Fast-Ray transformation and temporal self-attention The module performs feature aggregation to generate BEV features covering the entire fleet.

Benefits of technology

It realizes the construction of fleet-level BEV features, integrates dynamic and static context information, reduces the calculation amount of single-vehicle perception and prediction, reduces safety risks, and improves the accuracy of perception and prediction of autonomous driving fleets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118411701B
    Figure CN118411701B
Patent Text Reader

Abstract

The present invention provides a joint perception and prediction method for an autonomous driving fleet in a high-speed scenario, and relates to the technical field of intelligent connected vehicles. The single-vehicle BEV representation of the current scene is obtained by encoding and feature conversion of surround view images and radar RAD data; then the fleet-level BEV representation is obtained by spatial alignment, and the fleet-level BEV representation is the environmental modeling result covering the traffic scene in which the entire fleet is located; based on the BEV representation, temporal self-attention is used to perform feature aggregation in the time dimension, and finally the fleet-level perception and prediction results are obtained. The method of the present invention can not only solve the problem of repeated calculation of surrounding scene encoding for perception and prediction of a single vehicle in the fleet; at the same time, through the joint training optimization of perception and prediction tasks, parameter sharing of the two tasks can be achieved, thereby further reducing the amount of calculation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent connected vehicle technology, and in particular to a joint perception prediction method for an autonomous driving fleet in high-speed scenarios. Background Art

[0002] Since the intelligent connected vehicle industry is an emerging industry that integrates multiple fields such as transportation, electronic information and automobiles, and is also of great significance to the country's future energy conservation and emission reduction, road traffic safety and national innovation capabilities, it has become one of the research hotspots for future development in the world. As a key technology in intelligent connected vehicles, autonomous driving technology is of great value in achieving the above goals. Autonomous driving can be divided into three subtasks: environmental perception, trajectory prediction and decision planning. In the autonomous driving scene, the autonomous driving vehicle obtains dynamic information in the scene (including the historical trajectory of the intelligent body and the dynamically changing information in other scenes) and some static information (static obstacles and road signs, etc.) through the environmental perception module. Combined with the high-precision map, the scene context model can be constructed. The trajectory prediction module gives the movement trajectory of the intelligent body in the scene in the future. The above information is passed to the decision planning module for planning the driving behavior of the autonomous driving vehicle.

[0003] Traditional environmental perception tasks include target detection, target tracking, and semantic segmentation, but the outputs of these tasks are still in the image coordinate system, which cannot provide enough information for the autonomous driving system to model the current traffic environment. For monocular vision sensors, due to the lack of clear depth information, the 2D space coordinates cannot be accurately converted to 3D space. Recently, 3D target detection based on multi-view cameras in bird's-eye-view perception (Bird's-eye-view Perception, BEV Perception) has attracted more and more attention. First, the surround view camera (multi-view) in autonomous driving can be used as a natural unified representation under BEV, and the generated environment description can be used in subsequent prediction and planning modules; secondly, the BEV perspective eliminates the scale and occlusion problems in the image perspective, and can represent the surrounding environment more intuitively and friendly.

[0004] The trajectory prediction module usually follows a codec framework, first processing the historical trajectory and map-related data of the agent into a representation based on an image, vector or directed graph, and then encoding it through an encoder. The encoded features can be used by the decoder for specific trajectory prediction. The codec can usually be implemented by CNN, RNN, Transformer or a simple MLP. There may be specially designed modules between the codec to interact and transfer information between multiple agents and between agents and static environments.

[0005] The multi-view environment modeling realized by BEV perception can be explicitly handed over to the trajectory prediction module to predict the future trajectory of multiple agents, but the BEV representation itself is a sufficient description of the current environment, which can be used for decoding of other specific perception tasks later. If the BEV representation is used as the environmental modeling part of trajectory prediction, the perception and prediction in autonomous driving are combined into a closed loop for joint optimization. Through the mutual stimulation between the two modules, not only can the performance of the two modules be improved, but also parameter sharing can be achieved to save computational effort.

[0006] Existing joint perception-prediction methods are usually aimed at autonomous vehicles (single vehicles) to perform environmental modeling based on surround camera data. Based on the understanding of the scene within a certain range around the single vehicle, multi-task decoding can be performed to output results such as 3D tracking, semantic map construction, and instance trajectory prediction. However, for autonomous vehicle formations, no relevant literature has proposed a joint perception-prediction algorithm suitable for scenarios such as formation decision planning and formation control.

[0007] The Chinese patent "CN116469079A A method and related device for learning BEV tasks for autonomous driving" proposes to characterize geometric depth information features through the BEV features obtained from the bird's-eye view. Since the BEV features are obtained by fusing, normalizing and aligning the point cloud data of temporal stereo matching and the point cloud data estimated by depth, and obtaining the aligned point cloud data, and performing outer product operations and voxel pooling operations on the context features extracted from the image features of the multi-view images and the aligned point cloud data, the BEV features are features that can characterize the perspective or coordinate system of the perceived world, so the BEV features can also characterize geometric depth information features, and thus by using the BEV features to learn machine vision tasks, it is possible to effectively avoid safety hazards of autonomous driving vehicles when driving. The BEV features described in the patent are used to achieve the visual tasks of autonomous driving, and it is not indicated that the features can be used for trajectory prediction tasks, nor is it stated that they can be used for autonomous driving fleet prediction.

[0008] The Chinese patent "CN116552567A An interactively enhanced trajectory prediction method and system for L3 high-speed autonomous driving" proposes a trajectory prediction method for high-speed scene autonomous driving, which mainly includes the following parts: obtaining the historical trajectory of the predicted main vehicle and surrounding vehicles; constructing a trajectory prediction model, including an input module, a target encoding module, an interactive encoding module and a decoding module, wherein the input module encodes the trajectory and adds position information to obtain trajectory features, the target encoding module predicts the trajectory features of the main vehicle and processes them to obtain target encoding features, the interactive encoding module processes the trajectory features of the predicted main vehicle and surrounding vehicles to obtain interactive encoding features, and the decoding module decodes based on the target encoding features and the interactive encoding features to obtain the predicted future trajectory. The prediction method described in this patent directly uses the perception results as input, and cannot achieve parameter sharing and closed-loop training between the two tasks.

[0009] The papers "FIERY: Future Instance Prediction in Bird's-Eye View from Surround Monocular Cameras" and "BEVerse: Joint 3D Object Detection and SemanticMap Segmentation in Large-Scale Autonomous Driving" proposed encoding surround camera images of multiple time steps through an image encoder, then using a view converter to obtain BEV representation, and finally obtaining 3D perception, semantic map construction, and instance motion prediction results through a multi-task decoder. The image encoder is mainly implemented by CNN or SwinTransformer, and the view converter is implemented by implicit depth estimation based on Transformer or explicit depth estimation based on LSS. The multi-task decoder can be flexibly selected according to the specific task. However, the method proposed in this paper is only applicable to single self-driving cars. If each single car performs joint perception prediction based on BEV, there may be a huge occupation of the computing power of the fleet hardware equipment in actual operation. Summary of the invention

[0010] The technical problem to be solved by the present invention is to provide a joint perception and prediction method for an autonomous driving fleet in high-speed scenarios in response to the deficiencies of the above-mentioned prior art, which can not only solve the problem of repeated calculation of surrounding scene coding for each vehicle in the fleet to perceive and predict individually; at the same time, through the joint training optimization of perception and prediction tasks, parameter sharing of the two tasks can be achieved, thereby further reducing the amount of calculation.

[0011] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0012] A joint perception prediction method for an autonomous driving fleet in a high-speed scene includes setting a single-vehicle surround view sensor device, single-vehicle environment modeling and multimodal feature extraction, single-vehicle multimodal feature fusion, building a fleet-level fleet-level bird's-eye view representation, that is, a fleet-level BEV representation, performing fleet-level BEV temporal fusion, and performing multi-task training for joint perception prediction; obtaining a single-vehicle BEV representation of the current scene by encoding and feature conversion of surround view images and radar RAD data; then obtaining a fleet-level BEV representation by spatial alignment, wherein the fleet-level BEV representation is an environmental modeling result covering the traffic scene in which the entire fleet is located; based on the BEV representation, temporal self-attention is used to perform feature aggregation in the time dimension, and finally obtaining a fleet-level perception and prediction result.

[0013] Furthermore, the method for setting up the single-vehicle surround view sensor device is to use cameras and millimeter-wave radars to achieve multi-modal surround view perception; the visual sensors used for the joint perception and prediction system include 6 cameras and 8 millimeter-wave radars, among which the millimeter-wave radars are used as sensors to assist the cameras when they are insufficient under special environmental conditions; a deep neural network is used to process the underlying data of the radar, namely, the RAD tensor (Range-Azimuth-Doppler Tensor) is used as input.

[0014] Furthermore, the single-vehicle environment modeling and multimodal feature extraction are based on the above-mentioned sensor settings, using multi-view cameras and millimeter-wave radar RAD data on the single-vehicle side for multimodal BEV perception, and the fusion method uses deep feature fusion; the single-vehicle side overall network includes an image branch and a radar branch;

[0015] Image branch: The multi-view image branch on the single vehicle side first extracts features from the 6-way surround view image of a single frame. The encoder uses RegNet as the backbone network and performs multi-scale feature fusion of the features of the four stages through FPN as the image features of the current environment, as shown in the following formula:

[0016] ;

[0017] Among them, IM i represents the i-th image, Feat i im represents the feature vector extracted from the i-th image;

[0018] Radar branch: The single-vehicle radar branch uses the RAD tensor as input. The RAD data is regarded as a multi-channel image in polar coordinates. The number of channels is the Dopler dimension. The ResNet network is used for feature extraction to obtain the radar features of the current environment:

[0019] ;

[0020] Among them, RAD j represents the j-th RAD tensor, Feat j rad Represents the feature vector extracted from the j-th RAD tensor.

[0021] Furthermore, the single-vehicle multimodal feature fusion is to fuse the RAD tensor with the image features, and the image features need to be converted into the feature space of the BEV through the BEV perspective conversion; based on the assumption that the depth distribution along the camera ray is uniform during the conversion process from the image to the BEV view, the Fast-Ray transformation is adopted to achieve fast BEV perspective conversion through the lookup table and multi-view voxel mapping;

[0022] To use Fast-Ray transformation, you first need to establish a lookup table (LUT). Based on the assumption that the light depth is evenly distributed, the 3D features are calculated from the camera parameters, that is, each voxel in the BEV corresponds to the three-dimensional coordinates (x, y, z) of each pixel in the image. If the obtained 2D pixel coordinates are in the imaging plane, its index mapping in the lookup table will be established:

[0023] ;

[0024] Where offset is the 3D voxel index, img is the corresponding camera index, and x img and img are the corresponding three-dimensional coordinates;

[0025] After obtaining the lookup table, the three-dimensional voxel feature, namely the BEV feature Volume, is established through the two-dimensional feature:

[0026] ;

[0027] Since the sensing range and installation position of the two sensors are different, spatial coordinate alignment is required before fusion. The image BEV features and radar BEV features are translated with the center coordinates of the bicycle as the coordinate origin, and then the channels are superimposed after upsampling and aligning the scale to obtain the BEV multimodal features of bicycle perception:

[0028] ;

[0029] Among them, Feat rad Represents RAD features, Volume represents a three-dimensional voxel feature constructed from two-dimensional features, Scale represents a scaling operation, Align represents an alignment operation, and Concat represents a connection operation;

[0030] At this point, the multimodal BEV features of the single vehicle are obtained. Subsequently, a basic network is used as a decoder, and a detection head is set to output the detection box Bbox and confidence Conf of 3D target detection.

[0031] Furthermore, the construction of the fleet-level BEV representation is that after the BEV feature map is obtained through Fast-Ray transformation on the single-vehicle side, the feature is transmitted to the fleet controller for multi-vehicle BEV fusion, and spatial alignment of the multi-vehicle BEV domains is achieved during the fusion; the BEV features of multiple vehicles are aligned and fused into a BEV feature covering the entire fleet through the world coordinates and camera internal and external parameters of each single vehicle in the fleet; by constructing the fleet-level BEV feature, the environment in which the fleet is located, including dynamic targets and static context information, is semantically enriched and encoded; at the same time, since the subsequent task target tracking and trajectory prediction involve time series information, multi-frame feature fusion is required in the fleet controller, and a historical BEV feature cache is designed after obtaining the fleet-level BEV feature to facilitate the calculation of attention scores in the subsequent time series module.

[0032] Furthermore, the fleet-level BEV temporal fusion refers to designing a temporal fusion module based on cross-attention based on the real-time constructed fleet-level BEV features and the historical BEV feature cache, performing temporal aggregation on the BEV features within a specified time window, and obtaining the BEV spatiotemporal features within the time window, which are used as the input for subsequent multi-task decoding;

[0033] The BEV characteristic at time t is denoted as S t , in order to maintain the temporal order in the attention calculation, an item is added as a position code in the forward sequence of the attention calculation, and the sequence of the input temporal self-attention is: , where T is the time window and d is the BEV feature dimension; before calculating the temporal attention, the input features are linearly mapped and then the Softmax calculation is performed. An M is added to the Softmax calculation to ensure forward aggregation in chronological order, as shown below:

[0034] ;

[0035] ;

[0036] ;

[0037] Among them, Q t , K t and V t are the query vector, key vector, and value vector used to calculate the attention score, W Q , W K and W Vis the corresponding linear mapping weight matrix; j and k are any two timestamps in the time series; is the feature vector calculated by attention;

[0038] After passing through the temporal self-attention module, the output feature is an intermediate representation that aggregates temporal and spatial semantic information. Subsequently, an MLP-based decoder and two output heads are used to obtain the required 3D detection and instance-level trajectory prediction results.

[0039] Furthermore, in the multi-task training of the joint perception prediction, a two-stage training method is adopted. In order to ensure the detection effect of the single-vehicle perception model, the first stage only trains the single-vehicle perception model, and the output is the 2D detection result and BEV features of the single vehicle. The second stage trains the fleet-level perception prediction model, uses the multi-vehicle fused BEV features to train the temporal attention model and decoder, and outputs the fleet-level 3D perception and prediction results.

[0040] The task of the first stage focuses on learning the spatial semantic information in the environment. It is hoped that the generated BEV features will contain all the information describing the entire single vehicle perception range, so as to cover the perception range of the entire fleet in the second stage. By associating the spatial information in the prediction time window, temporal information aggregation is performed. At this time, the model focuses on the relationship and changes between spatial features at different time steps for subsequent 3D perception and prediction.

[0041] The beneficial effects of adopting the above technical solution are: the joint perception prediction method for high-speed scene autonomous driving fleet provided by the present invention realizes the construction of BEV features covering the entire fleet by integrating the BEV domain features of multiple vehicles, and integrates a large range of dynamic and static context information into the fleet-level BEV features, and performs multi-task decoding of joint perception and prediction based on this. Compared with the single-task model, the joint perception prediction multi-task model of the present invention realizes parameter sharing in the feature extraction part, which is conducive to the real-time operation of the vehicle-mounted equipment. Compared with the perception and prediction based on a single vehicle, the present invention realizes the construction of fleet-level BEV by integrating the perception data of each single vehicle based on the fleet-level joint perception prediction, and performs subsequent perception and prediction within the fleet, which is conducive to reducing the prediction errors caused by the inaccurate modeling of the environment by a single vehicle (occlusion, etc.), thereby avoiding some safety hazards in the control process and reducing the computational burden caused by repeated predictions. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A structural diagram of a single-vehicle multi-sensor BEV perception model provided in an embodiment of the present invention;

[0043] Figure 2 A schematic diagram of the configuration of a single-vehicle surround view sensor provided in an embodiment of the present invention;

[0044] Figure 3 A structural diagram of the fleet-level BEV timing fusion and multi-task decoding model provided in an embodiment of the present invention.

[0045] In the picture: 1. Millimeter-wave radar; 2. Camera. DETAILED DESCRIPTION

[0046] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0047] like Figure 1 As shown, the method of this embodiment is described as follows.

[0048] The joint perception prediction method for an autonomous driving fleet in a high-speed scenario in this embodiment includes the following modules: single-vehicle environment modeling and multimodal feature extraction and fusion, fleet-level BEV construction and time series fusion. Environmental information is collected through a variety of on-board sensors (cameras and millimeter-wave radars), and the obtained surround view images and RAD tensors are encoded and coordinate aligned to obtain a BEV representation of the current scene, and then the BEV features of multiple vehicles are combined to establish a fleet-level BEV representation covering the fleet. Based on the single-vehicle BEV representation, single-vehicle environmental perception can be achieved for single-vehicle control decisions, and joint perception and prediction can be achieved after time series information aggregation based on the fleet-level BEV representation.

[0049] Step 1: Set up the bicycle surround view sensor device.

[0050] Realizing the joint perception of the fleet requires the real-time perception of the environment of each vehicle and accurate modeling analysis. The perception of the environment by autonomous driving is mainly obtained by sensors such as cameras, ultrasonic radars, millimeter-wave radars and lidars, and then the environment is modeled by algorithms to achieve dynamic and static perception of the current environment based on data features of multiple modalities. Due to the high cost of lidars, cameras and millimeter-wave radars are used in this embodiment to achieve multi-modal surround perception. Sensor layout is as follows: Figure 2 As shown, the visual sensor used for the joint perception and prediction system includes 6 cameras 2 and 8 millimeter-wave radars 1. The gray part in the figure is the shooting range of the camera. The millimeter-wave radar 1 used can be used as a sensor to assist the camera 2 in special environmental conditions, thereby improving the reliability of the system. Usually, the point cloud of the millimeter-wave radar is very sparse, and a lot of useful information has been filtered out during the radar signal processing (such as the CFAR algorithm). Therefore, this embodiment uses a deep neural network to process the underlying data of the radar, namely the RAD tensor (Range-Azimuth-Doppler Tensor).

[0051] Step 2: Bicycle environment modeling and multimodal feature extraction.

[0052] Bird's Eye View (BEV) is a perspective of viewing an object or scene from above. It has the following advantages in autonomous driving scenarios: 1) Simplified perspective: BEV simplifies three-dimensional space into two dimensions, which can save a lot of resources in computing and storage; 2) Visual effect: BEV provides a unique visual effect that makes objects and spatial relationships in the scene more clearly visible; 3) Convenient processing: It is much simpler to process tasks such as object detection, tracking and classification in BEV than to process them directly in the original 3D data; 4) Convenient for fusion and downstream task processing: It is more convenient to fuse with lidar and is more friendly to downstream tasks such as path planning and control; 5) Universal coordinate system: In BEV coordinates, the BEV coordinate system of different frames can be aligned by simple translation and rotation (based on the vehicle's motion information), which opens the door to the temporal fusion of feature layers; 6) Scale consistency: Camera detection will result in large objects near and small objects far away, while BEV has almost no scale difference between similar targets, making it easier to learn feature scale consistency. Perception methods based on BEV representation have become the basis for the perception of the new generation of autonomous driving vehicles. Based on the above sensor settings, multi-view cameras and millimeter-wave radar RAD data are used on the single vehicle side for multi-modal BEV perception, and the fusion method uses deep feature fusion. The overall network structure flow chart of the single vehicle side is as follows: Figure 1 As shown, it includes an image branch and a radar branch.

[0053] Image branch: The multi-view image branch on the single vehicle side first extracts features from the 6-way surround view image of a single frame. The encoder uses RegNet as the backbone network and performs multi-scale feature fusion of the features of the four stages through FPN as the image features of the current environment, as shown in the following formula:

[0054] ;

[0055] Among them, IM i represents the i-th image, Feat i im Represents the i-th image (IM i )The extracted feature vector.

[0056] Radar branch: The vehicle-side radar branch uses RAD tensors as input. Compared with traditional radar point clouds, RAD tensors contain more information and are more suitable for feature extraction using deep neural networks. Usually, RAD data can be regarded as multi-channel images in polar coordinates, with the number of channels being the Dopler dimension. ResNet networks are used for feature extraction to obtain the radar features of the current environment:

[0057] ;

[0058] Among them, RAD j represents the j-th RAD tensor, Feat j rad Represents the feature vector extracted from the j-th RAD tensor.

[0059] Step 3: Single vehicle multimodal feature fusion.

[0060] Since the RAD tensor can be regarded as a multi-channel image in polar coordinates, it can be converted into an image under the BEV perspective. In order to fuse it with the image features, it is necessary to convert the image features into the feature space of the BEV perspective through the BEV perspective conversion. The BEV perspective conversion is the process of generating BEV features by encoding the surround image features, including two types of methods: bottom-up LSS-based methods and top-down Transformer-based methods. The core of the LSS-based method is to explicitly estimate the depth distribution of feature points after the image plane is downsampled for each camera image, obtain the view cone (point cloud) containing the image features, and then combine the internal and external parameters of the camera to form a BEV feature map. The method of constructing BEV based on Transformer is to first predefine the BEV feature map to be generated, use the global perception ability of Transformer to query the corresponding information multiple times in the features of multiple perspective images, and fuse and update the information into the BEV feature map. However, these two methods are difficult to deploy on the vehicle hardware. This embodiment is based on the assumption that the depth distribution along the camera ray is uniform during the conversion process from the image to the BEV view. Fast-Ray transformation is adopted to achieve fast BEV perspective conversion through lookup table and multi-view voxel mapping. Compared with the above two traditional methods, it is more suitable for deployment in a vehicle environment.

[0061] To use Fast-Ray transformation, you first need to build a lookup table (LUT). Based on the assumption that the light depth is evenly distributed, the camera parameters are used to calculate the three-dimensional coordinates (x, y, z) of each voxel in the 3D feature (BEV) corresponding to each pixel in the image. If the obtained 2D pixel coordinates are in the imaging plane, their index mapping in the LUT will be established:

[0062] ;

[0063] Where offset is the 3D voxel index, img is the corresponding camera index, and x img and img are the corresponding three-dimensional coordinates.

[0064] After obtaining the LUT lookup table, the three-dimensional voxel feature (BEV feature) Volume is established through the two-dimensional feature:

[0065] ;

[0066] Since the sensing range and installation position of the two sensors are different, spatial coordinate alignment is required before fusion. The image BEV features and radar BEV features are translated with the center coordinates of the bicycle as the coordinate origin, and then the channels are superimposed after upsampling and aligning the scale to obtain the multimodal features of bicycle perception:

[0067] ;

[0068] Among them, Feat rad Represents RAD features, Volume represents three-dimensional voxel features constructed by two-dimensional features, Scale represents scaling operations, Align represents alignment operations, and Concat represents connection operations.

[0069] At this point, the multimodal BEV features of the single vehicle are obtained. Subsequently, a basic network is used as a decoder, and a detection head is set to output the detection box Bbox and confidence Conf of 3D target detection.

[0070] Step 4: Fleet-level BEV construction.

[0071] After the BEV feature map is obtained through Fast-Ray on the single vehicle side, the feature is transmitted to the fleet controller for multi-vehicle BEV fusion. The main step in the fusion is to achieve spatial alignment of the multi-vehicle BEV domain. Through the world coordinates and camera internal and external parameters of each single vehicle in the fleet, the BEV features of multiple vehicles can be aligned and fused into a BEV feature covering the entire fleet. Figure 3 As shown in the figure. By constructing fleet-level BEV features, the environment of the fleet, including dynamic targets and static context information, is semantically richly encoded. At the same time, since the subsequent tasks (target tracking and trajectory prediction) involve time series information, multi-frame feature fusion is required in the fleet controller. After obtaining the fleet-level BEV features, a historical BEV feature cache is designed to facilitate the calculation of attention scores in the subsequent time series module.

[0072] Step 5: Fleet-level BEV timing fusion.

[0073] Based on the real-time constructed fleet-level BEV features and historical BEV feature cache, a temporal fusion module based on cross-attention is designed to perform temporal aggregation on the BEV features within a specified time window to obtain the BEV spatiotemporal features within the time window. The BEV spatiotemporal features can be used as the input for subsequent multi-task decoding.

[0074] The BEV characteristic at time t is denoted as S t, in order to maintain the temporal order in the attention calculation, an item is added as a position code in the forward sequence of the attention calculation, and the sequence of the input temporal self-attention is: , where T is the time window and d is the BEV feature dimension. Before calculating the temporal attention, the input features are linearly mapped and then the Softmax calculation is performed. An M is added to the Softmax calculation to ensure forward aggregation in chronological order:

[0075] ;

[0076] ;

[0077] ;

[0078] Among them, Q t , K t and V t are the query vector, key vector, and value vector used to calculate the attention score, W Q , W K and W V is the corresponding linear mapping weight matrix; j and k are any two timestamps in the time series; is the feature vector calculated by attention.

[0079] After passing through the temporal self-attention module, the output feature is an intermediate representation that aggregates temporal and spatial semantic information. Subsequently, an MLP-based decoder and two output heads are used to obtain the required 3D detection and instance-level trajectory prediction results.

[0080] Step 6: Multi-task training for joint perception prediction.

[0081] In terms of model training, a two-stage training method is adopted. In order to ensure the detection effect of the single-vehicle perception model, the first stage only trains the single-vehicle perception model, and the output is the 2D detection results and BEV features of the single vehicle; the second stage trains the fleet-level perception prediction model, and uses the multi-vehicle fused BEV features to train the temporal attention model and decoder, and the output is the fleet-level 3D perception and prediction results. The task of the first stage focuses on the learning of spatial semantic information in the environment, hoping that the generated BEV features contain all the information describing the entire single-vehicle perception range, so as to cover the entire fleet perception range in the second stage, and aggregate the temporal information by associating the spatial information in the prediction time window. At this time, the model focuses on the relationship and changes between spatial features at different time steps, so as to perform subsequent 3D perception and prediction.

[0082] By adopting the joint perception and prediction method described in this embodiment, an autonomous driving fleet can acquire and initially encode local environment perception data through the visual sensors of each vehicle and the computing power of the vehicle, and then realize the spatial fusion of multiple BEV domains and the execution of subsequent perception and prediction tasks through the fleet controller.

[0083] The joint perception prediction method provided in this embodiment can save computing power. First, the perception prediction at the fleet level reduces the requirements for the perception range of the single vehicle. By integrating multiple small-range perception results to build a perception range that can cover the entire fleet, the perception capability is enhanced while reducing the perception calculation amount at the single vehicle side. Secondly, by adopting an attention calculation strategy that separates the spatial and temporal dimensions, the timing part is placed in the fleet-level controller for calculation, which reduces the perception calculation burden of the single vehicle side. At the same time, the timing calculation after integrating the fleet-level spatial information will be more efficient.

[0084] The joint perception and prediction method provided in this embodiment can reduce conflicts. By integrating fleet-level environment modeling, possible conflicts between single-vehicle perception and prediction are reduced, thereby avoiding some safety hazards in the control process.

[0085] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope defined by the claims of the present invention.

Claims

1. A joint perception prediction method for autonomous driving fleets in high-speed scenarios, Features: The method includes setting up a single-vehicle surround view sensor device, single-vehicle environment modeling and multimodal feature extraction, single-vehicle multimodal feature fusion, constructing a fleet-level bird's-eye view representation, namely, a fleet-level BEV representation, performing fleet-level BEV temporal fusion, and performing multi-task training for joint perception prediction; obtaining a single-vehicle BEV representation of the current scene by encoding and converting the surround view image and radar RAD data; then obtaining a fleet-level BEV representation by spatial alignment, wherein the fleet-level BEV representation is an environmental modeling result covering the traffic scene in which the entire fleet is located; based on the BEV representation, temporal self-attention is used to perform feature aggregation in the time dimension, and finally obtaining fleet-level perception and prediction results; The single-vehicle environment modeling and multi-modal feature extraction are based on the setting of the single-vehicle surround view sensor, using multi-view camera and millimeter-wave radar RAD data on the single-vehicle side for multi-modal BEV perception, and the fusion method uses deep feature fusion; The overall network of a single vehicle includes an image branch and a radar branch; Image branch: The multi-view image branch on the single vehicle side first extracts features from the 6-way surround view image of a single frame. The encoder uses RegNet as the backbone network and performs multi-scale feature fusion of the features of the four stages through FPN as the image features of the current environment, as shown in the following formula: ; Among them, IM i represents the i-th image, Feat i im represents the feature vector extracted from the i-th image; Radar branch: The single-vehicle radar branch uses the RAD tensor as input. The RAD data is regarded as a multi-channel image in polar coordinates. The number of channels is the Dopler dimension. The ResNet network is used for feature extraction to obtain the radar features of the current environment: ; Among them, RAD j represents the j-th RAD tensor, Feat j rad Represents the feature vector extracted from the j-th RAD tensor.

2. The joint perception prediction method for a high-speed scene autonomous driving fleet according to claim 1, Features: The method for setting up the single-vehicle surround view sensor device is to use cameras and millimeter-wave radars to achieve multi-modal surround view perception; the visual sensors used for the joint perception and prediction system include 6 cameras and 8 millimeter-wave radars, among which the millimeter-wave radars are used as sensors to assist the cameras in special environmental conditions when their capabilities are insufficient; a deep neural network is used to process the underlying data of the radar, namely, the RAD tensor is used as input.

3. The joint perception prediction method for high-speed scene autonomous driving fleet according to claim 2, Features: The single-vehicle multimodal feature fusion is to fuse the RAD tensor with the image features, and the image features need to be converted into the feature space of the BEV through the BEV perspective conversion; based on the assumption that the depth distribution along the camera ray is uniform during the conversion process from the image to the BEV view, the Fast-Ray transformation is adopted to achieve fast BEV perspective conversion through the lookup table and multi-view voxel mapping; To use Fast-Ray transformation, you first need to establish a lookup table. Based on the assumption that the light depth is evenly distributed, the 3D features are calculated from the camera parameters, that is, each voxel in the BEV corresponds to the three-dimensional coordinates (x, y, z) of each pixel in the image. If the obtained 2D pixel coordinates are in the imaging plane, its index mapping in the lookup table will be established: ; Where offset is the 3D voxel index, img is the corresponding camera index, and x img and img are the corresponding three-dimensional coordinates; After obtaining the lookup table, the three-dimensional voxel feature, namely the BEV feature Volume, is established through the two-dimensional feature: ; Since the sensing range and installation position of the two sensors are different, spatial coordinate alignment is required before fusion. The image BEV features and radar BEV features are translated with the center coordinates of the bicycle as the coordinate origin, and then the channels are superimposed after upsampling and aligning the scale to obtain the BEV multimodal features of bicycle perception: ; Among them, Feat rad Represents RAD features, Volume represents a three-dimensional voxel feature constructed from two-dimensional features, Scale represents a scaling operation, Align represents an alignment operation, and Concat represents a connection operation; At this point, the multimodal BEV features of the single vehicle are obtained. Subsequently, a basic network is used as a decoder, and a detection head is set to output the detection box Bbox and confidence Conf of 3D target detection.

4. The joint perception prediction method for a high-speed scene autonomous driving fleet according to claim 3, Features: The construction of the fleet-level BEV representation is to obtain the BEV feature map through Fast-Ray transformation on the single vehicle side, transmit the feature map to the fleet controller, perform multi-vehicle BEV fusion, and realize spatial alignment of the multi-vehicle BEV domain during the fusion; through the world coordinates and camera internal and external parameters of each single vehicle in the fleet, the BEV features of multiple vehicles are aligned and fused into a BEV feature covering the entire fleet; By constructing fleet-level BEV features, the environment of the fleet, including dynamic targets and static context information, is semantically enriched. At the same time, since subsequent task target tracking and trajectory prediction involve timing information, multi-frame feature fusion is required in the fleet controller. After obtaining the fleet-level BEV features, a historical BEV feature cache is designed to facilitate the calculation of attention scores in subsequent timing modules.

5. The joint perception prediction method for high-speed scene autonomous driving fleet according to claim 1, Features: The fleet-level BEV temporal fusion refers to designing a temporal fusion module based on cross-attention based on the real-time constructed fleet-level BEV features and the historical BEV feature cache, performing temporal aggregation on the BEV features within a specified time window, and obtaining the BEV spatiotemporal features within the time window. The BEV spatiotemporal features are used as the input for subsequent multi-task decoding; The BEV characteristic at time t is denoted as S t , in order to maintain the temporal order in the attention calculation, an item is added as a position code in the forward sequence of the attention calculation, and the sequence of the input temporal self-attention is: , where T is the time window and d is the BEV feature dimension; before calculating the temporal attention, the input features are linearly mapped and then the Softmax calculation is performed. An M is added to the Softmax calculation to ensure forward aggregation in chronological order, as shown below: ; ; ; Among them, Q t , K t and V t are the query vector, key vector, and value vector used to calculate the attention score, W Q , W K and W V is the corresponding linear mapping weight matrix; j and k are any two timestamps in the time series; is the feature vector calculated by attention; After passing through the temporal self-attention module, the output feature is an intermediate representation that aggregates temporal and spatial semantic information. Subsequently, an MLP-based decoder and two output heads are used to obtain the required 3D detection and instance-level trajectory prediction results.

6. The joint perception prediction method for a high-speed scene autonomous driving fleet according to claim 1, Features: In the multi-task training of the joint perception prediction, a two-stage training method is adopted. To ensure the detection effect of the perception model on the single vehicle side, the task of the first stage is to learn the spatial semantic information in the environment. Only the perception model on the single vehicle side is trained, and the output is the 2D detection result and BEV feature of the single vehicle side. The generated BEV feature contains all the information describing the entire perception range of the single vehicle; the second stage trains the fleet-level perception prediction model, covering the perception range of the entire fleet, and uses the BEV features of multi-vehicle fusion to train the temporal attention model and decoder. By associating the spatial information in the prediction time window, the temporal information is aggregated, and the output is the fleet-level 3D perception and prediction results.