Annotation method for deep learning dataset for autonomous driving based on multimodal large model

Through the self-driving deep learning data set labeling method based on multi-modal large models, combined with natural language and multi-modal large models, automated data set labeling is achieved, solving the problem of high manual labeling costs in the existing technology, and improving the efficiency of labeling. Efficiency and accuracy reduce learning costs.

CN118313485BActive Publication Date: 2024-08-30TIANJIN DIKONG ZHIXING TRANSPORTATION TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410720072.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-08-30
Estimated Expiration
2044-06-05

AI Technical Summary

Technical Problem

The existing production process of deep learning data sets for autonomous driving relies on manual annotation, resulting in high manpower and time costs. There is an urgent need for an automated data set annotation method.

Method used

A self-driving deep learning data set annotation method based on a multi-modal large model is adopted. Through the first-stage data set annotation quality verification and the second-stage visual data set annotation quality verification, the multi-modal large model is initialized and parameterized in combination with natural language. Use InstructBLIP, LLaMA-AdapterV2 or CogVLM models for image annotation, calculate the accuracy through the degree of coincidence and aspect ratio, and automatically optimize the model to reduce costs and improve efficiency.

Benefits of technology

It achieves high-accuracy annotation of autonomous driving deep learning data sets, reduces workload and learning costs, saves manual annotation costs, improves annotation efficiency, and solves the problems of low data set annotation efficiency and high verification costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118313485B
    Figure CN118313485B
Patent Text Reader

Abstract

The present invention discloses a method for labeling a deep learning dataset for autonomous driving based on a multimodal large model, comprising the following steps: step 1, determining the labeling category and the format of the label data generated by the labeling; step 2, assigning tasks to the multimodal large model using natural language, initializing the multimodal large model, and setting parameters; step 3, inputting the deep learning dataset for autonomous driving into the multimodal large model, and the multimodal large model labels the graphic dataset; step 4, first-stage dataset labeling quality verification, calculating the overall accuracy; if the set value is reached, step 5 is performed, and if the set value is not reached, step 3 is repeated; step 5, second-stage visual dataset labeling quality verification, manual labeling to eliminate errors, and form a verified dataset; step 6, optimizing the multimodal large model using the verified dataset. The present invention has high labeling efficiency, high accuracy, and low cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of autonomous driving image processing technology, and in particular to an autonomous driving deep learning data set labeling method based on a multimodal large model. Background Art

[0002] The emergence of artificial intelligence technology has accelerated the development of various industries. In the field of autonomous driving, artificial intelligence technology has been widely used in the perception stage. Thanks to the development of multimodal large models, there are already a large number of excellent models that can be used for analysis in the visual field. Models such as GPT4-V, ChatGLM, Gemini, etc. can accept data from multiple modalities.

[0003] Autonomous driving technology is a multi-faceted technology with high complexity. Among them, the perception system of autonomous driving plays the role of "eyes". The successful training of an excellent perception system model involves many factors. The quality of the data set is the most intuitive factor that can affect the quality of the model.

[0004] The existing process of producing autonomous driving deep learning datasets mainly relies on manual collection and manual labeling, among which manual labeling is very expensive in terms of both manpower cost and time cost. Therefore, there is an urgent need for an autonomous driving deep learning dataset labeling method. Summary of the invention

[0005] The purpose of the present invention is to address the technical defects in the prior art and to provide a method for labeling an autonomous driving deep learning dataset based on a multimodal large model, including a labeling and verification step and a self-iterative optimization step, so as to solve the problem of high dataset production cost.

[0006] The technical solution adopted to achieve the purpose of the present invention is:

[0007] A method for labeling a deep learning dataset for autonomous driving based on a multimodal large model includes the following steps:

[0008] Step 1: Determine the annotation category of the autonomous driving deep learning dataset and the format of the label data generated by the annotation;

[0009] Step 2: Use natural language to assign tasks to the multimodal large model, initialize the multimodal large model to determine its type, and then set parameters, including the weight coefficients in step 4. and Set value;

[0010] Step 3, inputting the autonomous driving deep learning dataset into the multimodal large model, and the multimodal large model annotates the graphic dataset to obtain an annotated dataset;

[0011] Step 4: Compare the data annotated by the multimodal large model with the manually annotated data in the validation data set to verify the quality of the first-stage data set annotations. Calculate the overlap degree IoU and aspect ratio closeness coefficient for the i-th image data. , through the degree of overlap IoU and aspect ratio closeness factor and its weight coefficient Calculate the accuracy of a single image data , and then according to the accuracy of the single image data Calculate the overall accuracy ;

[0012] If the overall accuracy achieve If the set value is not reached, proceed to step 5. Repeat step 3 for setting value;

[0013] Step 5: Perform a two-stage visual dataset annotation quality verification on each image in the autonomous driving deep learning dataset, display the images that need to be annotated and the images after the multimodal large model annotation is completed, and if there are annotation errors, perform manual annotation to eliminate the errors. The images after error elimination and the error-free images form the verified dataset;

[0014] Step 6: Optimize the multimodal large model using the verified data set.

[0015] In the above technical solution, the labeling categories in step 1 include "pedestrian" and "vehicle".

[0016] In the above technical solution, the format of the label data in step 1 includes the COCO dataset annotation format, the VOC dataset annotation format or the YOLO type dataset annotation format.

[0017] In the above technical solution, the multimodal large model in step 2 is a model based on InstructBLIP, LLaMA-AdapterV2 or CogVLM.

[0018] In the above technical solution, the verification data set in step 4 is manually screened images with high labeling difficulty.

[0019] In the above technical solution, in step 4, ,in represents the area of ​​the manually annotated box, It represents the area of ​​the box marked by the model. is the area of ​​the overlap between the manually labeled box and the model labeled box, It represents the union of the model-annotated area and the manually-annotated area.

[0020] In the above technical solution, in step 4, ,in is the aspect ratio of the manually annotated box, Indicates the aspect ratio of the box annotated by the model.

[0021] In the above technical solution, in step 4, , is the weight coefficient, .

[0022] In the above technical solution, in step 4, ,in n is the number of images in the validation dataset.

[0023] In the above technical solution, in step 4, Settings .

[0024] Compared with the prior art, the present invention has the following beneficial effects:

[0025] 1. The method for labeling a deep learning dataset for autonomous driving based on a multimodal large model of the present invention ensures the accuracy of the labeling results through a first-stage dataset labeling quality verification and a second-stage visualization dataset labeling quality verification. The first-stage dataset labeling quality verification only verifies the verification dataset composed of images with greater labeling difficulty, while the second-stage visualization dataset labeling quality verification verifies the entire deep learning dataset for autonomous driving, thereby improving accuracy while reducing workload.

[0026] 2. The method for labeling autonomous driving deep learning datasets based on a multimodal large model of the present invention has a low learning cost and only requires interaction with the multimodal large model. Compared with the existing manual labeling, the labeling method of the present invention greatly saves costs and solves the problems of low labeling efficiency and high verification cost of datasets in the field of autonomous driving;

[0027] 3. The multimodal large model of the present invention can be controlled by natural language, the interaction method is simple, the annotation efficiency is improved, and the annotation time is reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 Shown is a flow chart of the data set annotation method of the present invention.

[0029] Figure 2 It is a parameter involved in the first-stage dataset annotation quality verification.

[0030] Figure 3 It is a visual display of images in the two-stage visual dataset annotation quality verification.

[0031] Figure 4 It is a topological structure diagram of the data set annotation method of the present invention. DETAILED DESCRIPTION

[0032] The present invention is further described in detail below in conjunction with specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0033] like Figure 1 As shown, the method for labeling a deep learning dataset for autonomous driving based on a multimodal large model of the present invention comprises the following steps:

[0034] Step 1: Determine the annotation category of the autonomous driving deep learning dataset and the format of the label data generated by the annotation;

[0035] Select the annotation category and the format of the label data according to the category that needs to be labeled and the type of label information after the multimodal large model is labeled. The annotation category can include two basic categories "pedestrian" and "vehicle". The label data format includes the COCO dataset annotation format, the VOC dataset annotation format and the YOLO type dataset annotation format. The remaining annotation categories and label data formats can be defined by yourself in step 2.

[0036] Step 2: Use natural language to assign tasks to the multimodal large model, initialize the multimodal large model to determine its type, and then set parameters, including the weight coefficients in step 4. and Set value;

[0037] Natural language modification is to adjust the other information that needs to be customized in the format of the labeled categories and label data in step 1. The natural language here can be Chinese or English. For example, you can enter "label categories are Van, Truck, Person_siting, Cyclist, Tram, Misc" through natural language to enrich the label categories. In addition, natural language can be used to issue instructions for the format of label data and the categories of multimodal large models (knowledge base needs to be provided) to achieve customized labeling.

[0038] Initializing the multimodal large model is to select the specific type of the multimodal large model. The multimodal large model is a model based on InstructBLIP, LLaMA-AdapterV2 or CogVLM. In this embodiment, a model based on InstructBLIP is selected, and 2D images of KITTI, a professional dataset in the field of autonomous driving, are used to fine-tune the original weights of InstructBLIP, and a part of the knowledge base is also included.

[0039] In this embodiment, the weight coefficient is set , .

[0040] Step 3, inputting the autonomous driving deep learning dataset into the multimodal large model, and the multimodal large model annotates the graphic dataset to obtain an annotated dataset;

[0041] In this step, the multimodal large model analyzes the image, generates label data, and obtains a labeled data set.

[0042] Step 4: Compare the data annotated by the multimodal large model with the manually annotated data in the validation data set to verify the quality of the first-stage data set annotations. Calculate the overlap degree IoU and aspect ratio closeness coefficient for the i-th image data. , through the degree of overlap IoU and aspect ratio closeness factor and its weight coefficient Calculate the accuracy of a single image data , and then according to the accuracy of the single image data Calculate the overall accuracy ;

[0043] The validation dataset is composed of manually screened images with higher difficulty in labeling. The first-stage dataset labeling quality verification compares the similarity between the data labeled by the model and the manually labeled data, and then infers the quality of the labeling of the entire dataset.

[0044] The overlap degree IoU verification is to measure the overlap degree between the real label information of the manual annotation and the label box obtained by multimodal large model reasoning. The aspect ratio verification is to measure the shape similarity between the real label information of the manual annotation and the label box information obtained by multimodal large model reasoning. Overall, the dual measurement standards of overlap degree IoU verification and aspect ratio proximity coefficient verification greatly improve the annotation quality of the model. Users can adjust The value of IoU and The weight it occupies;

[0045] (1);

[0046] like Figure 2 As shown, in formula (1) is the area of ​​the overlapping part, represents the area of ​​the manually annotated box, It represents the area of ​​the box marked by the model. It represents the union of the model annotation area and the manually annotated area. IoU represents the area of ​​the overlapping part relative to the area of ​​the entire union. IoUThe degree of overlap can be inferred by measuring the accuracy of the model annotation;

[0047] (2);

[0048] like Figure 2 As shown, in formula (2) is the aspect ratio of the box of manually annotated label information, The width-to-height ratio of the box representing the label information annotated by the model. After calculation, we can know that , which represents the closeness between the aspect ratios. If the aspect ratio is closer, it means that the bbox marked by the model and the manually marked bbox have a more similar shape.

[0049] have and The double blessing of verification can ensure that the box annotated by the model has a similar shape to the real box, and at the same time ensure that the box annotated by the model has a similar area to the real box. Finally, for the i-th image data in the verification data set, the calculation method for the first-stage data set annotation quality verification is:

[0050] (3);

[0051] In formula (3) The value of can be set by yourself. In this application example, the default value is It is set to 0.6. In actual applications, it can be adjusted according to different data sets. Through the calculation of the i-th image, the accuracy of the first-stage data set annotation quality verification on the overall verification set can be calculated as follows: (4);

[0052] In formula (4), n is the number of images in the validation dataset.

[0053] If the overall accuracy achieve If the set value is not reached, proceed to step 5. Repeat step 3 for setting value;

[0054] Step 5: Perform a two-stage visual dataset annotation quality verification on each image in the autonomous driving deep learning dataset, display the images that need to be annotated and the images after the multimodal large model annotation is completed, and if there is an annotation error, manually annotate to eliminate the error. The images after error elimination and the images without error form the verified dataset;

[0055] The second stage is to verify the quality of the visual dataset annotation. The accuracy of the dataset annotation is verified by visual means. This step will display both the original image and the image after the model annotation is completed. Figure 3 shown.

[0056] The two-stage visual dataset annotation quality verification is the most complete verification of the dataset annotation quality. Every image in the dataset is verified, and the user can intuitively see the annotation results of the dataset, and it is convenient to find errors. This application example puts the original image that needs to be labeled at the top and the labeled image at the bottom to facilitate user viewing.

[0057] If the model annotation is incomplete or erroneous, the user will perform manual annotation.

[0058] Step 6: Optimize the multimodal large model using the verified data set.

[0059] like Figure 4 As shown, in view of the computing power requirements of the multimodal large model, a large amount of data set annotation work cannot be supported on a personal PC. In the embodiment, the multimodal large model is deployed in a remote server, and the initial image data in the initial autonomous driving deep learning data set is transmitted to the server. After the multimodal large model in the server is annotated, the annotated data set is returned to the personal PC, which can ensure the optimization of the user experience.

[0060] The above is only a preferred embodiment of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for labeling autonomous driving deep learning datasets based on a multimodal large model, characterized in that: The following steps are involved: Step 1: Determine the annotation category of the autonomous driving deep learning dataset and the format of the label data generated by the annotation; Step 2: Use natural language to assign tasks to the multimodal large model, initialize the multimodal large model to determine its type, and then set parameters, including the weight coefficients in step 4. and Set value; Step 3, inputting the autonomous driving deep learning dataset into the multimodal large model, and the multimodal large model annotates the graphic dataset to obtain an annotated dataset; Step 4: Compare the data annotated by the multimodal large model with the manually annotated data in the validation data set to verify the quality of the first-stage data set annotations. Calculate the overlap degree IoU and aspect ratio closeness coefficient for the i-th image data. , through the degree of overlap IoU and aspect ratio closeness factor and its weight coefficient Calculate the accuracy of a single image data , and then according to the accuracy of the single image data Calculate the overall accuracy ; If the overall accuracy achieve If the set value is not reached, proceed to step 5. Repeat step 3 for setting value; Step 5: Perform a two-stage visual dataset annotation quality verification on each image in the autonomous driving deep learning dataset, display the images that need to be annotated and the images after the multimodal large model annotation is completed, and if there are annotation errors, perform manual annotation to eliminate the errors. The images after error elimination and the error-free images form the verified dataset; Step 6, optimizing the multimodal large model using the verified data set; In step 4, ,in represents the area of ​​the manually annotated box, It represents the area of ​​the box marked by the model. is the area of ​​the overlap between the manually labeled box and the model labeled box, It represents the union of the model-annotated area and the manually-annotated area; In step 4, ,in is the aspect ratio of the manually annotated box, Indicates the aspect ratio of the box annotated by the model; In step 4, , is the weight coefficient, ; In step 4, ,in n is the number of images in the validation dataset.

2. The method for labeling a deep learning dataset for autonomous driving based on a multimodal large model according to claim 1, characterized in that: The labeling categories in step 1 include "pedestrian" and "vehicle".

3. The method for labeling a deep learning dataset for autonomous driving based on a multimodal large model according to claim 1, characterized in that: The format of the label data in step 1 includes the COCO dataset annotation format, the VOC dataset annotation format, or the YOLO type dataset annotation format.

4. The method for labeling a deep learning dataset for autonomous driving based on a multimodal large model according to claim 1, wherein: The multimodal large model in step 2 is a model based on InstructBLIP, LLaMA-AdapterV2 or CogVLM.

5. The method for labeling a deep learning dataset for autonomous driving based on a multimodal large model according to claim 1, wherein: The verification data set in step 4 is manually screened images with high labeling difficulty.

6. The method for labeling a deep learning dataset for autonomous driving based on a multimodal large model according to claim 1, characterized in that: In step 4, Settings .

Citation Information

Patent Citations

  • Overhead transmission line inspection image multi-person collaborative labeling system and auditing management method

    CN116342545A

  • Dam crack detection method based on intelligent unmanned aerial vehicle

    CN116433580A