Data set quality evaluation method, apparatus and system

By evaluating the quality of the data set in multiple dimensions, the problems of unbalanced, incomplete and repeated samples of the data set are solved, and the training effect of the artificial intelligence model is improved.

WO2024222144A1PCT designated stage expired Publication Date: 2024-10-31HUAWEI TECH CO LTD

Patent Information

Application Number
PCT/CN2024/076244
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-26
Filing Date
2024-02-06
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

It is difficult to comprehensively assess the quality of data sets with existing technology, resulting in imbalanced, incomplete, and duplicate samples of data when training artificial intelligence models, which affects model performance.

Method used

Provide a data set quality assessment method to evaluate data sets through multiple evaluation dimensions (accuracy, balance, completeness, uniqueness and validity), including detection of annotation errors, sample balance, information completeness and sample Similarity, providing evaluation scores and directions for improvement.

Benefits of technology

It more accurately reflects the quality of all aspects of the data set, helps users improve the data set, and improves the accuracy and performance of model training.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024076244_31102024_PF_FP_ABST
    Figure CN2024076244_31102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are a data set quality evaluation method, apparatus and system. The method comprises: a quality evaluation system acquiring a data set to be evaluated that includes a plurality of pictures and original annotation information, and then determining scores of said data set in one or more evaluation dimensions according to the plurality of pictures and the corresponding original annotation information; and finally, determining a quality score of said data set according to the scores of said data set in the one or more evaluation dimensions, wherein the evaluation dimensions include any one or more of accuracy, balance, integrity, uniqueness and validity. By means of the data set quality evaluation method provided in the present application, the quality of a data set can be evaluated from a plurality of evaluation dimensions, such that the evaluation of the quality of the data set is more comprehensive, and quality conditions of various aspects of the data set can be reflected more accurately.
Need to check novelty before this filing date? Find Prior Art

Description

A data set quality assessment method, device and system

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on April 26, 2023, with application number 202310476983.5 and application name “A method, device and system for data set quality assessment”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of computer technology, and in particular to a method, device, and system for evaluating data set quality. Background Art

[0003] Artificial Intelligence (AI) is a product of social development and technological innovation, and a crucial technological advancement for human progress. AI has become the core driving force behind a new round of scientific and technological revolution and industrial transformation, profoundly impacting the global economy, social progress, and people's lives. For example, it has important applications in image segmentation, image recognition, speech recognition, and object detection. In the future, AI technology will play an even more significant role in areas closely related to people's lives, such as education, healthcare, transportation, and climate change, providing the general public with broader coverage, enhanced user experience, and greater convenience.

[0004] Artificial intelligence usually requires training models through data sets that include massive amounts of data. The quality of the data set is an important factor affecting the accuracy of artificial intelligence algorithms.

[0005] Summary of the Invention

[0006] The present application provides a method, device, and system for assessing the quality of a dataset, which can evaluate the quality of a dataset from multiple evaluation dimensions. The assessment of the quality of the dataset is more comprehensive and can more accurately reflect the quality of various aspects of the dataset, thereby prompting users to improve the dataset.

[0007] In the first aspect, the present application provides a data set quality assessment method, device and system, which includes: a quality assessment system obtains a data set to be evaluated including multiple images and original annotation information, and then determines the score of the data set to be evaluated under one or more evaluation dimensions based on the multiple images in the data set to be evaluated and the corresponding original annotation information; finally, based on the score of the data set to be evaluated under the above one or more evaluation dimensions, determines the quality score of the data set to be evaluated. The above evaluation dimensions include any one or more of accuracy, balance, completeness, uniqueness and validity. Through the data set quality assessment method provided by the present application, the quality of the data set can be evaluated from multiple evaluation dimensions, the assessment of the quality of the data set is more comprehensive, and can more accurately reflect the quality of each aspect of the data set, and can prompt the user to improve the data set.

[0008] In one possible implementation, the aforementioned accuracy represents the accuracy of the labeled information in the dataset. It should be understood that the more erroneous label information in a dataset, the more likely AI model training will deviate from the correct path. The fewer erroneous label information, the higher the dataset quality, the less interference with model training, and the stronger the guidance for correctness.

[0009] The aforementioned balance reflects the balance of samples across the dataset. With unbalanced data, AI models are more likely to learn the characteristics of samples from categories with more samples, while models may be unable to learn the relevant characteristics of categories with fewer samples. Generally, datasets with a more even number of samples across categories have better balance and higher quality.

[0010] The above-mentioned integrity refers to the completeness of the sample information in the dataset. For example, some samples lack annotation information. Incomplete samples may not be applicable to AI models.

[0011] The uniqueness described above represents the similarity between samples. If a sample in a dataset is duplicated or similar to other samples, its contribution to the dataset is small and its value in training AI models is low. The fewer duplicate or similar samples in a dataset, the higher its value.

[0012] The aforementioned effectiveness is an effective measure of the quality and number of samples in a dataset. For example, the higher the proportion of unclear images in a dataset, the lower the quality of the dataset; and the lower the quality of the dataset if the number of samples of each category is less than a certain threshold.

[0013] By setting the above multiple evaluation dimensions, the quality of the dataset is evaluated from multiple evaluation dimensions, which makes the evaluation of the quality of the dataset more comprehensive and can more accurately reflect the quality of each aspect of the dataset.

[0014] In one possible implementation, the above-mentioned determination of scores under multiple evaluation dimensions corresponding to the dataset to be evaluated and determination of the score of the dataset to be evaluated under the dimension of accuracy include: detecting the images in the dataset to be evaluated and obtaining reference annotation information corresponding to each image; and determining the score of the dataset to be evaluated under the dimension of accuracy based on the reference annotation information corresponding to each image and the original annotation information corresponding to each image. The above-mentioned original annotation information and reference annotation information include the position information of the detection box (bounding box), the length and width of the detection box, and the category identification of the object in the detection box. Each detection box includes an object, and the object refers to the target included in the dataset to be evaluated. For example, the dataset is used to train a target detection model, and the targets that the target detection model needs to detect include bicycles, motorcycles, and cars. In this case, the objects are bicycles, motorcycles, and cars.

[0015] By testing the images in the dataset to be evaluated, we obtain reference annotation information corresponding to the objects in each image. Using the reference annotation information as the correct annotation information, we compare the reference annotation information with the original annotation information to evaluate the quality of the dataset in terms of accuracy. The more incorrect label information in a dataset, the more likely AI model training will deviate from the correct direction. The fewer incorrect label information, the higher the dataset quality, the less interference with model training, and the stronger the guidance for correctness. Therefore, evaluating accuracy and providing feedback to users after the evaluation enables users to improve the dataset to increase its accuracy, which in turn improves the accuracy of the model trained using the dataset to be evaluated.

[0016] In one possible implementation, determining the score of the dataset to be evaluated in the accuracy dimension based on the reference annotation information corresponding to each image and the original annotation information corresponding to each image includes:

[0017] Based on the reference annotation information and the original annotation information, the number of incorrectly labeled objects and the number of incorrectly labeled images are determined; based on the number of incorrectly labeled objects and the number of incorrectly labeled images, the accuracy score of the dataset to be evaluated is determined. Each incorrectly labeled image contains at least one incorrectly labeled object.

[0018] The annotation information in the dataset to be evaluated contains relevant information about the objects in the image, such as the location information of the detection frame, the length and width of the detection frame, and the category identification of the objects in the detection frame. Therefore, when evaluating the accuracy of the dataset to be evaluated, the accuracy of the dataset to be evaluated can be evaluated through indicators such as incorrectly labeled objects and incorrectly labeled images. In addition, incorrectly labeled objects and images can be identified during the evaluation process. If the identified incorrectly labeled objects and images are fed back to the user and the user modifies the error information, the quality of the dataset can be improved, and the accuracy of the model trained using the dataset to be evaluated can be improved.

[0019] In one possible implementation, the above-mentioned determination of scores under multiple evaluation dimensions corresponding to the dataset to be evaluated further includes:

[0020] The images in the dataset to be evaluated are inspected to obtain reference annotation information corresponding to each image. Based on the reference annotation information and the original landmark information, the number of unlabeled detection frames with objects, the number of unlabeled images with objects, and the number of unlabeled images without objects are determined. Based on the number of unlabeled detection frames with objects, the number of unlabeled images with objects, and the number of unlabeled images without objects, the score of the dataset to be evaluated in the completeness dimension is determined. Unlabeled images with objects refer to images that include at least one unlabeled detection frame with objects.

[0021] Completeness characterizes the completeness of the sample information in the dataset. For example, some objects lack labeling information. Incomplete samples may not be applied by AI models. When evaluating the completeness of the dataset to be evaluated, the completeness of the dataset to be evaluated can be evaluated through indicators such as the number of detection frames with objects but no labels, the number of images with objects but no labels, and the number of images without objects and no labels. In the evaluation process, detection frames with objects but no labels, images with objects but no labels, and images without objects and no labels can be determined. If the determined detection frames with objects but no labels, images with objects but no labels, and images without objects and no labels are fed back to the user, allowing the user to improve the labeling information, the completeness of the dataset can be improved, and thus the contribution of the dataset to be evaluated to model training can be improved.

[0022] In one possible implementation, when detecting images in the dataset to be evaluated and obtaining reference annotation information, the dataset to be evaluated is divided into k subsets U1, U2, ..., Uk, each of which includes multiple images in the dataset to be evaluated, where k is an integer greater than or equal to 2. The following process is then looped k times: in the pth loop, subset Up is used as the test set, and the other k-1 subsets are used as training sets. The training set is used to train an initial machine learning model, and the trained machine learning model is then used to test the test set to obtain reference annotation information corresponding to each image in the test set; where p is an integer greater than or equal to 1 and less than or equal to k. By looping this process k times, the reference annotation information corresponding to each image in the dataset to be evaluated is obtained. It should be noted that in the above loop, after obtaining the reference annotation information corresponding to each image in a subset, the next time this subset is used as the training set, the original annotation information corresponding to the subset or the reference annotation information corresponding to the subset can be used to train the initial machine learning model, and this embodiment of the present application does not impose any specific limitations.

[0023] For example, the pictures in the above-mentioned data set to be evaluated are divided into two subsets: a first subset and a second subset; then the first subset is used to train the first machine learning model to obtain a trained first machine learning model; and the second subset is used to train the second machine learning model to obtain a trained second machine learning model; finally, the trained first machine learning model is used to perform target detection on the pictures in the second subset to obtain reference annotation information corresponding to each picture in the second subset; the trained second machine learning model is used to perform target detection on the pictures in the first subset to obtain reference annotation information corresponding to each picture in the first subset, and then the reference annotation information of each picture in the data set to be evaluated is obtained, wherein the above-mentioned first machine learning model and the second machine learning model are the same model before training.

[0024] The above model is used to detect the dataset to be evaluated to obtain the reference annotation information of the dataset to be evaluated. The reference annotation information is used as the accurate annotation information of the dataset to be evaluated. This can avoid the user processing each image to obtain the reference annotation information corresponding to each image, thereby improving the efficiency of dataset instruction evaluation and reducing evaluation costs.

[0025] In one possible implementation, the above-mentioned determination of the scores under multiple evaluation dimensions corresponding to the data set to be evaluated includes: determining the score of the data set to be evaluated under the balance dimension based on one or more of the number of images included in each category, the area of ​​each image, the number of detection frames included in each category, the length and width of each detection frame, the brightness of each image, the clarity of each image, and the area of ​​each detection frame.

[0026] Balance represents the balance of various samples in the dataset. For unbalanced data, the AI ​​model can easily learn the feature knowledge of the types with a large number of samples; while for the types with a small number of samples, the AI ​​model may not be able to learn the relevant feature knowledge. Generally, for a dataset with a uniform number of samples, the better the balance, the higher the quality of the dataset. The balance is evaluated by one or more of the number of images included in each category, the area of ​​each image, the number of detection frames included in each category, the length and width of each detection frame, the brightness of each image, the clarity of each image, and the area of ​​each detection frame. If the beam balance evaluation results are fed back to the user, the user can be prompted with information about the number of samples included in each category of objects, and can be guided to supplement the number of samples of relevant categories in the dataset to improve the balance of the dataset, thereby improving the performance of the model trained using the dataset to be evaluated.

[0027] In one possible implementation, determining the score of the dataset to be evaluated under the balance dimension includes:

[0028] Determine the score of the dataset to be evaluated under the balance dimension based on one or more of the balance of the number of pictures included in each category, the balance of the picture area, the balance of the number of detection frames included in each category, the balance of the aspect ratio of the detection frames, the balance of the picture brightness, the balance of the picture clarity, or the balance of the detection frame area; wherein, the balance of the number of pictures included in each category is determined based on the number of pictures included in each category and the average number of pictures included in each category; the picture area balance is determined based on the area of ​​each picture and the average picture area; the balance of the number of detection frames included in each category is determined based on the number of detection frames included in each category and the average number of detection frames included in each category; the aspect ratio balance of the detection frames is determined based on the aspect ratio of the detection frames of each category and It is determined by averaging the aspect ratio of the detection frames of each category; the aspect ratio of the detection frames of each category refers to the average of the aspect ratios of all detection frames included in a category in the original annotation information; the average aspect ratio of the detection frames of each category refers to the average of the aspect ratios of the detection frames of each category; the image brightness balance is determined based on the brightness of each image and the average image brightness; the image clarity balance is determined based on the clarity of each image and the average image clarity; the detection frame area balance is determined based on the area of ​​the detection frames of each category and the average area of ​​the detection frames of each category; the area of ​​the detection frames of each category refers to the average of the areas of all detection frames included in a category in the original annotation information; the average class box area refers to the average of the areas of the detection frames of each category.

[0029] In a possible implementation, determining the scores of the multiple evaluation dimensions corresponding to the dataset to be evaluated includes: determining similar images in the dataset to be evaluated; and determining the score of the uniqueness dimension corresponding to the dataset to be evaluated based on the number of similar images and the total number of images.

[0030] Uniqueness characterizes the similarity between samples. If a sample in a dataset is duplicated or similar to other samples, its contribution to the dataset is small and its value to AI model training is low. The fewer duplicate or similar samples in a dataset, the higher its value. Uniqueness is used to evaluate the similarity of images in a dataset. Feedback to users on similarity assessment results can prompt improvements and refinements to the dataset, reducing the number of similar samples and improving the balance of the dataset, thereby improving the performance of models trained using the dataset.

[0031] In one possible implementation, determining the scores of the multiple evaluation dimensions corresponding to the dataset to be evaluated includes:

[0032] Determine the score of the data set to be evaluated under the validity dimension based on one or more of the number of target categories, the number of target detection frames, the number of first-category target images, the number of second-category target images, or the number of third-category target images; the above-mentioned target category refers to a category whose number of included images is less than the category threshold; the above-mentioned target detection frame refers to a detection frame whose area is less than the area threshold; the first-category target image refers to an image whose brightness is less than the brightness threshold; the second-category target image refers to an image whose clarity is less than the clarity threshold; the third-category target image refers to an image whose comprehensive quality is less than the quality threshold; wherein the comprehensive quality of the image is determined by a quality assessment method without reference image or a quality assessment method with reference image.

[0033] Validity is an effective measure of the quality and number of samples in a dataset. For example, the higher the proportion of unclear images in a dataset, the lower the quality of the dataset; if the number of samples of each category is less than a certain threshold, the quality of the dataset is also lower. By evaluating the validity of the dataset to be evaluated using one or more of the above indicators and providing feedback to the user on the similarity assessment results, users can be prompted to improve and refine the dataset, improve its balance, and thus improve the performance of models trained using the dataset.

[0034] In one possible implementation, after detecting the images in the dataset to be evaluated and obtaining the reference annotation information corresponding to each image, the method further includes: outputting the reference annotation information and the original annotation information; receiving modifications made by the user to the reference annotation information, and updating the reference annotation information; wherein the modifications are determined by the user based on the reference annotation information and the original annotation information.

[0035] After obtaining the above-mentioned reference annotation information, the quality assessment system can output the reference annotation information and the original annotation information for the user to review and modify. For example, the instruction evaluation system can prompt the user for pictures where the reference annotation information is inconsistent with the original annotation information, so that the user can check whether the reference annotation information is correct. If the reference annotation information is inaccurate, the user can modify the reference annotation information. After receiving the user's modification, the quality assessment system updates the reference annotation information and calculates the score values ​​under each dimension based on the modified reference annotation information, which can make the instruction evaluation system's quality assessment of the data set to be evaluated more accurate.

[0036] In a second aspect, the present application provides a data set quality assessment device, comprising:

[0037] The input module is used to obtain the dataset to be evaluated, which includes multiple images and corresponding original annotation information;

[0038] A processing module, configured to determine the scores of the dataset to be evaluated under one or more evaluation dimensions based on the plurality of images and the corresponding original annotation information; wherein the evaluation dimensions include any one or more of accuracy, balance, completeness, uniqueness, and validity;

[0039] The quality score of the dataset to be evaluated is determined based on the scores of the dataset to be evaluated under one or more evaluation dimensions.

[0040] In one possible implementation, the aforementioned multiple evaluation dimensions include any one or more of accuracy, balance, completeness, uniqueness, and validity. Accuracy represents the accuracy of the labeled information in the dataset. It should be understood that the more erroneous labeling information in a dataset, the more likely AI model training will deviate from the correct path. The fewer erroneous labeling information, the higher the dataset quality, the less interference with model training, and the stronger the guidance for correctness.

[0041] The aforementioned balance reflects the balance of samples across the dataset. With unbalanced data, AI models are more likely to learn the characteristics of samples from categories with more samples, while models may be unable to learn the relevant characteristics of categories with fewer samples. Generally, datasets with a more even number of samples across categories have better balance and higher quality.

[0042] The above-mentioned integrity refers to the completeness of the sample information in the dataset. For example, some samples lack annotation information. Incomplete samples may not be applicable to AI models.

[0043] The uniqueness described above represents the similarity between samples. If a sample in a dataset is duplicated or similar to other samples, its contribution to the dataset is small and its value in training AI models is low. The fewer duplicate or similar samples in a dataset, the higher its value.

[0044] The aforementioned effectiveness is an effective measure of the quality and number of samples in a dataset. For example, the higher the proportion of unclear images in a dataset, the lower the quality of the dataset; and the lower the quality of the dataset if the number of samples of each category is less than a certain threshold.

[0045] In one possible implementation, the apparatus further includes a detection module configured to detect images in the dataset to be evaluated and obtain reference annotation information corresponding to each image; wherein the original annotation information and the reference annotation information include position information of the detection frame, the length and width of the detection frame, and the category identifier of the object in the detection frame; and a processing module configured to determine the score of the dataset to be evaluated in the accuracy dimension based on the reference annotation information corresponding to each image and the original annotation information corresponding to each image.

[0046] In one possible implementation, the processing module is specifically used to: determine the number of incorrectly labeled objects and the number of incorrectly labeled pictures based on reference labeling information and original labeling information; wherein each incorrectly labeled picture includes at least one incorrectly labeled object; and determine the score of the data set to be evaluated in the accuracy dimension based on the number of incorrectly labeled objects and the number of incorrectly labeled pictures.

[0047] In one possible implementation, the apparatus further includes a detection module configured to detect images in the evaluation dataset and obtain reference annotation information corresponding to each image; wherein the original annotation information and the reference annotation information include position information of a detection box, a length and width of the detection box, and a category identifier of an object in the detection box;

[0048] The processing module is specifically used to determine the number of detection frames with objects but no labels, the number of pictures with objects but no labels, and the number of pictures without objects and no labels based on reference labeling information and original mark information; wherein, an icon with objects but no labels refers to a picture including at least one detection frame with objects but no labels; and determine the score of the data set to be evaluated under the completeness dimension based on the number of detection frames with objects but no labels, the number of pictures with objects but no labels, and the number of pictures without objects and no labels.

[0049] In one possible implementation, the apparatus further includes a training module for dividing the dataset to be evaluated into k subsets U1, U2…Uk, each subset including multiple images in the dataset to be evaluated, where k is an integer greater than or equal to 2. The following process is then looped k times: in the pth loop, subset Up is used as a test set, and the other k-1 subsets are used as training sets. The training set is used to train an initial machine learning model, and the trained machine learning model is then used to test the test set to obtain reference annotation information corresponding to each image in the test set; where p is an integer greater than or equal to 1 and less than or equal to k. By looping the above process k times, the reference annotation information corresponding to each image in the dataset to be evaluated can be obtained.

[0050] For example, the pictures in the data set to be evaluated are divided into a first subset and a second subset; the first subset is used to train a first machine learning model to obtain a trained first machine learning model; and the second subset is used to train a second machine learning model to obtain a trained second machine learning model; the trained first machine learning model is used to perform target detection on the pictures in the second subset to obtain reference annotation information corresponding to each picture in the second subset; the trained second machine learning model is used to perform target detection on the pictures in the first subset to obtain reference annotation information corresponding to each picture in the first subset.

[0051] In one possible implementation, the processing module is specifically used to determine the score of the data set to be evaluated under the balance dimension based on one or more of the number of images included in each category, the area of ​​each image, the number of detection frames included in each category, the length and width of each detection frame, the brightness of each image, the clarity of each image, and the area of ​​each detection frame.

[0052] In one possible implementation, the processing module is specifically configured to determine a score of the dataset to be evaluated on a balance dimension based on one or more of a balance of the number of images included in each category, a balance of image areas, a balance of the number of detection frames included in each category, a balance of aspect ratios of the detection frames, a balance of image brightness, a balance of image clarity, or a balance of detection frame areas;

[0053] Among them, the balance of the number of pictures included in each category is determined based on the number of pictures included in each category and the average number of pictures included in each category; the picture area balance is determined based on the area of ​​each picture and the average picture area; the balance of the number of detection frames included in each category is determined based on the number of detection frames included in each category and the average number of detection frames included in each category; the aspect ratio balance of the detection frames is determined based on the aspect ratio of the detection frames of each category and the average aspect ratio of the detection frames of each category; the aspect ratio of the detection frames of each category refers to the aspect ratio of all detection frames included in a category in the original annotation information. The average value of the aspect ratio; the average aspect ratio of the detection box of each category refers to the average value of the aspect ratios of the detection boxes of each category; the image brightness balance is determined based on the brightness of each image and the average image brightness; the image clarity balance is determined based on the clarity of each image and the average image clarity; the detection box area balance is determined based on the area of ​​the detection box of each category and the average area of ​​the detection box of each category; the area of ​​the detection box of each category refers to the average value of the areas of all detection boxes included in a category in the original annotation information; the average class box area refers to the average value of the area of ​​the detection box of each category.

[0054] In a possible implementation, the processing module is specifically configured to: determine similar images in the dataset to be evaluated; and determine a score under a uniqueness dimension corresponding to the dataset to be evaluated based on the number of similar images and the total number of images.

[0055] In one possible implementation, the processing module is specifically used to: determine the score of the data set to be evaluated under the validity dimension based on one or more of the number of target categories, the number of target detection frames, the number of first-category target images, the number of second-category target images, or the number of third-category target images; the target category refers to a category whose number of included images is less than a category threshold; the target detection frame refers to a detection frame whose area is less than an area threshold; the first-category target image refers to an image whose brightness is less than a brightness threshold; the second-category target image refers to an image whose clarity is less than a clarity threshold; the third-category target image refers to an image whose comprehensive quality is less than a quality threshold; wherein the comprehensive quality of the image is determined by a quality assessment method without a reference image or a quality assessment method with a reference image.

[0056] In one possible implementation, the device further includes an output module for outputting the reference annotation information and the original annotation information; an input module for receiving modifications made by the user to the reference annotation information; and a processing module for updating the reference annotation information based on the user's modifications to the reference annotation information; wherein the modifications are determined by the user based on the reference annotation information and the original annotation information.

[0057] In a third aspect, the present application provides a computing device comprising a processor and a memory, wherein the memory is used to store instructions and the processor is used to execute the instructions. When the central processing unit executes the instructions, the method described in the first aspect or any possible implementation of the first aspect is implemented.

[0058] In a fourth aspect, the present application provides a computer-readable storage medium storing instructions, which, when the instructions are executed on a computing device, enable the computing device to execute the method described in the first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0060] FIG1 is a schematic diagram of an evaluation system provided in an embodiment of the present application;

[0061] FIG2 is a flow chart of a method for assessing data quality according to an embodiment of the present invention;

[0062] FIG3 is a schematic diagram of a data set quality assessment device provided in an embodiment of the present application;

[0063] FIG4 is a schematic diagram of a computing device provided in an embodiment of the present application;

[0064] FIG5 is a schematic diagram of a quality assessment system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0065] The technical solution in this application will be described below with reference to the accompanying drawings.

[0066] With the rapid development of artificial intelligence (AI) technology, it will play an even more significant role in areas closely related to people's lives, such as education, healthcare, transportation, and climate change. The performance of AI models depends largely on the dataset used to train them, including the quantity and quality of the data within. The current lack of standards and fragmented scenarios lead to poor training sample quality. Furthermore, irregularities in data collection and labeling significantly reduce dataset quality. To ensure dataset quality and maximize the role of AI technology in promoting industry development, it is necessary to assess dataset quality, thereby improving it and laying the foundation for its circulation and aggregation.

[0067] The embodiment of the present application provides a dataset quality assessment method, which is mainly used to assess the quality of an image dataset. The method assesses the quality of an image dataset based on the assessment system provided in the embodiment of the present application. The evaluation dimensions of the assessment system include any one or more of the dimensions of accuracy, balance, completeness, uniqueness, and effectiveness.

[0068] Accuracy refers to the accuracy of the labeled information in a dataset. It should be understood that the more incorrect label information in a dataset, the more likely AI model training will deviate from the correct direction. The fewer incorrect label information, the higher the dataset quality, the less interference with model training, and the stronger the guidance for correctness.

[0069] Balance refers to the balance of different types of samples within a dataset. With unbalanced data, AI models tend to learn features from samples with a high number of samples, while models may not be able to learn relevant features from samples with a low number of samples. Generally, a dataset with a uniform number of samples across different types has better balance and higher quality.

[0070] Completeness refers to the completeness of the sample information in the dataset. For example, some samples lack annotation information. Incomplete samples may not be applicable to AI models.

[0071] Uniqueness represents the similarity between samples. If a sample in a dataset is duplicated or similar to other samples, its contribution to the dataset is small and its value in training AI models is low. The fewer duplicate or similar samples in a dataset, the higher its value.

[0072] Validity is an effective measure of the quality and number of samples in a dataset. For example, if the proportion of unclear images in a dataset is higher, the quality of the dataset is lower; if the number of samples of each category of objects is less than a certain threshold, the quality of the dataset is also lower.

[0073] As shown in Figure 1, Figure 1 is a schematic diagram of an evaluation system provided in an embodiment of the present application. Each of the above-mentioned evaluation dimensions also includes various indicators. When performing a quality assessment on a dataset to be evaluated, it is necessary to first determine the score of the dataset to be evaluated in each dimension based on the various indicators included in each evaluation dimension, and then determine the quality score of the dataset to be evaluated based on the score of the dataset to be evaluated in each dimension. As shown in Figure 1, accuracy includes metrics such as the proportion of incorrectly labeled objects and the proportion of incorrectly labeled images. Balance includes metrics such as the balance of the number of class images, image area, the number of class bounding boxes (hereinafter referred to as boxes), box aspect ratio, image brightness, image clarity, and box area. Completeness includes metrics such as the proportion of images without objects and labels, the proportion of objects with unlabeled boxes, and the proportion of images with objects and no labels. Uniqueness includes metrics such as the proportion of similar images. Validity includes metrics such as the proportion of target categories, the proportion of target detection boxes, the proportion of first-category target images, the proportion of second-category target images, and the proportion of third-category target images. A target category is a category whose number of included images is less than a category threshold. A target detection box is a detection box whose area corresponding to an object is less than an area threshold. First-category target images are images whose brightness is less than a brightness threshold. Second-category target images are images whose clarity is less than a clarity threshold. Third-category target images are images whose overall quality is less than a quality threshold. The meaning of each of these metrics will be explained later and will not be detailed here.

[0074] The following describes a method for assessing data set quality provided in an embodiment of the present application. FIG2 is a flow chart of a method for assessing data set quality provided in an embodiment of the present application. The method includes the following steps S201 to S205.

[0075] S201. Obtain the dataset to be evaluated.

[0076] In an embodiment of the present application, the above-mentioned data set to be evaluated is an image data set, which includes multiple pictures and corresponding original annotation information. Among them, the original annotation information includes the position information of the detection frame in the picture, the length and width of the detection frame, and the category identification of the object in the detection frame; the detection frame refers to the rectangular frame that identifies the object in the picture, and each detection frame corresponds to an object. If an object corresponds to original annotation information, the original annotation information corresponding to the object includes the position information of the detection frame, the length and width of the detection frame, and the category identification of the object. In an embodiment of the present application, there may be at least one object in each picture in the data set to be evaluated, or there may be objects in some pictures and no objects in some pictures. This embodiment of the present application does not make specific limitations. For pictures with objects, each object may have corresponding annotation information, that is, each detection frame may have corresponding annotation information; it is also possible that some objects do not have corresponding annotation information, that is, some detection frames may not have corresponding annotation information. This embodiment of the present application does not make specific limitations.

[0077] S203. Determine scores under multiple evaluation dimensions corresponding to the dataset to be evaluated based on the multiple images and the corresponding original annotation information.

[0078] After obtaining the above-mentioned data set to be evaluated, the quality assessment system determines the scores of the data set to be evaluated under the above-mentioned multiple evaluation dimensions based on the multiple images in the above-mentioned data set to be evaluated and the corresponding original annotation information.

[0079] The following describes how the quality assessment system determines the scores for each evaluation dimension.

[0080] (1) Accuracy

[0081] Accuracy mainly evaluates the accuracy of the annotation information in the data set to be evaluated. In the embodiment of the present application, when determining the accuracy, it is necessary to first determine the reference annotation information, which refers to the annotation information obtained by detecting the pictures in the data set to be evaluated. By detecting each image in the data set to be evaluated, when an object is detected, the position information of the detection frame corresponding to the object, the length and width of the detection frame, and the category identifier corresponding to the object are determined, and then the corresponding reference annotation information of the data set to be evaluated is obtained. Then, the reference annotation information is used as the correct information, and the score of the data set to be evaluated under the accuracy dimension is determined based on the reference annotation information and the original annotation information. Among them, how to detect the objects in the object to be evaluated to obtain the reference annotation information is introduced below and will not be described in detail here.

[0082] In an embodiment of the present application, since there may be multiple objects in a picture, when evaluating the score A under the accuracy dimension, A can be determined by the incorrectly labeled object, or by the incorrectly labeled picture, or by the incorrectly labeled object and the incorrectly labeled picture. Among them, the incorrectly labeled picture refers to a picture that includes at least one incorrectly labeled object; the incorrectly labeled objects include: objects whose category identifier in the original annotation information is different from the category identifier in the reference annotation information, and objects whose position information of the detection box in the original annotation information is different from the position information of the detection box in the reference annotation information. The above-mentioned different position information means that the intersection over union (IOU) between the detection box in the original annotation information and the detection box in the reference annotation information is less than a first threshold. Among them, the first threshold can be a value such as 0.5, 0.7, etc., and the embodiment of the present application does not make a specific limitation.

[0083] Based on the reference annotation information and the original annotation information, the quality assessment system determines the number A11 of incorrectly labeled objects and the number A21 of incorrectly labeled images, determines the total number A22 of images in the dataset to be evaluated, and determines the total number A21 of objects included in the dataset to be evaluated based on the original annotation information, where A21 is also the number of corresponding detection boxes in the original annotation information. The system then determines the percentage A1 of incorrectly labeled objects based on the number A11 of incorrectly labeled objects and the total number A21 of objects, where A1 = A11 / A21; and determines the percentage A2 of incorrectly labeled images based on the number A21 of incorrectly labeled images and the total number A22 of labeled images, where A2 = A21 / A22. It should be noted that the incorrectly labeled objects may also include objects that do not have corresponding annotation information in the original annotation information but have corresponding annotation information in the reference annotation information. If the incorrectly labeled objects include such objects, the total number of objects included in the dataset to be evaluated refers to the total number of objects labeled in the reference annotation information.

[0084] After determining the percentage of incorrectly labeled objects A1 and the percentage of incorrectly labeled images A2, the accuracy score A can be determined using the following formula 1: A = [a1*(1-A1)+a2*(1-A2)]*100% (Formula 1)

[0085] Where a1 and a2 are weight coefficients, a1 + a2 = 1, 0 ≤ a1 ≤ 1, 0 ≤ a2 ≤ 1. When score A is determined only by incorrectly labeled objects, a1 = 1; when score A is determined only by incorrectly labeled images, a2 = 1.

[0086] The following describes how to obtain the above reference annotation information.

[0087] The quality assessment system can divide the data set to be evaluated into k subsets U1, U2...Uk, each subset includes multiple images in the data set to be evaluated, where k is an integer greater than or equal to 2. Then the following process is executed k times in a loop: in the pth loop, the subset Up is used as the test set, and the other k-1 subsets are used as training sets. The initial machine learning model is trained with the training set, and then the trained machine learning model is used to test the test set to obtain the reference annotation information corresponding to each image in the test set; where p is an integer greater than or equal to 1 and less than or equal to k. The above process is executed k times in a loop to obtain the reference annotation information corresponding to each image in the data set to be evaluated. It should be noted that in the above loop process, after obtaining the reference annotation information corresponding to each image in a subset, the next time this subset is used as a training set, the original annotation information corresponding to the subset or the reference annotation information corresponding to the subset can be used to train the initial machine learning model, and the embodiments of the present application do not impose specific restrictions.

[0088] For example, the quality assessment system divides the data set to be evaluated into a first subset and a second subset; then uses the first subset as a training set to train a first machine learning model for target detection, and then uses the trained first machine learning model to detect the second subset to obtain reference annotation information corresponding to the second subset. And uses the second subset as a training set, trains a second machine learning model through the second subset to obtain a trained second machine learning model, and then uses the trained second machine learning model to detect the first subset to obtain reference annotation information corresponding to the first subset. The reference annotation information corresponding to the data set to be evaluated can be obtained by the above method. It should be understood that the above-mentioned first machine learning model and the second machine learning model are the same model before training, and can be any algorithm that can be used for target detection and recognition, such as support vector machine, convolutional neural network, etc., and the embodiments of the present application do not impose specific restrictions.

[0089] The above model is used to detect the dataset to be evaluated to obtain the reference annotation information of the dataset to be evaluated. The reference annotation information is used as the accurate annotation information of the dataset to be evaluated. This can avoid the user processing each image to obtain the reference annotation information corresponding to each image, thereby improving the efficiency of dataset instruction evaluation and reducing evaluation costs.

[0090] (2) Balance

[0091] Balance refers to the balance of samples across all categories in a dataset. In datasets with an uneven number of images for each category, the AI ​​model is more likely to learn the characteristics of categories with more samples, while it may be unable to learn the relevant characteristics of categories with fewer samples. Generally, the better the balance of a dataset, the higher the quality of the dataset.

[0092] In an embodiment of the present application, the quality assessment system can count parameters such as the number of pictures included in each category, the area of ​​each picture, the number of detection frames included in each category, the length and width of each detection frame, the brightness of each picture, the clarity of each picture, and the area of ​​each detection frame, and then determine the score of the data set to be evaluated under the balance dimension based on any one or more of the above parameters.

[0093] After determining the above parameters, the quality assessment system can determine the imbalance B1 of the number of images included in each category, the imbalance B2 of the image area, the imbalance B3 of the number of detection frames included in each category, the imbalance B4 of the detection frame aspect ratio, the imbalance B5 of the image brightness, the imbalance B6 of the image clarity, or the imbalance B7 of the detection frame area. The system then determines the score B of the dataset under evaluation on the balance dimension based on any one or more of B1 to B7. After determining the imbalance corresponding to each of the above indicators, the balance of the corresponding indicator can be obtained by subtracting the imbalance from 1. For example, the balance of the number of images included in each category is (1-B1); the balance of the image area is (1-B2); the balance of the number of detection frames included in each category is (1-B3); the balance of the detection frame aspect ratio is (1-B4); the balance of the image brightness is (1-B5); the balance of the image clarity is (1-B6); and the balance of the detection frame area is (1-B7). For example, the quality assessment system can determine the score B of the dataset to be assessed in the balance dimension according to the following formula 2:

[0094] Wherein, b1 to b7 are weight coefficients, which are preset values, and the sum of b1 to b7 is 1. b1 to b7 are all numbers greater than or equal to 0 and less than or equal to 1. It should be understood that when any of the above weight coefficients is 0, it means that the corresponding indicator is not introduced when calculating the score B of the evaluated dataset under the balance dimension.

[0095] The following describes how the quality assessment system determines the indicators B1 to B7 above.

[0096] The quality assessment system determines the imbalance degree B1 of the number of images included in each category (hereinafter referred to as the class image number imbalance degree B1) based on the number of images included in each category and the average number of images included in each category (hereinafter referred to as the average class image number). Exemplarily, the quality assessment system can determine the class image number imbalance degree B1 according to the following formula 3:

[0097] Among them, abs is the absolute value function, max is the maximum value function; N iN represents the number of images included in the object of the i-th category, i is a positive integer less than or equal to Ca, Ca is the total number of categories of objects included in the dataset to be evaluated; avg It should be noted that the average number of average class images in the above formula 3 can also be replaced by the number of images corresponding to the category with the least number of images, and this embodiment of the application does not make any specific limitation.

[0098] It should be understood that if an image includes objects of multiple categories, then the image belongs to multiple categories. For example, if the objects in the dataset to be evaluated include bicycles, motorcycles, and cars, if an image includes all three objects, then the image will be counted when counting the number of images in the bicycle category; the image will also be counted when counting the number of images in the motorcycle category; and the image will also be counted when counting the number of images in the car category. The average number of class images is equal to the sum of the number of images in each category divided by the total number of object categories in the dataset to be evaluated, Ca.

[0099] For the image area imbalance B2, the quality assessment system can determine it based on the area of ​​each image and the average image area. For example, the quality assessment system can determine the image area imbalance B2 according to the following formula 4:

[0100] Among them, S j represents the area of ​​the jth image, where j is a positive integer less than or equal to M1, and M1 is the total number of images in the dataset to be evaluated; S avg It should be noted that the average image area in the above formula 4 can also be replaced by the area of ​​the smallest image, and this embodiment of the application does not impose any specific limitation.

[0101] The quality assessment system can determine the imbalance B3 of the number of detection boxes included in each category (hereinafter referred to as the class box number imbalance B3) based on the number of detection boxes included in each category and the average number of detection boxes included in each category (hereinafter referred to as the average class box number). For example, the quality assessment system can determine the class box number imbalance B3 according to the following formula 5:

[0102] Among them, K i K represents the number of boxes included in the object of the i-th category, i is a positive integer less than or equal to Ca, and Ca is the total number of categories of objects included in the dataset to be evaluated; avgis the average number of class boxes, which is equal to the sum of the number of boxes included in each category divided by the total number of categories Ca included in the dataset to be evaluated. It should be noted that the average number of class boxes in the above formula 5 can also be replaced by the number of detection boxes corresponding to the category with the least number of detection boxes, and this embodiment of the application does not impose any specific limitation.

[0103] For the aspect ratio imbalance B4 of the detection box (hereinafter referred to as box aspect ratio imbalance B4), the quality assessment system can determine it based on the aspect ratio of the detection box of each category (hereinafter referred to as class box aspect ratio) and the average aspect ratio of the detection box of each category (hereinafter referred to as average class box aspect ratio); wherein the class box aspect ratio refers to the average value of the aspect ratios of all detection boxes included in a category in the original annotation information; the average class box aspect ratio refers to the average value of the class box aspect ratios of each category.

[0104] For example, the quality assessment system can determine the box aspect ratio imbalance B4 according to the following formula 6:

[0105] Among them, R i R represents the box aspect ratio of the i-th category, that is, the average of the aspect ratios of all detection boxes included in the i-th category, i is a positive integer less than or equal to Ca, and Ca is the total number of categories of objects included in the dataset to be evaluated; avg Indicates the average class box aspect ratio, It should be noted that the average box-like aspect ratio in the above formula 6 can also be replaced by the minimum value of the box-like aspect ratio, and this embodiment of the application does not impose any specific limitation.

[0106] For the image brightness imbalance B5, the quality assessment system can determine it based on the brightness of each image and the average image brightness. For example, the quality assessment system can determine the image brightness imbalance B5 according to the following formula 7:

[0107] Among them, I j I represents the brightness of the jth image, where j is a positive integer less than or equal to M1, and M1 is the total number of images in the dataset to be evaluated; avg is the average image area, It should be noted that the average image area in the above formula 7 can also be replaced by the minimum value of the areas corresponding to all images, and this embodiment of the application does not impose any specific restrictions.

[0108] For the image clarity imbalance B6, the quality assessment system can determine it based on the clarity of each image and the average image clarity. The above-mentioned image clarity calculation method includes the Laplacian gradient method or the Tenengrad gradient method. Exemplarily, the quality assessment system can determine the image clarity imbalance B6 according to the following formula 8:

[0109] Among them, H j Indicates the clarity of the jth image, j is a positive integer less than or equal to M1, and M1 is the total number of images included in the dataset to be evaluated; H avg is the average picture clarity, It should be noted that the average image clarity in the above formula 8 can be replaced by the minimum value of the clarity values ​​corresponding to all images, and this embodiment of the application does not impose any specific limitation.

[0110] For the detection box area imbalance B7 (hereinafter referred to as box area imbalance B7), the quality assessment system can determine it based on the area of ​​the detection box of each category (hereinafter referred to as class box area) and the average area of ​​the detection box of each category (hereinafter referred to as average class box area); wherein the class box area refers to the average value of the areas of all detection boxes included in a category in the original annotation information; the average class box area refers to the average value of the class box areas corresponding to multiple categories.

[0111] Exemplarily, the quality assessment system can determine the box area imbalance B7 according to the following formula 9:

[0112] Among them, H i G represents the class box area of ​​the i-th category, that is, the average area of ​​all detection boxes included in the i-th category, i is a positive integer less than or equal to Ca, and Ca is the total number of categories of objects included in the dataset to be evaluated; avg Represents the average class box area, It should be noted that the average box-like area in the above formula 9 may also be the minimum value of the box-like areas, and this embodiment of the present application does not impose any specific limitation.

[0113] (3) Integrity

[0114] Completeness characterizes the completeness of the sample information in the dataset, for example, some samples lack annotation information. In an embodiment of the present application, the score C of the dataset to be evaluated under the completeness dimension is determined based on any one or more of the indicators such as the number of unlabeled detection frames with objects, the number of unlabeled pictures with objects, and the number of unlabeled pictures without objects. Among them, unlabeled detection frames with objects refer to the presence of objects in the picture, but there is no annotation information of the object in the original annotation information. There may be one or more unlabeled detection frames with objects in a picture; unlabeled pictures with objects refer to pictures in which there is at least one object without corresponding annotation information in the original annotation information; unlabeled pictures without objects refer to pictures that have no corresponding annotation information in the original annotation information.

[0115] The aforementioned object-without-labeled detection frames and object-without-labeled images can be determined based on the reference annotation information and the original annotation information. For an image, the original annotation information only contains annotation information for two objects in the image, but the reference annotation information contains annotation information for four objects. This image is then an object-without-labeled image, and contains two object-without-labeled detection frames. The number of object-without-labeled images is determined based on the original annotation information. If an image does not contain any annotation information corresponding to the image in the original annotation information, the image is determined to be an object-without-labeled image.

[0116] The quality assessment system traverses each image in the dataset to be evaluated, comparing the original annotation information of each image with the reference annotation information. When traversing a picture, if the number m of objects annotated in the original annotation information of the picture is less than the number n annotated in the reference annotation information, then the picture is an object-unannotated picture, the number of object-unannotated pictures increases by 1, and the number of object-unannotated detection frames increases by (nm). If a picture does not correspond to the original annotation information, the number of no-object no-annotated pictures increases by 1. And based on the above reference annotation information, the total number of detection frames included in the dataset to be evaluated is determined, that is, the total number of objects included in the dataset to be evaluated.

[0117] According to the above method, the quality assessment system obtains the number of unlabeled images without objects C11, the number of unlabeled detection frames with objects C21, and the number of unlabeled images with objects C31. Then calculate the proportion of unlabeled images without objects C1, the proportion of unlabeled detection frames with objects C2, and the proportion of unlabeled images with objects C3. Among them, C1 = C11 / M1; C2 = C21 / M2; C3 = C31 / M1; M1 is the total number of images, and M2 is the total number of objects included in the dataset to be evaluated. Finally, the score C of the dataset to be evaluated in the completeness dimension is determined based on C1, C2, and C3. The score C in the completeness dimension can be determined by the following formula 10: C = [c1*(1-C1)+c2*(1-C2)+c3*(1-C3)]*100% (Formula 10)

[0118] Wherein, c1, c2, and c3 are weight coefficients, which are preset values, and c1+c2+c3=1, 0≤c1≤1, 0≤c2≤1, 0≤c1≤1. It should be understood that when any of the above weight coefficients is 0, it means that the corresponding indicator is not introduced when calculating the score C under the above completeness dimension.

[0119] (4) Uniqueness

[0120] Uniqueness represents the similarity between samples. In this embodiment, the similarity between two images can be calculated sequentially, and two images with a similarity greater than a similarity threshold are determined to be similar images. Then, based on the number of similar images D1 and the total number of images M1, the proportion of similar images is determined, and the score D under the above uniqueness dimension is determined. Where D = (1-D1 / M1)*100%.

[0121] Among them, the quality assessment system can calculate the similarity between two images according to any of the following methods.

[0122] a. Pixel-based methods: Compare the pixel values ​​of each pixel in two images to calculate their similarity. Common pixel-based methods include mean-square error (MSE) and structural similarity (SSIM).

[0123] b. Feature extraction-based method: Use the Convolutional Neural Networks (CNN) model to extract features from two images, and then calculate the distance or similarity score between the two images based on the extracted features.

[0124] c. Histogram-based method: Convert each image into a color space histogram and then calculate the similarity between them.

[0125] d. Local feature-based methods: Extract local features of the image, such as the scale-invariant feature transform (SIFT) and speeded up robust features (SURF) methods, and then calculate the degree of match between the local features of the two images.

[0126] It should be understood that the above method is only used as an example and should not be understood as a specific limitation. There are other methods for calculating the similarity between two images. The method to be selected depends on the specific application scenario.

[0127] (5) Effectiveness

[0128] Validity is an effective measure of the quality and number of samples in a dataset. For example, the higher the proportion of unclear images in a dataset, the lower the quality of the dataset; if the number of samples of each category of objects is less than a certain threshold, the quality of the dataset is also lower.

[0129] In an embodiment of the present application, the quality assessment system determines the score E of the dataset to be evaluated under the validity dimension based on one or more of the number of target categories, the number of target detection frames, the number of first-category target images, the number of second-category target images, or the number of third-category target images. A target category refers to a category whose number of included images is less than a category threshold; a target detection frame refers to a detection frame whose area corresponding to an object is less than an area threshold; a first-category target image refers to an image whose brightness is less than a brightness threshold; a second-category target image refers to an image whose clarity is less than a clarity threshold; and a third-category target image refers to an image whose overall quality is less than a quality threshold.

[0130] The quality assessment system can count the number of images included in each category of objects and then determine the number of categories whose number is less than the category threshold. The quality assessment system can determine the detection boxes whose area is less than the area threshold based on the length and width of each detection box in the original annotation information.

[0131] It should be noted that the above-mentioned category thresholds, brightness thresholds, clarity thresholds, and quality thresholds can be pre-set or determined by the quality assessment system based on the images in the dataset to be assessed. For example, the category threshold is the average number of images included in each category, calculated by the quality assessment system after determining the number of images included in each category; the brightness threshold can be the average value or variance of the brightness of the images in the dataset to be assessed, etc., and this embodiment of the application does not impose any specific limitations.

[0132] The calculation methods for the clarity of the above-mentioned images include the Laplacian gradient method or the Tenengrad gradient method, etc.; the comprehensive quality of the above-mentioned images is determined by a non-reference image quality assessment method or a reference image quality assessment method. The non-reference image quality assessment methods include the blind reference image spatial quality evaluator (BRISQE) method and the natural image quality evaluator (NIQE) method, etc. The reference image quality assessment method can be to train a machine learning model through a reference data set, and use the trained machine learning model to score each image in the data set to be evaluated. Among them, the reference data set includes the user's score for each image in the reference data set, and the machine learning model is used to extract features such as image clarity and noise.

[0133] After obtaining the number of target categories E11, the number of target detection frames E21, the number of first-category target images E31, the number of second-category target images E41, or the number of third-category target images E51, the proportion of target categories E1, the proportion of target detection frames E2, the proportion of first-category target images E3, the proportion of second-category target images E4, and the proportion of third-category target images E5 are calculated. Here, the proportion of target categories E1 = E11 / Ca, where Ca is the total number of categories included in the dataset to be evaluated; the proportion of target detection frames E2 = E21 / M2, where M2 is the total number of detection frames included in the dataset to be evaluated; the proportion of first-category target images E3 = E31 / M1; M1 is the total number of images included in the dataset to be evaluated; the proportion of second-category target images E4 = E41 / M1; and the proportion of third-category target images E5 = E51 / M1.

[0134] After obtaining the proportion E1 of target categories, the proportion E2 of target detection boxes, the proportion E3 of first-category target images, the proportion E4 of second-category target images, and the proportion E5 of third-category target images, the quality assessment system can determine the score E of the dataset to be evaluated in the effectiveness dimension according to the following formula 11:

[0135] Among them, e1, e2, e3, e4, and e5 are weight coefficients, which are preset values, and e1+e2+e3+e4+e5=1, 0≤e1≤1, 0≤e2≤1, 0≤e3≤1, 0≤e4≤1, 0≤e5≤1. It should be understood that when any of the above weight coefficients is 0, it means that the corresponding indicator is not introduced when calculating the score E under the above-mentioned effectiveness dimension.

[0136] It should be noted that the above-mentioned category thresholds, brightness thresholds, clarity thresholds, and quality thresholds can be pre-set or determined by the quality assessment system based on the images in the dataset to be assessed. For example, the category threshold is the average number of images included in each category, calculated by the quality assessment system after determining the number of images included in each category; the brightness threshold can be the average brightness of the images in the dataset to be assessed, and this embodiment of the application does not impose any specific limitations.

[0137] The calculation methods for the clarity of the above-mentioned images include the Laplacian gradient method or the Tenengrad gradient method, etc.; the comprehensive quality of the above-mentioned images is determined by a non-reference image quality assessment method or a reference image quality assessment method. The non-reference image quality assessment methods include the blind reference image spatial quality evaluator (BRISQE) method and the natural image quality evaluator (NIQE) method, etc. The reference image quality assessment method can be to train a machine learning model through a reference data set, and use the trained machine learning model to score each image in the data set to be evaluated. Among them, the reference data set includes the user's score for each image in the reference data set, and the machine learning model is used to extract features such as image clarity and noise.

[0138] In one possible implementation, after obtaining the above-mentioned reference annotation information, the quality assessment system can output the reference annotation information and the original annotation information for the user to review and modify. For example, the instruction assessment system can prompt the user for pictures that are inconsistent with the reference annotation information and the original annotation information, so that the user can look at the pictures and determine whether the reference annotation information is correct. If the reference annotation information is inaccurate, the user can modify the reference annotation information. After receiving the user's modification, the quality assessment system updates the reference annotation information and calculates the score values ​​under each dimension based on the modified reference annotation information.

[0139] The quality assessment system displays the obtained reference annotation information to the user so that the user can modify and improve the reference annotation information. The quality assessment system calculates the scores under each evaluation dimension based on the modified reference annotation information, which can more accurately evaluate the quality of the evaluation data set.

[0140] S205. Determine the quality score of the dataset to be evaluated based on the scores of the dataset to be evaluated under the above multiple evaluation dimensions.

[0141] After obtaining the scores of the dataset to be evaluated under any of the above-mentioned evaluation dimensions of accuracy, balance, completeness, uniqueness, or validity, the quality assessment system determines the quality score Q of the dataset to be evaluated based on the scores under these multiple evaluation dimensions. The quality assessment system can determine the quality score Q of the dataset to be evaluated according to the following formula 12: Q = q1*A+q2*B+q3*C+q4*D+q5*E (Formula 12)

[0142] Wherein, q1, q2, q3, q4, and q5 are weight coefficients, which are preset values, and q1+q2+q3+q4+q5=1, 0≤q1≤1, 0≤q2≤1, 0≤q3≤1, 0≤q4≤1, 0≤q5≤1. It should be understood that when any of the above weight coefficients is 0, it means that the scores under the dimension are not included in the calculation of the quality score Q of the dataset to be evaluated.

[0143] After determining the quality score Q of the above-mentioned data set to be evaluated, the quality assessment system can generate and output a data set quality assessment report for user reference, and improve the data set to be evaluated based on the assessment report. Among them, the data set quality assessment report includes the score of the data set to be evaluated under each evaluation dimension, the weight of each dimension, the quality score of the data set to be evaluated, a list of incorrectly labeled pictures, a list of incorrectly labeled objects, a list of pictures with objects but no labels, the above-mentioned first category target picture list, the second category target picture list and the third category target picture list, and any one or more of the above data. As shown in Table 1 below, Table 1 is a data set quality assessment report provided in an embodiment of the present application. It should be noted that Table 1 is only an example of a data set quality assessment report and should not be understood as a specific limitation.

[0144] Table 1

[0145] The dataset quality assessment method provided by the embodiment of the present application can evaluate the quality of the dataset from multiple evaluation dimensions, and the assessment of the quality of the dataset is more comprehensive, which can more accurately reflect the quality of each aspect of the dataset. In addition, by visualizing the dataset quality assessment results, the scores under each evaluation dimension and the images with incorrect annotations, unclear images, etc. are displayed to the user, which enables the user to modify and improve the dataset in a targeted manner, such as modifying the information with incorrect annotations in the dataset, increasing the number of samples of objects with a small number of samples, deleting images without objects and no annotations, etc., thereby improving the quality of the dataset and providing a good foundation for the circulation of the dataset. At the same time, by training the dataset model after modification and improvement, the efficiency of model training and the accuracy of the trained model can be improved.

[0146] In the above method embodiment, the dataset quality assessment method provided by the present application is introduced by taking target detection and recognition as an example. It should be understood that the dataset instruction assessment method can also be used in other scenarios, such as image segmentation. The above evaluation dimensions such as accuracy, balance, completeness, validity and uniqueness are only used as examples. When performing dataset quality assessment, the evaluation dimensions can also be added or deleted, and the indicators under each evaluation dimension can also be added or deleted. For example, when a user needs to perform a quality assessment on a dataset, the quality assessment system can provide an operation interface to the user, and the user can select the evaluation dimension and the indicators under each evaluation dimension in the operation interface according to the actual scenario of the dataset to be evaluated. In addition, the values ​​of the above weights and the various thresholds can be set by the user on the operation interface provided to the user by the quality assessment system according to the actual scenario of the dataset to be evaluated, or they can be calculated or set by the quality assessment system according to the dataset to be evaluated. The embodiments of the present application do not impose specific restrictions.

[0147] It should be noted that, for the above method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited to the order of the actions described. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the present invention.

[0148] Other reasonable step combinations that can be thought of by those skilled in the art based on the above description also fall within the scope of protection of the present invention. Secondly, those skilled in the art should also be familiar with that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the present invention.

[0149] The above describes in detail the data set quality assessment method provided by the embodiment of the present application in conjunction with the accompanying drawings. The following describes the apparatus, system and related equipment provided by the embodiment of the present application in conjunction with the accompanying drawings.

[0150] FIG3 is a schematic diagram of a dataset quality assessment apparatus provided in an embodiment of the present application. The dataset quality assessment apparatus 300 includes an input module 301, a processing module 302, and an output module 303. Input module 301 is configured to obtain a dataset to be evaluated, which includes multiple images and corresponding original annotation information. The description of the dataset to be evaluated can be found in the description of S201 above and will not be repeated here.

[0151] Processing module 302 is configured to determine the scores of the dataset to be evaluated under one or more evaluation dimensions based on multiple images and corresponding original annotation information; and then determine the quality score of the dataset to be evaluated based on the scores of the dataset to be evaluated under the multiple evaluation dimensions. The evaluation dimensions include any one or more of accuracy, balance, completeness, uniqueness, and validity. Specifically, the method by which processing module 302 determines the scores under each evaluation dimension and the quality score of the dataset to be evaluated can be referred to the relevant descriptions in S203 and S205 of the method embodiment shown in FIG. 2 above, and will not be repeated here.

[0152] Processing module 302 is further configured to generate the dataset quality assessment report after obtaining the quality score of the dataset to be evaluated. The dataset quality assessment report includes any one or more of the following data: the score of the dataset to be evaluated under each evaluation dimension, the weight of each dimension, the quality score of the dataset to be evaluated, a list of incorrectly labeled images, a list of incorrectly labeled objects, a list of images with objects but no labels, the list of first-category target images, the list of second-category target images, and the list of third-category target images. As shown in Table 1 above, it should be understood that Table 1 is merely an example of a dataset quality assessment report and should not be construed as a specific limitation.

[0153] Output module 303 is further configured to, after obtaining the quality score of the dataset to be evaluated, output a dataset quality assessment report for user reference, allowing the user to improve the dataset to be evaluated based on the dataset quality assessment report. Optionally, output module 303 is further configured to output the reference annotation information, allowing the user to modify and improve the reference annotation information.

[0154] The above-mentioned data set quality assessment device 300 also includes a correction module 304 for receiving the user's modification of the above-mentioned reference annotation information, modifying the above-mentioned reference annotation information, and feeding back the modified reference annotation information to the processing module 302, and the processing module 302 determines the scores of the data set to be evaluated under multiple evaluation dimensions and the quality score of the data set to be evaluated based on the modified reference annotation information. It should be understood that after obtaining the reference annotation information, the processing module 302 can display the reference annotation information to the user through the output module 303, and the user can modify the reference annotation information. The processing module 302 determines the scores of the data set to be evaluated under multiple evaluation dimensions and the quality score of the data set to be evaluated based on the modified reference annotation information. The processing module 302 can also output the data set quality assessment report and the reference annotation information together after determining the scores of the data set to be evaluated under multiple evaluation dimensions and the quality score of the data set to be evaluated. Then, after the user modifies the reference annotation information, the processing module 302 updates the scores of the data set to be evaluated under multiple evaluation dimensions and the quality score of the data set to be evaluated based on the modified reference annotation information.

[0155] Optionally, since training a machine learning model typically requires a large amount of computing resources, the apparatus may further include a training module 305 for training the first machine learning model and the second machine learning model described in S203. It should be understood that the training module may be multiple, for example, two training modules, one for training the first machine learning model and one for training the second machine learning model, and this is not specifically limited in the present embodiment.

[0156] Specifically, the operations of the data set quality assessment apparatus 300 to implement data set quality assessment can refer to the description in the above method embodiment, which will not be repeated here.

[0157] The present application also provides a quality assessment system, which includes one or more computing devices. When the quality assessment system includes only one computing device, refer to Figure 4, which is a schematic diagram of a computing device provided by an embodiment of the present application. The computing device 400 includes: one or more processors 410, a communication interface 420, and a memory 430, wherein the one or more processors 410, the communication interface 420, and the memory 430 are interconnected via a bus 440, wherein:

[0158] The specific implementation of the various operations performed by the processor 410 may refer to the specific operations in the method embodiment shown in FIG2 , and will not be described in detail here.

[0159] The processor 410 can have a variety of specific implementation forms. For example, the processor 410 can be a central processing unit (CPU), etc. The processor 410 can be a single-core processor or a multi-core processor. The processor 410 can be a combination of a CPU and a hardware chip. The above-mentioned hardware chip can be any one of a graphics processing unit (GPU), an embedded neural network processing unit (NPU), a tensor processing unit (TPU), a data processing unit (DPU), an accelerated processing unit (APU), a floating-point computing unit (FPU), an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a field-programmable gate array (FPGA), etc., and the embodiments of the present application are not specifically limited.

[0160] The communication interface 420 may be a wired interface or a wireless interface for communicating with other modules or devices. The wired interface may be an Ethernet interface, a local interconnect network (LIN), etc. The wireless interface may be a cellular network interface or a wireless local area network interface, etc.

[0161] Memory 430 may be a non-volatile memory, such as read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Memory 430 may also be a volatile memory, which may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0162] The memory 430 may also be used to store program codes and data, so that the processor 410 can call the program codes stored in the memory 430 to execute the operation steps in the above method embodiments.

[0163] Bus 440 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. Bus 440 may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, FIG4 shows only one thick line, but this does not mean that there is only one bus or only one type of bus.

[0164] The computing device 400 may also include an input / output interface 450, which is connected to an input / output device and is used to receive user-input information such as the data set to be evaluated and the user's modifications to the reference annotation information, and output the above-mentioned reference annotation information and original annotation information, as well as a data set quality assessment report, etc.

[0165] Furthermore, computing device 400 may include more or fewer components than shown in FIG. 4 , or have components arranged differently.

[0166] Specifically, the specific implementation of various operations performed by the computing device 400 can refer to the specific operations performed in the above method embodiments, which will not be repeated here.

[0167] The computing device may be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device may also be a terminal device such as a desktop computer, a notebook computer, or a smart phone.

[0168] As shown in Figure 5, Figure 5 is a schematic diagram of a quality assessment system provided in an embodiment of the present application. The quality assessment system includes multiple computing devices. The quality certification system provided in an embodiment of the present application can implement the functions of the above-mentioned dataset quality assessment device 300. When the quality assessment system includes multiple computing devices 400, the various modules of the above-mentioned dataset quality assessment device 300 can be distributedly deployed in the multiple computing devices 400 of the quality assessment system.

[0169] The plurality of computing devices 400 establish communication paths through a communication network. Each computing device 400 is deployed with any one or more of the input module 301, processing module 302, output module 303, correction module 304, or training module 305. For example, the first computing device 400 is deployed with the input module 301, processing module 302, and output module 303; the second computing device 400 is deployed with the correction module 304; and the third computing device 400 is deployed with the training module 305.

[0170] The present application also provides a computer program product comprising instructions. The computer program product may be software or a program product comprising instructions that can be executed on a computing device or stored on any available medium. When the computer program product is executed on at least one computing device, the at least one computing device executes the quality assessment method described in the above method embodiment.

[0171] An embodiment of the present application also provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is executed on a processor, the method steps in the above method embodiment can be implemented. The specific implementation of the processor of the computer-readable storage medium in executing the above method steps can refer to the specific operations of the above method embodiment, which will not be repeated here.

[0172] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0173] The above embodiments can be implemented in whole or in part through software, hardware, firmware, or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded or executed on a computer, the processes or functions described in accordance with the embodiments of the present invention are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains a collection of one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium, or a semiconductor medium. The semiconductor medium can be a solid state drive (SSD).

[0174] The steps in the method of the embodiment of the present application can be adjusted in order, combined or deleted according to actual needs; the modules in the device of the embodiment of the present application can be divided, combined or deleted according to actual needs.

[0175] The above is a detailed introduction to the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for those skilled in the art, according to the idea of ​​the present application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A data set quality assessment method, characterized in that: include: Obtaining a data set to be evaluated, wherein the data set to be evaluated includes multiple images and corresponding original annotation information; Determine, according to the plurality of images and the corresponding original annotation information, the score of the to-be-evaluated data set under one or more evaluation dimensions; the evaluation dimensions include any one or more of accuracy, balance, completeness, uniqueness and effectiveness; The quality score of the data set to be evaluated is determined according to the scores of the data set to be evaluated under the one or more evaluation dimensions.

2. The method according to claim 1, characterized in that The accuracy represents the accuracy of the annotation information in the data set; The balance characterizes the balance of samples of various objects in the data set, wherein the data set to be evaluated includes objects of multiple categories, and some pictures in the data set to be evaluated include objects of one or more types; The integrity represents the integrity of the annotation information in the data set; The uniqueness characterizes the similarity between samples in the data set; The effectiveness is used to measure the effectiveness of sample quality and sample quantity in a data set.

3. The method according to claim 2, characterized in that The determining the scores of the plurality of evaluation dimensions corresponding to the to-be-evaluated data set includes: Detecting the images in the data set to be evaluated to obtain reference annotation information corresponding to each image; the original annotation information and the reference annotation information include position information of the detection frame, the length and width of the detection frame, and the category identifier of the object in the detection frame, wherein each detection frame includes an object; According to the reference annotation information corresponding to each image and the original annotation information corresponding to each image, a score of the to-be-evaluated data set in the accuracy dimension is determined.

4. The method according to claim 3, characterized in that The step of determining the score of the to-be-evaluated data set in the accuracy dimension according to the reference annotation information corresponding to each image and the original annotation information corresponding to each image includes: Determine the number of incorrectly labeled objects and the number of incorrectly labeled pictures according to the reference labeling information and the original labeling information; wherein each incorrectly labeled picture includes at least one incorrectly labeled object; A score of the to-be-evaluated data set in the accuracy dimension is determined according to the number of the incorrectly-labeled objects and the number of the incorrectly-labeled pictures.

5. The method according to any one of claims 2 to 4, characterized in that: The determining the scores of the plurality of evaluation dimensions corresponding to the to-be-evaluated data set includes: Detecting the images in the data set to be evaluated to obtain reference annotation information corresponding to each image; the original annotation information and the reference annotation information include the position information of the detection frame, the length and width of the detection frame, and the category identifier of the object in the detection frame; Determine, according to the reference annotation information and the original mark information, the number of detection frames with objects but no annotations, the number of pictures with objects but no annotations, and the number of pictures without objects but no annotations; wherein the icon with objects but no annotations refers to a picture including at least one detection frame with objects but no annotations; The score of the data set to be evaluated in the completeness dimension is determined according to the number of detection boxes with objects but no annotations, the number of pictures with objects but no annotations, and the number of pictures without objects and no annotations.

6. The method according to any one of claims 2 to 5, characterized in that: The detecting the pictures in the to-be-evaluated data set includes: Dividing the pictures in the to-be-evaluated data set into a first subset and a second subset; Using the first subset to train a first machine learning model to obtain a trained first machine learning model; Using the second subset to train a second machine learning model to obtain a trained second machine learning model; Performing target detection on the pictures in the second subset by using the trained first machine learning model to obtain reference annotation information corresponding to each picture in the second subset; The trained second machine learning model is used to perform target detection on the images in the first subset to obtain reference annotation information corresponding to each image in the first subset.

7. The method according to any one of claims 1 to 6, characterized in that: The determining the scores of the plurality of evaluation dimensions corresponding to the to-be-evaluated data set includes: Determine the data set to be evaluated based on one or more of the number of pictures included in each category, the area of ​​each picture, the number of detection frames included in each category, the length and width of each detection frame, the brightness of each picture, the clarity of each picture, and the area of ​​each detection frame. The score under the balance dimension.

8. The method according to claim 7, characterized in that Determining the score of the to-be-evaluated data set in the balance dimension includes: Determine the score of the data set to be evaluated under the balance dimension according to one or more of the balance of the number of pictures included in each category, the balance of the area of ​​the pictures, the balance of the number of detection frames included in each category, the balance of the aspect ratio of the detection frames, the balance of the picture brightness, the balance of the picture clarity, or the balance of the area of ​​the detection frames; The balance of the number of pictures included in each category is determined based on the number of pictures included in each category and the average number of pictures included in each category; The picture area balance is determined based on the area of ​​each picture and the average picture area; The balance degree of the number of detection frames included in each category is determined based on the number of detection frames included in each category and the average number of detection frames included in each category; The aspect ratio balance of the detection frame is determined based on the aspect ratio of the detection frame of each category and the average aspect ratio of the detection frame of each category; the aspect ratio of the detection frame of each category refers to the average value of the aspect ratios of all the detection frames included in one category in the original annotation information; the average aspect ratio of the detection frame of each category refers to the average value of the aspect ratios of the detection frames of each category; The picture brightness balance is determined based on the brightness of each picture and the average picture brightness; The picture definition balance is determined based on the definition of each picture and the average picture definition; The detection box area balance is determined based on the area of ​​the detection box of each category and the average area of ​​the detection box of each category; the area of ​​the detection box of each category refers to the average area of ​​all detection boxes included in a category in the original annotation information; the average class box area refers to the average area of ​​the detection boxes of each category.

9. The method according to any one of claims 1 to 8, characterized in that: The determining the scores of the plurality of evaluation dimensions corresponding to the to-be-evaluated data set includes: Determining similar images in the dataset to be evaluated; According to the number of similar pictures and the total number of pictures, a score under the uniqueness dimension corresponding to the data set to be evaluated is determined.

10. The method according to any one of claims 1 to 9, characterized in that: The determining the scores of the plurality of evaluation dimensions corresponding to the to-be-evaluated data set includes: Determine a score of the dataset to be evaluated under a validity dimension according to one or more of the number of target categories, the number of target detection boxes, the number of first-category target images, the number of second-category target images, or the number of third-category target images; The target category refers to a category whose number of included pictures is less than a category threshold; The target detection frame refers to a detection frame whose area is smaller than an area threshold; The first type of target image refers to an image whose brightness is less than a brightness threshold; The second type of target image refers to an image whose clarity is less than a clarity threshold; The third type of target picture refers to a picture whose comprehensive quality is less than a quality threshold; wherein the comprehensive quality of the picture is determined by a quality assessment method without reference picture or a quality assessment method with reference picture.

11. The method according to any one of claims 3 to 6, characterized in that: After detecting the images in the to-be-evaluated data set and obtaining the reference annotation information corresponding to each image, the method further includes: Outputting the reference annotation information and the original annotation information; The modification of the reference annotation information by the user is received, and the reference annotation information is updated; wherein the modification is determined by the user based on the reference annotation information and the original annotation information.

12. A data set quality assessment device, characterized in that: include: An input module is used to obtain a data set to be evaluated, wherein the data set to be evaluated includes multiple images and corresponding original annotation information; A processing module, configured to determine the score of the to-be-evaluated data set under one or more evaluation dimensions according to the plurality of images and the corresponding original annotation information; the evaluation dimensions include any one or more of accuracy, balance, completeness, uniqueness and validity; The quality score of the data set to be evaluated is determined according to the scores of the data set to be evaluated under the one or more evaluation dimensions.

13. The device according to claim 12, characterized in that The multiple evaluation dimensions include any one or more of accuracy, balance, completeness, uniqueness and validity; The accuracy represents the accuracy of the annotation information in the data set; The balance characterizes the balance of samples of various objects in the data set, wherein the data set to be evaluated includes objects of multiple categories, and some pictures in the data set to be evaluated include objects of one or more types; The integrity represents the integrity of the annotation information in the data set; The uniqueness characterizes the similarity between samples in the data set; The effectiveness is used to measure the effectiveness of sample quality and sample quantity in a data set.

14. The device according to claim 13, characterized in that The device also includes a detection module, The detection module is used to detect the images in the data set to be evaluated to obtain reference annotation information corresponding to each image; the original annotation information and the reference annotation information include the position information of the detection frame, the length and width of the detection frame, and the category identification of the object in the detection frame; The processing module is specifically used to determine the score of the to-be-evaluated data set in the accuracy dimension according to the reference annotation information corresponding to each image and the original annotation information corresponding to each image.

15. The device according to claim 14, characterized in that The processing module is specifically used for: Determine the number of incorrectly labeled objects and the number of incorrectly labeled pictures according to the reference labeling information and the original labeling information; wherein each incorrectly labeled picture includes at least one incorrectly labeled object; A score of the to-be-evaluated data set in the accuracy dimension is determined according to the number of the incorrectly-labeled objects and the number of the incorrectly-labeled pictures.

16. The device according to any one of claims 13 to 15, characterized in that: The device also includes a detection module, The detection module is used to detect the images in the data set to be evaluated to obtain reference annotation information corresponding to each image; the original annotation information and the reference annotation information include the position information of the detection frame, the length and width of the detection frame, and the category identification of the object in the detection frame; The processing module is specifically used to: determine the number of detection frames with objects but no annotations, the number of pictures with objects but no annotations, and the number of pictures without objects but no annotations according to the reference annotation information and the original mark information; wherein the icon with objects but no annotations refers to a picture including at least one detection frame with objects but no annotations; The score of the data set to be evaluated in the completeness dimension is determined according to the number of detection boxes with objects but no annotations, the number of pictures with objects but no annotations, and the number of pictures without objects and no annotations.

17. The device according to any one of claims 13 to 16, characterized in that: The device also includes a training module, which is used to: Dividing the pictures in the to-be-evaluated data set into a first subset and a second subset; Using the first subset to train a first machine learning model to obtain a trained first machine learning model; Using the second subset to train a second machine learning model to obtain a trained second machine learning model; Performing target detection on the pictures in the second subset by using the trained first machine learning model to obtain reference annotation information corresponding to each picture in the second subset; The trained second machine learning model is used to perform target detection on the images in the first subset to obtain reference annotation information corresponding to each image in the first subset.

18. The device according to any one of claims 12 to 17, characterized in that: The processing module is specifically used for: Determine the score of the data set to be evaluated under the balance dimension based on one or more of the number of pictures included in each category, the area of ​​each picture, the number of detection frames included in each category, the length and width of each detection frame, the brightness of each picture, the clarity of each picture, and the area of ​​each detection frame.

19. The device according to claim 18, characterized in that The processing module is specifically used for: Determine the score of the data set to be evaluated under the balance dimension according to one or more of the balance of the number of pictures included in each category, the balance of the area of ​​the pictures, the balance of the number of detection frames included in each category, the balance of the aspect ratio of the detection frames, the balance of the picture brightness, the balance of the picture clarity, or the balance of the area of ​​the detection frames; The balance of the number of pictures included in each category is determined based on the number of pictures included in each category and the average number of pictures in each category; The picture area balance is determined based on the area of ​​each picture and the average picture area; The balance degree of the number of detection frames included in each category is determined based on the number of detection frames included in each category and the average number of detection frames included in each category; The aspect ratio balance of the detection frame is determined based on the aspect ratio of the detection frame of each category and the average aspect ratio of the detection frame of each category; the aspect ratio of the detection frame of each category refers to the average value of the aspect ratios of all the detection frames included in one category in the original annotation information; the average aspect ratio of the detection frame of each category refers to the average value of the aspect ratios of the detection frames of each category; The picture brightness balance is determined based on the brightness of each picture and the average picture brightness; The picture definition balance is determined based on the definition of each picture and the average picture definition; The detection box area balance is determined based on the area of ​​the detection box of each category and the average area of ​​the detection box of each category; the area of ​​the detection box of each category refers to the average area of ​​all detection boxes included in a category in the original annotation information; the average class box area refers to the average area of ​​the detection boxes of each category.

20. The device according to any one of claims 12 to 19, characterized in that The processing module is specifically used for: Determining similar images in the dataset to be evaluated; According to the number of similar pictures and the total number of pictures, a score under the uniqueness dimension corresponding to the data set to be evaluated is determined.

21. The device according to any one of claims 12 to 20, characterized in that: The processing module is specifically used for: Determine a score of the dataset to be evaluated under a validity dimension according to one or more of the number of target categories, the number of target detection boxes, the number of first-category target images, the number of second-category target images, or the number of third-category target images; The target category refers to a category whose number of included pictures is less than a category threshold; The target detection frame refers to a detection frame whose area is smaller than an area threshold; The first type of target image refers to an image whose brightness is less than a brightness threshold; The second type of target image refers to an image whose clarity is less than a clarity threshold; The third type of target picture refers to a picture whose comprehensive quality is less than a quality threshold; wherein the comprehensive quality of the picture is determined by a quality assessment method without reference picture or a quality assessment method with reference picture.

22. The device according to any one of claims 14 to 17, characterized in that The device also includes an output module, The output module is used to output the reference annotation information and the original annotation information; The input module is further used to receive modifications made by the user to the reference annotation information; The processing module is further configured to update the reference annotation information according to the modification made by the user to the reference annotation information; wherein the modification is determined by the user based on the reference annotation information and the original annotation information.

23. A data set quality assessment system, characterized in that: comprising at least one computing device, each computing device comprising a processor and a memory; The processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method according to any one of claims 1 to 11.

24. A computer-readable storage medium, characterized in that: The method comprises computer program instructions. When the computer program instructions are executed by a computing device cluster, the computing device cluster executes the method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Sample data processing method and device and computer readable storage medium

    CN108009589A

  • Medical data processing method and device, readable storage medium and computer equipment

    CN110797101A

  • Data set quality parameter determination method and device, and electronic equipment

    CN111079930A

  • Named entity identification data annotation quality evaluation method and device

    CN111274821A

  • Image quality evaluation method, image quality evaluation model training method and related product

    CN115861674A

Cited By

  • Multi-center data standardization method for evaluating AI ultrasonic model performance

    CN121213853A

  • Image annotation quality evaluation method, annotation process optimization method and system

    CN121686197A

  • Quality evaluation method of multi-modal data set and related equipment

    CN121834371A