Method and electronic device for automatically obtaining a trusted labeled dataset

By using a progressive data cleaning framework and filtering model prediction results, a reliable labeled dataset is automatically obtained, solving the problems of incorrect labeled datasets and time-consuming manual intervention in existing technologies, and achieving efficient and low-cost target detection data cleaning and labeling.

CN115797680BActive Publication Date: 2026-11-20HUMAN HORIZONS (SHANGHAI) AUTONOMOUS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211293856.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-21
Publication Date
2026-11-20
Estimated Expiration
2042-10-21

AI Technical Summary

Technical Problem

Existing technologies often contain mislabeled large-scale labeled datasets, and data cleaning requires manual intervention, which is time-consuming and expensive, making it difficult to efficiently obtain reliable labeled data, especially in object detection tasks.

Method used

By designing a progressive data cleaning framework, two optimized models are used to predict unverified labeled datasets, select the prediction results with reference value, and compare them with the machine-generated labeling results to determine supplementary samples, thereby achieving automatic acquisition of reliable labeled datasets.

Benefits of technology

In the absence of sufficient reliable labeled data, target detection data is automatically cleaned using a small amount of reliable data and a large amount of unverified data, which improves the accuracy and efficiency of labeled data, reduces manual intervention, and lowers costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115797680B_ABST
    Figure CN115797680B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method and an electronic device for automatically obtaining a trusted labeling data set, and relates to the technical field of target detection. The specific scheme is: using the first model optimized for the i-th time to predict the samples in the unverified labeling data set updated for the i-th time to obtain a first prediction result; wherein i is an integer; using the second model optimized for the i-th time to predict the samples in the unverified labeling data set updated for the i-th time to obtain a second prediction result; using the second prediction result to screen the first prediction result to obtain a screening result; using the screening result to determine supplementary samples, and based on the supplementary samples, performing the i+1-th update of the clean data set, wherein the initial number of samples of the clean data set is 0. The scheme of the present disclosure can realize the automatic cleaning of the target detection data by using a small amount of trusted labeling data and a large amount of unverified labeling data in the case of lacking a sufficient amount of trusted labeling data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of object detection technology, and in particular to a method and electronic device for automatically acquiring trusted labeled datasets. Background Technology

[0002] With the development of deep learning, significant progress has been made in many computer vision tasks, such as image classification, object detection, and semantic segmentation. These advancements rely heavily on large amounts of labeled data; however, existing large-scale labeled datasets often contain mislabeled data, necessitating data cleaning.

[0003] Judging the effectiveness of data cleaning often requires human intervention, especially for object detection, because it is necessary to label not only the category labels but also the precise bounding boxes for each instance, which makes large-scale accurate data labeling not only time-consuming but also expensive. Summary of the Invention

[0004] This disclosure provides a method and electronic device for automatically acquiring trusted labeled datasets.

[0005] According to one aspect of this disclosure, a method for automatically obtaining a trusted labeled dataset is provided, comprising:

[0006] The first prediction result is obtained by using the first model after the i-th optimization to predict the samples in the unverified labeled dataset after the i-th update; where i is an integer.

[0007] The second model after the i-th optimization is used to predict the samples in the unverified labeled dataset after the i-th update to obtain the second prediction result;

[0008] The first prediction result is filtered using the second prediction result to obtain the filtered result;

[0009] Use the screening results to determine supplementary samples, and perform the (i+1)th update of the clean dataset based on the supplementary samples, where the initial number of samples in the clean dataset is 0.

[0010] According to another aspect of this disclosure, an electronic device for automatically acquiring a trusted labeled dataset is provided, comprising:

[0011] At least one processor; and

[0012] The memory is communicatively connected to the at least one processor; wherein,

[0013] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the methods in any embodiment of this disclosure.

[0014] Based on the technology disclosed herein, the updates of unverified labeled datasets and clean datasets can be synchronously correlated with the optimization of the first and second models, thus designing a progressive data cleaning framework. This framework enables automatic cleaning of target detection data even in the absence of a sufficient amount of reliable labeled data, using a small amount of reliable labeled data and a large amount of unverified labeled data.

[0015] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0016] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:

[0017] Figure 1 This is a flowchart illustrating a method for automatically acquiring a trusted labeled dataset according to an embodiment of the present disclosure;

[0018] Figure 2 This is a flowchart illustrating the automatic cleaning process for labeled data according to an embodiment of the present disclosure.

[0019] Figure 3 This is a block diagram of an electronic device used to implement the method for automatically acquiring a trusted labeled dataset according to embodiments of the present disclosure. Detailed Implementation

[0020] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0021] Figure 1 This is a schematic diagram of a process for automatically obtaining a trusted labeled dataset according to an embodiment of the present disclosure, including:

[0022] S110, using the first model after the i-th optimization, predict the samples in the unverified labeled dataset after the i-th update to obtain the first prediction result; where i is an integer;

[0023] S120, use the second model after the i-th optimization to predict the samples in the unverified labeled dataset after the i-th update, and obtain the second prediction result;

[0024] S130, use the second prediction result to filter the first prediction result to obtain the filtered result;

[0025] S140, use the screening results to determine supplementary samples, and perform the (i+1)th update of the clean dataset based on the supplementary samples, where the initial number of samples in the clean dataset is 0.

[0026] It is understandable that in the fields of image classification and object detection, the validity of labeled data often requires manual verification, so the number of credible labeled samples that can be obtained is much smaller than that of unverified labeled samples. In other words, the number of samples in the credible labeled dataset before the update is much smaller than the number of samples in the unverified labeled dataset.

[0027] For example, the first model before optimization was trained on the trusted labeled dataset and the unverified labeled dataset before the update, and the second model before optimization was trained on the trusted labeled dataset and the clean dataset before the update. At the same time, since the initial number of samples in the clean dataset is 0, the second model before optimization can also be understood as being trained solely on the trusted labeled dataset.

[0028] Taking the case where i is 0 as an example, step S110 can be understood as using the first model before optimization to predict the samples in the unverified labeled dataset before update, and obtaining the first prediction result for each sample. Similarly, when i is 0, step S120 can be understood as using the second model before optimization to predict the samples in the unverified labeled dataset before update, and obtaining the second prediction result for each sample.

[0029] In one implementation, step S130 specifically includes:

[0030] For a target sample in the unverified labeled dataset after the i-th update, if the first prediction result and the second prediction result corresponding to the target sample satisfy the first predetermined condition, the first prediction result corresponding to the target sample is determined as the screening result.

[0031] The first predetermined condition includes:

[0032] The confidence level of the first prediction result corresponding to the target sample is greater than the first threshold, the confidence level of the second prediction result corresponding to the target sample is greater than the second threshold, the first prediction result corresponding to the target sample and the second prediction result corresponding to the target sample are of the same category, and the intersection-union ratio of the first prediction result and the second prediction result corresponding to the target sample is greater than the third threshold.

[0033] Understandably, in the field of image classification, the accuracy of image classification can often be judged directly by the confidence score of the model prediction. However, in the field of object detection technology, in addition to the confidence score, the type of the detected object and the bounding box are also important factors to consider.

[0034] Taking the case where i is 0 as an example again, the target sample can be any sample in the unverified labeled dataset before the update. The specific reasons why the first and second prediction results corresponding to the target sample must meet the first predetermined condition are as follows:

[0035] (1) The confidence level of the first prediction result corresponding to the target sample is greater than the first threshold, and the confidence level of the second prediction result corresponding to the target sample is greater than the second threshold.

[0036] In other words, the prediction results of the first model and the second model for the target sample must each meet the confidence requirements in order to have the significance for further evaluation and comparison.

[0037] (2) The first prediction result corresponding to the target sample and the second prediction result corresponding to the target sample are of the same category.

[0038] Taking an image in a lane detection scenario as an example, the model's prediction result for the corresponding sample category can be lane line, curb, etc. If the category of the first prediction result is lane line, while the category of the second prediction result is curb, it indicates that the trained model has a large deviation in the prediction result for the target sample, and there is no point in continuing to compare the two. The detection result corresponding to the target sample should be abandoned.

[0039] (3) The crossover ratio of the first and second prediction results corresponding to the target sample is greater than the third threshold.

[0040] Understandably, ideally, the confidence score of the target detection result should be positively correlated with the intersection-union ratio (IU) of the bounding box and the ground truth coordinate box of the target detection result. However, in reality, there are a large number of misaligned predictions. If the IU between the bounding box in the first prediction result and the bounding box in the second prediction result is small, it also indicates that the model's prediction result for the target sample at the current stage is not of reference value and the detection result corresponding to the target sample needs to be abandoned.

[0041] Using the method described in the above embodiments, this application considers confidence scores, categories, and bounding box intersection-union ratios to select prediction results with reference value, and then selects supplementary samples to make the final labeled results closer to the results of manual verification.

[0042] In one implementation, step S140 specifically includes:

[0043] Retrieve the annotation results corresponding to the filtered results in the unvalidated annotated dataset after the i-th update;

[0044] If the screening results and annotation results meet the second predetermined condition, the annotation results will be identified as supplementary samples;

[0045] The second predetermined condition includes:

[0046] The intersection-union ratio of the filtered results and the labeled results is greater than the third threshold, and the filtered results and the labeled results are of the same category.

[0047] For example, taking the case where i is 0 as an example, the annotation result obtained corresponding to the filtering result is the annotation result in the unverified annotation dataset before the update, that is, the result of the target sample corresponding to the filtering result being automatically annotated by the machine.

[0048] The understanding of the categories and intersection-union ratio in the second predetermined condition can be referred to the first predetermined condition mentioned above. Therefore, if the screening results and the labeling results meet the second predetermined condition for the target sample in the unverified labeled dataset, it means that the machine's automatic labeling of the target sample is relatively accurate. Considering that the samples used to train the first model contain a large number of unverified labeled data samples, which do not yet have high reliability, the labeling results in the unverified labeled dataset (that is, the automatic labeling results corresponding to the screening results) are taken as supplementary samples.

[0049] In one embodiment, step S140 further includes:

[0050] If the screening and labeling results do not meet the second predetermined condition, the screening results will be determined as supplementary samples.

[0051] Understandably, since the samples used to train the second model come from both reliable and clean datasets, the second prediction result corresponding to the second model has high reliability. If the first prediction result, satisfying the first predetermined condition, is used as the selection result, but the second predetermined condition is not met (the machine's annotation of the target sample's category and bounding box deviates significantly from the selection result), considering the high reliability of the second prediction result and the fact that both the first and second prediction results satisfy the first predetermined condition (the predicted categories are consistent, and the bounding box intersection-union ratio is high), then it can be considered that the machine's automatic annotation of the target sample has a problem. In this case, the selection result needs to be used as a supplementary sample.

[0052] In addition, it should be noted that machine-generated object detection and automatic annotation may miss some samples. That is, there may be samples without bounding boxes in the unverified labeled dataset. For such samples, they are still judged as not meeting the second predetermined condition, and the screening results are directly used as supplementary samples.

[0053] Using the method described above, after selecting the prediction results of the first model that have reference value, it is not directly regarded as a supplementary sample of the clean dataset. Instead, it is further compared with the machine-automated annotation results in the unverified annotation dataset. The annotation result with higher credibility is selected as the supplementary sample, so that the annotation results of the supplementary sample of the clean dataset are more accurate.

[0054] In one implementation, the (i+1)th optimization process of the first model includes:

[0055] If the filtering results and annotation results do not meet the second predetermined condition, the filtering results are used to perform the (i+1)th update of the unverified labeled dataset.

[0056] Based on the trusted labeled dataset and the unverified labeled dataset after the (i+1)th update, the first model is optimized for the (i+1)th time.

[0057] Understandably, if the second predetermined condition is not met, and i is 0, meaning the machine's automatic annotation results for the target sample have a significant deviation from the filtering results, the machine's automatic annotation of the target sample has problems. In this case, since the first model is trained on both the unverified annotation dataset and the trusted annotation dataset, the unverified annotation dataset needs to be updated to optimize the first model.

[0058] Taking the case where i is 0 as an example, the first update of the unverified labeled dataset is to directly replace the machine's standard result for the target sample with the filtering result corresponding to the target sample before the update, and use the filtering result as the labeling result of the target sample in the unverified labeled dataset.

[0059] Furthermore, when i is greater than 0, if the labeled result corresponding to the filtering result is a sample updated in the unverified labeled dataset after the i-th update, that is, the category of the labeled result itself is consistent with the prediction result of the first model after the (i-1)-th optimization, the bounding box of the labeled result has a high intersection-union (IU) with the bounding box of the prediction result of the first model after the (i-1)-th optimization. In the i-th optimization process of the first model, the only difference in the training samples is the sample updated in the unverified labeled dataset after the i-th update. Therefore, if the labeled result corresponding to the filtering result is a sample updated in the unverified labeled dataset after the i-th update, the second predetermined condition will not be unsatisfactory.

[0060] That is, if i is greater than 0, and the filtering result and the corresponding annotation result do not meet the second predetermined condition, it can still be regarded as the automatic annotation result of the machine in the unverified annotation dataset after the i-th update has a problem, and the filtering result needs to be used to update the unverified annotation dataset for the (i+1)-th time.

[0061] For example, in step S140 above, the (i+1)th update of the clean dataset is performed based on the supplementary samples. The specific update method can be:

[0062] When i is 0, that is, for the first update of the clean dataset, the supplementary samples can be directly added to the clean dataset;

[0063] When i is greater than 0, some of the final supplementary samples may be samples that have already been supplemented in the previous update. For each target sample among these supplementary samples, the supplementation method needs to be determined based on the source of the target sample.

[0064] Specifically, if the source of the target sample is the screening result, and if the clean dataset contains the corresponding labeled result of the target sample, since the prediction result of the first model after the i-th optimization of the screening result is obviously different from the labeled result of the target sample in the clean dataset, in this case, the prediction result of the supplementary sample replaces the labeled result of the target sample in the clean dataset; if the clean dataset does not contain the corresponding labeled result of the target sample, then the target sample is directly added to the clean dataset as a supplementary sample.

[0065] If the target sample originates from the annotation result corresponding to the unverified annotated dataset after the i-th update, since the annotation result was updated on both the unverified annotated dataset and the clean dataset in the previous update process, the annotation result of the target sample in the unverified annotated dataset after the i-th update is the same as that in the clean dataset after the i-th update. In this case, no update is required.

[0066] In one implementation, the (i+1)th optimization process of the second model includes:

[0067] Based on the trusted labeled dataset and the clean dataset after the (i+1)th update, the second model is optimized for the (i+1)th time.

[0068] Understandably, similar to the optimization of the first model, the second model is trained on a trusted labeled dataset and a clean dataset. Therefore, the optimization of the second model also needs to be based on the synchronously updated clean dataset.

[0069] By using the method described in the above embodiments, the updates of the unverified labeled dataset and the clean dataset are synchronously associated with the optimization of the first model and the second model. In the absence of a sufficient number of credible labeled data, a small amount of credible labeled data and a large amount of unverified labeled data can be used to continuously obtain highly credible labeled data to supplement the credible labeled data, thereby achieving automatic cleaning of the target detection data.

[0070] In one implementation, the first threshold used to evaluate the confidence level of the first prediction result in the first judgment condition is adjustable during the automatic data cleaning process. If the number of samples corrected (updated using the screening results) in the unverified dataset during the current cleaning round is small, the first threshold can be appropriately lowered to relax the constraints and continue updating the samples in the unverified dataset. The adjustment of the first threshold can be achieved through a strategy of first decreasing slowly, then accelerating, and finally decreasing slowly again. This avoids the model sample updates from getting stuck in local optima, ensuring the prediction quality of the first model in the initial stage and strictly controlling the update frequency of the dataset. Subsequently, the threshold is gradually adjusted according to the proportion of corrected samples, simultaneously accelerating the model cleaning speed. Finally, a slow adjustment is made to ensure that the actual output of the automatic data cleaning framework remains consistent with the expected output.

[0071] For example, the number of rounds of automatic data cleaning, i.e., the number of optimizations of the first and second models and the number of dataset updates mentioned above, can be set according to actual needs. For instance, weights can be assigned to the data cleaning effect and the time required for optimization, and the appropriate number of optimizations can be determined based on a large number of experiments. Alternatively, automatic cleaning can be stopped when the model converges; no specific limitations are made here.

[0072] Figure 2 This is a flowchart illustrating the automatic cleaning process for labeled data according to an embodiment of the present disclosure.

[0073] like Figure 2 As shown, the specific process for achieving automatic cleaning of labeled data is as follows:

[0074] 1) Train the first model using an unverified labeled dataset and a trusted labeled dataset, and train the second model using a trusted labeled dataset and a clean dataset with an initial sample size of 0;

[0075] 2) Input the samples in the unverified labeled dataset into the first model and the second model one by one to obtain the first prediction result and the second prediction result for each sample;

[0076] 3) Filter the first prediction result based on the second prediction result and using the first preset conditions;

[0077] 4) Based on the second predetermined condition, supplementary samples are determined from the screening results and the corresponding annotation results of the screening results in the unverified annotation dataset;

[0078] 5) Update the clean dataset based on the supplementary samples;

[0079] 6) If the second predetermined condition is not met, update the unverified labeled dataset based on the screening results.

[0080] The specific settings and implementation methods of the embodiments of this application have been described above from different perspectives. Using the methods provided in the above embodiments, this application utilizes the confidence score of the prediction results, the category of the prediction results, and the intersection-union ratio of the bounding boxes of the object detection model to synchronously correlate the updates of the unverified labeled dataset and the clean dataset with the optimization of the first and second models, designing a progressive data cleaning framework. The final clean dataset is the result of automatically cleaning the unverified labeled dataset. Even in the absence of a sufficient amount of reliable labeled data, a small amount of reliable labeled data and a large amount of unverified labeled data can be used to continuously obtain highly reliable labeled data as reliable labeled data to supplement the clean dataset, thus achieving automatic cleaning of the object detection data.

[0081] Another beneficial effect of this application is that, based on the automatic cleaning of target detection data, it can further utilize the sufficient amount of reliable labeled data obtained after self-cleaning to train the target detection model, thereby solving the problem of insufficient ground truth samples in the training of conventional target detection models and improving the detection accuracy of the target detection model.

[0082] The acquisition, storage, and application of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0083] Figure 3 A structural block diagram of an electronic device according to an embodiment of this application is shown. Figure 3 As shown, the electronic device includes a memory 310 and a processor 320. The memory 310 stores instructions that can be executed on the processor 320. When the processor 320 executes the instructions, it implements the method for recognizing lane edges in the above embodiments. The number of memories 310 and processors 320 can be one or more. This electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, 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 processors, cellular phones, smartphones, 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 claimed herein.

[0084] The electronic device may also include a communication interface 330 for communicating with external devices and exchanging data. The devices are interconnected using different buses and can be mounted on a common motherboard or otherwise as needed. The processor 320 can process instructions executed within the electronic device, including instructions stored in or on memory to display graphical information of a GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple electronic devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). The bus can be divided into address buses, data buses, control buses, etc. For ease of illustration, Figure 3 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0085] Optionally, in a specific implementation, if the memory 310, processor 320 and communication interface 330 are integrated on a single chip, the memory 310, processor 320 and communication interface 330 can communicate with each other through an internal interface.

[0086] It should be understood that the aforementioned processor can be a Central Processing Unit (CPU), or other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. General-purpose processors can be microprocessors or any conventional processor. It is worth noting that the processor can be a processor supporting Advanced Reduced Instruction Set Machines (ARM) architecture.

[0087] This application provides a computer-readable storage medium (such as the memory 310 described above) that stores computer instructions, which, when executed by a processor, implement the method provided in this application.

[0088] Optionally, memory 310 may include a program storage area and a data storage area, wherein the program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the electronic device for recognizing lane edges, etc. Furthermore, memory 310 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory 310 may optionally include memory remotely generated relative to processor 320, which can be connected to the electronic device for recognizing lane edges via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0089] Computer-readable media include both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other physical classes of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage media, or any other non-transferable media that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include non-transitory computer-readable media, such as modulated data signals and carrier waves.

[0090] In the description of this specification, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.

[0091] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various variations or substitutions within the technical scope disclosed in this application, and these should all be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for automatically acquiring a trusted labeled dataset for object detection, characterized in that, include: The first prediction result is obtained by using the first model after the i-th optimization to predict the image samples in the unverified labeled dataset after the i-th update; where i is an integer. The second model after the i-th optimization is used to predict the image samples in the i-th updated unverified labeled dataset to obtain the second prediction result; The first prediction result is filtered using the second prediction result to obtain the filtered result, including: For the target image sample in the unverified labeled dataset after the i-th update, if the first prediction result corresponding to the target image sample and the second prediction result corresponding to the target image sample satisfy the first predetermined condition, the first prediction result corresponding to the target image sample is determined as the screening result; The first predetermined condition includes: The following conditions must be met: the confidence level of the first prediction result corresponding to the target image sample is greater than a first threshold; the confidence level of the second prediction result corresponding to the target image sample is greater than a second threshold; the categories of the first prediction result and the second prediction result corresponding to the target image sample are the same; and the intersection-union ratio (I / O) of the bounding boxes of the first prediction result and the second prediction result corresponding to the target image sample is greater than a third threshold. Supplementary image samples are determined using the filtering results, and the (i+1)th update of the clean dataset is performed based on the supplementary image samples, wherein the initial number of image samples in the clean dataset is 0. The step of determining supplementary image samples using the filtering results includes: obtaining the annotation results corresponding to the filtering results in the unverified annotation dataset after the i-th update; and determining the annotation results as supplementary image samples when the filtering results and the annotation results meet a second predetermined condition; wherein the second predetermined condition includes: the intersection-union ratio of the filtering results and the annotation results is greater than a third threshold, and the filtering results and the annotation results are of the same category; The step of determining supplementary image samples using the filtering results further includes: determining the filtering results as supplementary image samples when the filtering results and the annotation results do not meet the second predetermined condition.

2. The method according to claim 1, characterized in that, The (i+1)th optimization process of the first model includes: If the filtering results and the annotation results do not meet the second predetermined condition, the (i+1)th update of the unverified annotation dataset is performed using the filtering results; Based on the trusted labeled dataset and the unverified labeled dataset after the (i+1)th update, the first model is optimized for the (i+1)th time.

3. The method according to claim 1, characterized in that, The (i+1)th optimization process of the second model includes: Based on the trusted labeled dataset and the clean dataset after the (i+1)th update, the second model is optimized for the (i+1)th time.

4. An electronic device for automatically acquiring trusted labeled datasets, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-3.

Citation Information

Patent Citations

  • Sample labeling method and device based on multiple models

    CN109784391A

  • Fruit tree flower recognition and position acquisition method and device, computer equipment and storage medium

    CN111723863A