A data statistical analysis method based on data annotation

Through the attention graph neural network model, the efficiency and subjectivity problems of annotation quality assessment and personnel management are solved, comprehensive, quantitative, and adaptive annotation quality assessment and personnel performance statistics for different types of data are realized, and the management of annotation projects is improved. efficiency and accuracy.

CN118535615BActive Publication Date: 2024-10-29北京三五通联科技发展有限公司 +3
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410678684.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-10-29
Estimated Expiration
2044-05-29

AI Technical Summary

Technical Problem

Existing technologies have low efficiency, strong subjectivity, and limitations in different data types in terms of annotation quality assessment and personnel management, making it difficult to comprehensively, quantitatively, and adaptively assess the working status of annotators.

Method used

The attention graph neural network (AGNN) model is used to learn the importance weight of annotated samples through the attention mechanism, and the graph convolution network is used to model the structural relationship between samples to achieve end-to-end annotation quality prediction and design the performance of annotators. Statistical process, calculate various indicators and generate visual reports.

Benefits of technology

It significantly improves the accuracy of annotation quality assessment and the effectiveness of management. It can flexibly adapt to different types of annotation tasks, provide multi-angle, fine-grained performance evaluation and visual analysis, reduce manual sampling costs, and improve the execution efficiency of annotation projects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535615B_ABST
    Figure CN118535615B_ABST
Patent Text Reader

Abstract

This paper proposes a data annotation statistical method based on data annotation. The method is based on the attention graph neural network. First, a training set containing annotation samples, annotation results and quality truth values ​​is constructed. Then, the sample importance weights are learned through the attention mechanism. Then, the structural relationship between samples is modeled using the graph convolutional network. Finally, annotation quality prediction is achieved based on weighted graph representation. On this basis, the method designs a set of annotation personnel performance statistical processes, quantifies the work status of each personnel from the perspectives of workload, accuracy, completeness, speed, etc., and generates a visual performance analysis report to comprehensively evaluate the work performance of the annotation personnel and provide data support for optimizing the annotation process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data annotation, and in particular to a data statistical analysis method based on data annotation. Background Art

[0002] Data labeling is an important part of the field of artificial intelligence, and its quality directly affects the performance of the model. However, quantitative analysis of the work status of labelers has always been a challenge. Traditional labeling quality assessment methods are mainly based on manual sampling or crowdsourcing voting, but they are inefficient and highly subjective. In recent years, some scholars have tried to use machine learning technology to automatically evaluate the quality of labeling, such as the Bayesian method that integrates expert opinions and the method based on tensor decomposition. However, it has limitations such as strong dependence on the type of labeling data, limited generalization ability, and difficulty in targeting different types of data (including but not limited to text, voice, image, etc.). In terms of labeler management, existing strategies mainly focus on macro-level optimization, such as task allocation, remuneration adjustment, etc., and rarely consider quantitative analysis of work status. In general, existing research still needs to be strengthened in terms of labeling quality assessment and personnel management, and a comprehensive, quantitative, and adaptive data labeling statistical method is urgently needed. Summary of the invention

[0003] In view of the above technical problems, the present invention provides a data statistical analysis method based on data annotation. The method first uses the attention mechanism to learn the importance weights of the annotated samples, then models the structural relationship between the samples through the graph convolutional network, and finally realizes end-to-end annotation quality prediction based on the weighted graph representation. On this basis, a set of annotator performance statistical processes is designed, which can calculate the annotation quantity, quality, speed and other indicators of each person, and generate a visual statistical report. The present invention can comprehensively evaluate the working status of the annotators, improve the accuracy of quality assessment and the effectiveness of management.

[0004] A data statistical analysis method based on data annotation, characterized in that it comprises the following steps:

[0005] Step 1: Data preparation.

[0006] Building a training dataset in:

[0007] Represents N labeled samples, each sample x n It can be data in different forms such as images, text, and voice;

[0008] represents the corresponding annotation result, where is the label vector of the nth sample, element y n,k∈{0, 1} indicates whether the sample belongs to the kth category and satisfies K is the total number of categories;

[0009] Represents the true value of the annotation quality, where s n ∈[0, 1] represents sample x n The true value of the annotation quality can be obtained through manual evaluation.

[0010] In addition, let M be the number of annotated personnel, and the sample set annotated by the mth personnel is

[0011] Step 2: Model training.

[0012] Attention Graph Neural Network (AGNN) is used to model the annotation quality, such as Figure 2 As shown. AGNN mainly includes the following modules:

[0013] (1) Feature encoder: Use the pre-trained backbone network g(·; θ g ) extracts the semantic features of each labeled sample. For sample x n The d-dimensional feature vector of , then:

[0014]

[0015] where θ g is the parameter of the backbone network. Different types of data can correspond to different backbone networks. For image data, convolutional networks such as ResNet are commonly used; for text data, pre-trained language models such as BERT are commonly used.

[0016] (2) Attention layer: By learning the correlation between the labeled samples and the whole, the importance weight is adaptively assigned to each sample. The additive attention mechanism is used:

[0017]

[0018] in is the attention parameter. First, the d-dimensional feature is mapped to the d′-dimensional query vector u through linear transformation n , and then through the d′-dimensional attention vector v a The inner product of the correlation coefficient α is calculated n , and finally the attention weight α is obtained by softmax normalization n d′ controls the capacity of attention and is generally taken to be a value smaller than d, such as 128, 256, etc.

[0019] (3) Graph convolution layer: construct a fully connected undirected graph between labeled samples The node set represents the sample, the edge set ε represents the connection relationship between samples, and the adjacency matrix A represents the connection weight. ij represents the correlation between samples i and j, defined as the outer product of attention weights:

[0020]

[0021] In the figure Apply the graph convolution operation to update the representation of the node:

[0022] H (0) =XW (0) (6)

[0023]

[0024] in is the initial node feature matrix, i.e. the output of the attention layer is the augmented adjacency matrix, I N is the identity matrix. is the degree matrix. is the graph convolution parameter. σ(·) is the activation function, such as ReLU. is the node representation of the lth layer, and L is the total number of layers. Formula (7) normalizes the adjacency matrix by aggregation , update the node representation.

[0025] (4) Fully connected layer: The output H of the graph convolution (L) Mapped to predicted quality score through a fully connected layer:

[0026]

[0027] in are the output layer parameters. To predict the quality score, for each labeled sample, the activation function σ(·) uses the sigmoid function to compress the output to the (0, 1) interval.

[0028] When training the model, the true quality s is used as the supervision signal to minimize the predicted score Cross entropy loss with the true value:

[0029]

[0030] Where θ is all the parameters of AGNN, including the backbone network parameter θ g , attention parameter W q , b q , v a , graph convolution parameters W (0) , …, W (L-1) and the output layer parameters W o , bo . Update the parameters using gradient descent:

[0031]

[0032] Where η is the learning rate. The Adam adaptive optimization algorithm is used, and L2 regularization and early stopping are used to prevent overfitting.

[0033] Step 3: Annotation quality assessment.

[0034] Using the trained AGNN model, predict the quality score of the new labeled sample x:

[0035]

[0036] where f(·;θ) represents the forward computation of the entire AGNN.

[0037] For a given test set The following indicators can be used to evaluate the quality of prediction Accuracy:

[0038] Average accuracy:

[0039] Root Mean Square Error:

[0040] Pearson correlation coefficient: Where N test is the test set size, are the predicted score and true value of the nth test sample, respectively. is the mean of the predicted score and the true value. ACC measures the consistency between the predicted value and the true value, RMSE measures the deviation between the predicted value and the true value, and PCC∈[-1, 1] measures the correlation between the predicted value and the true value. The closer it is to 1, the stronger the positive correlation.

[0041] At the same time, some test samples were manually rechecked to qualitatively analyze the degree of consistency between the prediction quality and manual judgment to further verify the effectiveness of AGNN.

[0042] Step 4: Label personnel performance statistics.

[0043] Using the annotation quality score predicted by AGNN, the working status of each annotator is quantified from the following perspectives: Figure 3 As shown:

[0044] (1) Workload: The number of samples that can be labeled by the mth person We can also introduce sample difficulty weighting to calculate the weighted workload:

[0045]

[0046] Where w(x) is the difficulty weight of sample x. It can be set as a complexity function of the sample, such as the resolution of the image, the length of the text, etc.

[0047] (2) Work quality: mainly examines the accuracy and completeness of the annotation results. Accuracy can be measured by the average prediction quality score:

[0048]

[0049] in is the predicted quality score of sample x. m The larger ∈[0, 1] is, the more accurate the labeling of the m-th person is.

[0050] The completeness can be measured by the average F1 value of the category. First calculate the completeness of the annotation for each category k:

[0051]

[0052] in The k-th sample set labeled by the m-th person. m,k It reflects the completeness of the annotation of the k-th sample by the person. Then calculate the average completeness rate of the category:

[0053]

[0054] (3) Work efficiency: This can be measured by the amount of annotation completed per unit time, i.e., the average annotation speed:

[0055]

[0056] Where T m is the total working time of the mth person. m The larger it is, the more efficient the person is.

[0057] Based on the calculation of the above indicators, the comprehensive performance score of the mth person can be obtained:

[0058]

[0059] where w Q , w P , w R , w V ≥0 is the weight coefficient of each indicator, satisfying w Q +w P +w R +w V = 1. The weight can be adjusted according to the focus of the specific task. For example, tasks that focus more on quality can increase w P and wR The weight of S m The larger ∈[0, 1] is, the better the overall performance of the mth person is.

[0060] In addition to weighted summation, other multi-criteria decision-making methods can also be used to rank performance, such as the TOPSIS method. These methods calculate the relative proximity of each person to the ideal optimal solution and the worst solution to obtain a comprehensive score and ranking.

[0061] Step 5: Visualize performance.

[0062] In order to intuitively display the work performance of each labeler, it is necessary to generate rich visualization results to facilitate managers to conduct comparative analysis. The main visualization forms include but are not limited to:

[0063] Bar charts of various indicators: With personnel as the horizontal axis, draw bar charts of indicators such as workload, accuracy, completeness, speed, etc. to facilitate vertical comparison of the performance of different personnel.

[0064] Comprehensive performance ranking chart: According to the comprehensive score S m Sort all personnel and draw ranking histograms or bar charts to visually present the relative performance level of each person.

[0065] Radar chart by indicators: Map the indicator values ​​of each person to different axes and draw a radar chart. The larger the area, the better the overall performance of the person, and it is easy to find their strengths and weaknesses.

[0066] Performance distribution chart: Draw a histogram of various indicators to show the overall performance distribution of all personnel. You can also use a scatter plot to show the correlation between different indicators, such as a "workload-accuracy" scatter plot.

[0067] Personal performance report: Customize performance reports for each person, summarize their scores for various indicators, comprehensive score rankings, and the gap with outstanding personnel, etc., and present them in the form of pie charts, radar charts, etc. to help them identify their own shortcomings and improve their working methods.

[0068] In addition to the conventional visualization methods mentioned above, you can also design personalized visualization charts based on the characteristics of specific labeling tasks, such as quality distribution charts of samples of different difficulty levels, time series curve charts of labeling progress, etc., to provide more professional and detailed decision-making references for project management.

[0069] The present invention also provides a data statistical analysis system based on data annotation, including a data preparation module, a model training module, a quality assessment module, a performance statistics module and a visualization module.

[0070] (1) Data preparation module: used to receive and preprocess the original labeled data and build the training data set It is also responsible for data cleaning, format conversion, data enhancement, etc.

[0071] (2) Model training module: used to build and train the attention graph neural network model. It mainly includes feature encoder, attention layer, graph convolution layer and fully connected output layer. The cross entropy loss is minimized by stochastic gradient descent algorithm. To optimize the model parameters θ.

[0072] (3) Quality assessment module: used to use the trained AGNN model to predict the quality of the new labeled sample x and output the prediction score It supports the prediction of single samples and batch samples, and provides evaluation indicators such as accuracy, root mean square error, and correlation coefficient.

[0073] (4) Performance statistics module: used to calculate the performance of workload Q based on the quality evaluation results. m , accuracy P m , completeness rate Speed ​​V m Quantify the working status of each labeler m from the same angle, and finally get the comprehensive performance score S m . Supports custom performance indicator weights and selection of multiple indicator sorting methods.

[0074] (5) Visualization module: used to generate a variety of performance analysis charts for annotation personnel, including general visualizations such as bar charts, radar charts, and scatter plots, as well as personalized visualizations designed for specific annotation tasks. It supports interactive operations, dynamically adjusts indicator weights, and filters personnel ranges, making it easier for managers to deeply analyze and optimize the work performance of the annotation team.

[0075] The data annotation statistical method and system of the present invention can significantly improve the accuracy of annotation quality assessment, comprehensively quantify the working status of annotation personnel, and provide an important basis for optimizing the annotation process and strengthening personnel management. The main advantages include:

[0076] (1) The use of attention mechanism and graph neural network can flexibly model labeling tasks of different types and scales, overcome the limitations of traditional methods, and have stronger generalization ability.

[0077] (2) A set of multi-angle and fine-grained personnel performance indicators is proposed, and comprehensive evaluation methods such as weighted summation and TOPSIS are designed to comprehensively evaluate the work performance of each person and identify outstanding talents and potential problems.

[0078] (3) Provides a variety of visualization tools, including general and personalized charts, so that managers can intuitively analyze the strengths and weaknesses of individuals and teams, and take targeted rewards and punishments and improvement measures accordingly to achieve refined management.

[0079] (4) Data-driven automation methods can significantly reduce the cost of manual sampling and review, improve the execution efficiency of annotation projects, and shorten the delivery cycle of annotation data.

[0080] (5) By continuously accumulating and analyzing the work data of labelers, a more accurate personal portrait and capability model can be established, laying the foundation for intelligent management decisions such as task allocation, process optimization, and incentive mechanisms.

[0081] In summary, the annotation quality assessment and personnel performance statistics method based on attention graph neural network proposed in the present invention can overcome the shortcomings of traditional methods and achieve more comprehensive, accurate and efficient data annotation project management. This invention has practical value in improving the quality and efficiency of artificial intelligence data production and promoting the development of the data annotation industry. BRIEF DESCRIPTION OF THE DRAWINGS

[0082] Figure 1 It is a flow chart of the data annotation statistical method of the present invention.

[0083] Figure 2 It is a schematic diagram of the structure of the attention graph neural network of the present invention.

[0084] Figure 3 It is a schematic diagram of the performance indicators of the labeling personnel of the present invention. DETAILED DESCRIPTION

[0085] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. 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.

[0086] Example 1

[0087] like Figure 1 As shown, this embodiment provides a data statistical analysis method based on data annotation, comprising the following steps:

[0088] Step S1: Data preparation.

[0089] Constructing image classification annotation dataset Among them, the sample It is an RGB image with a size of 224×224. is a K = 10-dimensional one-hot vector, indicating one of the 10 categories to which the image belongs. Quality score It was independently evaluated by three human experts, and the average value was taken and normalized to the interval [0, 1] as the true value.

[0090] A total of 50,000 images were collected and 20 annotators completed the annotation task, with each person annotating 2,500 images on average. 2,000 images were selected for manual quality assessment. The dataset was randomly divided into training set, validation set, and test set in a ratio of 8:1:1.

[0091] Step S2: Model training.

[0092] According to the type of representation data, ResNet-50 is automatically used as the backbone network, pre-trained on the ImageNet dataset, and 2048-dimensional feature h is extracted.

[0093] The attention layer maps h to a 512-dimensional query vector u, and then calculates the sample's attention weight α using equation (3-4). The learning rate η1 = 0.001.

[0094] The number of graph convolution layers is L = 3, each layer is 512-dimensional, the learning rate η2 = 0.005, and the ReLU activation function is used.

[0095] The output layer takes the output H of the last layer of graph convolution (3) Mapping to prediction score The learning rate η3 = 0.001 and the sigmoid function is used for activation.

[0096] Minimize the cross entropy loss using the Adam optimizer The batch size is 128, and the training is performed for 100 epochs. Each epoch is evaluated on the validation set, and the weight is stopped early if it does not decrease for 10 consecutive times. The weight decay coefficient λ = 0.001.

[0097] Step S3: Annotation quality assessment.

[0098] In addition, test samples were randomly selected for re-examination by annotators, and the manual evaluation results were compared with the AGNN prediction results.

[0099] Step S4: Labeling personnel performance statistics.

[0100] Using the sample quality scores predicted by AGNN, we can calculate the workload Q of the annotation staff. m , average accuracy P m , Category Average Completeness Average marking speed V m (sheets / hour)

[0101] On this basis, the TOPSIS method is used to calculate the relative closeness of each person to the ideal optimal solution, and the comprehensive performance score S is obtained. m , and sort from high to low.

[0102] The setting of weight w has a certain impact on the results. Through cross-validation, it is found that when w Q=0.1, w P =0.4, w R =0.3, w V =0.2, the comprehensive score has the highest correlation with manual evaluation and can be used as the recommendation weight. Different projects can be adjusted according to actual needs.

[0103] Step S5: Performance visualization.

[0104] Generate performance analysis reports for labelers. Mainly include:

[0105] (1) Workload bar chart: visually compare the number of samples marked by different personnel.

[0106] (2) Comprehensive performance ranking chart: According to the performance score S m Arrange from high to low to quickly identify the best and worst performers, making it easier for managers to make rewards and punishment decisions.

[0107] (3) Personnel strengths and weaknesses radar chart: displays each person’s score on different performance indicators.

[0108] (4) Performance correlation scatter plot: Analyze the correlation between different performance indicators.

[0109] (5) Personal performance report: This includes the original scores of each indicator, the percentage of the individual’s ranking among all people, the gap with the top three, etc., to help the individual fully understand his or her strengths and weaknesses and identify the direction for improvement.

[0110] Example 2

[0111] This embodiment applies the proposed method to a speech recognition annotation project, and the main steps are as follows:

[0112] S1: Construct a speech recognition annotation dataset. Speech segments, 3 to 15 seconds long. Annotators transcribe speech into text. Speech samples are manually scored for quality (0 to 5 points). Calculate the true value of the annotation quality s∈[0, 1].

[0113] S2: Build the AGNN model. According to the type of labeled data, WavLM-Large is automatically used as the acoustic feature extractor to output a 1024-dimensional feature vector h. The query vector u has a dimension of 256. The number of graph convolution layers is L=4, and the hidden layer dimensions are all 256. Minimize the weighted cross entropy loss:

[0114]

[0115] The weight Indicates the number of times sample x is labeled n x The reciprocal square root of is used to balance the head and long-tail samples.

[0116] S3: Evaluate the annotation quality on the test set. Calculate the accuracy, root mean square error, Kendall rank correlation coefficient and other indicators. The results show that AGNN is significantly better than traditional methods, and the correlation between the prediction score and the manual judgment is very high. It slightly decreases in noisy and long speech, but the overall performance is stable.

[0117] S4: Statistical labeling performance. Introducing speech recognition word error rate (CER) m As new quality indicators to measure the accuracy of speech transcription:

[0118]

[0119] in To sample the voice, and x are the annotated text and the real text respectively, and the edit distance describes the difference between them. x | is the actual text length. CER m The smaller ∈[0, 1] is, the higher the transcription quality of the mth person is.

[0120] Finally, the weighted summation method is used to obtain the comprehensive performance score S m :

[0121]

[0122] The experience weight is w Q =0.15, w P =0.25, w R =0.2, w V =0.15, w C =0.25.

[0123] S5: Generate performance report. Focus on statistical information specific to speech tasks, such as quality distribution under different annotation time, distribution of annotators’ working hours, and in-depth analysis of factors affecting annotation quality.

[0124] Example 3

[0125] This embodiment applies the proposed method to a video target tracking and annotation project, and the main steps are as follows:

[0126] S1: Construct a video target tracking and annotation dataset. Collect video clips, randomly select 50 frames from each video for annotation, and have the annotator select the designated target (vehicle, pedestrian, etc.). The administrator randomly checks the video for manual verification and assesses the frame-by-frame quality score s∈[0,1].

[0127] S2: Build the AGNN model. According to the type of labeled data, SwinTrack is automatically used as the visual feature extractor to output 1536-dimensional features h. Graph convolution is performed at the video level, that is, the adjacency matrix A reflects the correlation between videos:

[0128]

[0129] Where i, j represent videos, N i , N j is the corresponding number of labeled frames, is the attention weight of the corresponding frame.

[0130] Minimize the joint loss function:

[0131]

[0132] is the cross entropy loss of quality score, It is the IoU regression loss of the annotation box and the true value box, which is used to improve the box selection accuracy.

[0133] S3: Evaluate the annotation quality on the test set. Indicators include accuracy, average IoU, etc. It is observed that the quality of annotations varies greatly among different annotators, and the quality of some annotators gradually decreases over time, which may be caused by fatigue.

[0134] S4: Statistics on the performance of the labelers. Two indicators, average IoU and tracking success rate, are introduced:

[0135]

[0136] in Video labeled for the mth person, are the predicted box and true box of the nth frame of the i-th video. IoU m Describes the accuracy of the annotation box.

[0137]

[0138] in Represents the set of frames in video i whose IoU is greater than the threshold δ. If the number of elements in the set exceeds the total number of frames N i If the ratio η of SR m Characterizes the continuous stability of annotation.

[0139] S5: Generate performance report. Provide frame-by-frame annotation quality change curve, focus on the moment of sudden quality change, and analyze the cause; visualize the tracking process of excellent personnel as a demonstration case; summarize the situations that are prone to errors in different scenarios, and improve the annotation specifications and processes in a targeted manner.

[0140] The above embodiments show that the data annotation statistical method and system of the present invention can be applied to various types of annotation projects, and customized statistical analysis of different scenarios can be achieved by flexibly replacing modules such as backbone networks, loss functions, and evaluation indicators. By making full use of the powerful modeling capabilities of the attention mechanism and graph neural network, the annotation process can be fully mined from the two dimensions of data and people, which can not only accurately evaluate the annotation quality, reveal influencing factors, and optimize the annotation scheme; it can also fine-grainedly characterize the working status of the annotation personnel, discover problems in time, and improve team performance. This invention provides an effective technical means to improve the quality and efficiency of data annotation.

Claims

1. A data statistical analysis method based on data annotation, characterized in that: The following steps are involved: Step S1: Construct a training dataset containing labeled samples, labeled results, and quality truth values Step S2: Building an attention graph neural network model, including the attention graph neural network model including: Feature encoder, using the pre-trained backbone network g(x;θ g ) Extract the semantic features of sample x Attention layer, which calculates the importance weight of samples through additive attention mechanism in Graph convolution layer, building a fully connected graph between samples Adjacency Matrix A ij =α i α j , through graph convolution Update node representation; Fully connected layer, the graph convolution output H (L) Mapping to prediction score By minimizing the cross entropy loss Train the model parameters θ to obtain the annotation quality prediction function f(x;θ), and the loss function is the cross entropy between the predicted score and the true value: Using gradient descent Update model parameters θ; Step S3: Use the trained model to predict the quality of the new sample x and output the annotation quality score And evaluate the prediction performance, the evaluation indicators of the prediction performance include: Average accuracy Root mean square error Pearson correlation coefficient Step S4: Based on the predicted annotation quality, the performance indicators of each annotation staff are counted from the workload Q, accuracy P, completeness R, and speed V, and a comprehensive score ranking is performed. The performance indicators of the annotation staff include: Workload Where w(x) is the sample difficulty weight; Average accuracy Completeness of annotation in Marking speed Where T m is the total working time; the weighted summation method is used to obtain the comprehensive performance score of the mth person: where w Q , w P , w R , w V is the weight of each indicator; Step S5: Generate a visual report of the performance of the annotated personnel, including a bar chart, a radar chart, and a scatter plot, to display and compare each person's work performance from multiple angles.

2. The method according to claim 1, characterized in that The method automatically selects different backbone networks according to different annotated data types.

3. The method according to claim 2, characterized in that The automatic selection of different backbone networks is specifically as follows: if the labeled data type is image, ResNet-50 is automatically used as the backbone network, pre-trained on the ImageNet dataset, 2048-dimensional feature h is extracted, the attention layer maps h to a 512-dimensional query vector u, and then the attention weight α of the sample is calculated, the learning rate η1=0.001, the number of graph convolution layers L=3, each layer is 512-dimensional, the learning rate η2=0.005, the ReLU activation function is used, and the output layer maps the output H of the last layer of graph convolution (3) Mapping to prediction score The learning rate η3 = 0.001, activated with the sigmoid function, and the Adam optimizer was used to minimize the cross entropy loss. The batch size is 128, and the training is performed for 100 epochs. Each epoch is evaluated on the validation set. If the weight does not decrease for 10 consecutive times, it is stopped early. The weight decay coefficient is in = 0.

001. If the labeled data type is speech, WavLM-Large is automatically used as the acoustic feature extractor, outputting a 1024-dimensional feature vector h, the query vector u dimension is 256, the number of graph convolution layers L = 4, the hidden layer dimensions are all 256, and the weighted cross entropy loss is minimized: The weight Indicates the number of times sample x is labeled n x The reciprocal square root of is used to balance the head and long-tail samples. If the labeled data type is video, SwinTrack is automatically used as the visual feature extractor to output 1536-dimensional features h. The graph convolution is performed at the video level, that is, the adjacency matrix A reflects the correlation between videos: Where i, j represent videos, N i , N j is the corresponding number of labeled frames, For the attention weight of the corresponding frame, minimize the joint loss function: is the cross entropy loss of quality score, It is the IoU regression loss of the annotation box and the true value box, which is used to improve the box selection accuracy.

4. The method according to claim 3, characterized in that If the annotated data type is speech, the speech recognition error rate (CER) is introduced to count the performance of the annotator. m As new quality indicators to measure the accuracy of speech transcription: in To sample the voice, and x are the annotated text and the real text respectively, and the edit distance describes the difference between them. x | is the actual text length, CER m The smaller ∈[0, 1] is, the higher the transcription quality of the mth person is. Finally, the weighted summation method is used to obtain the comprehensive performance score S m :

5. The method according to claim 3, characterized in that: If the annotated data type is video, the performance of the annotator is statistically analyzed by introducing two indicators: average IoU and tracking success rate: in Video labeled for the mth person, b i,n The predicted box and the true value box of the nth frame of the i-th video are respectively, IoU m Describes the accuracy of the annotation box. in Represents the set of frames in video i whose IoU is greater than the threshold δ. If the number of elements in the set exceeds the total number of frames N i If the ratio η of m Characterizes the continuous stability of annotation.

Citation Information

Patent Citations

  • Target object prediction method and device

    CN113988961A

  • Performance evaluation method and system based on graph convolutional neural network

    CN116109195A