Data labeling assessment method, device and electronic equipment
By obtaining the standard annotation results of multiple data to be annotated and determining the standard annotation interval and passing standards, the problem of poor flexibility and personalized needs of data annotation assessment in the existing technology is solved, and a more refined and accurate assessment of annotators is achieved.
Patent Information
- Application Number
- CN202010868163.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-25
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-08-25
AI Technical Summary
The existing data annotation and assessment methods have poor flexibility, are difficult to meet users' personalized needs for annotator assessment, and are subjective and uncertain.
By acquiring multiple data to be labeled, each data carries multiple standard labeling results, the standard labeling interval is determined, and the assessment results are determined based on the total score of the assessment object and the preset passing score, and the enumeration method is used to adjust the labeling deviation and calculate the score rate. To determine the final labeling deviation and automatically calculate the appropriate standard labeling interval and passing standards.
It improves the flexibility and precision of the assessment method, meets the personalized needs of users, reduces subjectivity, and achieves more accurate assessment of annotators.
Smart Images

Figure CN112016053B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method, device and electronic equipment for assessing data annotation. Background Art
[0002] Watching videos and images on the Internet is becoming the main way for users to obtain information. However, due to the limitations of shooting conditions and network environment, the quality of images and videos is not stable. Therefore, before uploading images and videos to the Internet, annotators are required to evaluate the quality of images and videos, so as to pre-process the images and videos according to the quality evaluation results. At present, the annotation of quality evaluation is performed by the annotator based on his or her own intuitive feelings, which makes the annotation of quality evaluation subjective and uncertain. Therefore, in order to ensure the accuracy of quality evaluation annotation, it is necessary to determine whether the annotator can annotate correctly.
[0003] In the related art, a small number of question banks are usually used to conduct quality evaluation and annotation assessment on annotators, and fixed correct answers are used to judge whether the annotators can annotate correctly. This assessment method has poor flexibility and is difficult to meet the user's personalized needs for annotator assessment. Summary of the invention
[0004] The purpose of the present invention is to provide a data labeling assessment method, device and electronic device to improve the flexibility of the assessment method and meet the user's personalized needs for labeler assessment.
[0005] In a first aspect, an embodiment of the present invention provides a method for assessing data labeling, the method comprising: acquiring a plurality of data to be labeled; each data to be labeled carries a plurality of standard labeling results; for each data to be labeled, determining a standard labeling interval of the current data to be labeled based on the plurality of standard labeling results of the current data to be labeled; the standard labeling interval is used to: determine a score of an assessment object for the labeling result of the current data to be labeled; for each assessment object, determining an assessment result of the current assessment object according to the total score of the current assessment object and a preset assessment passing score.
[0006] In an optional embodiment, the above step of determining the standard annotation interval of the current data to be labeled based on multiple standard annotation results of the current data to be labeled includes: calculating the annotation mean of multiple standard annotation results in the current data to be labeled; and determining the standard annotation interval of the current data to be labeled based on the annotation mean and a preset annotation deviation.
[0007] In an optional embodiment, the above-mentioned annotation deviation is determined in the following manner: obtaining trial annotation results of multiple trained annotation objects on the current data to be labeled; for each annotation object, determining the score of the trial annotation result of the current annotation object on the current data to be labeled according to the trial annotation result of the current annotation object, a preset annotation deviation and the annotation mean of the current data to be labeled; adjusting the size of the annotation deviation by enumeration, and updating the score of the trial annotation result of each annotation object on the current data to be labeled; calculating the score rate of multiple annotation objects on the current data to be labeled under each adjusted annotation deviation, and determining the annotation deviation when the score rate reaches the preset probability value as the final annotation deviation.
[0008] In an optional embodiment, the step of determining the standard marking interval of the current data to be marked based on the marking mean and the preset marking deviation includes: determining the difference between the marking mean and the marking deviation as the minimum value of the standard marking interval of the current data to be marked; and determining the sum of the marking mean and the marking deviation as the maximum value of the standard marking interval of the current data to be marked.
[0009] In an optional embodiment, the above-mentioned assessment passing score is determined by the following method: obtaining trial labeling results of multiple trained labeling objects on multiple data to be labeled; for each data to be labeled, determining the score of the labeling object according to the standard labeling interval of the current data to be labeled and the trial labeling results of the current data to be labeled; based on the total score of each labeling object, determining the assessment passing score.
[0010] In an optional implementation, the step of determining the passing score based on the total score of each annotated object includes: determining the lowest score from the total scores of multiple annotated objects; and determining the difference between the lowest score and a preset value as the passing score.
[0011] In an optional embodiment, the above-mentioned step of obtaining multiple data to be labeled includes: obtaining a preset database; the preset database contains multiple data, each data carries multiple standard labeling results; the data in the preset database is screened to obtain multiple data to be labeled that meet the assessment requirements.
[0012] In an optional embodiment, the above-mentioned step of screening the data in the preset database to obtain multiple data to be labeled that meet the assessment requirements includes: for each data in the preset database, calculating the annotation variance between multiple standard annotation results carried by the current data; and determining the data in the preset database whose annotation variance is less than a specified threshold as the data to be labeled that meets the assessment requirements.
[0013] In an optional embodiment, the above-mentioned step of screening the data in the preset database to obtain multiple data to be labeled that meet the assessment requirements also includes: after the step of determining the data in the preset database with a labeled variance less than a specified threshold as the data to be labeled that meet the assessment requirements, screening out data of a specified type from the data in the preset database with a labeled variance less than the specified threshold; extracting characteristic values of the data of the specified type; and uniformly extracting a specified number of data from the screened data of the specified type based on the characteristic values, and determining the extracted specified number of data as the final data to be labeled.
[0014] In the second aspect, an embodiment of the present invention provides a data labeling assessment device, which includes: a data acquisition module, used to acquire multiple data to be labeled; each data to be labeled carries multiple standard labeling results; a standard labeling interval determination module, used to determine, for each data to be labeled, the standard labeling interval of the current data to be labeled based on the multiple standard labeling results of the current data to be labeled; the standard labeling interval is used to: determine the score of the labeling result of the assessment object for the current data to be labeled; an assessment result determination module, used to determine, for each assessment object, the assessment result of the current assessment object according to the total score of the current assessment object and a preset assessment pass score.
[0015] In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the data labeling assessment method described in any one of the aforementioned implementations.
[0016] In a fourth aspect, an embodiment of the present invention provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the data labeling assessment method described in any one of the aforementioned implementations.
[0017] The embodiments of the present invention bring the following beneficial effects:
[0018] The embodiment of the present invention provides a method, device and electronic device for assessing data annotation. First, multiple data to be annotated are obtained, each of which carries multiple standard annotation results. Then, for each data to be annotated, the standard annotation interval of the current data to be annotated is determined based on the multiple standard annotation results of the current data to be annotated. Then, the assessment result corresponding to each assessment object is determined according to the total score of each assessment object and the preset assessment passing score. This method obtains the standard annotation interval for determining the score of the assessment object based on the multiple standard annotation results corresponding to each data to be annotated, and then combines the standard annotation interval with the assessment passing score to obtain the assessment result of the assessment object. This method can automatically calculate the appropriate standard annotation interval and passing standard according to user needs, making the setting of the assessment passing standard more flexible and making the assessment of data annotation more precise and effective.
[0019] Other features and advantages of the present invention will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by implementing the above-mentioned technology of the present invention.
[0020] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are specifically listed below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 A flowchart of a data labeling assessment method provided by an embodiment of the present invention;
[0023] Figure 2 A flowchart of another data labeling assessment method provided by an embodiment of the present invention;
[0024] Figure 3 A flowchart of another data labeling assessment method provided by an embodiment of the present invention;
[0025] Figure 4 A schematic diagram of the structure of a data labeling assessment device provided by an embodiment of the present invention;
[0026] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0028] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] Data annotation usually refers to the process of manually describing and marking data according to certain rules. Common types of data annotation include: image annotation, voice annotation, text annotation, video annotation, etc. The annotation forms include annotated frames, 3D (3-Dimension) frames, text transcription, image dotting, target object contours, etc.
[0030] Watching videos and images on the Internet is becoming the main way for users to obtain information. However, due to the limitations of shooting conditions and network environment, the quality of images or videos is not stable, and the quality evaluation of images and videos has become increasingly important. Before an image or video is presented to the viewer, it may undergo multiple processing, and each processing may introduce distortion that reduces its final display effect, such as distortion during shooting, distortion during compression, distortion during transmission, etc.
[0031] Based on the above description, before images and videos are uploaded to the Internet, annotators are required to evaluate the quality of images and videos in order to pre-process them according to the quality evaluation results. Usually, quality evaluation can be divided into no-reference quality evaluation and full-reference quality evaluation. No-reference quality evaluation refers to the evaluation made by annotators on the intuitively perceived picture quality when watching an image or a video; full-reference quality evaluation refers to the evaluation made by annotators on the intuitively perceived picture quality difference between two images or two videos when watching a pair of images or a pair of videos. Therefore, the quality evaluation annotation is made by the annotator based on his or her own intuitive feelings. The quality evaluation annotation is subjective and uncertain. Therefore, how to judge whether the annotator correctly understands the rules of quality evaluation annotation and is capable of making appropriate annotations is still a difficulty in quality evaluation annotation.
[0032] The data labeling examination method in the related technology is often not targeted at specific tasks. It instructs the labelers to conduct a rough assessment using a small number of fixed question banks, and judges whether the labelers can label correctly through fixed correct answers. This method has poor flexibility and cannot meet the user's personalized needs for labeler assessment. This method can only screen out labelers who label randomly, but cannot determine whether the labelers truly and accurately understand the labeling rules when labeling.
[0033] In view of the above problems, the embodiments of the present invention provide a data labeling assessment method, device and electronic device. The technology can be applied to the assessment scenario of data labeling of any labeler. The data labeling can be image quality labeling, voice labeling, video labeling, etc. To facilitate the understanding of this embodiment, a data labeling assessment method disclosed in the embodiment of the present invention is first introduced in detail. The method is applied to electronic devices such as Figure 1 As shown, the method comprises the following steps:
[0034] Step S102, obtaining a plurality of data to be labeled; each data to be labeled carries a plurality of standard labeling results.
[0035] The above-mentioned data to be labeled can be data obtained from a preset trusted data set, which contains a large amount of data to be labeled. Each data to be labeled carries multiple standard labeling results. It is also understood that each data to be labeled is labeled in advance by multiple labelers, and the labeling results of each labeler can be regarded as the standard labeling results of the data to be labeled. Specifically, the labeler who provides the standard labeling results can be a designated labeler who can accurately label.
[0036] In a specific implementation, the data to be labeled may be data extracted or screened from a trusted data set according to preset rules or user requirements.
[0037] Step S104, for each data to be labeled, determine the standard labeling interval of the current data to be labeled based on multiple standard labeling results of the current data to be labeled; the standard labeling interval is used to determine the score of the assessment object for the labeling result of the current data to be labeled.
[0038] The standard annotation interval of each data to be annotated can be obtained by corresponding to multiple standard annotation results, that is, the standard annotation interval will fluctuate around multiple standard annotation results. In specific implementation, for each data to be annotated, the maximum value, minimum value, average value or median value of multiple standard annotation results of the current data to be annotated can be determined as the benchmark answer, and then the floating range based on the benchmark answer is set according to user needs to obtain the standard annotation interval of the current data to be annotated. When the user hopes that most of the assessment objects can pass the assessment, the floating range can be set to a larger range. When the user hopes that a smaller number of assessment objects can pass the assessment, the floating range can be set to a smaller range.
[0039] If the assessment object's annotation result for the current data to be labeled is within the standard annotation interval of the current data to be labeled, it is determined that the assessment object's annotation is correct and the assessment object gets points; if the assessment object's annotation result for the current data to be labeled is not within the standard annotation interval of the current data to be labeled, it is determined that the assessment object's annotation is incorrect and the assessment object gets no points.
[0040] Step S106: for each assessment object, the assessment result of the current assessment object is determined according to the total score of the current assessment object and the preset assessment passing score.
[0041] In the specific implementation, the scores of the current assessment object for each data to be labeled are added together to obtain the total score of the current assessment object. When the total score of the current assessment object is greater than or equal to the assessment pass score, the assessment result of the current assessment object is determined to be the assessment pass; when the total score of the current assessment object is less than the assessment pass score, the assessment result of the current assessment object is determined to be the assessment failure or the assessment failure.
[0042] The above-mentioned preset assessment passing score can be set by the user according to needs. Usually, when the user hopes that most of the assessment objects can pass the assessment, the assessment passing score can be set to a lower score (for example, 60 points). When the user hopes that a smaller number of assessment objects can pass the assessment, the assessment passing score can be set to a higher score (for example, 90 points); the above-mentioned preset assessment passing score can also be determined by the standard annotation interval of each data to be labeled and the annotation results of multiple preset annotation objects. The preset annotation object can be a designated annotator who can accurately annotate, that is, the preset annotation object can be used to annotate each data to be labeled, and multiple annotation results are obtained. Then, based on the standard annotation result of each data to be labeled, the total score of the preset annotation object is determined, and then the assessment passing score is determined according to the total score of the multiple preset annotation objects. For example, the minimum value or average value of the total scores of the multiple preset annotation objects is used as the assessment passing score.
[0043] An embodiment of the present invention provides a method for assessing data annotation, which first obtains multiple data to be annotated, each of which carries multiple standard annotation results; then, for each data to be annotated, determines the standard annotation interval of the current data to be annotated based on the multiple standard annotation results of the current data to be annotated; and then determines the assessment result corresponding to each assessment object according to the total score of each assessment object and the preset assessment pass score. This method obtains a standard annotation interval for determining the score of the assessment object based on the multiple standard annotation results corresponding to each data to be annotated, and then combines the standard annotation interval with the assessment pass score to obtain the assessment result of the assessment object. This method can automatically calculate the appropriate standard annotation interval and pass standard according to user needs, making the setting of the assessment pass standard more flexible and making the assessment of data annotation more precise and effective.
[0044] The embodiment of the present invention further provides another data annotation assessment method, which is implemented on the basis of the above-mentioned embodiment method; the method focuses on describing the specific process of determining the standard annotation interval of the current data to be labeled based on multiple standard annotation results of the current data to be labeled (implemented by the following step S204), and the specific process of determining the passing score of the assessment (implemented by the following steps S206-S210); Figure 2 As shown, the method comprises the following specific steps:
[0045] Step S202, obtaining a plurality of data to be labeled; each data to be labeled carries a plurality of standard labeling results.
[0046] Step S204, for each data to be labeled, calculating the labeling mean of multiple standard labeling results in the current data to be labeled; and determining the standard labeling interval of the current data to be labeled according to the labeling mean and a preset labeling deviation.
[0047] The above-mentioned annotation deviation is equivalent to the floating range of the above-mentioned benchmark answer. In specific implementation, the above-mentioned annotation mean is determined as the benchmark answer. The annotation deviation can be understood as the range in which the annotation result given by the assessment object is allowed to deviate from the benchmark answer. The annotation deviation can be a value set arbitrarily by the user according to the needs, or it can be data calculated according to preset rules. For example, the annotation deviation can be determined by the following steps 10-13:
[0048] Step 10, obtaining trial labeling results of multiple trained labeling objects for the current data to be labeled.
[0049] The trained annotation object can be a designated annotator who can accurately annotate. In a specific implementation, the trained annotation object can be allowed to perform trial annotation on the multiple data to be annotated obtained in step S202 to obtain the trial annotation results of each data to be annotated. The trial annotation is performed on the basis of each data to be annotated having a standard annotation result, which can ensure the credibility of the annotation.
[0050] Step 11, for each labeled object, according to the trial labeling result of the current labeled object, the preset labeling deviation and the labeling mean value of the current data to be labeled, determine the score of the trial labeling result of the current labeled object for the current data to be labeled.
[0051] In a specific implementation, it is possible to determine whether the test labeling result of the labeling object on the current data to be labeled is correct according to the labeling mean value and the preset labeling deviation of the current object to be labeled, and then determine the score of the labeling object. For example, if the test labeling result of the labeling object on the current data to be labeled is within the range of the labeling mean value and the preset labeling deviation, it is determined that the labeling object labels the current data to be labeled correctly and can score; if the test labeling result of the labeling object on the current data to be labeled is not within the range of the labeling mean value and the preset labeling deviation, it is determined that the labeling object does not score.
[0052] Step 12, using enumeration method, adjusts the size of the annotation deviation and updates the score of the trial annotation result of each annotation object for the current data to be annotated.
[0053] The essence of the above enumeration method is usually to search for the correct solution from all candidate answers, and this method can enumerate all possible situations. This embodiment can adopt a binary enumeration or a direct enumeration algorithm to obtain, for each labeled object, the score of the trial labeling result of the current labeled object on the current labeled data under the numerical value corresponding to each labeling deviation. The adjustment range of the size of the above labeling deviation can be a preset range, and the adjustment range can be set according to user needs, for example, 0.1 to 1, etc.
[0054] Step 13, calculating the score rate of multiple annotation objects to the current data to be annotated under each adjusted annotation deviation, and determining the annotation deviation when the score rate reaches a preset probability value as the final annotation deviation.
[0055] According to the above enumeration method, the score of each object to be labeled for the current data to be labeled under each adjusted labeling deviation can be obtained. Usually, if the labeling result of the labeled object for the current data to be labeled is within the range of the labeling mean of the current labeled data and the adjusted labeling deviation, the score of the labeled object is determined, otherwise no score is given; then, under each adjusted labeling deviation, the number of trial labeling result scores of all labeled objects for the current data to be labeled is counted, and the quotient of this number and the total number of labeled objects is determined as the score rate of the current data to be labeled; finally, from the score rate corresponding to each adjusted labeling deviation, the labeling deviation when the score rate is close to the preset probability value is selected as the final labeling deviation.
[0056] The preset probability value may be a pass rate of the labeled object for the current data to be labeled that is expected by the user. Generally, a larger preset probability value indicates more labeled objects that can be scored.
[0057] In specific implementation, the standard annotation interval of the current data to be annotated in the above step S204 can be determined by the following steps: the difference between the annotation mean and the annotation deviation is determined as the minimum value of the standard annotation interval of the current data to be annotated; the sum of the annotation mean and the annotation deviation is determined as the maximum value of the standard annotation interval of the current data to be annotated. For example, assuming that the annotation mean of the current data to be annotated is The annotation deviation is B, B>0, then the standard annotation interval of the current data to be annotated is That is, when the marked result of the test subject is within the standard marking range, the answer is correct and the test subject gets the score.
[0058] Step S206, obtaining trial labeling results of multiple trained labeling objects on multiple data to be labeled.
[0059] Step S208 : for each data to be annotated, the score of the annotated object is determined according to the standard annotation interval of the current data to be annotated and the trial annotation result of the current data to be annotated.
[0060] Step S210: determining the passing score of the assessment based on the total score of each marked object.
[0061] When the test labeling result of the labeling object for the current data to be labeled is within the standard labeling interval of the current data to be labeled, the score of the labeling object is determined, otherwise no score is given. According to this rule, the total score of each labeling object under multiple data to be labeled can be obtained. Since the above-mentioned trained labeling objects are designated labelers who can accurately label, it is theoretically believed that each labeling object can pass this assessment, so the lowest score of the total score of multiple labeling objects can be determined as the passing score of the assessment, or the passing score of the assessment can be determined based on the lowest score and the rules set by the user.
[0062] In specific implementation, the above step S210 can be implemented by the following steps 20-21:
[0063] Step 20: determine the lowest score from the total scores of the multiple labeled objects.
[0064] Step 21: The difference between the minimum score and the preset value is determined as the passing score of the assessment. The preset value can be set according to user needs.
[0065] For example, assuming that the lowest score is S_min, and a preset value between the lowest score and the passing score is S_diff, then the passing score is S_pass=S_min-S_diff.
[0066] Step S212: for each assessment object, the assessment result of the current assessment object is determined according to the total score of the current assessment object and the preset assessment passing score.
[0067] In the specific implementation, the assessment process for the assessment object is as follows: each assessment object annotates the multiple data to be annotated. For each data to be annotated, if the assessment object's annotation result for the current data to be annotated is within the standard annotation interval of the current data to be annotated, If the data to be labeled is correctly labeled, the assessment object will get points, otherwise the labeling is wrong and the assessment object will not get points; after the assessment labeling is completed, if the total score of the assessment object is greater than or equal to the assessment passing score, it is determined that the assessment object has passed the assessment and can be formally labeled, otherwise the assessment fails.
[0068] The above-mentioned data annotation assessment method uses the trained annotation objects to test-label the acquired multiple data to be labeled, and then can determine the standard annotation range and assessment pass score of the data to be labeled based on the test annotation results of each data to be labeled and multiple standard annotation results. Therefore, this method can automatically calculate a suitable answer range and passing standard, so as to conduct more precise and effective annotation assessment and better assessment and screening of annotation personnel.
[0069] The embodiment of the present invention also provides another data labeling assessment method, which is implemented on the basis of the above embodiment method; the method focuses on describing the specific process of obtaining multiple data to be labeled (implemented by the following steps S302-304); Figure 3 As shown, the method comprises the following specific steps:
[0070] Step S302, obtaining a preset database; the preset database contains multiple data, each data carries multiple standard annotation results.
[0071] The above-mentioned preset database is equivalent to the above-mentioned trusted data set, and the preset database contains a large amount of data, each of which carries the standard annotation results of multiple annotators under the same annotation rules.
[0072] Step S304, screening the data in the preset database to obtain a plurality of data to be annotated that meet the assessment requirements.
[0073] Since each assessment may require different types of data or different amounts of data to be assessed, it is necessary to screen the data in the preset database to obtain multiple annotated data that meet the user's assessment requirements. In specific implementation, the above step S304 can be implemented through the following steps 30-31:
[0074] Step 30: for each data in the preset database, calculate the annotation variance between multiple standard annotation results carried by the current data.
[0075] The above annotation variance represents the deviation between multiple standard annotation results. The variance σ between multiple standard annotation results carried by the above current data 2 for:
[0076]
[0077] Where n represents the number of standard annotation results contained in the current data in the preset database, and X i Indicates the i-th standard annotation result carried by the current data; Indicates the average value of multiple standard annotation results carried by the current data.
[0078] Step 31, the data in the preset database whose annotation variance is less than a specified threshold is determined as the data to be annotated that meets the assessment requirements.
[0079] The above-mentioned specified threshold is a value set by the user according to the requirements, for example, 0.6, etc. For each data in the preset database, if the annotation variance of the current data is greater than or equal to the specified threshold, it means that the deviation between the multiple standard annotation results of the current data is large, and the reference value of the current data is low. The current data can be deleted from the preset database, and the retained data is determined as the data to be annotated that meets the assessment requirements.
[0080] In the specific implementation, in order to assess the assessment object according to the annotation type that actually needs to be assessed, it is necessary to determine the data in the preset database with an annotation variance less than a specified threshold as the data to be labeled that meets the assessment requirements, and then filter out the data of the specified type from the data in the preset database with an annotation variance less than the specified threshold; extract the characteristic value of the data of the specified type; based on the characteristic value, evenly extract a specified number of data from the filtered data of the specified type, and determine the extracted specified number of data as the final data to be labeled.
[0081] The above-mentioned specified types are the annotation types that are actually required for this assessment, and the specified types can be animation videos, images, or voices, etc. In specific implementation, multiple specified types of data can be screened out from the data in the preset database whose annotation variance is less than the specified threshold, and a feature extraction algorithm is used to extract the feature values of the features related to the annotation in each of the multiple specified types of data, such as resolution, brightness, content feature vectors, etc.; then a uniform extraction algorithm is used to uniformly extract a specified number of data as the final data to be annotated based on the extracted feature values. The specified number can be set according to user needs.
[0082] The above-mentioned uniform extraction can be: sorting the eigenvalues of each data of multiple specified types in order from small to large, and then extracting a specified number of data with equidistant eigenvalues and increasing eigenvalues (that is, satisfying the difference between the eigenvalues of two adjacent data extracted is the same or similar). In some embodiments, the extracted data usually includes data corresponding to the minimum eigenvalue and data corresponding to the maximum eigenvalue, so that the interval between the eigenvalues of the extracted data is maximized, which is conducive to extracting representative data as the data to be assessed and labeled. For example, from the 10 specified types of data screened out, 3 data are extracted as the final data to be labeled: if the characteristics of the 10 specified types of data are [0, 1, 3, 3, 4, 5, 6, 8, 10, 12], then the most uniform extraction method is to select [0, 6, 12].
[0083] Step S306 : for each data to be labeled, determine the standard labeling interval of the current data to be labeled based on multiple standard labeling results of the current data to be labeled.
[0084] Step S308: for each assessment object, the assessment result of the current assessment object is determined according to the total score of the current assessment object and the preset assessment passing score.
[0085] The above-mentioned data labeling assessment method comprehensively uses labeling variance, data characteristics, and labeling mean to automatically extract multiple data to be labeled from a preset database, so that the data to be labeled can be automatically screened out from the preset database according to specific assessment tasks and assessment requirements. At the same time, this method can also automatically calculate the appropriate standard labeling interval and passing standard for the standard labeling results of multiple data to be processed, making the setting of the assessment passing standard more flexible and making the data labeling assessment more precise and effective.
[0086] Corresponding to the above-mentioned data labeling assessment method, the embodiment of the present invention also provides a data labeling assessment device, such as Figure 4 As shown, the device comprises:
[0087] The data acquisition module 40 is used to acquire a plurality of data to be labeled; each data to be labeled carries a plurality of standard labeling results.
[0088] The standard annotation interval determination module 41 is used to determine the standard annotation interval of the current data to be labeled based on multiple standard annotation results of the current data to be labeled for each data to be labeled; the standard annotation interval is used to determine the score of the assessment object for the annotation result of the current data to be labeled.
[0089] The assessment result determination module 42 is used to determine the assessment result of the current assessment object for each assessment object according to the total score of the current assessment object and the preset assessment passing score.
[0090] The above-mentioned data annotation assessment device first obtains multiple data to be annotated, each of which carries multiple standard annotation results; then for each data to be annotated, the standard annotation interval of the current data to be annotated is determined based on the multiple standard annotation results of the current data to be annotated; then the assessment result corresponding to each assessment object is determined according to the total score of each assessment object and the preset assessment passing score. This method obtains the standard annotation interval for determining the score of the assessment object based on the multiple standard annotation results corresponding to each data to be annotated, and then combines the standard annotation interval with the assessment passing score to obtain the assessment result of the assessment object. This method can automatically calculate the appropriate standard annotation interval and passing standard according to user needs, making the setting of the assessment passing standard more flexible and making the data annotation assessment more precise and effective.
[0091] Furthermore, the standard annotation interval determination module 41 is used to: for each data to be annotated, calculate the annotation mean of multiple standard annotation results in the current data to be annotated; and determine the standard annotation interval of the current data to be annotated according to the annotation mean and a preset annotation deviation.
[0092] Specifically, the above-mentioned device also includes a labeling deviation determination module, which is used to: obtain trial labeling results of multiple trained labeling objects on the current data to be labeled; for each labeling object, determine the score of the trial labeling result of the current labeling object on the current data to be labeled according to the trial labeling result of the current labeling object, the preset labeling deviation and the labeling mean of the current data to be labeled; use an enumeration method to adjust the size of the labeling deviation and update the score of the trial labeling result of each labeling object on the current data to be labeled; calculate the score rate of multiple labeling objects on the current data to be labeled under each adjusted labeling deviation, and determine the labeling deviation when the score rate reaches the preset probability value as the final labeling deviation.
[0093] In a specific implementation, the above-mentioned standard labeling interval determination module 41 is also used to: determine the difference between the labeling mean and the labeling deviation as the minimum value of the standard labeling interval of the current data to be labeled; and determine the sum of the labeling mean and the labeling deviation as the maximum value of the standard labeling interval of the current data to be labeled.
[0094] Furthermore, the above-mentioned device also includes a score determination module, which is used to: obtain the trial annotation results of multiple trained annotation objects on multiple data to be labeled; for each data to be labeled, determine the score of the annotation object according to the standard annotation interval of the current data to be labeled and the trial annotation results of the current data to be labeled; based on the total score of each annotation object, determine the passing score of the assessment.
[0095] Specifically, the passing score determination module is further used to: determine the lowest score from the total scores of multiple marked objects; and determine the difference between the lowest score and a preset value as the passing score for the assessment.
[0096] Furthermore, the above-mentioned data acquisition module 40 includes: a database acquisition unit, used to acquire a preset database; the preset database contains multiple data, each data carries multiple standard annotation results; a data screening unit, used to screen the data in the preset database to obtain multiple data to be labeled that meet the assessment requirements.
[0097] Specifically, the above-mentioned data screening unit is also used to: calculate the annotation variance between multiple standard annotation results carried by the current data for each data in the preset database; and determine the data in the preset database whose annotation variance is less than a specified threshold as the data to be labeled that meets the assessment requirements.
[0098] In a specific implementation, the above-mentioned data screening unit is also used to: after the step of determining the data in the preset database whose annotation variance is less than the specified threshold as the data to be labeled that meets the assessment requirements, screen out data of a specified type from the data in the preset database whose annotation variance is less than the specified threshold; extract characteristic values of the data of the specified type; and according to the characteristic values, evenly extract a specified number of data from the screened data of the specified type, and determine the extracted specified number of data as the final data to be labeled.
[0099] The data labeling assessment device provided in the embodiment of the present invention has the same implementation principle and technical effects as those in the aforementioned embodiment of the labeling data qualification judgment method. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0100] The embodiment of the invention also provides an electronic device, see Figure 5 As shown, the electronic device includes a processor 101 and a memory 100. The memory 100 stores machine executable instructions that can be executed by the processor 101. The processor executes the machine executable instructions to implement the above-mentioned data labeling assessment method.
[0101] Further, Figure 5 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 101 , the communication interface 103 and the memory 100 are connected via the bus 102 .
[0102] The memory 100 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0103] The processor 101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 101. The above processor 101 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 100, and the processor 101 reads the information in the memory 100 and completes the steps of the method of the above embodiment in combination with its hardware.
[0104] An embodiment of the present invention also provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the above-mentioned data labeling assessment method. The specific implementation can be found in the method embodiment, which will not be repeated here.
[0105] The computer program product of the data labeling assessment method, device and electronic device provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be found in the method embodiments, which will not be repeated here.
[0106] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, electronic device, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0107] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A data labeling assessment method, characterized in that: The method comprises: Acquire multiple data to be annotated; each of the data to be annotated carries multiple standard annotation results; For each of the data to be labeled, a standard labeling interval of the current data to be labeled is determined based on multiple standard labeling results of the current data to be labeled; the standard labeling interval is used to: determine the score of the assessment object for the labeling result of the current data to be labeled; For each assessment object, determine the assessment result of the current assessment object according to the total score of the current assessment object and the preset assessment passing score; The step of determining the standard annotation interval of the current data to be annotated based on multiple standard annotation results of the current data to be annotated includes: calculating the annotation mean of the multiple standard annotation results in the current data to be annotated; determining the standard annotation interval of the current data to be annotated according to the annotation mean and a preset annotation deviation; The labeling deviation is determined in the following manner: obtaining trial labeling results of multiple trained labeling objects on the current data to be labeled; for each labeling object, determining the score of the trial labeling result of the current labeling object on the current data to be labeled according to the trial labeling result of the current labeling object, the preset labeling deviation and the labeling mean of the current data to be labeled; adjusting the size of the labeling deviation in an enumeration manner, and updating the score of the trial labeling result of each labeling object on the current data to be labeled; calculating the score rate of multiple labeling objects on the current data to be labeled under each adjusted labeling deviation, and determining the labeling deviation when the score rate reaches the preset probability value as the final labeling deviation.
2. The method according to claim 1, characterized in that The step of determining the standard labeling interval of the current data to be labeled according to the labeling mean and the preset labeling deviation includes: Determine the difference between the annotation mean and the annotation deviation as the minimum value of the standard annotation interval of the current data to be annotated; The sum of the annotation mean and the annotation deviation is determined as the maximum value of the standard annotation interval of the current data to be annotated.
3. The method according to claim 1, characterized in that The passing score of the assessment is determined in the following manner: Obtain trial labeling results of the plurality of to-be-labeled data by a plurality of trained labeling objects; For each of the data to be labeled, determining the score of the labeled object according to the standard labeling interval of the current data to be labeled and the trial labeling result of the current data to be labeled; The assessment passing score is determined based on the total score of each of the marked objects.
4. The method according to claim 3, characterized in that The step of determining the assessment passing score based on the total score of each of the marked objects comprises: Determining a lowest score from the total scores of the plurality of annotated objects; The difference between the lowest score and the preset value is determined as the assessment passing score.
5. The method according to any one of claims 1 to 4, characterized in that The step of obtaining a plurality of data to be labeled includes: Obtain a preset database; the preset database contains multiple data, each data carries multiple standard annotation results; The data in the preset database is screened to obtain a plurality of data to be annotated that meet the assessment requirements.
6. The method according to claim 5, characterized in that The step of screening the data in the preset database to obtain a plurality of data to be annotated that meet the assessment requirements includes: For each data in the preset database, calculating the annotation variance between the multiple standard annotation results carried by the current data; The data in the preset database whose annotation variance is less than a specified threshold value is determined as the data to be annotated that meets the assessment requirements.
7. The method according to claim 6, characterized in that The step of screening the data in the preset database to obtain a plurality of data to be annotated that meet the assessment requirements also includes: After the step of determining the data in the preset database whose annotated variance is less than the specified threshold as the data to be annotated that meets the assessment requirements, filtering out data of a specified type from the data in the preset database whose annotated variance is less than the specified threshold; Extracting characteristic values of the data of the specified type; According to the characteristic value, a specified number of data is uniformly extracted from the screened data of the specified type, and the extracted specified number of data is determined as the final data to be labeled.
8. A data labeling assessment device, characterized in that: The device comprises: A data acquisition module, used to acquire a plurality of data to be annotated; each of the data to be annotated carries a plurality of standard annotation results; A standard annotation interval determination module is used to determine the standard annotation interval of the current data to be annotated based on multiple standard annotation results of the current data to be annotated for each of the data to be annotated; the standard annotation interval is used to determine the score of the assessment object for the annotation result of the current data to be annotated; An assessment result determination module is used to determine the assessment result of each assessment object according to the total score of the current assessment object and the preset assessment passing score; The standard annotation interval determination module is used to calculate the annotation mean of the multiple standard annotation results in the current data to be annotated; and determine the standard annotation interval of the current data to be annotated according to the annotation mean and a preset annotation deviation; The deviation determination module is used to obtain the trial annotation results of multiple trained annotation objects on the current data to be labeled; for each annotation object, determine the score of the trial annotation result of the current annotation object on the current data to be labeled according to the trial annotation result of the current annotation object, the preset annotation deviation and the annotation mean of the current data to be labeled; use enumeration to adjust the size of the annotation deviation and update the score of the trial annotation result of each annotation object on the current data to be labeled; calculate the score rate of multiple annotation objects on the current data to be labeled under each adjusted annotation deviation, and determine the annotation deviation when the score rate reaches the preset probability value as the final annotation deviation.
9. An electronic device, characterized in that: It includes a processor and a memory, the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the data labeling assessment method described in any one of claims 1 to 7.
10. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the data labeling assessment method described in any one of claims 1 to 7.
