Autonomous driving trajectory decision method and device for collaborative end-to-end large model

By adopting a collaborative end-to-end large model in the autonomous driving system, integrating multi-view and multi-modal features of the own vehicle, other vehicles and road ends, and combining natural language models for trajectory decision-making, the lack of accuracy in trajectory decision-making in the existing technology is solved. problems, improving the perception and decision-making capabilities of autonomous driving.

CN118025228BActive Publication Date: 2024-09-17BEIJING UNIV OF CHEM TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410215363.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-27
Publication Date
2024-09-17
Estimated Expiration
2044-02-27

AI Technical Summary

Technical Problem

Existing large language models for autonomous driving fail to effectively utilize collaborative sensing features in trajectory decision-making, causing the accuracy of vehicle trajectory decision-making to be affected.

Method used

Using a large model for collaborative end-to-end, by obtaining RGB images and point cloud data of the own vehicle, other vehicles and road ends, the feature extraction network and the deformed cross-attention network are used to fuse multi-view and multi-modal features to generate fused BEV features. , and combines large visual language models and natural language models to make decisions.

Benefits of technology

It improves the perception accuracy and decision-making accuracy of autonomous vehicles, can better handle complex traffic environments, reduces the risk of accidents caused by vehicle-to-road communication delays, and enhances the accuracy and safety of trajectory decision-making.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118025228B
    Figure CN118025228B
Patent Text Reader

Abstract

The present application provides an autonomous driving trajectory decision method and device for a collaborative end-to-end large model, wherein the method includes: using a first feature extraction network to process the RGB image of the vehicle, the RGB image of the other vehicle, and the RGB image of the road to obtain a first image feature, a second image feature, and a third image feature; fusing the first image feature, the second image feature, and the third image feature to obtain an image fusion feature; using a second feature extraction network to process the point cloud data of the road to obtain a road point cloud feature; processing the image fusion feature and the road point cloud feature to obtain a first BEV feature and a second BEV feature; fusing the first BEV feature and the second BEV feature to obtain a fused BEV feature; using a large visual language model to fuse prompt information and fused BEV features to obtain text information; using a large natural language model to process text information to obtain the vehicle trajectory decision result. The present application improves the accuracy of trajectory decision.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of autonomous driving technology, and in particular to an autonomous driving trajectory decision method and device for a collaborative end-to-end large model. Background Art

[0002] At present, the existing collaborative perception or end-to-end algorithms mainly include: multi-sensor information feature fusion to achieve higher perception accuracy and range; using the attention mechanism to aggregate the features of the previous and next frames of the video, which has a high real-time cost and has the problem of attention drift, and may pay more attention to earlier frames and ignore newer information, resulting in performance degradation; using large models to improve the effect of video understanding.

[0003] However, most of the existing large language models for autonomous driving do not perform reasoning and learning based on collaborative perception features, which in turn affects the accuracy of the vehicle's trajectory decisions. Summary of the invention

[0004] In view of this, the present application provides an autonomous driving trajectory decision method and device for a collaborative end-to-end large model to solve the above-mentioned technical problems.

[0005] In a first aspect, an embodiment of the present application provides an autonomous driving trajectory decision method for a collaborative end-to-end large model, including:

[0006] Obtain the RGB image of the vehicle, the RGB image of the other vehicle, the RGB image of the road, and the point cloud data of the road in the target area at the current moment;

[0007] Using a first feature extraction network, the RGB image of the vehicle, the RGB image of the other vehicle, and the RGB image of the road are processed respectively to obtain a first image feature, a second image feature, and a third image feature;

[0008] fusing the first image feature, the second image feature and the third image feature to obtain an image fusion feature;

[0009] Processing the point cloud data of the road end using a second feature extraction network to obtain a road end point cloud feature;

[0010] Processing the image fusion feature and the road end point cloud feature to obtain a first BEV feature and a second BEV feature;

[0011] fusing the first BEV feature and the second BEV feature to obtain a fused BEV feature;

[0012] The prompt information representing the user's intention and the fused BEV features are fused using a large visual language model to obtain text information; the text information is processed using a large natural language model to obtain a self-vehicle trajectory decision result.

[0013] Furthermore, the first image feature, the second image feature and the third image feature are fused to obtain an image fusion feature, including:

[0014] The first image feature is processed using the first 1x1 convolutional layer to obtain the first key vector K sv , the first value vector V sv and the key vector Q sv ;

[0015] The second image feature is processed using the second 1x1 convolutional layer to obtain the second key vector K VR and the second value vector V VR ;

[0016] The third image feature is processed using the third 1x1 convolutional layer to obtain the third key vector K vr and the third value vector V vr ;

[0017] The first fusion feature F 1 for:

[0018]

[0019] The second fusion feature F 2 for:

[0020]

[0021] The third fusion feature F 3 for:

[0022]

[0023] Image fusion feature F im for:

[0024] F im =F 1 +F 2 +F 3

[0025] Among them, d k Denotes the first key vector K sv Dimension.

[0026] Further, the image fusion feature and the road end point cloud feature are processed to obtain a first BEV feature and a second BEV feature, including:

[0027] The image fusion features are processed using the deformable cross attention network to obtain the first BEV feature

[0028]

[0029] Among them, Q is the BEV parameter to be learned; Indicates that the j-th three-dimensional point S j Project to image fusion feature F im The i-th channel The result; DeformAttn() represents the deformed cross attention network;

[0030] The deformed cross attention mechanism network is used to process the road end cloud features to obtain the second BEV feature

[0031]

[0032] in, Indicates that the j-th three-dimensional point S j Projected to the road end point cloud feature F LiD The i-th channel Result;

[0033] The second BEV feature Convert to the vehicle-centered coordinate system.

[0034] Further, the first BEV feature and the second BEV feature are fused to obtain a fused BEV feature; including:

[0035] The first BEV feature is reduced in dimension using the first 3x3 convolutional layer to obtain the first BEV feature after dimension reduction;

[0036] The first BEV feature after dimensionality reduction is processed by using an adaptive global average pooling operation to obtain a first global feature;

[0037] Using the fourth 1x1 convolutional layer to reduce the dimension of the first global feature, to obtain the first global feature after dimension reduction;

[0038] Normalizing the first global feature after dimensionality reduction to obtain a first weighted feature map;

[0039] Calculate the product of the first BEV feature and the first weight feature map using a first multiplier to obtain a weighted first BEV feature;

[0040] The second BEV feature is reduced in dimension using the second 3x3 convolutional layer to obtain the reduced-dimensional second BEV feature;

[0041] The second BEV feature after dimensionality reduction is processed by a second adaptive global average pooling operation to obtain a second global feature;

[0042] The fifth 1x1 convolutional layer is used to reduce the dimension of the second global feature to obtain the reduced-dimensional second global feature;

[0043] Normalizing the second global feature after dimension reduction to obtain a second weighted feature map;

[0044] Calculate the product of the second BEV feature and the second weight feature map using a second multiplier to obtain a weighted second BEV feature;

[0045] The weighted first BEV feature and the weighted second BEV feature are concatenated to obtain a fused BEV feature.

[0046] Furthermore, the first feature extraction network is ResNet101; and the second feature extraction network is VoxelNet.

[0047] Furthermore, the method also includes: a step of jointly training a first feature extraction network, a second feature extraction network, a first 1x1 convolutional layer, a second 1x1 convolutional layer, a third 1x1 convolutional layer, a deformable cross attention network, a first 3x3 convolutional layer, a fourth 1x1 convolutional layer, a second 3x3 convolutional layer and a fifth 1x1 convolutional layer.

[0048] In a second aspect, an embodiment of the present application provides an autonomous driving trajectory decision device for a collaborative end-to-end large model, including:

[0049] An acquisition unit is used to acquire the RGB image of the vehicle side, the RGB image of the other vehicle side, the RGB image of the road side and the point cloud data of the road side in the target area at the current moment;

[0050] A first processing unit is used to process the RGB image of the vehicle, the RGB image of the other vehicle, and the RGB image of the road using a first feature extraction network to obtain a first image feature, a second image feature, and a third image feature;

[0051] A first fusion unit, configured to fuse the first image feature, the second image feature and the third image feature to obtain an image fusion feature;

[0052] A second processing unit is used to process the point cloud data of the road end using a second feature extraction network to obtain a road end point cloud feature;

[0053] A third processing unit is used to process the image fusion feature and the road end point cloud feature to obtain a first BEV feature and a second BEV feature;

[0054] A second fusion unit, configured to fuse the first BEV feature and the second BEV feature to obtain a fused BEV feature;

[0055] The trajectory decision unit is used to use a large visual language model to fuse the prompt information representing the user's intention and the fused BEV features to obtain text information; and use a large natural language model to process the text information to obtain a vehicle trajectory decision result.

[0056] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of the embodiment of the present application when executing the computer program.

[0057] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method of the embodiment of the present application is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0059] Figure 1 A flowchart of an autonomous driving trajectory decision method for a collaborative end-to-end large model provided in an embodiment of the present application;

[0060] Figure 2 A schematic diagram of image feature fusion provided in an embodiment of the present application;

[0061] Figure 3 A schematic diagram of BEV feature fusion provided in an embodiment of the present application;

[0062] Figure 4 A schematic diagram of the trajectory decision steps provided in an embodiment of the present application;

[0063] Figure 5 A functional structure diagram of an autonomous driving trajectory decision device for a collaborative end-to-end large model provided in an embodiment of the present application;

[0064] Figure 6 A functional structure diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0065] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0066] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0067] First, the design concept of the embodiments of the present application is briefly introduced.

[0068] End-to-end autonomous driving has become the trend of autonomous driving. It is the key to high-level autonomous driving and the ultimate goal of autonomous driving. The core technologies of end-to-end autonomous driving include perception, decision-making, planning and motion control technologies. However, most of the existing end-to-end autonomous driving technologies are oriented to single-vehicle perception and have some limitations:

[0069] Limited sensing range: Single-vehicle intelligent systems mainly rely on sensors inside the vehicle, such as cameras, lidar, radar, and ultrasonic sensors, to sense the surrounding environment. These sensors have limited sensing range and may not be able to fully cover complex traffic environments.

[0070] Limited decision-making, planning and control capabilities: Single-vehicle intelligent systems can usually only make limited decisions based on data from the vehicle's internal sensors, which makes it difficult to make appropriate plans in complex traffic conditions and, in turn, cannot accurately control movement trajectories, posing certain risks to traffic safety.

[0071] In view of the above limitations, given that vehicle-road collaboration obtains the advantages of broader perception and information sharing through real-time communication and information sharing with road infrastructure and other vehicles, considering the different perspectives of the self-vehicle, the perspectives of different vehicles relative to the self-vehicle, the spatiotemporal fusion of the road-side perspective, and the interaction of the self-vehicle's motion state and the different perspectives of other vehicles and the road-side, the accuracy of end-to-end autonomous driving decisions can be improved, and the safety of autonomous driving can be improved.

[0072] Existing collaborative perception or end-to-end algorithms mainly include: 1) multi-sensor information feature fusion to achieve higher perception accuracy and range; 2) using the attention mechanism to aggregate the features of previous and next video frames, which has a high real-time cost and has the problem of attention drift. It may pay more attention to earlier frames and ignore newer information, resulting in performance degradation; 3) using large models to improve video understanding, but most of the existing large language models for autonomous driving do not perform inference learning based on collaborative perception features, which in turn affects the accuracy of the final decision.

[0073] In order to solve the above technical problems, the present application provides an autonomous driving trajectory decision method for a collaborative end-to-end large model, including: obtaining an RGB image of the own vehicle, an RGB image of the other vehicle, an RGB image of the road, and point cloud data of the road in the target area at the current moment; using a first feature extraction network to process the RGB image of the own vehicle, the RGB image of the other vehicle, and the RGB image of the road respectively to obtain a first image feature, a second image feature, and a third image feature; fusing the first image feature, the second image feature, and the third image feature to obtain an image fusion feature; using a second feature extraction network to process the point cloud data of the road to obtain a road point cloud feature; processing the image fusion feature and the road point cloud feature to obtain a first BEV feature and a second BEV feature; fusing the first BEV feature and the second BEV feature to obtain a fused BEV feature; using a large visual language model to fuse prompt text information and the fused BEV feature to obtain context information; using a large natural language model to process the context information to obtain a self-vehicle trajectory decision result.

[0074] Compared with the prior art, the advantages of this application are:

[0075] 1. This application proposes a trajectory decision method for an end-to-end autonomous driving vehicle with collaborative perception, which uses a vehicle-road collaborative dataset and can better perceive the vehicle's visual blind spots.

[0076] 2. This application adopts the spatiotemporal fusion structure of multi-viewpoints of the vehicle itself, other vehicles, road infrastructure, and road lidar, establishes a BEV coordinate system centered on the vehicle itself, expands the data domain of the sequence perception model, and can add richer features, providing a solid foundation for the accuracy of decision-making.

[0077] 3. This application adopts a natural language decision-making model that connects BVE features and text, combines natural language and BEV features, performs multi-perspective reasoning and spatial reasoning, and makes accurate vehicle trajectory decisions.

[0078] After introducing the application scenarios and design concepts of the embodiments of the present application, the technical solutions provided by the embodiments of the present application are described below.

[0079] like Figure 1 As shown, the embodiment of the present application provides an autonomous driving trajectory decision method for a collaborative end-to-end large model, including:

[0080] Step 101: Obtain the RGB image of the vehicle side, the RGB image of the other vehicle side, the RGB image of the road side, and the point cloud data of the road side in the target area at the current moment;

[0081] For example, an RGB image is a three-channel image collected by a camera. Point cloud data is a plurality of points on the surface of an object collected by a laser radar, each point including x, y, z coordinates and a reflection intensity r.

[0082] Among them, the vehicle is equipped with four cameras of different perspectives: a forward perspective camera, a left perspective camera, a right perspective camera, and a rear perspective camera, so as to collect 360-degree image information of the vehicle and other vehicles without blind spots. The RGB image of the vehicle includes the front perspective image, the left perspective image, the right perspective image, and the rear perspective image of the vehicle. In order to save costs, this embodiment only installs a laser radar at the road end to collect continuous point cloud data for use by surrounding vehicles.

[0083] Specifically, the user intention can be obtained through prompt information, such as: turn left, turn right or speed up and go straight, etc.; according to the user intention, an RGB image is selected from the RGB images of the four cameras and the target area at the current moment is determined.

[0084] According to the target area, the corresponding RGB images collected by other vehicles and the corresponding RGB images and point cloud data collected by the road end are obtained.

[0085] For example, when the user intends to accelerate and go straight, the selected RGB image comes from the front-view camera, the target area is the front area, and the other car is the vehicle in front of the own car, and the RGB image of the other car comes from the rear-view camera of the other car.

[0086] Step 102: using a first feature extraction network to process the RGB image of the vehicle, the RGB image of the other vehicle, and the RGB image of the road, respectively, to obtain a first image feature, a second image feature, and a third image feature;

[0087] In this embodiment, the first feature extraction network is a ResNet network, and the ResNet101 network is used to process the RGB image of the vehicle side, the RGB image of the other vehicle side, and the RGB image of the road side, respectively, to obtain the image features of the vehicle side, the image features of the other vehicle side, and the image features of the road side;

[0088] Then, the image features of the vehicle and the road are synchronized to solve the problem of differences in vehicle-road perception features caused by time delays in the communication transmission process between the vehicle and the road. A coordinate system centered on the vehicle is established, and the target feature position information of the vehicle and the road is converted into a spatial coordinate perspective to create a coordinate system centered on the vehicle. In this way, the detection target is mapped to the coordinate system centered on the vehicle to solve the problem of detection errors caused by information such as the offset angle in the target features of the vehicle and the road at different coordinates. The long-distance capture capability of the cross-attention mechanism is used to fuse multi-perspective feature information, enhance the collaborative perception capabilities of the self-vehicle, other vehicles and the road, and reduce the accident rate caused by vehicle-road communication losses.

[0089] Specifically, the acquired vehicle-side, other-vehicle-side and road-side perception feature sequences are stored in the vehicle-side perception feature queue (vehicle_queue1), other-vehicle perception feature queue (vehicle_queue2) and road-side feature perception information queue (road_queue). By setting a timer, a periodic trigger is performed every T time to obtain the head of the vehicle-side queue and the road-side queue, and the timeliness check is performed based on the timestamp of the current vehicle feature set. Specifically,

[0090] T v1 Represents the timestamp of the vehicle feature set, T v2 Represents the timestamp of the vehicle-side feature set, T r Represents the timestamp of the road end feature set, T s represents the time threshold, then: if T v2 -T v1 >T s , T r -T v1 >T s , it means that the message set belongs to the delayed message, which is less helpful for perception fusion, so this feature set is discarded; on the contrary, if the difference between the two timestamps is less than the timeliness threshold T s , then it is considered that the feature set that needs to be fused at this time meets the timeliness required by perception collaboration. Timeliness threshold T s The value of depends on the perception frequency of the vehicle and the road.

[0091] Establish a coordinate system centered on the vehicle, convert the target feature position information on the vehicle side and the road side into spatial coordinate perspectives, and create a coordinate system centered on the vehicle. In this way, the detection target is mapped to the coordinate system centered on the vehicle to solve the problem of detection errors caused by the offset angle and other information in the target features on the vehicle and road sides being in different coordinates.

[0092] Specifically, based on the camera images of the self-vehicle from different perspectives, the steering angle θ of the self-vehicle in the images of other vehicles and road-side cameras, and taking the center point [x, y] of the self-vehicle feature as the rotation center, refer to the selection matrix, rotate the target features under multiple perspectives to the world coordinate system, and obtain the rotated coordinates [x′, y′]:

[0093]

[0094] Then, referring to the translation matrix, the rotated target feature coordinates are translated to the world coordinate system to obtain the coordinate system centered on the vehicle:

[0095]

[0096] in, The target vertex coordinates in the world coordinate system are represented by represents the coordinates of the vertex after rotation, Represents the vertex coordinates of the target feature under the original multi-view, and n∈{1,2,3,4} represents the four vertices of the target feature.

[0097] By synchronizing the perception features of the vehicle and the road, the problem of differences in perception features between the vehicle and the road caused by time delays in the communication transmission process between the vehicle and the road can be solved.

[0098] Step 103: fusing the first image feature, the second image feature and the third image feature to obtain an image fusion feature;

[0099] In this embodiment, with reference to the Cross-Attention mechanism, the long-distance capture capability of the Cross-Attention mechanism is used to fuse multi-perspective feature information, enhance the collaborative perception capability of the self-vehicle, other vehicles and the road side, and reduce the accident rate caused by vehicle-road communication loss.

[0100] like Figure 2 As shown, step 103 specifically includes:

[0101] The first image feature is processed using the first 1x1 convolutional layer to obtain the first key vector K sv , the first value vector V sv and the key vector Q sv ;

[0102] The second image feature is processed using the second 1x1 convolutional layer to obtain the second key vector K VR and the second value vector V VR ;

[0103] The third image feature is processed using the third 1x1 convolutional layer to obtain the third key vector K vr and the third value vector Vvr ;

[0104] The first fusion feature F 1 for:

[0105]

[0106] The second fusion feature F 2 for:

[0107]

[0108] The third fusion feature F 3 for:

[0109]

[0110] Image fusion feature F im for:

[0111] F im =F 1 +F 2 +F 3

[0112] Among them, d k Denotes the first key vector K sv Dimension.

[0113] Step 104: Processing the point cloud data of the road end using a second feature extraction network to obtain a road end point cloud feature;

[0114] In this embodiment, the second feature extraction network is a VoxelNet network, which is used to process the point cloud data of the road end to obtain the road end point cloud feature F LiD .

[0115] Step 105: Process the image fusion feature and the road end point cloud feature to obtain a first BEV feature and a second BEV feature;

[0116] Exemplary, BEV (bird's eye view): an image or view of a scene from above (bird's eye view), typically used for vehicle perception and path planning.

[0117] Collaborative perception features of camera images at the vehicle-road end F im and the lidar feature F LiDIn a different coordinate system, referring to the BEV encoding technology, the present invention aligns the BEV features of the two modes to improve the accuracy of feature fusion between the modes, so as to better play the complementary advantages between the modes. However, the perception feature coordinates of the vehicle side (the vehicle and other vehicles) and the road side after alignment are not centered on the vehicle. The present invention converts the BEV feature coordinates perceived by the road side to the coordinates centered on the vehicle, improves the fusion effect of different modal features, and makes use of the advantages of the laser radar such as high-precision distance measurement, strong anti-interference ability, and long-distance perception, thereby improving robustness.

[0118] The image fusion features are processed using the deformable cross attention mechanism network to obtain the first BEV feature

[0119]

[0120] Among them, Q is the BEV parameter to be learned; Indicates that the j-th three-dimensional point S j Project to image fusion feature F im The i-th channel Result;

[0121] The deformed cross attention mechanism network is used to process the road end cloud features to obtain the second BEV feature

[0122]

[0123] in, Indicates that the j-th three-dimensional point S j Projected to the road end point cloud feature F LiD The i-th channel Result;

[0124] The second BEV feature Transform to the vehicle-centered coordinate system to obtain the transformed second BEV feature

[0125]

[0126] in, Representation characteristics The two-dimensional coordinates of Representation characteristics The two-dimensional coordinates of Representation characteristics The two-dimensional coordinates of ; θ represents the steering angle of the vehicle at the current moment.

[0127] Step 106: Fusing the first BEV feature and the second BEV feature to obtain a fused BEV feature;

[0128] Collaborative perception feature F of camera images at the vehicle-road end im and LiDAR BEV features Interactive integration.

[0129] Using the multi-modal feature interactive fusion mechanism, the aligned vehicle-road cooperative BEV features are and LiDAR BEV features Interactive fusion is performed to retain more information features. The feature fusion strategy of channel weight normalization is used to balance the BEV features of the two modalities of lidar and camera using the learned channel weights, so that the model can automatically select the modal features that are more useful for target detection, thereby improving the model performance. The feature fusion mechanism of channel weight normalization learns the dimensional weight vector of each modality, which remains unchanged during the training process. The elements of each weight vector represent the relative importance of the corresponding channel in the fusion result. Before fusion, all weight vectors are standardized to ensure that the sum of the weights of each channel is 1.

[0130] Specifically, Figure 3 As shown, step 106 specifically includes:

[0131] The first BEV feature is reduced in dimension using the first 3x3 convolutional layer to obtain the first BEV feature after dimension reduction;

[0132] The first BEV feature after dimensionality reduction is processed by using an adaptive global average pooling operation to obtain a first global feature;

[0133] Using the fifth 1x1 convolutional layer to reduce the dimension of the first global feature, to obtain the first global feature after dimension reduction;

[0134] Normalizing the first global feature after dimensionality reduction to obtain a first weighted feature map;

[0135] Calculate the product of the first BEV feature and the first weight feature map using a first multiplier to obtain a weighted first BEV feature;

[0136] The second BEV feature is reduced in dimension using the second 3x3 convolutional layer to obtain the reduced-dimensional second BEV feature;

[0137] The second BEV feature after dimensionality reduction is processed by a second adaptive global average pooling operation to obtain a second global feature;

[0138] Using the sixth 1x1 convolutional layer to reduce the dimension of the second global feature, to obtain the reduced-dimensional second global feature;

[0139] Normalizing the second global feature after dimension reduction to obtain a second weighted feature map;

[0140] Calculate the product of the second BEV feature and the second weight feature map using a second multiplier to obtain a weighted second BEV feature;

[0141] The weighted first BEV feature and the weighted second BEV feature are concatenated to obtain a fused BEV feature.

[0142] Step 107: Use the big visual language model to fuse the prompt information representing the user's intention and the fused BEV features to obtain text information; use the big natural language model to process the text information to obtain the vehicle trajectory decision result.

[0143] like Figure 4 As shown, referring to the use of natural language description in autonomous driving, this embodiment fuses the prompt language features and the fused BEV features to enrich the BEV features, and uses the LVLM (large visual language model) to provide accurate information for subsequent LLM (large natural language model) reasoning.

[0144] Trajectory decision output is a crucial part of autonomous driving, involving the future trajectory of the vehicle, the vehicle control signal, and real-time detection of the surrounding environment. The trajectory and the corresponding control signal text and entity target detection results are output simultaneously.

[0145] The result of the ego vehicle trajectory decision refers to the ego vehicle's running trajectory and control signal at the next moment, which appears in the form of text, prompting the ego vehicle to accelerate, decelerate, stop, maintain the current speed, turn or change lanes, etc., and gives corresponding reasons, such as vehicle signs, speed limit signs, etc.

[0146] For example, the trajectory decision result is that the vehicle will travel at a speed of 0.5 km / h at 20° (straight, left turn, right turn, etc.). Reason: traffic lights ahead, pedestrians ahead, or speed limit ahead. In addition, the real-time perception detection results of the surrounding environment collected by the multi-view camera can be output. The detected physical targets will be displayed in the output running trajectory, and the text description of the corresponding physical targets will be output.

[0147] In addition, the method also includes: a step of jointly training a first feature extraction network, a second feature extraction network, a first 1x1 convolutional layer, a second 1x1 convolutional layer, a third 1x1 convolutional layer, a deformable cross attention network, a first 3x3 convolutional layer, a fourth 1x1 convolutional layer, a second 3x3 convolutional layer and a fifth 1x1 convolutional layer.

[0148] Based on the above embodiments, the present application embodiment provides an autonomous driving trajectory decision device for a collaborative end-to-end large model. Figure 5As shown, the autonomous driving trajectory decision device 200 for a collaborative end-to-end large model provided in an embodiment of the present application at least includes:

[0149] An acquisition unit 201 is used to acquire the RGB image of the vehicle end, the RGB image of the other vehicle end, the RGB image of the road end, and the point cloud data of the road end in the target area at the current moment;

[0150] A first processing unit 202 is used to process the RGB image of the vehicle, the RGB image of the other vehicle, and the RGB image of the road using a first feature extraction network to obtain a first image feature, a second image feature, and a third image feature;

[0151] A first fusion unit 203 is used to fuse the first image feature, the second image feature and the third image feature to obtain an image fusion feature;

[0152] The second processing unit 204 is used to process the point cloud data of the road end by using a second feature extraction network to obtain a road end point cloud feature;

[0153] The third processing unit 205 is used to process the image fusion feature and the road end point cloud feature to obtain a first BEV feature and a second BEV feature;

[0154] A second fusion unit 206, configured to fuse the first BEV feature and the second BEV feature to obtain a fused BEV feature;

[0155] The trajectory decision unit 207 is used to use the large visual language model to fuse the prompt information representing the user's intention and the fused BEV features to obtain text information; and use the large natural language model to process the text information to obtain the vehicle trajectory decision result.

[0156] It should be noted that the principle of solving the technical problem of the autonomous driving trajectory decision device 200 for a collaborative end-to-end large model provided in the embodiment of the present application is similar to the method provided in the embodiment of the present application. Therefore, the implementation of the autonomous driving trajectory decision device 200 for a collaborative end-to-end large model provided in the embodiment of the present application can refer to the implementation of the method provided in the embodiment of the present application, and the repeated parts will not be repeated.

[0157] Based on the above embodiments, the present application also provides an electronic device, referring to Figure 6 As shown, the electronic device 300 provided in the embodiment of the present application includes at least: a processor 301, a memory 302, and a computer program stored in the memory 302 and executable on the processor 301. When the processor 301 executes the computer program, the autonomous driving trajectory decision method for a collaborative end-to-end large model provided in the embodiment of the present application is implemented.

[0158] The electronic device 300 provided in the embodiment of the present application may further include a bus 303 connecting different components (including the processor 301 and the memory 302). The bus 303 represents one or more of several types of bus structures, including a memory bus, a peripheral bus, a local bus, and the like.

[0159] The memory 302 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 3021 and / or a cache memory 3022 , and may further include a read-only memory (ROM) 3023 .

[0160] The memory 302 may also include a program tool 3025 having a set (at least one) of program modules 3024, the program modules 3024 including but not limited to: an operating subsystem, one or more applications, other program modules and program data, each of which or some combination may include the implementation of a network environment.

[0161] The electronic device 300 may also communicate with one or more external devices 304 (e.g., keyboards, remote controls, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 300 (e.g., mobile phones, computers, etc.), and / or communicate with any device that enables the electronic device 300 to communicate with one or more other electronic devices 300 (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 305. Furthermore, the electronic device 300 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 306. Figure 6 As shown, the network adapter 306 communicates with other modules of the electronic device 300 via the bus 303. It should be understood that although Figure 6 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 300, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, disk arrays (Redundant Arrays of Independent Disks, RAID) subsystems, tape drives, and data backup storage subsystems.

[0162] It should be noted that Figure 6 The electronic device 300 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0163] The embodiment of the present application also provides a computer-readable storage medium, which stores computer instructions, and when the computer instructions are executed by the processor, the autonomous driving trajectory decision method for the collaborative end-to-end large model provided in the embodiment of the present application is implemented. Specifically, the executable program can be built-in or installed in the electronic device 300, so that the electronic device 300 can implement the autonomous driving trajectory decision method for the collaborative end-to-end large model provided in the embodiment of the present application by executing the built-in or installed executable program.

[0164] The autonomous driving trajectory decision method for a collaborative end-to-end large model provided in the embodiment of the present application can also be implemented as a program product, which includes a program code. When the program product can be run on an electronic device 300, the program code is used to enable the electronic device 300 to execute the autonomous driving trajectory decision method for a collaborative end-to-end large model provided in the embodiment of the present application.

[0165] The program product provided in the embodiments of the present application may adopt any combination of one or more readable media, wherein the readable medium may be a readable signal medium or a readable storage medium, and the readable storage medium may be but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination of the above. Specifically, more specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, RAM, ROM, Erasable Programmable Read Only Memory (EPROM), optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0166] The program product provided in the embodiment of the present application may adopt a CD-ROM and include program code, and may also be run on a computing device. However, the program product provided in the embodiment of the present application is not limited thereto. In the embodiment of the present application, the readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.

[0167] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.

[0168] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0169] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application and are not intended to limit it. Although the present application is described in detail with reference to the embodiments, a person skilled in the art should understand that any modification or equivalent replacement of the technical solution of the present application does not depart from the spirit and scope of the technical solution of the present application and should be included in the scope of the claims of the present application.

Claims

1. A method for autonomous driving trajectory decision-making based on a collaborative end-to-end large model, characterized in that: include: Obtain the RGB image of the vehicle, the RGB image of the other vehicle, the RGB image of the road, and the point cloud data of the road in the target area at the current moment; Using the first feature extraction network to process the RGB image of the vehicle end to obtain a first image feature, using the first feature extraction network to process the RGB image of the other vehicle end to obtain a second image feature, and using the first feature extraction network to process the RGB image of the road end to obtain a third image feature; fusing the first image feature, the second image feature and the third image feature to obtain an image fusion feature; Processing the point cloud data of the road end using a second feature extraction network to obtain a road end point cloud feature; Processing the image fusion feature and the road end point cloud feature to obtain a first BEV feature and a second BEV feature; fusing the first BEV feature and the second BEV feature to obtain a fused BEV feature; Using a large visual language model to fuse the prompt information representing the user's intention and the fused BEV features to obtain text information; The text information is processed using a natural language large model to obtain a vehicle trajectory decision result; The image fusion feature and the road end point cloud feature are processed to obtain a first BEV feature and a second BEV feature, including: The image fusion features are processed using the deformable cross attention network to obtain the first BEV feature Among them, Q is the BEV parameter to be learned; Indicates that the j-th three-dimensional point S j Project to image fusion feature F im The i-th channel The result; DeformAttn() represents the deformed cross attention network; The deformed cross attention mechanism network is used to process the road end cloud features to obtain the second BEV feature in, Indicates that the j-th three-dimensional point S j Projected to the road end point cloud feature F LiD The i-th channel Result; The second BEV feature Convert to the vehicle-centered coordinate system.

2. The method according to claim 1, characterized in that The first image feature, the second image feature and the third image feature are fused to obtain an image fusion feature, including: The first image feature is processed using the first 1x1 convolutional layer to obtain the first key vector K sv , the first value vector V sv and the key vector Q sv ; The second image feature is processed using the second 1x1 convolutional layer to obtain the second key vector K VR and the second value vector V VR ; The third image feature is processed using the third 1x1 convolutional layer to obtain the third key vector K vr and the third value vector V vr ; The first fusion feature F1 is: The second fusion feature F2 is: The third fusion feature F3 is: Image fusion feature F im for: <h2 style=";text-align:left;direction:ltr">F<h2 style=";text-align:left;direction:ltr"> im <h2 style=";text-align:left;direction:ltr"> (F1+F2+F3) Among them, d k Denotes the first key vector K sv Dimension.

3. The method according to claim 1, characterized in that: The first BEV feature and the second BEV feature are fused to obtain a fused BEV feature; comprising: The first BEV feature is reduced in dimension using the first 3x3 convolutional layer to obtain the first BEV feature after dimension reduction; The first BEV feature after dimensionality reduction is processed by using an adaptive global average pooling operation to obtain a first global feature; Using the fourth 1x1 convolutional layer to reduce the dimension of the first global feature, to obtain the first global feature after dimension reduction; Normalizing the first global feature after dimensionality reduction to obtain a first weighted feature map; Calculate the product of the first BEV feature and the first weight feature map using a first multiplier to obtain a weighted first BEV feature; The second BEV feature is reduced in dimension using the second 3x3 convolutional layer to obtain the reduced-dimensional second BEV feature; The second BEV feature after dimensionality reduction is processed by a second adaptive global average pooling operation to obtain a second global feature; The fifth 1x1 convolutional layer is used to reduce the dimension of the second global feature to obtain the reduced-dimensional second global feature; Normalizing the second global feature after dimension reduction to obtain a second weighted feature map; Calculate the product of the second BEV feature and the second weight feature map using a second multiplier to obtain a weighted second BEV feature; The weighted first BEV feature and the weighted second BEV feature are concatenated to obtain a fused BEV feature.

4. The method according to claim 1, characterized in that: The first feature extraction network is ResNet101; the second feature extraction network is VoxelNet.

5. The method according to claim 3, characterized in that: The method also includes: a step of jointly training a first feature extraction network, a second feature extraction network, a first 1x1 convolutional layer, a second 1x1 convolutional layer, a third 1x1 convolutional layer, a deformable cross attention network, a first 3x3 convolutional layer, a fourth 1x1 convolutional layer, a second 3x3 convolutional layer and a fifth 1x1 convolutional layer.

6. An autonomous driving trajectory decision device for a collaborative end-to-end large model, characterized in that: include: An acquisition unit is used to acquire the RGB image of the vehicle side, the RGB image of the other vehicle side, the RGB image of the road side and the point cloud data of the road side in the target area at the current moment; A first processing unit is used to process the RGB image of the vehicle end by using the first feature extraction network to obtain a first image feature, process the RGB image of the other vehicle end by using the first feature extraction network to obtain a second image feature, and process the RGB image of the road end by using the first feature extraction network to obtain a third image feature; A first fusion unit, configured to fuse the first image feature, the second image feature and the third image feature to obtain an image fusion feature; A second processing unit is used to process the point cloud data of the road end using a second feature extraction network to obtain a road end point cloud feature; A third processing unit is used to process the image fusion feature and the road end point cloud feature to obtain a first BEV feature and a second BEV feature; A second fusion unit, configured to fuse the first BEV feature and the second BEV feature to obtain a fused BEV feature; A trajectory decision unit is used to use a large visual language model to fuse the prompt information representing the user's intention and the fused BEV features to obtain text information; and use a large natural language model to process the text information to obtain a vehicle trajectory decision result; The third processing unit is specifically used for: The image fusion features are processed using the deformable cross attention network to obtain the first BEV feature Among them, Q is the BEV parameter to be learned; Indicates that the j-th three-dimensional point S j Project to image fusion feature F im The i-th channel The result; DeformAttn() represents the deformed cross attention network; The deformed cross attention mechanism network is used to process the road end cloud features to obtain the second BEV feature in, Indicates that the j-th three-dimensional point S j Projected to the road end point cloud feature F LiD The i-th channel Result; The second BEV feature Convert to the vehicle-centered coordinate system.

7. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 5 when executing the computer program.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.