A small sample data labeling model pre-training method and system
Patent Information
- Application Number
- CN202610756064.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-29
- Publication Date
- 2026-08-21
- Estimated Expiration
- 2046-05-29
AI Technical Summary
[0003]现有技术中,数据标注模型通常依赖大量高质量的人为标注数据进行监督训练,只有在具备充足样本数量和准确标签信息的条件下,模型才能学习到稳定的类别特征和定位能力,但是在许多实际应用场景中,尤其是工业检测、医疗影像分析、专用设备监测等专业领域,获取大规模高质量标注数据往往成本较高,一方面,原始数据虽然可以大量获取,但绝大多数数据并不附带类别标签和位置标签,另一方面,人工标注过程通常需要具备专业知识的操作人员参与,标注周期长、成本高且效率有限,导致实际可用于监督训练的标注数据往往仅为少量样本,在此情况下,若直接采用少量人为标注数据对数据标注模型进行训练,容易出现模型特征学习不充分、收敛缓慢、过拟合严重以及泛化能力较差等问题,难以满足实际应用中对于标注精度和稳定性的要求
本发明通过利用任务领域内的大量无标注数据对数据标注模型进行通用特征学习,使模型预先获得与目标场景相关的基础表征能力,再基于少量人为标注数据对模型进行特定任务适配,使模型在小样本条件下建立对目标类别和位置信息的有效识别能力,进而实现以较少人工标注样本完成模型初始化训练的目的,从而能够降低对大规模人工标注数据的依赖,并提高模型在小样本场景下的训练效率和初始标注性能;在此基础上,通过对待标注数据生成伪标签并选取高置信度样本参与训练集重构,持续执行模型迭代更新,同时对低置信度样本引入人工修正反馈,使模型在自动扩充训练样本的同时不断吸收真实监督信息,从而能够提高未标注数据的利用率,减少人工参与成本,并增强模型在实际应用过程中的持续优化能力;进一步地,在模型更新的全生命周期内,对各轮次伪标注数据进行跨轮次监测,结合可信标注样本构建参数更新参考方向,并分析伪标注样本参数影响方向的偏离及其波动情况,以识别在早期迭代中具有表面高置信度但后续表现不稳定的异常伪标注数据,从而能够避免仅依据单轮置信度筛选伪标签所带来的误判问题,提高异常伪标注识别的准确性和鲁棒性;在识别异常伪标注数据后,进一步分析其对其他伪标注数据的传播影响关系,确定受其影响的关联伪标注数据,并将异常伪标注数据及其关联伪标注数据从训练集中剔除,同时对模型参数中与该类异常扰动相关的更新成分进行削弱或校正,从而不仅能够从训练数据层面阻断异常伪标注的持续混入,还能够从模型参数层面消减已形成的错误影响,防止偏差在后续训练中不断累积和放大,在小样本数据标注任务中同时实现低成本训练、高效模型构建、稳定迭代更新以及异常传播控制,最终提高数据标注模型的收敛稳定性、标注准确率和泛化能力。
Smart Images

Figure CN122286317B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of deep learning technology, specifically to a method and system for pre-training a small sample data labeled model. Background Technology
[0002] With the continuous development of artificial intelligence and computer vision technologies, the automatic annotation of images, videos, or industrial inspection data using data annotation models has become an important technical means to improve data processing efficiency and reduce manual annotation costs. Especially in application scenarios such as defect detection, target recognition, and scene understanding, data annotation models can automatically output annotation results such as target category, location coordinates, and confidence level, providing basic data support for subsequent model training, quality inspection, and intelligent decision-making. For example, in the scenario of circuit board defect detection, data annotation models can automatically identify and annotate the defect types and their locations in PCB images, thereby reducing the workload of manual labeling and improving detection efficiency and consistency. Therefore, how to build data annotation models suitable for specific scenarios has become a technical issue of continuous concern in this field.
[0003] In existing technologies, data annotation models typically rely on a large amount of high-quality manually labeled data for supervised training. Only with sufficient sample size and accurate label information can the model learn stable category features and localization capabilities. However, in many practical applications, especially in professional fields such as industrial inspection, medical image analysis, and special equipment monitoring, obtaining large-scale high-quality labeled data is often costly. On the one hand, although a large amount of raw data can be obtained, most of it does not come with category and location labels. On the other hand, the manual annotation process usually requires the participation of operators with professional knowledge, which is time-consuming, costly, and inefficient. As a result, the labeled data that can actually be used for supervised training is often only a small number of samples. In this case, if a small amount of manually labeled data is used directly to train the data annotation model, problems such as insufficient model feature learning, slow convergence, severe overfitting, and poor generalization ability are likely to occur, making it difficult to meet the requirements for annotation accuracy and stability in practical applications. Summary of the Invention
[0004] This invention utilizes a large amount of unlabeled data within the task domain to perform general feature learning on a data labeling model, enabling the model to pre-acquire basic representation capabilities related to the target scene. Then, based on a small amount of manually labeled data, the model is adapted for a specific task, allowing it to establish effective recognition capabilities for target category and location information under small sample conditions. This achieves the goal of completing model initialization training with fewer manually labeled samples, thereby reducing reliance on large-scale manually labeled data and improving training efficiency and initial labeling performance in small sample scenarios. Furthermore, by generating pseudo-labels for the unlabeled data and selecting high-confidence samples for training set reconstruction, continuous model iteration and updates are performed. Simultaneously, manual correction feedback is introduced for low-confidence samples, allowing the model to automatically expand training samples while continuously absorbing real-world supervision information. This improves the utilization rate of unlabeled data, reduces manual intervention costs, and enhances the model's continuous optimization capabilities in practical applications. Further, throughout the entire model update lifecycle, cross-round monitoring of pseudo-labeled data from each round is conducted, combined with trusted benchmarks... This study uses a method to update the reference direction of sample construction parameters and analyzes the deviation and fluctuation of the influence direction of pseudo-labeled sample parameters. This helps identify anomalous pseudo-labeled data that appears to have high confidence in the early iterations but exhibits unstable performance later. This avoids misjudgment caused by relying solely on a single round of confidence to screen pseudo-labels, improving the accuracy and robustness of anomalous pseudo-label identification. After identifying anomalous pseudo-labeled data, the study further analyzes its propagation influence on other pseudo-labeled data, identifies the associated pseudo-labeled data affected by it, and removes the anomalous pseudo-labeled data and its associated pseudo-labeled data from the training set. At the same time, the update components in the model parameters related to this type of anomalous perturbation are weakened or corrected. This not only blocks the continuous infiltration of anomalous pseudo-labels at the training data level but also reduces the influence of existing errors at the model parameter level, preventing the bias from accumulating and amplifying in subsequent training. In small sample data labeling tasks, this approach simultaneously achieves low-cost training, efficient model construction, stable iterative updates, and anomalous propagation control, ultimately improving the convergence stability, labeling accuracy, and generalization ability of the data labeling model.
[0005] This invention provides a method for pre-training a small sample data labeled model, comprising: The data annotation model is then subjected to general training and adaptive training in sequence to obtain a specific data annotation model; The general training specifically includes: acquiring unlabeled data, forming a general training set from the unlabeled data, specifically PCB images, constructing augmented unlabeled data corresponding to each unlabeled data in the general training set through image augmentation, feeding the augmented unlabeled data into a data labeling model for processing to obtain the output features corresponding to the augmented unlabeled data, taking the output features of any two augmented unlabeled data corresponding to the same unlabeled data as a positive sample pair, taking the output features of any two augmented unlabeled data corresponding to the same unlabeled data as a negative sample pair, constructing a contrastive loss based on the positive and negative sample pairs, and then performing backpropagation of gradient descent based on the contrastive loss to iteratively update the parameters in the data labeling model until the rate of decrease of the contrastive loss converges in the most recent several rounds, and using the trained data labeling model as a general feature encoder; The adaptive training specifically includes: acquiring human-annotated data, each of which is associated with a corresponding human-annotated label, which includes the defect category of the PCB image and the corresponding location label; forming a specific training set from all the human-annotated data; using the human-annotated data in the specific training set as the input of a general feature encoder; using the human-annotated labels associated with the human-annotated data as the target output of the general feature encoder; constructing a loss value based on the difference between the predicted output and the target output of the general feature encoder; minimizing the direction of the loss value; and then performing backpropagation of gradient descent based on the loss value to iteratively update all parameters of the general feature encoder until the accuracy of the general feature encoder is higher than a preset accuracy threshold; and outputting the trained general feature encoder as a specific data annotation model. All unlabeled data are processed by a specific data labeling model, and the pseudo-label and corresponding confidence score of each unlabeled data are output. The unlabeled data corresponding to the K pseudo-labels with the highest confidence scores are recorded as pseudo-labeled data. The pseudo-labeled data are added to a specific training set to complete the reconstruction of the specific training set. The parameters of the specific data labeling model are adjusted by using the reconstructed specific training set. The data annotation task is performed using a specific data annotation model. Based on manually labeled data, data to be corrected is constructed. The specific data annotation model is then trained on a specific training set with the data to be corrected. This process is repeated iteratively, reconstructing the specific training set and updating the specific data annotation model, until the iteration conditions are met. This achieves real-time updates to the specific data annotation model, resulting in the updated model. Each time the specific data annotation model completes a real-time update, the data annotation task is re-executed using the specific data annotation model. This process continues until no more data to be corrected is generated, completing the data annotation task. The update or real-time update of a specific data labeling model is regarded as an iteration round of the entire life cycle. All constructed pseudo-labeled data are monitored across rounds to identify abnormal pseudo-labeled data. For each abnormal pseudo-labeled data identified, a propagation domain analysis is performed based on the abnormal pseudo-labeled data to determine the associated influential pseudo-labeled data. The abnormal pseudo-labeled data and all influential pseudo-labeled data are then removed from the specific training set, and parameter adjustment operations are performed on the specific data labeling model based on the abnormal pseudo-labeled data and all influential pseudo-labeled data.
[0006] Preferably, constructing the labeled data to be corrected based on manual annotations specifically includes the following steps: The data annotation task is performed through a data annotation model. Specifically, the data to be annotated is fed into a pre-trained data annotation model for processing, and the annotation labels and corresponding confidence scores of the data to be annotated are output. The data to be annotated with confidence scores lower than the confidence threshold output during the execution of the data annotation task are combined into data to be corrected, and human-made annotation labels corresponding to the data to be corrected are continuously obtained.
[0007] Preferably, monitoring is performed across all constructed pseudo-labeled data to identify anomalous pseudo-labeled data, specifically including the following steps: In each iteration, all manually labeled data and all data to be corrected are combined to form a parameter update main direction analysis dataset. The update main direction analysis dataset includes the updated main direction analysis data, which is associated with the manually labeled data. The updated main direction analysis data is fed into the updated specific data labeling model for processing. The main direction loss value is constructed based on the difference between the manually labeled data and the prediction output of the updated specific data labeling model. The gradient value of the key layer parameters is calculated based on the main direction loss value and recorded as the main direction influence parameter direction value. All main direction influence parameter direction values are combined to form a local main direction influence parameter direction vector. The local main direction influence parameter direction vector is normalized. The normalization operation is to divide the local main direction influence parameter direction vector by the L2 norm of the local main direction influence parameter direction vector. The average value of the normalized output of the local main direction influence parameter direction vectors corresponding to all updated main direction analysis data in the updated main direction analysis dataset is calculated to obtain the main direction influence parameter direction vector. In each iteration, the pseudo-labeled data is simultaneously traversed. The selected pseudo-labeled data is fed into the updated specific data labeling model for processing. An analysis loss value is constructed based on the difference between the pseudo-labels and the prediction output of the updated specific data labeling model. The gradient values of the key layer parameters are calculated based on the analysis loss value and denoted as the pseudo-labeling influence parameter direction values. The pseudo-labeling influence parameter direction values corresponding to all key layer parameters are concatenated and normalized to obtain the pseudo-labeling influence parameter direction vector. The similarity between the pseudo-labeling influence parameter direction vector and the main direction influence parameter direction vector is calculated and denoted as the main direction deviation value corresponding to the selected pseudo-labeled data. The standard deviation of the main direction deviation value of the selected pseudo-labeled data in the current iteration and the main direction deviation values in the previous m iterations is calculated and denoted as the main direction deviation fluctuation amplitude. If the main direction deviation fluctuation amplitude is higher than the deviation fluctuation threshold, the selected pseudo-labeled data is regarded as abnormal pseudo-labeled data, and a propagation domain analysis is performed based on the abnormal pseudo-labeled data to determine the influence pseudo-labeled data associated with the abnormal pseudo-labeled data. If the main direction deviation fluctuation amplitude is not higher than the deviation fluctuation threshold, the pseudo-labeled data continues to be traversed.
[0008] Preferably, propagation domain analysis is performed based on the anomalous pseudo-labeled data to determine the influencing pseudo-labeled data associated with the anomalous pseudo-labeled data, specifically including the following steps: The pseudo-labeling influence parameter direction vector of the abnormal pseudo-labeled data in the current round is concatenated with the pseudo-labeling influence parameter direction vectors corresponding to the previous m iteration rounds to form the pseudo-labeling influence parameter direction matrix. The number of rows in the pseudo-labeling influence parameter direction matrix is the number of iteration rounds, and the number of columns is the number of key layer parameters. Singular value decomposition is performed on the pseudo-labeling influence parameter direction matrix to obtain the left singular matrix, singular values, and right singular matrix. The right singular matrix is denoted as the parameter influence subspace. Starting with the anomalous pseudo-labeled data, iterate through the pseudo-labeled data, calculate the pseudo-labeling influence parameter direction vector corresponding to the selected pseudo-labeled data, and project the pseudo-labeling influence parameter direction vector onto the parameter influence subspace to obtain the projection vector. Specifically, the projection method is to perform a product operation on the parameter influence subspace, the transpose of the parameter influence subspace, and the pseudo-labeling influence parameter direction vector to obtain the projection vector. The ratio of the square norm of the projection vector to the square norm of the pseudo-labeling influence parameter direction vector is recorded as the sensitivity corresponding to the selected pseudo-labeled data. If the sensitivity is higher than the sensitivity threshold, the selected pseudo-labeled data is recorded as the influence pseudo-labeled data associated with the anomalous pseudo-labeled data. If the sensitivity is not higher than the sensitivity threshold, continue to traverse the pseudo-labeled data.
[0009] Preferably, the parameter adjustment operation for a specific data annotation model is performed based on the abnormal pseudo-labeled data and all data affecting the pseudo-labeled data, specifically including the following steps: The weighted summation operation is performed on the abnormal pseudo-labeled data and the direction vectors of the pseudo-labeling influence parameters corresponding to all the pseudo-labeled data to obtain the main perturbation parameter vector. The adjustment amount of the specific data labeling model on the key layer parameters in the current iteration is obtained, the model update vector is constructed, and the transpose of the main perturbation parameter vector, the model update vector and the main perturbation parameter vector are multiplied together to obtain the main perturbation component. The direction of minimizing the main perturbation component is used to perform backpropagation of gradient descent to perform parameter adjustment operation on the specific data labeling model.
[0010] This invention provides a small sample data annotation model pre-training system, comprising: The general training module is used to acquire several sets of unlabeled data and combine them into a general training set. The data labeling model is then trained using the general training set to obtain a general feature encoder. The adaptation training module is used to acquire several sets of manually labeled data. Each set of manually labeled data is associated with a corresponding manually labeled label. All the manually labeled data are combined into a specific training set. The general feature encoder is then adapted and trained using the specific training set to obtain a specific data labeling model. The pseudo-label augmentation training module is used to process all unlabeled data through a specific data labeling model, output the pseudo-label and corresponding confidence score for each unlabeled data, and record the unlabeled data corresponding to the K pseudo-labels with the highest confidence scores as pseudo-labeled data. The pseudo-labeled data is then added to a specific training set to complete the reconstruction of the specific training set. The parameters of the specific data labeling model are adjusted using the reconstructed specific training set to complete the update of the specific data labeling model. The pseudo-label adjustment module is used to treat the completion or real-time update of a specific data labeling model as an iteration round of the entire life cycle. It monitors all constructed pseudo-labeled data across rounds, identifies abnormal pseudo-labeled data, and performs propagation domain analysis on each abnormal pseudo-labeled data to determine the associated influencing pseudo-labeled data. The abnormal pseudo-labeled data and all influencing pseudo-labeled data are then removed from the specific training set. Finally, parameter adjustment operations are performed on the specific data labeling model based on the abnormal pseudo-labeled data and all influencing pseudo-labeled data to reduce the impact of these labeled data on the specific data labeling model. The human annotation module is used to perform data annotation tasks through a specific data annotation model. Specifically, the data annotation task involves feeding the data to be annotated into the specific data annotation model for processing, outputting the annotation labels and corresponding confidence scores of the data to be annotated, and forming the annotated data to be corrected by including the annotated data with confidence scores lower than the confidence threshold during the execution of the data annotation task, continuously obtaining the human annotation labels corresponding to the annotated data to be corrected, and adding all the annotated data to be corrected that are associated with human annotation labels to a specific training set. The data annotation module is used to complete the data annotation task until no more data to be corrected is generated.
[0011] The present invention has the following advantages: This invention utilizes a large amount of unlabeled data within the task domain to perform general feature learning on a data labeling model, enabling the model to pre-acquire basic representation capabilities related to the target scene. Then, based on a small amount of manually labeled data, the model is adapted for a specific task, allowing it to establish effective recognition capabilities for target category and location information under small sample conditions. This achieves the goal of completing model initialization training with fewer manually labeled samples, thereby reducing reliance on large-scale manually labeled data and improving training efficiency and initial labeling performance in small sample scenarios. Furthermore, by generating pseudo-labels for the unlabeled data and selecting high-confidence samples for training set reconstruction, continuous model iteration and updates are performed. Simultaneously, manual correction feedback is introduced for low-confidence samples, allowing the model to automatically expand training samples while continuously absorbing real-world supervision information. This improves the utilization rate of unlabeled data, reduces manual intervention costs, and enhances the model's continuous optimization capabilities in practical applications. Further, throughout the entire model update lifecycle, cross-round monitoring of pseudo-labeled data from each round is conducted, combined with trusted benchmarks... This study uses a method to update the reference direction of sample construction parameters and analyzes the deviation and fluctuation of the influence direction of pseudo-labeled sample parameters. This helps identify anomalous pseudo-labeled data that appears to have high confidence in the early iterations but exhibits unstable performance later. This avoids misjudgment caused by relying solely on a single round of confidence to screen pseudo-labels, improving the accuracy and robustness of anomalous pseudo-label identification. After identifying anomalous pseudo-labeled data, the study further analyzes its propagation influence on other pseudo-labeled data, identifies the associated pseudo-labeled data affected by it, and removes the anomalous pseudo-labeled data and its associated pseudo-labeled data from the training set. At the same time, the update components in the model parameters related to this type of anomalous perturbation are weakened or corrected. This not only blocks the continuous infiltration of anomalous pseudo-labels at the training data level but also reduces the influence of existing errors at the model parameter level, preventing the bias from accumulating and amplifying in subsequent training. In small sample data labeling tasks, this approach simultaneously achieves low-cost training, efficient model construction, stable iterative updates, and anomalous propagation control, ultimately improving the convergence stability, labeling accuracy, and generalization ability of the data labeling model. Attached Figure Description
[0012] Figure 1 This is a schematic diagram of the structure of the small sample data annotation model pre-training system used in an embodiment of the present invention. Detailed Implementation
[0013] To enable those skilled in the art to better understand the technical solutions of this invention, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of this invention.
[0014] Example 1: A method for pre-training a small sample data annotation model, comprising: Several sets of unlabeled data are acquired and combined into a general training set. The data annotation model is then trained using this general training set to obtain a general feature encoder. It should be noted that the unlabeled data here refers to data from the domain corresponding to the data annotation task, but without accompanying annotation information. Taking circuit board defect detection as an example, the unlabeled data specifically consists of a large number of PCB images with accompanying annotations, sourced from the DeepPCB public dataset. Although these unlabeled data do not have information such as defect category and location labels, they can be used to learn general structural and texture features of circuit board images. The data annotation model uses the YOLOv7 model to annotate the defect category and location labels in the PCB images. The data labeling model is trained using a general training set. Specifically, the following steps are taken: For each unlabeled dataset in the general training set, enhanced unlabeled data is constructed using image enhancement techniques such as scaling, color jittering, contrast adjustment, and Gaussian blurring. This enhanced unlabeled data is then fed into the data labeling model for processing. Here, the output of the backbone network in the YOLOv7 model is selected as the processing result of the data labeling model to obtain the output features corresponding to the enhanced unlabeled data. The output features of any two enhanced unlabeled datasets corresponding to the same unlabeled dataset are taken as positive sample pairs, and the output features of any two enhanced unlabeled datasets corresponding to the same unlabeled dataset are taken as negative sample pairs. A contrastive loss is constructed based on the proximity of positive sample pairs and the distance between negative sample pairs. The contrastive loss is constructed using InfoNCE Loss. Then, gradient descent is performed using backpropagation to iteratively update the parameters of the backbone network in the YOLOv7 model until the rate of decrease of the contrastive loss converges in the most recent rounds. The trained data labeling model is then used as a general feature encoder. Several manually labeled data sets are acquired, each associated with a corresponding manually labeled tag. These tags include defect categories and their corresponding location labels. All manually labeled data sets are then combined into a specific training set. This specific training set is used to adapt and train a general feature encoder to obtain a specific data labeling model. It should be noted that the manually labeled data here refers to data annotated by operators. Taking circuit board defect detection as an example, the manually labeled data specifically consists of PCB images with manually labeled defect types and locations. The number of manually labeled data sets in the specific training set is much smaller than the number of unlabeled data sets in the general training set, typically only a few dozen. Adaptive training of the general feature encoder is performed using a specific training set. Specifically, this includes: using human-annotated data from the specific training set as input to the general feature encoder, and using human-annotated labels associated with the human-annotated data as the target output of the general feature encoder. A loss value is constructed based on the difference between the predicted output and the target output of the general feature encoder. The loss value includes the difference in defect category classification and the difference between location labels. MSE can be used to minimize the direction of the loss value. Then, backpropagation of gradient descent is performed based on the loss value to iteratively update all parameters of the general feature encoder until the accuracy of the general feature encoder meets the expectation, that is, the accuracy of the general feature encoder is higher than the preset accuracy threshold. The trained general feature encoder is then output as a specific data annotation model. A specific data labeling model is used to process all unlabeled data, outputting a pseudo-label and its corresponding confidence level for each data point. The pseudo-labels are formatted similarly to manually labeled labels. The K pseudo-labels with the highest confidence levels are designated as pseudo-labeled data and added to a specific training set to reconstruct it. The reconstructed training set is then used to adjust the parameters of the specific data labeling model, updating the model. K is typically set to 100. It's important to note that a confidence threshold is usually set when selecting pseudo-labeled data; if the confidence level is higher than the threshold, a false confidence level will be displayed. If the number of unlabeled data points with a confidence threshold is higher than 100, the unlabeled data will be sorted in descending order of confidence, and the first 100 unlabeled data points will be selected as pseudo-labeled data. If the number of unlabeled data points with a confidence level higher than the confidence threshold is not higher than 100, all unlabeled data points with a confidence level higher than the confidence threshold will be directly selected as pseudo-labeled data. The reconstruction of the specific training set and the update of the specific data labeling model will be repeatedly performed iteratively until the iteration condition is met, and the pre-training of the specific data labeling model is completed. It should be noted that the iteration condition here is generally set to reach the maximum number of iterations, which is set to 50. Data annotation tasks are performed using a specific data annotation model. Specifically, the data to be labeled is fed into the model for processing, outputting the corresponding labels and confidence levels. Data with confidence levels below a certain threshold are grouped into "corrected label data." Human-generated labels are continuously acquired for this corrected label data. All corrected label data with associated human-generated labels is added to a specific training set. The model is then trained on this training set to adapt it to the data. This process of reconstructing the training set and updating the model is repeated iteratively until the iteration conditions are met, achieving real-time updates to the model. Each time the model completes a real-time update, the data annotation task is re-executed using the model until no more corrected label data is generated, completing the data annotation task. It should be noted that whenever data to be corrected is generated, it is sent to the annotators. The annotators perform manual annotation on the data to be corrected and obtain the corresponding manual annotation labels. If the number of data to be corrected is too large, a small sample size threshold can be set. Whenever the number of data to be corrected that has undergone manual annotation reaches the small sample size threshold, these data to be corrected that are associated with manual annotation labels are added to a specific training set without waiting for all data to be corrected to undergo manual annotation. By adding the specific training set and pseudo-annotated data obtained by performing manual annotation, a specific data annotation model suitable for small sample scenarios can be quickly retrieved until no more data to be corrected is generated. This indicates that the specific data annotation model has been adjusted and can be directly used to process all data to be labeled, completing the data annotation operation for all data to be labeled. The update or real-time update of a specific data labeling model is considered an iterative cycle throughout its lifecycle. All constructed pseudo-labeled data are monitored across cycles to identify anomalous pseudo-labeled data. For each identified anomalous pseudo-labeled data, a propagation domain analysis is performed to determine its associated influencing pseudo-labeled data. The anomalous pseudo-labeled data and all influencing pseudo-labeled data are then removed from the specific training set. Parameter adjustments are then made to the specific data labeling model based on these anomalous and influencing pseudo-labeled data to reduce their impact. It should be noted that the confidence level of pseudo-labeled data is affected by the parameters of the specific data labeling model and the specific training set. During continuous iteration, both the parameters of the specific data labeling model and the specific training set change. Therefore, the confidence level of pseudo-labeled data is influenced by the specific data labeling model's output at different iteration cycles. The confidence level of the output will also change. The decision boundary of the originally high-confidence pseudo-labeled data becomes increasingly blurred throughout the entire lifecycle of the specific data labeling model update. That is, the originally high-confidence pseudo-labeled data may only show a specific high confidence level under the specific data labeling model with inaccurate parameters in the early stage. The actual labeling results are quite different from the pseudo labels. Such pseudo-labeled data will be regarded as anomalous pseudo-labeled data. Anomalous pseudo-labeled data participates in the update process of the specific data labeling model. The pseudo-labeled data constructed in subsequent rounds may also be affected by the propagation of anomalous pseudo-labeled data. These anomalous pseudo-labeled data and influencing pseudo-labeled data will introduce deviations into the update of the specific data labeling model and continuously amplify the deviations in the iterative rounds of the specific data labeling model update, making it difficult for the specific data labeling model to converge. Therefore, it is necessary to reduce the impact of these labeled data on the specific data labeling model. For all constructed pseudo-labeled data, cross-round monitoring is performed to identify abnormal pseudo-labeled data. The specific steps include the following: In each iteration, the main direction analysis dataset is updated by combining all manually labeled data and all data to be corrected. This updated dataset includes the updated main direction analysis data, which is then associated with the manually labeled data. The updated main direction analysis data is fed into the updated specific data labeling model for processing. The main direction loss value is constructed based on the difference between the manually labeled data and the predicted output of the updated specific data labeling model. Taking circuit board defect detection as an example, the analysis loss value includes defect category loss, location loss, and confidence loss. The defect category loss and confidence loss are calculated using binary cross-entropy loss, and the location loss is calculated using CIoU. Loss calculation involves calculating gradient values for key layer parameters based on the main direction loss value, denoted as the main direction influence parameter direction value. Here, the key layer parameters are specifically the learnable parameters of the layers in a particular data annotation model that are most sensitive to the final defect detection result and best reflect the influence of samples on the decision boundary. For example, in YOLOv7, the weights and biases of the classification branch convolutional layers, the bounding box regression branch convolutional layers, and the target confidence branch convolutional layers in the backbone network can be selected. These are set by the operator in the configuration file. All main direction influence parameter direction values are combined to form a local main direction influence parameter direction vector. Normalization is then performed on this local main direction influence parameter direction vector. Specifically, the local main direction influence parameter direction vector is divided by its L2 norm. The average value of the normalized output of all local main direction influence parameter direction vectors corresponding to the updated main direction analysis data in the updated main direction analysis dataset is then calculated to obtain the main direction influence parameter direction vector. This vector represents the main direction of key layer parameter updates under credible supervision. In each iteration, pseudo-labeled data is simultaneously traversed. Selected pseudo-labeled data is fed into the updated specific data labeling model for processing. An analysis loss value is constructed based on the difference between the pseudo-labels and the predicted output of the updated specific data labeling model. Taking circuit board defect detection as an example, the analysis loss value includes defect category loss, location loss, and confidence loss. Gradient values are calculated for key layer parameters based on these analysis loss values, denoted as the pseudo-label influence parameter direction value. This value characterizes the gradient contribution of the pseudo-labeled data to the key layer parameters, reflecting the update direction of the pseudo-labeled data for the key layer parameters. The pseudo-label influence parameter direction values corresponding to all key layer parameters are concatenated and normalized to obtain the pseudo-label influence parameter direction vector. The similarity between the pseudo-label influence parameter direction vector and the main direction influence parameter direction vector is calculated using the cosine similarity algorithm, denoted as the main direction deviation value corresponding to the selected pseudo-labeled data, used to characterize the selection... The analysis focuses on the difference between the update direction of parameters in a specific data annotation model based on pseudo-labeled data and the update direction of parameters in a specific data annotation model based on manually labeled data. The standard deviation of the principal direction deviation value of the selected pseudo-labeled data in the current iteration round and the principal direction deviation values in the previous m iteration rounds is calculated and denoted as the principal direction deviation fluctuation amplitude. m is typically set to 10. If the principal direction deviation fluctuation amplitude is higher than the deviation fluctuation threshold (set by the operator), the selected pseudo-labeled data is considered abnormal pseudo-labeled data. Propagation domain analysis is then performed based on the abnormal pseudo-labeled data to determine the associated influence pseudo-labeled data. If the principal direction deviation fluctuation amplitude is not higher than the deviation fluctuation threshold, the pseudo-labeled data continues to be iterated. It should be noted that by analyzing the changes in the principal direction deviation value over multiple iteration rounds, it is possible to determine whether the pseudo-labeled data only exhibits a specific high confidence level under the condition that the initial parameters of a specific data annotation model are not accurate enough. Based on the propagation domain analysis of the anomalous pseudo-labeled data, the influence of the anomalous pseudo-labeled data on the pseudo-labeled data is determined. This includes the following steps: The pseudo-labeling influence parameter direction vector of the abnormal pseudo-labeled data in the current iteration is concatenated with the pseudo-labeling influence parameter direction vectors corresponding to the previous m iterations to form the pseudo-labeling influence parameter direction matrix. The number of rows in the pseudo-labeling influence parameter direction matrix is the number of iterations, and the number of columns is the number of key layer parameters. Singular value decomposition is performed on the pseudo-labeling influence parameter direction matrix to obtain the left singular matrix, singular values, and right singular matrix. The number of rows in the left singular matrix is the number of iterations, and the number of columns is the number of main perturbation modes, which describes the perturbation strength of the main perturbation mode in different iterations. The singular value matrix is a diagonal matrix, and the number of rows and columns are the number of singular values. The singular value represents a main perturbation mode, which is obtained by the matrix rank. The number of rows in the right singular matrix is the number of key layer parameters, and the number of columns is the number of main perturbation modes. The right singular matrix is denoted as the parameter influence subspace. Starting with the anomalous pseudo-labeled data, the pseudo-labeled data is traversed. The direction vector of the pseudo-labeling influence parameter corresponding to the selected pseudo-labeled data is calculated, and the direction vector of the pseudo-labeling influence parameter is projected onto the parameter influence subspace to obtain the projection vector. Specifically, the parameter influence subspace, the transpose of the parameter influence subspace, and the direction vector of the pseudo-labeling influence parameter are multiplied together to obtain the projection vector. The ratio of the square norm of the projection vector to the square norm of the direction vector of the pseudo-labeling influence parameter is recorded as the sensitivity of the selected pseudo-labeled data. The sensitivity characterizes the influence correlation between the selected pseudo-labeled data and the anomalous pseudo-labeled data in the parameter influence subspace. The closer the sensitivity is to 1, the more it indicates that the selected pseudo-labeled data and the anomalous pseudo-labeled data are in the same propagation domain. If the sensitivity is higher than the sensitivity threshold, the selected pseudo-labeled data is recorded as the influence pseudo-labeled data associated with the anomalous pseudo-labeled data. If the sensitivity is not higher than the sensitivity threshold, the pseudo-labeled data is traversed again. Based on the abnormal pseudo-labeled data and all data affecting the pseudo-labeled data, parameter adjustment operations are performed on the specific data labeling model, including the following steps: A weighted summation operation is performed on the abnormal pseudo-labeled data and the direction vectors of the pseudo-labeling influence parameters corresponding to all the pseudo-labeled data. During the weighted summation operation, the weights can be set to the sensitivity corresponding to the pseudo-labeled data. The weights in the abnormal pseudo-labeled data are set to 1. The main perturbation parameter vector is obtained, and the adjustment amount of the specific data labeling model on the key layer parameters in the current iteration is obtained. The model update vector is constructed, and the transpose of the main perturbation parameter vector, the model update vector, and the main perturbation parameter vector are multiplied together to obtain the main perturbation component. The direction of minimizing the main perturbation component is used to perform backpropagation of gradient descent and perform parameter adjustment operation on the specific data labeling model. This application utilizes a large amount of unlabeled data within the task domain to perform general feature learning on the data labeling model, enabling the model to pre-acquire basic representation capabilities related to the target scene. Then, based on a small amount of manually labeled data, the model is adapted for specific tasks, allowing it to establish effective recognition capabilities for target category and location information under small sample conditions. This achieves the goal of completing model initialization training with fewer manually labeled samples, thereby reducing dependence on large-scale manually labeled data and improving training efficiency and initial labeling performance in small sample scenarios. Furthermore, by generating pseudo-labels for the unlabeled data and selecting high-confidence samples for training set reconstruction, continuous model iteration updates are performed. Simultaneously, manual correction feedback is introduced for low-confidence samples, allowing the model to automatically expand training samples while continuously absorbing real-world supervision information. This improves the utilization rate of unlabeled data, reduces manual intervention costs, and enhances the model's continuous optimization capabilities in practical applications. Further, throughout the entire model update lifecycle, cross-round monitoring of pseudo-labeled data from each round is conducted, combined with confidence benchmarks... This study uses a method to update the reference direction of sample construction parameters and analyzes the deviation and fluctuation of the influence direction of pseudo-labeled sample parameters. This helps identify anomalous pseudo-labeled data that appears to have high confidence in the early iterations but exhibits unstable performance later. This avoids misjudgment caused by relying solely on a single round of confidence to screen pseudo-labels, improving the accuracy and robustness of anomalous pseudo-label identification. After identifying anomalous pseudo-labeled data, the study further analyzes its propagation influence on other pseudo-labeled data, identifies the associated pseudo-labeled data affected by it, and removes the anomalous pseudo-labeled data and its associated pseudo-labeled data from the training set. At the same time, the update components in the model parameters related to this type of anomalous perturbation are weakened or corrected. This not only blocks the continuous infiltration of anomalous pseudo-labels at the training data level but also reduces the influence of existing errors at the model parameter level, preventing the bias from accumulating and amplifying in subsequent training. In small sample data labeling tasks, this approach simultaneously achieves low-cost training, efficient model construction, stable iterative updates, and anomalous propagation control, ultimately improving the convergence stability, labeling accuracy, and generalization ability of the data labeling model.
[0015] Example 2: A pre-training system for a small sample data annotation model, such as... Figure 1 As shown, it includes: The general training module is used to acquire several sets of unlabeled data and form a general training set. The data annotation model is then trained using this general training set to obtain a general feature encoder. It should be noted that the unlabeled data here refers to data from the domain corresponding to the data annotation task, but without accompanying annotation information. Taking circuit board defect detection as an example, the unlabeled data specifically consists of a large number of PCB images with accompanying annotations, sourced from the DeepPCB public dataset. Although this unlabeled data lacks information such as defect category and location labels, it can be used to learn general structural and texture features of circuit board images. The data annotation model uses the YOLOv7 model to annotate information such as defect category and location labels in the PCB images. The adaptation training module is used to adapt the general feature encoder to a specific training set. Specifically, it includes the following: using human-annotated data from the specific training set as input to the general feature encoder, and using human-annotated labels associated with the human-annotated data as the target output of the general feature encoder. A loss value is constructed based on the difference between the predicted output and the target output of the general feature encoder. The loss value includes the difference in defect category classification and the difference between location labels. MSE can be used to minimize the direction of the loss value. Then, backpropagation of gradient descent is performed based on the loss value to iteratively update all parameters of the general feature encoder until the accuracy of the general feature encoder meets the expectations. The trained general feature encoder is then output as a specific data annotation model. The pseudo-label augmentation training module processes all unlabeled data using a specific data labeling model, outputting a pseudo-label and its corresponding confidence level for each unlabeled data point. The pseudo-labels are in the same format as manually labeled labels. The unlabeled data points corresponding to the K pseudo-labels with the highest confidence levels are recorded as pseudo-labeled data and added to a specific training set to reconstruct the specific training set. The reconstructed specific training set is then used to adjust the parameters of the specific data labeling model, thus updating the specific data labeling model. K is typically set to 100. It should be noted that a confidence level threshold is usually set when selecting pseudo-labeled data. If the number of unlabeled data points with confidence levels higher than the threshold is greater than 100, the unlabeled data points are arranged in descending order of confidence level, and the first 100 unlabeled data points are selected as pseudo-labeled data. If the number of unlabeled data points with confidence levels higher than the threshold is not greater than 100, all unlabeled data points with confidence levels higher than the threshold are directly selected as pseudo-labeled data. The pseudo-label adjustment module treats the update or real-time update of a specific data labeling model as an iterative cycle throughout its lifecycle. It monitors all constructed pseudo-labeled data across cycles to identify anomalous pseudo-labels. For each identified anomalous pseudo-label, it performs propagation domain analysis to determine the associated influencing pseudo-labels. The anomalous pseudo-label and all influencing pseudo-labels are then removed from the specific training set. Finally, parameter adjustments are performed on the specific data labeling model based on these factors to reduce their impact. It's important to note that the confidence level of pseudo-labeled data is influenced by the parameters of the specific data labeling model and the specific training set. During continuous iteration, both the parameters of the specific data labeling model and the specific training set change. Therefore, the confidence level of pseudo-labeled data varies across different iteration cycles. The confidence level of the output of the labeling model will also change. The decision boundary of the originally high-confidence pseudo-labeled data becomes increasingly blurred throughout the entire lifecycle of the specific data labeling model update. That is, the originally high-confidence pseudo-labeled data may only show a specific high confidence level under the specific data labeling model with inaccurate parameters in the early stage. The actual labeling results differ greatly from the pseudo labels. Such pseudo-labeled data will be regarded as anomalous pseudo-labeled data. Anomalous pseudo-labeled data participates in the update process of the specific data labeling model. The pseudo-labeled data constructed in subsequent rounds may also be affected by the propagation of anomalous pseudo-labeled data. These anomalous pseudo-labeled data and influencing pseudo-labeled data will introduce bias into the update of the specific data labeling model and continuously amplify the bias in the iterative rounds of the specific data labeling model update, making it difficult for the specific data labeling model to converge. Therefore, it is necessary to reduce the impact of these labeled data on the specific data labeling model. The human annotation module is used to perform data annotation tasks through a specific data annotation model. Specifically, the data annotation task involves feeding the data to be annotated into the specific data annotation model for processing, outputting the annotation labels and corresponding confidence scores of the data to be annotated, and forming the annotated data to be corrected by including the annotated data with confidence scores lower than the confidence threshold during the execution of the data annotation task, continuously obtaining the human annotation labels corresponding to the annotated data to be corrected, and adding all the annotated data to be corrected that are associated with human annotation labels to a specific training set. The data annotation module is used to complete the data annotation task until no more data to be corrected is generated.
[0016] It should be understood that those skilled in the art can make improvements or modifications based on the above description, and all such improvements and modifications should fall within the protection scope of the appended claims. Parts not described in detail in this specification are prior art known to those skilled in the art.
Claims
1. A method for pre-training a model with small sample data annotation, characterized in that, include: The data annotation model is then subjected to general training and adaptive training in sequence to obtain a specific data annotation model; The general training specifically includes: acquiring unlabeled data, forming a general training set from the unlabeled data, specifically PCB images, constructing augmented unlabeled data corresponding to each unlabeled data in the general training set through image augmentation, feeding the augmented unlabeled data into a data labeling model for processing to obtain the output features corresponding to the augmented unlabeled data, taking the output features of any two augmented unlabeled data corresponding to the same unlabeled data as a positive sample pair, taking the output features of any two augmented unlabeled data corresponding to the same unlabeled data as a negative sample pair, constructing a contrastive loss based on the positive and negative sample pairs, and then performing backpropagation of gradient descent based on the contrastive loss to iteratively update the parameters in the data labeling model until the rate of decrease of the contrastive loss converges in the most recent several rounds, and using the trained data labeling model as a general feature encoder; The adaptive training specifically includes: acquiring human-annotated data, each of which is associated with a corresponding human-annotated label, which includes the defect category of the PCB image and the corresponding location label; forming a specific training set from all the human-annotated data; using the human-annotated data in the specific training set as the input of a general feature encoder; using the human-annotated labels associated with the human-annotated data as the target output of the general feature encoder; constructing a loss value based on the difference between the predicted output and the target output of the general feature encoder; minimizing the direction of the loss value; and then performing backpropagation of gradient descent based on the loss value to iteratively update all parameters of the general feature encoder until the accuracy of the general feature encoder is higher than a preset accuracy threshold; and outputting the trained general feature encoder as a specific data annotation model. All unlabeled data are processed by a specific data labeling model, and the pseudo-label and corresponding confidence score of each unlabeled data are output. The unlabeled data corresponding to the K pseudo-labels with the highest confidence scores are recorded as pseudo-labeled data. The pseudo-labeled data are added to a specific training set to complete the reconstruction of the specific training set. The parameters of the specific data labeling model are adjusted by using the reconstructed specific training set. The data annotation task is performed using a specific data annotation model. Based on manually labeled data, data to be corrected is constructed. The specific data annotation model is then trained on a specific training set with the data to be corrected. This process is repeated iteratively, reconstructing the specific training set and updating the specific data annotation model, until the iteration conditions are met. This achieves real-time updates to the specific data annotation model, resulting in the updated model. Each time the specific data annotation model completes a real-time update, the data annotation task is re-executed using the specific data annotation model. This process continues until no more data to be corrected is generated, completing the data annotation task. The update or real-time update of a specific data labeling model is regarded as an iteration round of the entire life cycle. All constructed pseudo-labeled data are monitored across rounds to identify abnormal pseudo-labeled data. For each abnormal pseudo-labeled data identified, a propagation domain analysis is performed based on the abnormal pseudo-labeled data to determine the associated influential pseudo-labeled data. The abnormal pseudo-labeled data and all influential pseudo-labeled data are then removed from the specific training set, and parameter adjustment operations are performed on the specific data labeling model based on the abnormal pseudo-labeled data and all influential pseudo-labeled data.
2. The method for pre-training a small sample data labeled model according to claim 1, characterized in that, The process of constructing labeled data to be corrected based on human annotations includes the following steps: The data annotation task is performed through a data annotation model. Specifically, the data to be annotated is fed into a pre-trained data annotation model for processing, and the annotation labels and corresponding confidence scores of the data to be annotated are output. The data to be annotated with confidence scores lower than the confidence threshold output during the execution of the data annotation task are combined into data to be corrected, and human-made annotation labels corresponding to the data to be corrected are continuously obtained.
3. The method for pre-training a small sample data labeled model according to claim 2, characterized in that, For all constructed pseudo-labeled data, cross-round monitoring is performed to identify abnormal pseudo-labeled data. The specific steps include the following: In each iteration, all manually labeled data and all data to be corrected are combined to form a parameter update main direction analysis dataset. The update main direction analysis dataset includes the updated main direction analysis data, which is associated with the manually labeled data. The updated main direction analysis data is fed into the updated specific data labeling model for processing. The main direction loss value is constructed based on the difference between the manually labeled data and the prediction output of the updated specific data labeling model. The gradient value of the key layer parameters is calculated based on the main direction loss value and recorded as the main direction influence parameter direction value. All main direction influence parameter direction values are combined to form a local main direction influence parameter direction vector. The local main direction influence parameter direction vector is normalized. The normalization operation is to divide the local main direction influence parameter direction vector by the L2 norm of the local main direction influence parameter direction vector. The average value of the normalized output of the local main direction influence parameter direction vectors corresponding to all updated main direction analysis data in the updated main direction analysis dataset is calculated to obtain the main direction influence parameter direction vector. In each iteration, the pseudo-labeled data is simultaneously traversed. The selected pseudo-labeled data is fed into the updated specific data labeling model for processing. An analysis loss value is constructed based on the difference between the pseudo-labels and the prediction output of the updated specific data labeling model. The gradient values of the key layer parameters are calculated based on the analysis loss value and denoted as the pseudo-labeling influence parameter direction values. The pseudo-labeling influence parameter direction values corresponding to all key layer parameters are concatenated and normalized to obtain the pseudo-labeling influence parameter direction vector. The similarity between the pseudo-labeling influence parameter direction vector and the main direction influence parameter direction vector is calculated and denoted as the main direction deviation value corresponding to the selected pseudo-labeled data. The standard deviation of the main direction deviation value of the selected pseudo-labeled data in the current iteration and the main direction deviation values in the previous m iterations is calculated and denoted as the main direction deviation fluctuation amplitude. If the main direction deviation fluctuation amplitude is higher than the deviation fluctuation threshold, the selected pseudo-labeled data is regarded as abnormal pseudo-labeled data, and a propagation domain analysis is performed based on the abnormal pseudo-labeled data to determine the influence pseudo-labeled data associated with the abnormal pseudo-labeled data. If the main direction deviation fluctuation amplitude is not higher than the deviation fluctuation threshold, the pseudo-labeled data continues to be traversed.
4. The method for pre-training a small sample data labeled model according to claim 3, characterized in that, Based on the propagation domain analysis of the anomalous pseudo-labeled data, the influence of the anomalous pseudo-labeled data on the pseudo-labeled data is determined. This includes the following steps: The pseudo-labeling influence parameter direction vector of the abnormal pseudo-labeled data in the current round is concatenated with the pseudo-labeling influence parameter direction vectors corresponding to the previous m iteration rounds to form the pseudo-labeling influence parameter direction matrix. The number of rows in the pseudo-labeling influence parameter direction matrix is the number of iteration rounds, and the number of columns is the number of key layer parameters. Singular value decomposition is performed on the pseudo-labeling influence parameter direction matrix to obtain the left singular matrix, singular values, and right singular matrix. The right singular matrix is denoted as the parameter influence subspace. Starting with the anomalous pseudo-labeled data, iterate through the pseudo-labeled data, calculate the pseudo-labeling influence parameter direction vector corresponding to the selected pseudo-labeled data, and project the pseudo-labeling influence parameter direction vector onto the parameter influence subspace to obtain the projection vector. Specifically, the projection method is to perform a product operation on the parameter influence subspace, the transpose of the parameter influence subspace, and the pseudo-labeling influence parameter direction vector to obtain the projection vector. The ratio of the square norm of the projection vector to the square norm of the pseudo-labeling influence parameter direction vector is recorded as the sensitivity corresponding to the selected pseudo-labeled data. If the sensitivity is higher than the sensitivity threshold, the selected pseudo-labeled data is recorded as the influence pseudo-labeled data associated with the anomalous pseudo-labeled data. If the sensitivity is not higher than the sensitivity threshold, continue to traverse the pseudo-labeled data.
5. The method for pre-training a small sample data labeled model according to claim 4, characterized in that, Based on the abnormal pseudo-labeled data and all data affecting the pseudo-labeled data, parameter adjustment operations are performed on the specific data labeling model, including the following steps: The weighted summation operation is performed on the abnormal pseudo-labeled data and the direction vectors of the pseudo-labeling influence parameters corresponding to all the pseudo-labeled data to obtain the main perturbation parameter vector. The adjustment amount of the specific data labeling model on the key layer parameters in the current iteration is obtained, the model update vector is constructed, and the transpose of the main perturbation parameter vector, the model update vector and the main perturbation parameter vector are multiplied together to obtain the main perturbation component. The direction of minimizing the main perturbation component is used to perform backpropagation of gradient descent to perform parameter adjustment operation on the specific data labeling model.
6. A pre-training system for a small sample data annotation model, characterized in that, The system employs a small sample data annotation model pre-training method according to any one of claims 1-5, comprising: The general training module is used to acquire several sets of unlabeled data and combine them into a general training set. The data labeling model is then trained using the general training set to obtain a general feature encoder. The adaptation training module is used to acquire several sets of manually labeled data. Each set of manually labeled data is associated with a corresponding manually labeled label. All the manually labeled data are combined into a specific training set. The general feature encoder is then adapted and trained using the specific training set to obtain a specific data labeling model. The pseudo-label augmentation training module is used to process all unlabeled data through a specific data labeling model, output the pseudo-label and corresponding confidence score for each unlabeled data, and record the unlabeled data corresponding to the K pseudo-labels with the highest confidence scores as pseudo-labeled data. The pseudo-labeled data is then added to a specific training set to complete the reconstruction of the specific training set. The parameters of the specific data labeling model are adjusted using the reconstructed specific training set to complete the update of the specific data labeling model. The pseudo-label adjustment module is used to treat the completion or real-time update of a specific data labeling model as an iteration round of the entire life cycle. It monitors all constructed pseudo-labeled data across rounds, identifies abnormal pseudo-labeled data, and performs propagation domain analysis on each abnormal pseudo-labeled data to determine the associated influential pseudo-labeled data. The abnormal pseudo-labeled data and all influential pseudo-labeled data are then removed from the specific training set, and parameter adjustment operations are performed on the specific data labeling model based on the abnormal pseudo-labeled data and all influential pseudo-labeled data. The human annotation module is used to perform data annotation tasks through a specific data annotation model. Specifically, the data annotation task involves feeding the data to be annotated into the specific data annotation model for processing, outputting the annotation labels and corresponding confidence scores of the data to be annotated, and forming the annotated data to be corrected by including the annotated data with confidence scores lower than the confidence threshold during the execution of the data annotation task, continuously obtaining the human annotation labels corresponding to the annotated data to be corrected, and adding all the annotated data to be corrected that are associated with human annotation labels to a specific training set. The data annotation module is used to complete the data annotation task until no more data to be corrected is generated.
Citation Information
Patent Citations
Metallic ore artificial intelligence sorting method based on lithofacies analysis
CN120766212A
Sample model training method and system based on data driving
CN122021741A