Multimodal information processing method, device, equipment and storage medium
The multi-modal generative language model processes multi-modal information of the vehicle driving environment to generate target planning information and natural language descriptions, which solves the problem of insufficient comprehensiveness of multi-task processing in the existing technology and improves the driving reliability of autonomous vehicles. sex and safety.
Patent Information
- Application Number
- CN202311464992.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-06
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2043-11-06
AI Technical Summary
In existing autonomous driving technology, multi-tasking solutions can only handle some tasks, resulting in insufficient comprehensiveness of vehicle driving control information and the inability to effectively complete multiple autonomous driving tasks.
Using a multi-modal generative language model, by obtaining multi-modal information of the vehicle driving environment, the feature extraction network, language generation network and target planning network are used to generate multi-modal feature information, language feature information and target planning information, and then determine Vehicle driving control information.
It realizes the processing of a variety of autonomous driving tasks, enriches model output information, improves the reliability and safety of vehicle driving, and ensures language description information of task execution results.
Smart Images

Figure CN117407694B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, specifically to technical fields such as intelligent transportation and autonomous driving, and in particular to a method, device, equipment and storage medium for processing multimodal information. Background Art
[0002] During the autonomous driving process, autonomous vehicles need to perform various types of tasks, such as target detection, tracking, reasoning, and prediction, in order to control the normal driving of the vehicle.
[0003] At present, the technical solution for multi-task processing of autonomous driving generally uses an end-to-end model to perform corresponding analysis and processing on multiple tasks to obtain information for controlling vehicle driving, thereby realizing the integration of autonomous driving task processing. However, the technical solution in the related art can still only process part of the tasks and the vehicle driving control information obtained is not comprehensive enough. Summary of the invention
[0004] The present application provides a method, apparatus, device and storage medium for processing multimodal information, and the technical solution is as follows:
[0005] In a first aspect, a method for processing multimodal information is provided, the method comprising:
[0006] Acquire multimodal information of the driving environment of the vehicle to be processed;
[0007] Inputting the multimodal information into a preset multimodal generative language model to obtain multimodal feature information according to a feature extraction network of the preset multimodal generative language model and the multimodal information;
[0008] According to the language generation network of the preset multimodal generative language model and the multimodal feature information, obtaining language feature information and natural language description information corresponding to the multimodal information;
[0009] Obtaining target planning information corresponding to the multimodal information according to the target planning network of the preset multimodal generative language model, the multimodal feature information and the language feature information;
[0010] According to the target planning information and the natural language description information, an output result of the preset multimodal generative language model is obtained, so as to determine the driving control information of the vehicle according to the output result.
[0011] In a possible implementation, obtaining multimodal feature information according to the feature extraction network of the preset multimodal generative language model and the multimodal information includes:
[0012] According to the multimodal information, respectively obtaining a feature extraction network corresponding to each modal information;
[0013] Using the feature extraction network corresponding to each modal information, feature extraction processing is performed on each modal information in parallel to obtain feature information corresponding to each modal information;
[0014] According to the feature information corresponding to each modal information, multimodal feature information is obtained.
[0015] In a possible implementation, the multimodal information includes image information of a vehicle driving environment and point cloud information corresponding to the image information, high-precision map image information, and driving trajectory information; the feature extraction network includes an image feature extraction network, a point cloud feature extraction network, and a map feature extraction network; and the feature extraction network corresponding to each modal information is used to perform feature extraction processing on each modal information in parallel to obtain feature information corresponding to each modal information, including:
[0016] Using the image feature extraction network to perform feature extraction processing on the image information and driving trajectory information to obtain image feature information;
[0017] Using the point cloud feature extraction network to perform feature extraction processing on the point cloud information and driving trajectory information to obtain point cloud feature information;
[0018] The map feature extraction network is used to perform feature extraction processing on the high-precision map image information to obtain map image feature information.
[0019] In a possible implementation, obtaining language feature information and natural language description information corresponding to the multimodal information according to the language generation network of the preset multimodal generative language model and the multimodal feature information includes:
[0020] Performing fusion processing on the multimodal feature information to obtain multimodal fusion feature information;
[0021] According to the language generation network of the preset multimodal generative language model and the multimodal fusion feature information, language feature information and natural language description information are obtained.
[0022] In a possible implementation, the preset multimodal generative language model further includes a feature fusion network, which performs fusion processing on the multimodal feature information to obtain multimodal fusion feature information, including:
[0023] Using the feature fusion network, performing feature alignment processing on the multimodal feature information;
[0024] The multimodal fusion feature information is obtained according to the result of the feature alignment processing.
[0025] In a possible implementation, the target planning network includes a trajectory planning network, the target planning information includes planning trajectory information, and obtaining the target planning information corresponding to the multimodal information according to the target planning network of the preset multimodal generative language model, the multimodal feature information and the language feature information includes:
[0026] Inputting the driving trajectory information and the language feature information into the trajectory planning network to output a prediction result;
[0027] According to the prediction result, the planning trajectory information corresponding to the multimodal information is obtained.
[0028] In a possible implementation, the target planning network further includes a target detection network, the target planning information further includes target detection information, and obtaining the target planning information corresponding to the multimodal information according to the target planning network of the preset multimodal generative language model, the multimodal feature information and the language feature information, further includes:
[0029] Acquire multimodal fusion feature information corresponding to the multimodal feature information;
[0030] Inputting the multimodal fusion feature information and the language feature information into the target detection network to output a target detection result;
[0031] According to the target detection result, target detection information corresponding to the multimodal information is obtained.
[0032] In a second aspect, a model training method is provided, wherein the multimodal generative language model to be trained includes a feature extraction network, a language generation network, and a goal planning network, and the method includes:
[0033] Obtain multimodal information of samples;
[0034] Inputting the sample multimodal information into a multimodal generative language model to be trained, so as to obtain multimodal feature information corresponding to the sample multimodal information according to the feature extraction network and the sample multimodal information;
[0035] Obtaining language feature information and natural language description information corresponding to the sample multimodal information according to the language generation network and the multimodal feature information;
[0036] Obtaining target planning information corresponding to the sample multimodal information according to the target planning network, the multimodal feature information and the language feature information;
[0037] Obtaining an output result according to the target planning information and the natural language description information;
[0038] According to the output result and the sample multimodal information, the multimodal generative language model to be trained is updated and trained to obtain a trained multimodal generative language model.
[0039] In a third aspect, a multimodal information processing device is provided, the device comprising:
[0040] A first acquisition unit, used to acquire multimodal information of a driving environment of a vehicle to be processed;
[0041] A first obtaining unit, configured to input the multimodal information into a preset multimodal generative language model, so as to obtain multimodal feature information according to a feature extraction network of the preset multimodal generative language model and the multimodal information;
[0042] A second obtaining unit is used to obtain language feature information and natural language description information corresponding to the multimodal information according to the language generation network of the preset multimodal generative language model and the multimodal feature information;
[0043] A third obtaining unit is used to obtain target planning information corresponding to the multimodal information according to the target planning network of the preset multimodal generative language model, the multimodal feature information and the language feature information;
[0044] The first determination unit is used to obtain the output result of the preset multimodal generative language model according to the target planning information and the natural language description information, so as to determine the driving control information of the vehicle according to the output result.
[0045] In a fourth aspect, a model training device is provided, wherein the multimodal generative language model to be trained includes a feature extraction network, a language generation network, and a goal planning network, and the device includes:
[0046] A first acquisition unit, used to acquire multimodal information of the sample;
[0047] A first obtaining unit, configured to input the sample multimodal information into a multimodal generative language model to be trained, so as to obtain multimodal feature information corresponding to the sample multimodal information according to the feature extraction network and the sample multimodal information;
[0048] A second obtaining unit, configured to obtain language feature information and natural language description information corresponding to the sample multimodal information according to the language generation network and the multimodal feature information;
[0049] A third obtaining unit, configured to obtain target planning information corresponding to the sample multimodal information according to the target planning network, the multimodal feature information and the language feature information;
[0050] A fourth obtaining unit, configured to obtain an output result according to the target planning information and the natural language description information;
[0051] The first training unit is used to update the multimodal generative language model to be trained according to the output result and the sample multimodal information to obtain a trained multimodal generative language model.
[0052] In a fifth aspect, a computer-readable storage medium is provided, wherein the storage medium stores at least one instruction, and the at least one instruction is loaded and executed by a processor to implement the method of the above-mentioned aspects and any possible implementation manner.
[0053] In a sixth aspect, an electronic device is provided, including:
[0054] at least one processor; and
[0055] a memory communicatively connected to the at least one processor; wherein,
[0056] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any possible implementation manner and the aspects described above.
[0057] In a seventh aspect, an autonomous driving vehicle is provided, comprising the electronic device as described above.
[0058] The beneficial effects of the technical solution provided by this application include at least:
[0059] It can be seen from the above technical solution that, on the one hand, the embodiment of the present application can obtain multimodal information of the driving environment of the vehicle to be processed, and then input the multimodal information into a preset multimodal generative language model to obtain multimodal feature information according to the feature extraction network of the preset multimodal generative language model and the multimodal information, obtain language feature information and natural language description information corresponding to the multimodal information according to the language generation network of the preset multimodal generative language model and the multimodal feature information, and obtain the target corresponding to the multimodal information according to the target planning network of the preset multimodal generative language model, the multimodal feature information and the language feature information. Planning information, so that according to the target planning information and the natural language description information, the output result of the preset multimodal generative language model can be obtained, so as to determine the driving control information of the vehicle according to the output result. Since the preset multimodal generative language model can be used to process the multimodal information of the driving environment of the vehicle to obtain the corresponding target planning information and natural language description information, while completing a variety of automatic driving tasks, language description information for the task execution results can also be obtained, which enriches the model output information, and the information output by the model can be used to control the vehicle driving, that is, the information for controlling the vehicle driving is enriched, thereby ensuring the reliability and safety of the automatic driving vehicle.
[0060] It can be seen from the above technical solution that, on the other hand, the embodiment of the present application can obtain sample multimodal information, and then input the sample multimodal information into the multimodal generative language model to be trained, so as to obtain the multimodal feature information corresponding to the sample multimodal information according to the feature extraction network of the multimodal generative language model to be trained and the sample multimodal information, obtain the language feature information and natural language description information corresponding to the sample multimodal information according to the language generation network of the multimodal generative language model to be trained and the multimodal feature information, and obtain the language feature information and natural language description information corresponding to the sample multimodal information according to the target planning network of the multimodal generative language model to be trained, the multimodal feature information and the language Feature information is obtained, target planning information corresponding to the sample multimodal information is obtained, and an output result is obtained according to the target planning information and the natural language description information, so that the multimodal generative language model to be trained can be updated and trained according to the output result and the sample multimodal information to obtain a trained multimodal generative language model. Since the multimodal generative language model to be trained can be updated and trained based on the sample multimodal information, as well as the target planning information and natural language description information output by the model, the comprehensiveness of the model's learning information and output information is improved, thereby improving the learning performance and reliability of the multimodal generative language model.
[0061] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0063] Figure 1 It is a flowchart of a method for processing multimodal information provided by an embodiment of the present application;
[0064] Figure 2 is a flowchart of a model training method provided by another embodiment of the present application;
[0065] Figure 3 is a schematic diagram of a method for processing multimodal information provided by another embodiment of the present application;
[0066] Figure 4 It is a schematic diagram of an application scenario of a method for processing multimodal information provided by an embodiment of the present application;
[0067] Figure 5 It is a schematic diagram of a multimodal generative language model for an application scenario of a method for processing multimodal information provided by an embodiment of the present application;
[0068] Figure 6 It is a schematic diagram of a feature fusion network of a multimodal generative language model in an application scenario of a multimodal information processing method provided by an embodiment of the present application;
[0069] Figure 7 It is a schematic diagram of a trajectory planning network of a multimodal generative language model in an application scenario of a multimodal information processing method provided by an embodiment of the present application;
[0070] Figure 8 It is a schematic diagram of a target detection network of a multimodal generative language model in an application scenario of a method for processing multimodal information provided by an embodiment of the present application;
[0071] Fig. 9 is a structural block diagram of a multimodal information processing device provided by another embodiment of the present application;
[0072] Fig.10 It is a structural block diagram of a model training device provided in another embodiment of the present application.
[0073] Fig.11 It is a block diagram of an electronic device used to implement the multimodal information processing method and model training method of the embodiment of the present disclosure. DETAILED DESCRIPTION
[0074] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0075] Obviously, the described embodiments are only part of the embodiments of the present application, but not all of the embodiments. 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.
[0076] It should be noted that the terminal devices involved in the embodiments of the present application may include but are not limited to mobile phones, personal digital assistants (PDAs), wireless handheld devices, tablet computers and other smart devices; display devices may include but are not limited to personal computers, televisions and other devices with display functions.
[0077] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0078] Please refer to Figure 1 , which shows a flow chart of a method for processing multimodal information provided by an embodiment of the present application. The method for processing multimodal information may specifically include:
[0079] Step 101: Acquire multimodal information of a driving environment of a vehicle to be processed.
[0080] Step 102: input the multimodal information into a preset multimodal generative language model to obtain multimodal feature information according to a feature extraction network of the preset multimodal generative language model and the multimodal information.
[0081] Step 103: According to the language generation network of the preset multimodal generative language model and the multimodal feature information, language feature information and natural language description information corresponding to the multimodal information are obtained.
[0082] Step 104: Obtain target planning information corresponding to the multimodal information according to the target planning network of the preset multimodal generative language model, the multimodal feature information and the language feature information.
[0083] Step 105: Obtain an output result of the preset multimodal generative language model according to the target planning information and the natural language description information, so as to determine the driving control information of the vehicle according to the output result.
[0084] It should be noted that the preset multimodal generative language model may include but is not limited to a feature extraction network, a language generation network and a goal planning network.
[0085] It should be noted that the natural language description information may include natural language-based driving advice, risk warnings, descriptions of obstacles in the vehicle driving environment, etc. For example, the natural language description information may be "A pedestrian is walking towards the vehicle. Behind the pedestrian, there is an oncoming vehicle. The car may need to slow down, please brake!".
[0086] It should be noted that part or all of the execution subject of steps 101 to 105 may be an application located in the local terminal, or may also be a functional unit such as a plug-in or software development kit (SDK) set in the application located in the local terminal, or may also be a processing engine located in a network-side server, or may also be a distributed system located on the network side, for example, a processing engine or distributed system in an information processing platform on the network side, etc. This embodiment does not specifically limit this.
[0087] It is understandable that the application may be a local program (nativeApp) installed on the local terminal, or may be a webpage program (webApp) of a browser on the local terminal, which is not limited in this embodiment.
[0088] In this way, the multimodal information of the vehicle's driving environment can be processed by utilizing a preset multimodal generative language model to obtain corresponding target planning information and natural language description information. While completing a variety of autonomous driving tasks, language description information for task execution results can also be obtained, enriching the model output information. The information output by the model can be used to control vehicle driving, that is, the information for controlling vehicle driving is enriched, thereby ensuring the reliability and safety of autonomous driving vehicle driving.
[0089] Optionally, in a possible implementation of the present embodiment, in step 102, a feature extraction network corresponding to each modal information can be obtained respectively according to the multimodal information, and then the feature extraction network corresponding to each modal information can be used to perform feature extraction processing on each modal information in parallel to obtain feature information corresponding to each modal information, so that multimodal feature information can be obtained according to the feature information corresponding to each modal information.
[0090] In this way, by utilizing the feature extraction network corresponding to each modal information, feature extraction processing can be performed on each modal information in parallel to obtain multimodal feature information, which effectively improves the feature extraction speed of the model and thus improves the model's processing efficiency for multimodal information.
[0091] In this implementation, the preset multimodal generative language model may include multiple feature extraction networks, that is, a feature extraction network corresponding to each modal information.
[0092] Specifically, the multimodal information may include but is not limited to image information of the vehicle driving environment and point cloud information corresponding to the image information, and high-precision map image information. The feature extraction network may include but is not limited to an image feature extraction network, a point cloud feature extraction network, and a map feature extraction network. The multimodal feature information may include but is not limited to image feature information, point cloud feature information, and map image feature information.
[0093] In a specific implementation process of this implementation method, the image feature extraction network can be used to simultaneously perform feature extraction processing on the image information and driving trajectory information to obtain image feature information, the point cloud feature extraction network can be used to perform feature extraction processing on the point cloud information and driving trajectory information to obtain point cloud feature information, and the map feature extraction network can be used to perform feature extraction processing on the high-precision map image information to obtain map image feature information.
[0094] In this implementation, the image information may include but is not limited to multi-view images of the vehicle driving environment. Specifically, the image information is the original multi-view images collected by using a multi-view camera on the vehicle. For example, the image information may include 6 view images.
[0095] In one case of the specific implementation process, the image information and the driving trajectory can be input into the image feature extraction network in the form of multiple batches to obtain the image feature information at the current moment. The image information may include the image information at the current moment, and the driving trajectory information may include the driving trajectory information at the current moment and at historical moments. The image feature information may be four-dimensional (4D) feature information of an image with a time dimension. The image feature extraction network may include, but is not limited to, a feature extraction layer, a feature transformation layer, and a feature splicing layer.
[0096] Specifically, first, after the image information and driving trajectory information are input into the image feature extraction network, the feature extraction layer is used to perform feature extraction processing on the image information to obtain the two-dimensional (2D) feature information of the image. Secondly, the feature transformation layer can be used to perform projection transformation processing on the 2D feature information of the image to obtain the three-dimensional (3D) feature information of the image. Thirdly, the feature splicing layer is used to perform feature splicing processing on the 3D feature information of the image based on the driving trajectory information to obtain the image feature information.
[0097] Here, in the process of projecting and transforming the 2D feature information of the image, each pixel value in the 2D feature information of the image can pass through the feature transformation layer, and based on the camera extrinsic parameters and the predicted depth value, the dense features in the image can be mapped to the radar coordinate system to obtain the 3D voxel feature value, that is, the 3D feature information of the image.
[0098] Here, the feature transformation layer of the image feature extraction network may include a deep classifier.
[0099] It is understandable that other existing feature dimension transformation methods may also be used to convert the 2D feature information of the image into 3D feature information, and no specific limitation is made here.
[0100] Here, the driving trajectory information may include trajectory points and driving direction. In the process of feature stitching processing of the 3D feature information of the image based on the driving trajectory information, first, the 3D feature information of the image corresponding to the driving trajectory information of the vehicle can be determined, and the coordinate system of the position and orientation at the current moment is used as the target coordinate system, and the coordinate transformation of the 3D feature information corresponding to the historical moment is performed, and the coordinates of the 3D feature information corresponding to the historical moment are converted to the coordinate system of the current moment. Secondly, using the feature stitching layer, the 3D feature information of the image at the historical moment after the coordinate transformation processing and the 3D feature information of the image at the current moment are stitched together to obtain the 4D feature information of the image. It can be understood that the 4D feature information of the image can be a 4D feature value having the image features of the current moment and the historical moment.
[0101] Another situation of this specific implementation process is that the point cloud information can be sparse 3D point cloud data (3D Point Cloud from LiDAR) collected by a laser radar (LiDAR) sensor. The point cloud feature extraction network may include a voxelization layer, a feature extraction layer, and a feature stitching layer. The point cloud feature information may be 4D point cloud feature information with a time dimension. First, the voxelization layer may be used to voxelize the point cloud information to obtain voxelized point cloud information. Secondly, the feature extraction layer may be used to perform feature extraction on the voxelized point cloud information to obtain 3D point cloud feature information. Thirdly, the feature stitching layer may be used to perform feature stitching on the 3D point cloud feature information based on the driving trajectory information to obtain the 4D point cloud feature information after stitching, that is, the point cloud feature information with time dimension information.
[0102] Specifically, the driving trajectory information may include trajectory points and driving direction. In the process of feature stitching processing of 3D point cloud feature information based on the driving trajectory information, first, the 3D point cloud feature information corresponding to the vehicle's driving trajectory information can be determined, and the coordinate system of the current position and orientation is used as the target coordinate system, and the 3D point cloud feature information corresponding to the historical moment is transformed, and the coordinates of the 3D point cloud feature information corresponding to the historical moment are converted to the coordinate system of the current moment. Secondly, using the feature stitching layer, the 3D point cloud feature information of the historical moment after the coordinate transformation and the 3D point cloud feature information of the current moment are stitched together to obtain 4D point cloud feature information. It can be understood that the 4D point cloud feature information can be a 4D feature value having point cloud features of the current moment and the historical moment.
[0103] Here, the feature extraction layer of the point cloud feature extraction network may include a feature extractor based on 3D sparse convolution (3D Submanifold Sparse Convolution).
[0104] Another situation of the specific implementation process is that the map feature extraction network may include a feature extraction layer and a feature transformation layer. First, the feature extraction layer may be used to perform feature extraction processing on the high-precision map image information to obtain 2D feature information of the high-precision map image. Second, the feature transformation layer may be used to perform feature transformation processing on the 2D feature information of the high-precision map image to obtain 3D feature information of the high-precision map image, that is, map image feature information.
[0105] Furthermore, high-precision map image information can be obtained based on driving trajectory information and a preset high-precision map. First, the location information and orientation information of the vehicle can be determined based on the driving trajectory information. Secondly, according to the vehicle's orientation information, that is, the vehicle's forward direction, the map image information of the region of interest (ROI) can be obtained from the recognition range of the bird's-eye view (BEV) of the high-precision map corresponding to the location information. Here, the high-precision map image information may include but is not limited to the size of the vehicle's location area, static dotted lane lines, stop lines, traffic lights, non-drivable roads and other information.
[0106] Here, the 2D feature information of the high-precision map image can be the feature value of B*C*H*W, where B can represent the number of images, C can represent the image channel, H can represent the image length, and W can represent the image width. The 3D feature information of the high-precision map image obtained after transformation can be the feature value of B*c*D*H*W, where B can represent the number of images, c can represent the image channel, D can represent the image height, H can represent the image length, and W can represent the image width.
[0107] Optionally, in a possible implementation of the present embodiment, in step 103, the multimodal feature information may be specifically fused to obtain multimodal fusion feature information, and then language feature information and natural language description information may be obtained based on the language generation network of the preset multimodal generative language model and the multimodal fusion feature information.
[0108] In an implementation, the preset multimodal generative language model may further include a feature fusion network. The feature fusion network may include a feature fusion network based on a transformer decoder.
[0109] In a specific implementation process of this implementation method, the feature fusion network can be used to perform feature alignment processing on the multimodal feature information, and then the multimodal fusion feature information can be obtained according to the result of the feature alignment processing.
[0110] In this specific implementation process, through step 102, multimodal feature information can be obtained, and the multimodal feature information can include image feature information, point cloud feature information, and map image feature information.
[0111] One case of the specific implementation process is that first, the image feature information, point cloud feature information, map image feature information, and initial learnable parameters can be input into the feature fusion network, and the point cloud feature information and the map image feature information are respectively subjected to feature alignment processing to obtain the alignment processing result. Secondly, the alignment processing result and the image feature information are subjected to feature alignment processing to obtain the final multimodal fusion feature information.
[0112] Here, the learnable parameter may be Spatial Query Q. The initial Spatial Query Q may be a parameter pre-configured based on business requirements. When the feature fusion network is used to fuse subsequent data frames, the SpatialQuery Q may be the output result of the feature fusion network corresponding to the previous data frame, that is, the multimodal fusion feature information corresponding to the previous data frame.
[0113] Specifically, the feature fusion network may include a deformable attention layer (Deformable Attention), a feed forward network layer (Feed Forward), multiple multi-head self-attention layers (Multi-Head Self-Attention), and multiple residual normalization layers (Add&Norm).
[0114] Specifically, for the multimodal feature information corresponding to any data frame, first, the map image feature information and the learnable parameters can be input into the first multi-head self-attention layer to obtain the first intermediate feature. Secondly, the first intermediate feature can be input into the first residual normalization layer to obtain the second intermediate feature. Thirdly, the second intermediate feature and the point cloud feature information can be input into the second multi-head self-attention layer to obtain the third intermediate feature. Thirdly, the second intermediate feature and the third intermediate feature can be input into the second residual normalization layer to obtain the fourth intermediate feature. Thirdly, the fourth intermediate feature and the image feature information can be input into the deformable attention layer to obtain the fifth intermediate feature. Thirdly, the fourth intermediate feature and the fifth intermediate feature can be input into the third residual normalization layer to obtain the sixth intermediate feature. Thirdly, the sixth intermediate feature can be input into the feedforward network layer to obtain the seventh intermediate feature. Thirdly, the sixth intermediate feature and the seventh intermediate feature can be input into the fourth residual normalization to obtain the final multimodal fusion feature information.
[0115] In this way, the multimodal feature information can be aligned through the feature fusion network to obtain more accurate and effective fused feature information, so that the fused feature information can be used later to obtain more accurate model output results, thereby further improving the accuracy and reliability of the model output results.
[0116] Moreover, using Deformable Attention to align image feature information can avoid the problem of poor feature fusion accuracy caused by inaccurate depth estimation of image feature information, and further improve the accuracy and reliability of fused feature information.
[0117] In another specific implementation process of this implementation, the multimodal fusion feature information can be input into a language generation network based on the preset multimodal generative language model to obtain language feature information and natural language description information.
[0118] Here, the language generation network may be a network based on a multi-modal generative pre-trained transformer for language modeling.
[0119] It should be noted that the specific implementation process provided in this implementation can be combined with the various specific implementation processes provided in the aforementioned implementation to implement the multimodal information processing method of this embodiment. For a detailed description, please refer to the relevant content in the aforementioned implementation, which will not be repeated here.
[0120] Optionally, in a possible implementation of this embodiment, the target planning network includes a trajectory planning network, and the target planning information includes planning trajectory information. In step 104, the driving trajectory information and the language feature information can be specifically input into the trajectory planning network to output a prediction result, and then the planning trajectory information corresponding to the multimodal information can be obtained based on the prediction result.
[0121] In this implementation, the trajectory planning network may include a feature transformation layer, a feature concatenation layer, a cross attention layer, and a multilayer perceptron (MLP) layer. The driving trajectory information may include, but is not limited to, trajectory information at historical moments, trajectory information at future moments predicted from historical moments, vehicle orientation information at the current moment, and vehicle speed information at the current moment.
[0122] In a specific implementation process of this implementation method, first, the driving trajectory information is vectorized to obtain trajectory feature information. Secondly, the feature transformation layer can be used to transform the trajectory feature information into high-dimensional trajectory feature information. Thirdly, the feature splicing layer can be used to perform feature splicing processing on the high-dimensional trajectory feature information to obtain a feature splicing result. Thirdly, the cross-attention layer can be used to fuse the feature splicing result and the language feature information to obtain fused feature information of the trajectory feature information and the language feature information. Finally, the fused feature information of the trajectory feature and the language feature is input into the MLP layer to obtain the output planning trajectory information.
[0123] In this implementation, the target planning network may further include a target detection network, and the target planning information may further include target detection information.
[0124] In another specific implementation process of the implementation method, multimodal fusion feature information corresponding to the multimodal feature information can be obtained. Secondly, the multimodal fusion feature information and the language feature information can be input into the target detection network to output a target detection result. Thirdly, the target detection information corresponding to the multimodal information can be obtained based on the target detection result.
[0125] One situation of the specific implementation process is that the target detection network may include a cross attention layer and an MLP layer. Specifically, first, the multimodal fusion feature information and the language feature information may be input into the cross attention layer to obtain fusion feature information of the multimodal fusion feature information and the language feature information. Secondly, the fusion feature information of the multimodal fusion feature information and the language feature information is input into the MLP layer to obtain the output target detection information.
[0126] Here, the target detection information may include, but is not limited to, a 3D detection frame of the target obstacle and a corresponding obstacle identifier, and location information of the target obstacle.
[0127] In another specific implementation process of this implementation, on the one hand, the driving trajectory information and the language feature information can be input into the trajectory planning network to obtain the planning trajectory information corresponding to the multimodal information; on the other hand, the multimodal fusion feature information corresponding to the multimodal feature information can be obtained, and the multimodal fusion feature information and the language feature information can be input into the target detection network to obtain the target detection information corresponding to the multimodal information. Finally, the target detection information and the planning trajectory information can be output.
[0128] In this way, by performing trajectory prediction on driving trajectory information and language feature information, and performing target detection on multimodal feature information and language feature information, target detection information and planning trajectory information can be obtained, thereby realizing the model's processing of multiple tasks and enriching the information output by the model for controlling vehicle driving.
[0129] Moreover, by referring to language feature information during trajectory prediction and target detection, the accuracy of prediction and detection results can be further improved, thereby further improving the accuracy and reliability of model output results.
[0130] It should be noted that the specific implementation process provided in this implementation can be combined with the various specific implementation processes provided in the aforementioned implementation to implement the multimodal information processing method of this embodiment. For a detailed description, please refer to the relevant content in the aforementioned implementation, which will not be repeated here.
[0131] Figure 2 is a flow chart of a model training method provided by another embodiment of the present application, such as Figure 2 The multimodal generative language model to be trained may include a feature extraction network, a language generation network, and a target planning network. The method may be implemented as follows:
[0132] Step 201: Obtain sample multimodal information.
[0133] Step 202: input the sample multimodal information into a multimodal generative language model to be trained, so as to obtain multimodal feature information corresponding to the sample multimodal information according to the feature extraction network and the sample multimodal information.
[0134] Step 203: Obtain language feature information and natural language description information corresponding to the sample multimodal information according to the language generation network and the multimodal feature information.
[0135] Step 204: Obtain target planning information corresponding to the sample multimodal information according to the target planning network, the multimodal feature information and the language feature information.
[0136] Step 205: Obtain an output result according to the target planning information and the natural language description information.
[0137] Step 206: Update the training of the multimodal generative language model to be trained according to the output result and the sample multimodal information to obtain a trained multimodal generative language model.
[0138] It should be noted that part or all of the execution subject of steps 201 to 206 may be an application located in the local terminal, or may also be a functional unit such as a plug-in or software development kit (SDK) set in the application located in the local terminal, or may also be a processing engine located in a network-side server, or may also be a distributed system located on the network side, for example, a processing engine or distributed system in a model training platform on the network side, etc. This embodiment does not specifically limit this.
[0139] It is understandable that the application may be a local program (nativeApp) installed on the local terminal, or may be a webpage program (webApp) of a browser on the local terminal, which is not limited in this embodiment.
[0140] In this way, the multimodal generative language model to be trained can be updated and trained based on the multimodal information of the samples, as well as the target planning information and natural language description information output by the model, thereby improving the comprehensiveness of the model's learning information and output information, thereby improving the learning performance and reliability of the multimodal generative language model.
[0141] Optionally, in a possible implementation of this embodiment, the multimodal generative language model to be trained may include multiple feature extraction networks and feature fusion networks. The target planning network may include a trajectory planning network and a target detection network.
[0142] In this implementation, the feature fusion network may include a feature fusion network based on a transformer decoder.
[0143] It is understandable that the multimodal information processing method in the aforementioned embodiment can be executed by using the trained multimodal generative language model. Specifically, the multimodal information of the driving environment of the vehicle to be processed can be input into the trained multimodal generative language model, and processed by multiple feature extraction networks, feature fusion networks, language generation networks, trajectory planning networks, and target detection networks, respectively, to output target detection information, planning trajectory information, and natural language description information corresponding to the multimodal information.
[0144] In order to better understand the method of the embodiment of the present application, the method of the embodiment of the present application is described below with reference to the accompanying drawings and specific application scenarios.
[0145] Figure 3 is a flowchart of a method for processing multimodal information provided by another embodiment of the present application, such as Figure 3In this embodiment, in this application scenario, the multimodal generative language model may include an image feature extraction network, a point cloud feature extraction network, a map feature extraction network, a feature fusion network, a language generation network, a trajectory planning network, and a target detection network. The multimodal information processing method may include:
[0146] Step 301: Obtain sample multimodal information.
[0147] Step 302: Input the sample multimodal information into the multimodal generative language model to be trained to obtain an output result.
[0148] Step 303: Update the training of the multimodal generative language model to be trained according to the output result and the sample multimodal information to obtain a trained multimodal generative language model.
[0149] In this embodiment, the multimodal generative language model may be a Risk-Oriented Multi-Modal Drive GPT Model.
[0150] Step 304: Obtain image information of the driving environment of the vehicle to be processed and point cloud information, high-precision map image information and driving trajectory information corresponding to the image information.
[0151] In this embodiment, the multimodal information may include image information and point cloud information corresponding to the image information, high-precision map image information, and driving trajectory information.
[0152] Step 305: input the image information and driving trajectory information into the image feature extraction network of the multimodal generative language model to obtain image feature information; input the point cloud information and driving trajectory information into the point cloud feature extraction network of the multimodal generative language model to obtain point cloud feature information; input the high-precision map image information into the map feature extraction network of the multimodal generative language model to obtain map image feature information.
[0153] In this embodiment, Figure 4 is a schematic diagram of an application scenario of a method for processing multimodal information provided by an embodiment of the present application, such as Figure 4 As shown. First, the image information of the vehicle's driving environment and the point cloud information corresponding to the image information, the high-precision map image information and the driving trajectory information can be input into the multimodal generative language model to obtain the target detection information, planning trajectory information and natural language description information output by the model. Here, the image information of the vehicle's driving environment can be multi-angle image information.
[0154] Specifically, the target detection information may include, but is not limited to, a 3D detection frame of the target obstacle and a corresponding obstacle identifier, and location information of the target obstacle.
[0155] The planned trajectory information may be planned driving trajectory information. The natural language description information may include information for describing the driving environment and obstacles, driving suggestion information, and the like.
[0156] In this embodiment, Figure 5 is a schematic diagram of a multimodal generative language model for an application scenario of a multimodal information processing method provided by an embodiment of the present application, such as Figure 5 The multimodal generative language model may include an image feature extraction network, a point cloud feature extraction network, a map feature extraction network, a feature fusion network, a language generation network, a trajectory planning network, and a target detection network.
[0157] Specifically, the image feature extraction network (Multi-Camera 4D Feature Extraction) may be a network or model for extracting features from multi-view images, that is, the image feature extraction network may be an image feature extraction sub-model of a multimodal generative language model.
[0158] Specifically, the map feature extraction network (HD-Map 3D Feature Extraction) can be a network or model used to extract features from high-precision map images, that is, the map feature extraction network can be a map feature extraction sub-model of a multimodal generative language model.
[0159] Specifically, the point cloud feature extraction network (LiDAR 4D Feature Extraction) can be a network or model for extracting features from laser point cloud information, that is, the map feature extraction network can be a point cloud feature extraction sub-model of the multimodal generative language model.
[0160] It can be understood that the image feature information, the point cloud feature information and the map image feature information are recorded as multimodal feature information, and the multimodal feature information can be multimodal feature information representing a 3D scene + time series.
[0161] Specifically, here, the feature extraction process of each modal information can be carried out in parallel. On the one hand, first, the image information and the driving trajectory information can be input into the image feature extraction network, and then the image information can be subjected to feature extraction processing to obtain the 2D feature information of the image. Secondly, the 2D feature information of the image can be subjected to projection transformation processing to obtain the 3D feature information of the image. Thirdly, the 3D feature information of the image can be subjected to feature splicing processing based on the driving trajectory information, that is, feature splicing is performed based on the driving trajectory information to obtain the image feature information.
[0162] On the other hand, first, after the point cloud information and the driving trajectory information are input into the point cloud feature extraction network, the point cloud information can be voxelized to obtain voxelized point cloud information. Secondly, feature extraction can be performed on the voxelized point cloud information to obtain 3D point cloud feature information. Thirdly, feature splicing can be performed on the 3D point cloud feature information based on the driving trajectory information, that is, feature splicing is performed based on the driving trajectory information to obtain the point cloud feature information after splicing.
[0163] On the other hand, after the high-precision map image is input into the map image feature extraction network, feature extraction processing can be performed on the high-precision map image to obtain 2D feature information of the map image, and then the 2D feature information of the image can be projected and transformed to obtain 3D feature information of the map image, that is, the final map image feature information.
[0164] Secondly, the image feature information, point cloud feature information, and map image feature information can be specifically input into a feature fusion network to obtain multimodal fusion feature information.
[0165] Thirdly, on one hand, the multimodal fusion feature information can be input into the language generation network to obtain language feature information and natural language description information. On the other hand, the multimodal fusion feature information and language feature information can be input into the target detection network to obtain target detection information. On the other hand, the driving trajectory information and language feature information can be input into the trajectory planning network to obtain the planned trajectory information.
[0166] Step 306: Input the image feature information, the point cloud feature information and the map image feature information into a feature fusion network to obtain multimodal fusion feature information.
[0167] In this embodiment, Figure 6 is a schematic diagram of a feature fusion network of a multimodal generative language model in an application scenario of a multimodal information processing method provided by an embodiment of the present application, such as Figure 6As shown. First, the map image feature information and the learnable parameter Spatial Query Q can be input into the first multi-head self-attention layer to obtain the first intermediate feature. Secondly, the first intermediate feature can be input into the first residual normalization layer to obtain the second intermediate feature. Again, the second intermediate feature and the point cloud feature information can be input into the second multi-head self-attention layer to obtain the third intermediate feature. Again, the second intermediate feature and the third intermediate feature can be input into the second residual normalization layer to obtain the fourth intermediate feature. Again, the fourth intermediate feature and the image feature information can be input into the deformable attention layer to obtain the fifth intermediate feature. Again, the fourth intermediate feature and the fifth intermediate feature can be input into the third residual normalization layer to obtain the sixth intermediate feature. Again, the sixth intermediate feature can be input into the feedforward network layer to obtain the seventh intermediate feature. Again, the sixth intermediate feature and the seventh intermediate feature can be input into the fourth residual normalization to obtain the final multimodal fusion feature information.
[0168] Step 307: Input the multimodal feature information into a language generation network to obtain language feature information and natural language description information corresponding to the multimodal information.
[0169] In this embodiment, the language generation network may be a pre-trained generative language model network based on multimodal information, for example, GPT4, Drive GPT, etc. based on multimodal information.
[0170] In this embodiment, the language feature information may include hidden state feature values.
[0171] Step 308: Input the driving trajectory information and the language feature information into the trajectory planning network to obtain the planned trajectory information corresponding to the multimodal information.
[0172] In this embodiment, Figure 7 is a schematic diagram of a trajectory planning network of a multimodal generative language model in an application scenario of a multimodal information processing method provided by an embodiment of the present application, such as Figure 7 As shown. The driving trajectory information can be vectorized and feature concatenated to obtain the feature concatenation result, and then the feature concatenation result and the language feature information can be fused using the cross attention layer to obtain the fused feature information of the trajectory feature information and the language feature information, and then the fused feature information of the trajectory feature and the language feature can be input into the MLP layer to obtain the output planning trajectory information.
[0173] Specifically, first, the driving trajectory information is vectorized to obtain trajectory feature information, wherein the driving trajectory information may include but is not limited to a trajectory point sequence, the vehicle's orientation information, and the vehicle's speed. Secondly, the feature transformation layer can be used to transform the trajectory feature information into high-dimensional trajectory feature information. Thirdly, the feature concatenation layer can be used to perform feature concatenation on the high-dimensional trajectory feature information to obtain a feature concatenation result. Thirdly, the cross-attention layer can be used to fuse the feature concatenation result and the language feature information to obtain fused feature information of the trajectory feature information and the language feature information. Finally, the fused feature information of the trajectory feature and the language feature is input into the MLP layer to obtain the output planning trajectory information.
[0174] In this embodiment, the driving trajectory information may include the vehicle's location information, direction information, speed information, and planned driving trajectory.
[0175] Specifically, the trajectory planning network may be a risk-guided ego planning trajectory adjustment network (Risk-Guided Ego Planning Trajectory Adjustment). The planning trajectory information may include the driving trajectory information after planning adjustment.
[0176] It is understandable that, here, based on the trajectory planning network, the driving trajectory information can be adjusted and optimized through language feature information to obtain the planned trajectory information, that is, the adjusted driving trajectory information.
[0177] Step 309: Input the multimodal fusion feature information and the language feature information into the target detection network to obtain target detection information corresponding to the multimodal information.
[0178] In this embodiment, Figure 8 is a schematic diagram of a target detection network of a multimodal generative language model in an application scenario of a multimodal information processing method provided by an embodiment of the present application, such as Figure 8 As shown. First, the multimodal fusion feature information and the language feature information can be input into the cross attention layer to obtain the fusion feature information of the multimodal fusion feature information and the language feature information. Secondly, the fusion feature information of the multimodal fusion feature information and the language feature information is input into the MLP layer to obtain the output target detection information.
[0179] Specifically, the target detection network may be a risk target three-dimensional localization network (3D Risk Object 3DLocalization).
[0180] Step 310: Use the target detection information, the planning trajectory information, and the natural language description information as output results of the multimodal generative language model to control the vehicle to travel according to the output results.
[0181] In this embodiment, at this point, the target detection information, planning trajectory information, and natural language description information can be used as the vehicle's driving control information. The vehicle's driving control information can be applicable to autonomous driving vehicles of different levels. For low-level (L2 / L3) autonomous driving vehicles with driver assistance, the risks of the current scene are described, prompted, and driving suggestions are provided through natural language description information, providing good assistance to the driver's driving experience. Here, the natural language description information can also be converted into speech to provide voice prompts to the driver. For high-level (L4 / L5) unmanned driving systems, the risk environment can be perceived and located through the output results of the multimodal generative language model, and the automatic planning route and planning control strategy can be adjusted, which can further improve the safety and driving experience of autonomous driving.
[0182] Based on the technical solution of this embodiment, multiple complex autonomous driving tasks are processed by using the end-to-end multimodal generative language model. The multimodal generative language model can take multimodal information such as multi-channel images, lidar point clouds, driving planning trajectories, positioning information, etc. as input, and fuse and complement the multimodal information of multiple tasks, and finally output the corresponding model processing results in the form of natural language, 3D target detection and future trajectory planning.
[0183] Based on the technical solution of this embodiment, by using the end-to-end multimodal generative language model, while using natural language as output, multiple autonomous driving tasks can be solved, that is, risk positioning, intention recognition, driving planning and control suggestions, refined planning and control and other autonomous driving tasks are completed. Moreover, through the multimodal information feature extraction module and fusion module, the feature information between multiple tasks is better fused and complemented, and the positioning of risk driving information in 3D space is optimized.
[0184] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0185] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0186] Fig. 9 A structural block diagram of a multimodal information processing device provided by an embodiment of the present application is shown as follows: Fig. 9The multimodal information processing device 900 of this embodiment may include a first acquiring unit 901 , a first obtaining unit 902 , a second obtaining unit 903 , a third obtaining unit 904 and a first determining unit 905 . Among them, the first acquisition unit 901 is used to acquire multimodal information of the driving environment of the vehicle to be processed; the first acquisition unit 902 is used to input the multimodal information into a preset multimodal generative language model to obtain multimodal feature information according to the feature extraction network of the preset multimodal generative language model and the multimodal information; the second acquisition unit 903 is used to obtain language feature information and natural language description information corresponding to the multimodal information according to the language generation network of the preset multimodal generative language model and the multimodal feature information; the third acquisition unit 904 is used to obtain the target planning information corresponding to the multimodal information according to the target planning network of the preset multimodal generative language model, the multimodal feature information and the language feature information; the first determination unit 905 is used to obtain the output result of the preset multimodal generative language model according to the target planning information and the natural language description information, so as to determine the driving control information of the vehicle according to the output result.
[0187] It should be noted that part or all of the multimodal information processing device of this embodiment may be an application located in the local terminal, or may also be a functional unit such as a plug-in or software development kit (SDK) set in the application located in the local terminal, or may also be a processing engine located in a network-side server, or may also be a distributed system located on the network side, for example, a processing engine or distributed system in an information processing platform on the network side, etc. This embodiment does not specifically limit this.
[0188] It is understandable that the application may be a local program (nativeApp) installed on the local terminal, or may be a webpage program (webApp) of a browser on the local terminal, which is not limited in this embodiment.
[0189] Optionally, in a possible implementation of the present embodiment, the first obtaining unit 902 may be used to obtain, according to the multimodal information, a feature extraction network corresponding to each modal information; utilize the feature extraction network corresponding to each modal information to perform feature extraction processing on each modal information in parallel to obtain feature information corresponding to each modal information; and obtain multimodal feature information according to the feature information corresponding to each modal information.
[0190] Optionally, in a possible implementation of this embodiment, the multimodal information includes image information of the vehicle driving environment and point cloud information corresponding to the image information, high-precision map image information and driving trajectory information, the feature extraction network includes an image feature extraction network, a point cloud feature extraction network, and a map feature extraction network, and the first acquisition unit 902 can be used to use the image feature extraction network to perform feature extraction processing on the image information and driving trajectory information to obtain image feature information; use the point cloud feature extraction network to perform feature extraction processing on the point cloud information and driving trajectory information to obtain point cloud feature information; use the map feature extraction network to perform feature extraction processing on the high-precision map image information to obtain map image feature information.
[0191] Optionally, in a possible implementation of this embodiment, the second obtaining unit 903 can be used to perform fusion processing on the multimodal feature information to obtain multimodal fusion feature information; and obtain language feature information and natural language description information according to the language generation network of the preset multimodal generative language model and the multimodal fusion feature information.
[0192] Optionally, in a possible implementation of this embodiment, the preset multimodal generative language model also includes a feature fusion network, and the second obtaining unit 903 can be used to use the feature fusion network to perform feature alignment processing on the multimodal feature information; and obtain the multimodal fusion feature information based on the result of the feature alignment processing.
[0193] Optionally, in a possible implementation of this embodiment, the target planning network includes a trajectory planning network, the target planning information includes planned trajectory information, and the third acquisition unit 904 can be used to input the driving trajectory information and the language feature information into the trajectory planning network to output a prediction result; based on the prediction result, the planned trajectory information corresponding to the multimodal information is obtained.
[0194] Optionally, in a possible implementation of this embodiment, the target planning network also includes a target detection network, the target planning information also includes target detection information, and the third acquisition unit 904 can be used to obtain multimodal fusion feature information corresponding to the multimodal feature information; input the multimodal fusion feature information and the language feature information into the target detection network to output a target detection result; and obtain the target detection information corresponding to the multimodal information based on the target detection result.
[0195] In this embodiment, the multimodal information of the driving environment of the vehicle to be processed can be obtained by the first acquisition unit, and then the multimodal information can be input into a preset multimodal generative language model by the first acquisition unit to obtain multimodal feature information according to the feature extraction network of the preset multimodal generative language model and the multimodal information. The second acquisition unit can obtain the language feature information and natural language description information corresponding to the multimodal information according to the language generation network of the preset multimodal generative language model and the multimodal feature information. The third acquisition unit can obtain the language feature information and natural language description information corresponding to the multimodal information according to the target planning network of the preset multimodal generative language model, the multimodal feature information and the The language feature information obtains the target planning information corresponding to the multimodal information, so that the first determination unit can obtain the output result of the preset multimodal generative language model according to the target planning information and the natural language description information, so as to determine the driving control information of the vehicle according to the output result. Since the preset multimodal generative language model can be used to process the multimodal information of the vehicle's driving environment to obtain the corresponding target planning information and natural language description information, and the information output by the model can be used to control the vehicle's driving, the model output information is enriched, that is, the information used to control the vehicle's driving, thereby ensuring the reliability and safety of the autonomous driving vehicle.
[0196] Fig.10 A structural block diagram of a model training device provided by an embodiment of the present application is shown. Fig.10As shown. The model training device 1000 of this embodiment may include a first acquisition unit 1001, a first acquisition unit 1002, a second acquisition unit 1003, a third acquisition unit 1004, a fourth acquisition unit 1005 and a first training unit 1006. The multimodal generative language model to be trained includes a feature extraction network, a language generation network, and a goal planning network. The first acquisition unit 1001 is used to acquire sample multimodal information; the first acquisition unit 1002 is used to input the sample multimodal information into the multimodal generative language model to be trained, so as to obtain the multimodal feature information corresponding to the sample multimodal information according to the feature extraction network and the sample multimodal information; the second acquisition unit 1003 is used to obtain the language corresponding to the sample multimodal information according to the language generation network and the multimodal feature information. The method comprises the following steps: a first obtaining unit 1004, which is used to obtain the target planning information corresponding to the sample multimodal information according to the target planning network, the multimodal feature information and the language feature information; a fourth obtaining unit 1005, which is used to obtain the output result according to the target planning information and the natural language description information; and a first training unit 1006, which is used to update the multimodal generative language model to be trained according to the output result and the sample multimodal information to obtain a trained multimodal generative language model.
[0197] It should be noted that part or all of the model training device of this embodiment may be an application located in the local terminal, or may also be a functional unit such as a plug-in or software development kit (SDK) set in the application located in the local terminal, or may also be a processing engine located in a network-side server, or may also be a distributed system located on the network side, for example, a processing engine or distributed system in a model training platform on the network side, etc. This embodiment does not specifically limit this.
[0198] It is understandable that the application may be a local program (nativeApp) installed on the local terminal, or may be a webpage program (webApp) of a browser on the local terminal, which is not limited in this embodiment.
[0199] Optionally, in a possible implementation of this embodiment, the multimodal generative language model to be trained may include multiple feature extraction networks and feature fusion networks. The target planning network may include a trajectory planning network and a target detection network.
[0200] In this embodiment, the sample multimodal information is acquired by the first acquisition unit, and then the first acquisition unit can input the sample multimodal information into the multimodal generative language model to be trained, so as to obtain the multimodal feature information corresponding to the sample multimodal information according to the feature extraction network and the sample multimodal information, and the second acquisition unit obtains the language feature information and natural language description information corresponding to the sample multimodal information according to the language generation network and the multimodal feature information, and the third acquisition unit obtains the target corresponding to the sample multimodal information according to the target planning network, the multimodal feature information and the language feature information. Planning information, the fourth obtaining unit obtains an output result according to the target planning information and the natural language description information, so that the first training unit can update the training of the multimodal generative language model to be trained according to the output result and the sample multimodal information to obtain a trained multimodal generative language model. Since the multimodal generative language model to be trained can be updated and trained based on the sample multimodal information, as well as the target planning information and natural language description information output by the model, the comprehensiveness of the model's learning information and output information is improved, thereby improving the learning performance and reliability of the multimodal generative language model.
[0201] In the technical solution of this application, the user personal information involved, such as the collection, storage, use, processing, transmission, provision and disclosure of user images and attribute data, etc., complies with the provisions of relevant laws and regulations and does not violate public order and good morals.
[0202] According to an embodiment of the present application, the present application also provides an electronic device, a readable storage medium and a computer program product.
[0203] According to an embodiment of the present application, further, an autonomous driving vehicle including the provided electronic device is provided, and the autonomous driving vehicle may include an unmanned vehicle of level L2 or above, for example, an unmanned logistics vehicle, an autonomous driving logistics vehicle, etc.
[0204] Fig.11 A schematic block diagram of an example electronic device 1100 that can be used to implement an embodiment of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0205] like Fig.11 As shown, the electronic device 1100 includes a computing unit 1101, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1102 or a computer program loaded from a storage unit 1108 into a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the electronic device 1100 can also be stored. The computing unit 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.
[0206] Multiple components in the electronic device 1100 are connected to the I / O interface 1105, including: an input unit 1106, such as a keyboard, a mouse, etc.; an output unit 1107, such as various types of displays, speakers, etc.; a storage unit 1108, such as a disk, an optical disk, etc.; and a communication unit 1109, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1109 allows the electronic device 1100 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0207] The computing unit 1101 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1101 performs the various methods and processes described above, such as a method for processing multimodal information and a method for model training. For example, in some embodiments, the method for processing multimodal information and the method for model training may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 1108. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 1100 via the ROM 1102 and / or the communication unit 1109. When the computer program is loaded into the RAM 1103 and executed by the computing unit 1101, one or more steps of the method for processing multimodal information and the method for model training described above may be performed. Alternatively, in other embodiments, the computing unit 1101 may be configured to execute the multimodal information processing method and the model training method in any other appropriate manner (for example, by means of firmware).
[0208] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0209] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, implements the functions / operations specified in the flow chart and / or block diagram. The program code can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0210] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0211] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0212] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0213] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0214] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in this application can be achieved, and this document is not limited here.
[0215] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A method for processing multimodal information, characterized in that: The method comprises: Acquire multimodal information of the driving environment of the vehicle to be processed; the multimodal information includes image information of the driving environment of the vehicle and point cloud information corresponding to the image information, high-precision map image information, and driving trajectory information, wherein the driving trajectory information includes trajectory information at historical moments, trajectory information at future moments predicted from historical moments, and trajectory information at the current moment; Inputting the multimodal information into a preset multimodal generative language model to obtain multimodal feature information according to a feature extraction network of the preset multimodal generative language model and the multimodal information; According to the language generation network of the preset multimodal generative language model and the multimodal feature information, obtaining language feature information and natural language description information corresponding to the multimodal information; Obtaining target planning information corresponding to the multimodal information according to the target planning network of the preset multimodal generative language model, the multimodal feature information and the language feature information; According to the target planning information and the natural language description information, an output result of the preset multimodal generative language model is obtained, so as to determine the driving control information of the vehicle according to the output result; wherein the target planning information includes planning trajectory information and target detection information; The step of obtaining an output result of the preset multimodal generative language model according to the target planning information and the natural language description information, and determining the driving control information of the vehicle according to the output result, includes: The target detection information, the planned trajectory information, and the natural language description information are used as output results of a multimodal generative language model to determine the driving control information of the vehicle based on the output results, and output the natural language description information in the form of voice and text.
2. The method according to claim 1, characterized in that: The step of obtaining multimodal feature information according to the feature extraction network of the preset multimodal generative language model and the multimodal information includes: According to the multimodal information, respectively obtaining a feature extraction network corresponding to each modal information; Using the feature extraction network corresponding to each modal information, feature extraction processing is performed on each modal information in parallel to obtain feature information corresponding to each modal information; According to the feature information corresponding to each modal information, multimodal feature information is obtained.
3. The method according to claim 2, characterized in that The feature extraction network includes an image feature extraction network, a point cloud feature extraction network, and a map feature extraction network. The feature extraction network corresponding to each modal information is used to perform feature extraction processing on each modal information in parallel to obtain feature information corresponding to each modal information, including: Using the image feature extraction network to perform feature extraction processing on the image information and driving trajectory information to obtain image feature information; Using the point cloud feature extraction network to perform feature extraction processing on the point cloud information and driving trajectory information to obtain point cloud feature information; The map feature extraction network is used to perform feature extraction processing on the high-precision map image information to obtain map image feature information.
4. The method according to claim 1, characterized in that: The obtaining, according to the language generation network of the preset multimodal generative language model and the multimodal feature information, language feature information and natural language description information corresponding to the multimodal information comprises: Performing fusion processing on the multimodal feature information to obtain multimodal fusion feature information; According to the language generation network of the preset multimodal generative language model and the multimodal fusion feature information, language feature information and natural language description information are obtained.
5. The method according to claim 4, characterized in that The preset multimodal generative language model also includes a feature fusion network, which performs fusion processing on the multimodal feature information to obtain multimodal fusion feature information, including: Using the feature fusion network, performing feature alignment processing on the multimodal feature information; The multimodal fusion feature information is obtained according to the result of the feature alignment processing.
6. The method according to claim 1, characterized in that The target planning network includes a trajectory planning network, and obtaining target planning information corresponding to the multimodal information according to the target planning network of the preset multimodal generative language model, the multimodal feature information and the language feature information includes: Inputting the driving trajectory information and the language feature information into the trajectory planning network to output a prediction result; According to the prediction result, the planning trajectory information corresponding to the multimodal information is obtained.
7. The method according to claim 6, characterized in that The target planning network also includes a target detection network, which obtains target planning information corresponding to the multimodal information according to the target planning network of the preset multimodal generative language model, the multimodal feature information and the language feature information, and further includes: Acquire multimodal fusion feature information corresponding to the multimodal feature information; Inputting the multimodal fusion feature information and the language feature information into the target detection network to output a target detection result; According to the target detection result, target detection information corresponding to the multimodal information is obtained.
8. A method for model training, characterized in that: The multimodal generative language model to be trained includes a feature extraction network, a language generation network, and a goal planning network, and the method includes: Obtain multimodal information of samples; The sample multimodal information is input into a multimodal generative language model to be trained, so as to obtain multimodal feature information corresponding to the sample multimodal information according to the feature extraction network and the sample multimodal information; the sample multimodal information includes image information of a vehicle driving environment and point cloud information corresponding to the image information, high-precision map image information, and driving trajectory information, wherein the driving trajectory information includes trajectory information at historical moments, trajectory information at future moments predicted at historical moments, and trajectory information at the current moment; Obtaining language feature information and natural language description information corresponding to the sample multimodal information according to the language generation network and the multimodal feature information; Obtaining target planning information corresponding to the sample multimodal information according to the target planning network, the multimodal feature information and the language feature information; Obtaining an output result according to the target planning information and the natural language description information; According to the output result and the sample multimodal information, the multimodal generative language model to be trained is updated and trained to obtain a trained multimodal generative language model, wherein the target planning information includes planning trajectory information and target detection information; The step of obtaining an output result according to the target planning information and the natural language description information includes: The target detection information, the planning trajectory information, and the natural language description information are used as output results of the multimodal generative language model.
9. A multimodal information processing device, characterized in that: The device comprises: A first acquisition unit is used to acquire multimodal information of a driving environment of a vehicle to be processed; the multimodal information includes image information of the driving environment of the vehicle and point cloud information corresponding to the image information, high-precision map image information, and driving trajectory information, wherein the driving trajectory information includes trajectory information at a historical moment, trajectory information at a future moment predicted at a historical moment, and trajectory information at a current moment; A first obtaining unit, configured to input the multimodal information into a preset multimodal generative language model, so as to obtain multimodal feature information according to a feature extraction network of the preset multimodal generative language model and the multimodal information; A second obtaining unit is used to obtain language feature information and natural language description information corresponding to the multimodal information according to the language generation network of the preset multimodal generative language model and the multimodal feature information; A third obtaining unit is used to obtain target planning information corresponding to the multimodal information according to the target planning network of the preset multimodal generative language model, the multimodal feature information and the language feature information; A first determining unit is used to obtain an output result of the preset multimodal generative language model according to the target planning information and the natural language description information, so as to determine the driving control information of the vehicle according to the output result, wherein the target planning information includes planning trajectory information and target detection information; The first determination unit is used to use the target detection information, the planned trajectory information, and the natural language description information as output results of a multimodal generative language model, so as to determine the driving control information of the vehicle according to the output results, and output the natural language description information in the form of voice and text.
10. A device for model training, characterized in that: The multimodal generative language model to be trained includes a feature extraction network, a language generation network, and a goal planning network, and the device includes: A first acquisition unit is used to acquire sample multimodal information; the sample multimodal information includes image information of the vehicle driving environment and point cloud information corresponding to the image information, high-precision map image information, and driving trajectory information, wherein the driving trajectory information includes trajectory information at historical moments, trajectory information at future moments predicted from historical moments, and trajectory information at current moments; A first obtaining unit, configured to input the sample multimodal information into a multimodal generative language model to be trained, so as to obtain multimodal feature information corresponding to the sample multimodal information according to the feature extraction network and the sample multimodal information; A second obtaining unit, configured to obtain language feature information and natural language description information corresponding to the sample multimodal information according to the language generation network and the multimodal feature information; A third obtaining unit, configured to obtain target planning information corresponding to the sample multimodal information according to the target planning network, the multimodal feature information and the language feature information; A fourth obtaining unit, configured to obtain an output result according to the target planning information and the natural language description information; A first training unit is used to update the multimodal generative language model to be trained according to the output result and the sample multimodal information to obtain a trained multimodal generative language model, wherein the target planning information includes planning trajectory information and target detection information; The fourth obtaining unit is used to use the target detection information, the planning trajectory information, and the natural language description information as output results of the multimodal generative language model.
11. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.
12. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-8.
13. An autonomous driving vehicle comprising the electronic device as claimed in claim 11.
