Autonomous driving multimodal perception decision method and device based on large language model
By combining the multi-modal perception decision-making method of RGB and infrared images, and using large language models to process the priorities of traffic participants and obstacles, the problem of perception priority allocation of autonomous vehicles in road scenes is solved, improving safety and Interpretability.
Patent Information
- Application Number
- CN202410243702.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-04
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-03-04
AI Technical Summary
It is difficult for autonomous vehicles to accurately perceive the priorities of multiple targets in road scenarios, especially in high-uncertainty road conditions. How to effectively allocate 'attention' to ensure safe decision-making is a technical difficulty, and existing technologies have not been effective. To resolve this issue.
Using a multi-modal perception decision-making method based on a large language model, by combining RGB images and infrared images, using target detection models, segmentation models and fusion models to generate fusion feature maps, and processing text information through large visual language models and natural language models , realizes the prioritization of traffic participants, road signs and obstacles, and generates vehicle control signals and interpretation information.
It improves the priority of traffic participants in the perception decision-making of autonomous vehicles, improves the safety of autonomous vehicles, can handle special scenarios like humans and provide explainable decision results, and solves the long-tail problem of autonomous driving and explainability challenge.
Smart Images

Figure CN118115969B
Abstract
Description
Technical Field
[0001] The present application relates to the field of autonomous driving technology, and in particular to a multimodal perception decision-making method and device for autonomous driving based on a large language model. Background Art
[0002] The development of autonomous driving is inseparable from safety issues. How to accurately perceive obstacles during driving, maintain an appropriate safe distance from them, and make correct and safe decisions has always been an important issue in the field of autonomous driving.
[0003] In road scenes, the targets that affect decision-making are diverse, and the road conditions are also highly uncertain. How to allocate different "attention" to the diverse targets is a technical difficulty. For example, if a child suddenly appears on the road, the priority of the vehicle to avoid the child must be higher than that of other non-human obstacles.
[0004] There is no effective solution to the above problems. Summary of the invention
[0005] In view of this, the present application provides an autonomous driving multimodal perception decision-making method and device based on a large language model to solve the above-mentioned technical problems.
[0006] In a first aspect, an embodiment of the present application provides an autonomous driving multimodal perception decision method based on a large language model, comprising:
[0007] Get the RGB image and infrared image of the target area at the current moment;
[0008] Processing the RGB image using a target detection model to obtain a target frame and a corresponding target detection category;
[0009] The infrared image, the target frame and the corresponding target detection category are processed using the segmentation model to obtain the target mask image;
[0010] Using a fusion model to fuse the RGB image, the target mask image and the infrared image to obtain a fusion feature map;
[0011] Using a large visual language model, the first prompt information representing the user's intention, the second prompt information representing the priority of the target detection category, and the fused feature map are fused to obtain text information;
[0012] The text information is processed using a large natural language model to obtain a perception decision result.
[0013] Further, the segmentation model includes an image encoder, a cue encoder and a mask decoder;
[0014] The infrared image, target frame and corresponding target detection category are processed using the segmentation model to obtain the target mask image, including:
[0015] Processing the infrared image using the image encoder to obtain image embedding features;
[0016] Processing the target box and the corresponding target detection category using the prompt encoder to obtain a prompt embedding feature;
[0017] The image embedding features and the hint embedding features are processed by the mask decoder to obtain a target mask image including a mask and a semantic label.
[0018] Further, the fusion model includes: a first convolutional layer, a second convolutional layer, a third convolutional layer, a fourth convolutional layer, a fifth convolutional layer, a sixth convolutional layer, a seventh convolutional layer and an addition unit;
[0019] The RGB image, the target mask image and the infrared image are fused using a fusion model to obtain a fusion feature map, including:
[0020] Processing the infrared image using the first convolutional layer to obtain a first feature map;
[0021] Processing the target mask image using the second convolutional layer to obtain a second feature map;
[0022] Processing the RGB image using the third convolutional layer to obtain a third feature map;
[0023] Using the fourth convolutional layer to process the first feature map, the second feature map and the third feature map to obtain a fourth feature map;
[0024] Processing the fourth feature map using the fifth convolutional layer to obtain a fifth feature map;
[0025] Processing the fifth feature map using the sixth convolutional layer to obtain a sixth feature map;
[0026] Processing the RGB image, the target mask image and the infrared image using the seventh convolutional layer to obtain a seventh feature map;
[0027] The sixth feature map and the seventh feature map are added by using an adding unit to obtain a fused feature map.
[0028] Furthermore, the object detection category priorities are: traffic participants, road signs and traffic signals, and road obstacles.
[0029] Furthermore, the content of the text information includes text descriptions of the image sorted according to the priority of the target detection category.
[0030] Furthermore, the perception decision result includes: a vehicle control signal and corresponding interpretation information.
[0031] Furthermore, the method also includes: a step of training the fusion model.
[0032] In a second aspect, an embodiment of the present application provides an autonomous driving multimodal perception decision-making device based on a large language model, comprising:
[0033] An acquisition unit, used to acquire an RGB image and an infrared image of the target area at the current moment;
[0034] A detection unit, used to process the RGB image using a target detection model to obtain a target frame and a corresponding target detection category;
[0035] A first processing unit is used to process the infrared image, the target frame and the corresponding target detection category using the segmentation model to obtain a target mask image;
[0036] A fusion unit, used for fusing the RGB image, the target mask image and the infrared image using a fusion model to obtain a fusion feature map;
[0037] A second processing unit is used to fuse the first prompt information representing the user's intention, the second prompt information representing the priority of the target detection category, and the fused feature map using a large visual language model to obtain text information;
[0038] The decision-making unit is used to process the text information using a large natural language model to obtain a perception decision result.
[0039] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of the embodiment of the present application when executing the computer program.
[0040] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions implement the method of the embodiment of the present application when executed by a processor.
[0041] This application increases the priority of traffic participants in the perception decision-making of autonomous vehicles and improves the safety of autonomous vehicles. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0043] Figure 1 A flowchart of a multimodal perception decision method for autonomous driving based on a large language model provided in an embodiment of the present application;
[0044] Figure 2 A schematic diagram of the structure of the fusion model provided in the embodiment of the present application;
[0045] Figure 3 A functional structure diagram of an autonomous driving multimodal perception and decision-making device based on a large language model provided in an embodiment of the present application;
[0046] Figure 4 A functional structure diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0048] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0049] First, the design concept of the embodiments of the present application is briefly introduced.
[0050] In road scenes, the targets that affect decision-making are diverse, and the road conditions are also highly uncertain. How to allocate different "attention" to the various targets is a technical difficulty. For example, if a child suddenly appears on the road, the priority of the vehicle to avoid the child must be higher than that of other non-human obstacles. No effective solution has been proposed for this problem. In addition, the use of a single sensor type can only collect limited information, and it is difficult to meet the accuracy of road condition perception required by autonomous driving.
[0051] To solve the above technical problems, based on the fact that infrared sensors are highly sensitive to thermal radiation information and visible light sensors are sensitive to background textures, infrared cameras can better perceive living targets (people, animals). This application prioritizes targets and uses multimodal fusion of infrared images and visible light images to solve the problem of priority enhancement.
[0052] At the same time, unlike traditional modular autonomous driving algorithms, end-to-end autonomous driving coordinates the overall effect. It only needs to conduct overall training, adjustment and optimization for this model to achieve performance improvement, so it can better concentrate resources and achieve functional focus. The "brain" of autonomous driving, the decision-making part, is the key to solving the long-tail problem of autonomous driving. Ordinary algorithms can only learn based on the content of training, which has certain limitations. It is difficult to deal with special scenarios based on common sense knowledge like humans, and it relies on deep neural networks to predict future driving trajectories. The decision-making process is implicitly encoded in the neural network, so it is difficult to explain. The GPT model understands the common sense information of human society. Choosing the GPT model as the decision-making center can not only solve the long-tail problem of autonomous driving, but also solve the explainability of autonomous driving.
[0053] This application designs a multimodal perception decision-making method for autonomous driving with high-precision perception and priority allocation of attention, which includes three parts: a perception fusion part, a post-processing part, and a decision generation part. The perception part adopts the current powerful SAM model plus a semantic perception head and optimizes and fine-tunes it to obtain a semantic SAM model, and achieves the effect of emphasizing living targets through multimodal fusion of infrared images and visual images. The post-processing part designs a priority prompt module to realize the allocation and emphasis of priority attention, and realizes text-to-image conversion. The decision generation part uses the GPT model as the decision core to achieve the solution of long-tail problems and the effect of explainability, allowing the autonomous driving system to think like a human. By collecting infrared images, this application improves the priority of traffic participants in the perception decision-making of autonomous driving vehicles and improves the safety of autonomous driving vehicles.
[0054] After introducing the application scenarios and design concepts of the embodiments of the present application, the technical solutions provided by the embodiments of the present application are described below.
[0055] like Figure 1 As shown, the present application implements a method for multimodal perception and decision-making of autonomous driving based on a large language model, comprising the following steps:
[0056] Step 101: Acquire the RGB image and infrared image of the target area at the current moment;
[0057] Exemplarily, a visible light camera and an infrared sensor are installed on the autonomous driving vehicle, the infrared sensor is used to obtain an infrared image of the target area, and the visible light camera is used to obtain an RGB image of the target area.
[0058] Step 102: Process the RGB image using a target detection model to obtain a target frame and a corresponding target detection category;
[0059] Exemplarily, the semantic part uses the DINO model, and the RGB image is input into the target detection model DINO to obtain the inference results: target box and target category.
[0060] Step 103: using the segmentation model to process the infrared image, the target frame and the corresponding target detection category to obtain a target mask image;
[0061] This embodiment selects SAM (Segment Anything Model) as the segmentation model, including: an image encoder, a hint encoder and a mask decoder, which can output a segmentation mask.
[0062] The target box outputted in step 102 is inputted into the prompt encoder of the SAM model as the prompt box of SAM to guide the SAM model to segment the target mask; the target type plays a filtering role on the SAM segmentation mask (filtering out small and unimportant targets).
[0063] Although SAM has promoted the progress of CV large models, its segmentation results lack semantic meaning. This embodiment embeds the semantic recognition model (DINO) in the SAM large model and fine-tunes it to become a semantic segmentation model applied in the field of autonomous driving, and adjusts the output to the required mask format.
[0064] Image Encoder: Based on a scalable and powerful pre-training method, ViT is pre-trained with MAE, minimally adapted to handle high-resolution inputs. The image encoder is run once per image, applied before the hint model.
[0065] Prompt Encoder: Consider two sets of prompts: sparse (points, boxes, text) and dense (masks). Points and boxes are represented by positional encoding to generate prompt embeddings.
[0066] Mask Decoder: The mask decoder efficiently maps image embedding and hint embedding to masks.
[0067] Specifically, the step includes:
[0068] The SAM semantic segmentation model is used to process the infrared image, target frame and corresponding target detection category to obtain the target mask image, including:
[0069] Processing the infrared image using the image encoder to obtain image embedding features;
[0070] Processing the target box and the corresponding target detection category using the prompt encoder to obtain a prompt embedding feature;
[0071] The image embedding features and the hint embedding features are processed by the mask decoder to obtain a target mask image including a mask and a semantic label.
[0072] Step 104: using a fusion model to fuse the RGB image, the target mask image and the infrared image to obtain a fusion feature map;
[0073] High-quality fused images with infrared and visible light information contribute to intelligent and safe driving. In the infrared and visible light fused images, the texture features of the visible light image are clearer, and the thermal energy of the infrared image is more sensitive to living targets (people, animals). The useless noise information in the infrared image makes the fused image unclear, resulting in the loss of texture information in the visible light image; multimodal fusion can solve this problem.
[0074] like Figure 2 As shown, the fusion model includes: a first convolution layer (Conv1), a second convolution layer (Conv2), a third convolution layer (Conv3), a fourth convolution layer (Conv4), a fifth convolution layer (Conv5), a sixth convolution layer (Conv6), a seventh convolution layer (Conv7) and an addition unit (+);
[0075] The RGB image, the target mask image and the infrared image are fused using a fusion model to obtain a fusion feature map, including:
[0076] Processing the infrared image using the first convolutional layer to obtain a first feature map;
[0077] Processing the target mask image using the second convolutional layer to obtain a second feature map;
[0078] Processing the RGB image using the third convolutional layer to obtain a third feature map;
[0079] Using the fourth convolutional layer to process the first feature map, the second feature map and the third feature map to obtain a fourth feature map;
[0080] Processing the fourth feature map using the fifth convolutional layer to obtain a fifth feature map;
[0081] Processing the fifth feature map using the sixth convolutional layer to obtain a sixth feature map;
[0082] Processing the RGB image, the target mask image and the infrared image using the seventh convolutional layer to obtain a seventh feature map;
[0083] The sixth feature map and the seventh feature map are added by using an adding unit to obtain a fused feature map.
[0084] Step 105: using a large visual language model to fuse the first prompt information representing the user's intention, the second prompt information representing the priority of the target detection category, and the fused feature map to obtain text information;
[0085] This embodiment uses LLaMA-Adapter V2 as a large visual language model to complete the conversion of images to text. Compared with the full fine-tuning paradigm adopted by Alpaca and Vicuna, LLaMA-Adapter introduces a lightweight adapter with zero-initialized attention to the frozen LLaMA for parameter-efficient fine-tuning and multimodal knowledge injection. LLaMA-Adapter demonstrates the potential of processing visual input with LLM, but it still does not generalize well to open visual instructions and lags behind GPT-4. LLaMA-Adapter V2 is a parameter-efficient visual instruction model. Specifically, LLaMA-Adapter is first enhanced by unlocking more learnable parameters (such as norm, bias, and scale), which extend the ability of instruction following to the entire LLaMA model. Secondly, an early fusion strategy is proposed to feed only visual tokens to the early LLM layers, which helps better visual knowledge fusion. By optimizing disjoint groups of learnable parameters, the joint training paradigm of image-text pairs and instruction following data is introduced. This strategy effectively mitigates the interference between the two tasks of image-text alignment and instruction following, and achieves powerful multimodal reasoning with only a small-scale image-text and instruction dataset. During the reasoning process, additional expert models (such as subtitle / OCR systems) are merged into the LLaMA-Adapter to further enhance its image understanding capabilities without incurring training costs. Compared with the original LLaMA-Adapter, LLaMA-Adapter V2 only needs to introduce 14M parameters on LLaMA to perform open multimodal instructions. So the Llama adapter v2 model is selected to complete this task.
[0086] In this embodiment, the target detection category priorities are: traffic participants, road signs and traffic signals, and road obstacles.
[0087] Among them, traffic participants include other pedestrians, bicycles, ordinary cars or large vehicles, motorcycles, etc. These are the highest priority perception targets because they are directly related to the safe driving of the vehicle. Road signs and traffic signals: including traffic signs, traffic lights, road markings, etc. These targets are crucial for vehicles to understand traffic rules and road conditions. Road obstacles: including stones, branches, animals, etc. These obstacles may affect vehicle driving and need to be identified and avoided in a timely manner.
[0088] The content of the text information includes image text descriptions sorted according to the priority of target detection categories.
[0089] Step 106: Use the natural language big model to process the text information to obtain a perception decision result.
[0090] Exemplarily, the perception decision result includes: a vehicle control signal and corresponding interpretation information.
[0091] This embodiment uses the generalization and reasoning capabilities of the GPT-3.5 model to solve long-tail driving scenarios that are challenging to other methods (the GPT model has sufficient human social common sense) while being interpretable, allowing the autonomous driving system to think like a human. The GPT model outputs control signals (such as turn left, turn right, go straight, slow down and stop) and explanation information (such as: because the green light ahead turns red, you need to slow down and stop).
[0092] In addition, the method also includes: a step of training the fusion model.
[0093] Based on the above embodiments, the present application embodiment provides an autonomous driving multimodal perception decision-making device based on a large language model, see Figure 3 As shown, the multimodal perception decision-making device 200 for autonomous driving based on a large language model provided in the embodiment of the present application at least includes:
[0094] An acquisition unit 201 is used to acquire an RGB image and an infrared image of a target area at a current moment;
[0095] A detection unit 202 is used to process the RGB image using a target detection model to obtain a target frame and a corresponding target detection category;
[0096] The first processing unit 203 is used to process the infrared image, the target frame and the corresponding target detection category using the segmentation model to obtain a target mask image;
[0097] A fusion unit 204 is used to fuse the RGB image, the target mask image and the infrared image using a fusion model to obtain a fusion feature map;
[0098] The second processing unit 205 is used to fuse the first prompt information representing the user's intention, the second prompt information representing the priority of the target detection category, and the fused feature map using a large visual language model to obtain text information;
[0099] The decision unit 206 is used to process the text information using a large natural language model to obtain a perception decision result.
[0100] It should be noted that the principle of solving the technical problem of the multimodal perception and decision-making device 200 for autonomous driving based on a large language model provided in the embodiment of the present application is similar to the method provided in the embodiment of the present application. Therefore, the implementation of the multimodal perception and decision-making device 200 for autonomous driving based on a large language model provided in the embodiment of the present application can refer to the implementation of the method provided in the embodiment of the present application, and the repeated parts will not be repeated.
[0101] Based on the above embodiments, the present application also provides an electronic device, referring to Figure 4 As shown, the electronic device 300 provided in the embodiment of the present application includes at least: a processor 301, a memory 302, and a computer program stored in the memory 302 and executable on the processor 301. When the processor 301 executes the computer program, the multimodal perception decision method for autonomous driving based on a large language model provided in the embodiment of the present application is implemented.
[0102] The electronic device 300 provided in the embodiment of the present application may further include a bus 303 connecting different components (including the processor 301 and the memory 302). The bus 303 represents one or more of several types of bus structures, including a memory bus, a peripheral bus, a local bus, and the like.
[0103] The memory 302 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 3021 and / or a cache memory 3022 , and may further include a read-only memory (ROM) 3023 .
[0104] The memory 302 may also include a program tool 3025 having a set (at least one) of program modules 3024, the program modules 3024 including but not limited to: an operating subsystem, one or more applications, other program modules and program data, each of which or some combination may include the implementation of a network environment.
[0105] The electronic device 300 may also communicate with one or more external devices 304 (e.g., keyboards, remote controls, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 300 (e.g., mobile phones, computers, etc.), and / or communicate with any device that enables the electronic device 300 to communicate with one or more other electronic devices 300 (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 305. Furthermore, the electronic device 300 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 306. Figure 4 As shown, the network adapter 306 communicates with other modules of the electronic device 300 via the bus 303. It should be understood that although Figure 4 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 300, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, disk arrays (Redundant Arrays of Independent Disks, RAID) subsystems, tape drives, and data backup storage subsystems.
[0106] It should be noted that Figure 4 The electronic device 300 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0107] The embodiment of the present application also provides a computer-readable storage medium, which stores computer instructions, and when the computer instructions are executed by the processor, the multimodal perception decision method for autonomous driving based on a large language model provided in the embodiment of the present application is implemented. Specifically, the executable program can be built-in or installed in the electronic device 300, so that the electronic device 300 can implement the multimodal perception decision method for autonomous driving based on a large language model provided in the embodiment of the present application by executing the built-in or installed executable program.
[0108] The multimodal perception and decision-making method for autonomous driving based on a large language model provided in an embodiment of the present application can also be implemented as a program product, which includes a program code. When the program product can be run on an electronic device 300, the program code is used to enable the electronic device 300 to execute the multimodal perception and decision-making method for autonomous driving based on a large language model provided in an embodiment of the present application.
[0109] The program product provided in the embodiments of the present application may adopt any combination of one or more readable media, wherein the readable medium may be a readable signal medium or a readable storage medium, and the readable storage medium may be but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination of the above. Specifically, more specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, RAM, ROM, Erasable Programmable Read Only Memory (EPROM), optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0110] The program product provided in the embodiment of the present application may adopt a CD-ROM and include program code, and may also be run on a computing device. However, the program product provided in the embodiment of the present application is not limited thereto. In the embodiment of the present application, the readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
[0111] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.
[0112] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
[0113] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application and are not intended to limit it. Although the present application is described in detail with reference to the embodiments, a person skilled in the art should understand that any modification or equivalent replacement of the technical solution of the present application does not depart from the spirit and scope of the technical solution of the present application and should be included in the scope of the claims of the present application.
Claims
1. A multimodal perception decision method for autonomous driving based on a large language model, characterized in that: include: Get the RGB image and infrared image of the target area at the current moment; Processing the RGB image using a target detection model to obtain a target frame and a corresponding target detection category; The infrared image, the target frame and the corresponding target detection category are processed using the segmentation model to obtain the target mask image; Using a fusion model to fuse the RGB image, the target mask image and the infrared image to obtain a fusion feature map; Using a large visual language model, the first prompt information representing the user's intention, the second prompt information representing the priority of the target detection category, and the fused feature map are fused to obtain text information; Processing the text information using a large natural language model to obtain a perception decision result; The segmentation model includes an image encoder, a hint encoder and a mask decoder; The infrared image, target frame and corresponding target detection category are processed using the segmentation model to obtain the target mask image, including: Processing the infrared image using the image encoder to obtain image embedding features; Processing the target box and the corresponding target detection category using the prompt encoder to obtain a prompt embedding feature; Processing the image embedding features and the hint embedding features using the mask decoder to obtain a target mask image including a mask and a semantic label; The fusion model includes: a first convolution layer, a second convolution layer, a third convolution layer, a fourth convolution layer, a fifth convolution layer, a sixth convolution layer, a seventh convolution layer and an addition unit; The RGB image, the target mask image and the infrared image are fused using a fusion model to obtain a fusion feature map, including: Processing the infrared image using the first convolutional layer to obtain a first feature map; Processing the target mask image using the second convolutional layer to obtain a second feature map; Processing the RGB image using the third convolutional layer to obtain a third feature map; Using the fourth convolutional layer to process the first feature map, the second feature map and the third feature map to obtain a fourth feature map; Processing the fourth feature map using the fifth convolutional layer to obtain a fifth feature map; Processing the fifth feature map using the sixth convolutional layer to obtain a sixth feature map; Processing the RGB image, the target mask image and the infrared image using the seventh convolutional layer to obtain a seventh feature map; The sixth feature map and the seventh feature map are added by using the adding unit to obtain a fused feature map.
2. The method according to claim 1, characterized in that The object detection categories are prioritized as follows: traffic participants, road signs and traffic signals, and road obstacles.
3. The method according to claim 2, characterized in that The content of the text information includes image text descriptions sorted according to the priority of target detection categories.
4. The method according to claim 1, characterized in that: The perception decision result includes: a vehicle control signal and corresponding interpretation information.
5. The method according to claim 1, characterized in that: The method also includes: a step of training the fusion model.
6. An autonomous driving multimodal perception and decision-making device based on a large language model, characterized in that: include: An acquisition unit, used to acquire an RGB image and an infrared image of the target area at the current moment; A detection unit, used to process the RGB image using a target detection model to obtain a target frame and a corresponding target detection category; A first processing unit is used to process the infrared image, the target frame and the corresponding target detection category using the segmentation model to obtain a target mask image; A fusion unit, used for fusing the RGB image, the target mask image and the infrared image using a fusion model to obtain a fusion feature map; A second processing unit is used to fuse the first prompt information representing the user's intention, the second prompt information representing the priority of the target detection category, and the fused feature map using a large visual language model to obtain text information; A decision-making unit, used to process the text information using a large natural language model to obtain a perception decision result; The segmentation model includes an image encoder, a hint encoder and a mask decoder; The first processing unit is specifically used for: Processing the infrared image using the image encoder to obtain image embedding features; Processing the target box and the corresponding target detection category using the prompt encoder to obtain a prompt embedding feature; Processing the image embedding features and the hint embedding features using the mask decoder to obtain a target mask image including a mask and a semantic label; The fusion model includes: a first convolution layer, a second convolution layer, a third convolution layer, a fourth convolution layer, a fifth convolution layer, a sixth convolution layer, a seventh convolution layer and an addition unit; The fusion unit is specifically used for: Processing the infrared image using the first convolutional layer to obtain a first feature map; Processing the target mask image using the second convolutional layer to obtain a second feature map; Processing the RGB image using the third convolutional layer to obtain a third feature map; Using the fourth convolutional layer to process the first feature map, the second feature map and the third feature map to obtain a fourth feature map; Processing the fourth feature map using the fifth convolutional layer to obtain a fifth feature map; Processing the fifth feature map using the sixth convolutional layer to obtain a sixth feature map; Processing the RGB image, the target mask image and the infrared image using the seventh convolutional layer to obtain a seventh feature map; The sixth feature map and the seventh feature map are added by using the adding unit to obtain a fused feature map.
7. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Cited By
Data construction and training method of multi-mode large language model for automatic driving
CN119478893A
