Data classification and recognition method and apparatus, device, and medium
Abstract
A data classification and recognition method includes: obtaining a first data set and a second data set, the second data set including second data, samples in the second data being labeled; performing training using first data in an unsupervised training mode and using the second data in a supervised training mode to obtain a first classification model; obtaining a second classification model; performing distillation training on a model parameter of the second classification model to obtain a data classification model; and performing class prediction on target data by using the data classification model.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A data classification and recognition method, applied to a computer device, the method comprising: obtaining a first data set and a second data set, the first data set comprising first data, the first data being unlabeled data, the second data set comprising second data, wherein a sample in the second data is labeled, a data amount of the first data in the first data set is greater than a data amount of the second data in the second data set; performing unsupervised training on a feature extraction network in a candidate classification model based on the first data; combining a classification regression network in the candidate classification model and the feature extraction network after the unsupervised training to obtain a base classification model, the classification regression network being configured to perform data classification in a target class set; performing supervised training on the base classification model by using the second data and corresponding sample labels of the
- Claim 2Depends on #1
The method according to claim 1, wherein the adjusting the model parameter of the second classification model by using the first prediction result of the first data predicted by the first classification model as a reference and based on the second prediction result of the first data predicted by the second classification model comprises: performing class prediction on the first data by using the first classification model to obtain the first prediction result; performing class prediction on the first data by using the second classification model to obtain the second prediction result; and adjusting the model parameter of the second classification model based on a difference between the first prediction result and the second prediction result.
- Claim 3Depends on #2
The method according to claim 2, wherein the adjusting the model parameter of the second classification model based on the difference between the first prediction result and the second prediction result comprises: obtaining a confidence level parameter of the first prediction result; and determining a difference between the first prediction result under the confidence level parameter and the second prediction result, and adjusting the model parameter of the second classification model based on the difference.
- Claim 4Depends on #2
The method according to claim 2, wherein the performing class prediction on the first data by using the first classification model to obtain the first prediction result comprises: performing class prediction on the first data by using the first classification model to obtain a probability value that the first data corresponds to a class in the target class set; and determining the first prediction result from the target class set based on the probability value.
- Claim 5Depends on #2
The method according to claim 2, wherein the second classification model comprises a first query encoder and a first key value encoder; and the method further comprises: encoding the first data by using the first query encoder to obtain a first encoding result; obtaining a second encoding result of encoding the first data and data in a first preset dynamic dictionary by using the first key value encoder; and training the second classification model by using a difference between the first encoding result and the second encoding result.
- Claim 6Depends on #1
The method according to claim 1, wherein the feature extraction network comprises a second query encoder and a second key value encoder; and the performing unsupervised training on a feature extraction network in the candidate classification model based on the first data comprises: encoding the first data by using the second query encoder to obtain a third encoding result; obtaining a fourth encoding result of encoding the first data and data in a second preset dynamic dictionary by using the second key value encoder; and performing unsupervised training on the feature extraction network by using a difference between the third encoding result and the fourth encoding result.
- Claim 7Depends on #6
The method according to claim 6, wherein the combining the classification regression network in the candidate classification model and the feature extraction network after unsupervised training comprises: connecting the classification regression network to the second query encoder after unsupervised training to obtain the base classification model.
- Claim 8Depends on #1
The method according to claim 1, wherein the performing class prediction on target data by using the data classification model to obtain the classification result of the target data comprises: obtaining a test data set, test data in the test data set being used for testing a training effect of the data classification model; obtaining the target data from the test data set, the target data being labeled with reference classification information; performing class prediction on the target data by using the data classification model to obtain the classification result; and obtaining training effect data of the data classification model based on the reference classification information and the classification result.
Technical Overview & Description
CROSS-REFERENCES TO RELATED APPLICATIONS This application is a continuation application of PCT Patent Application No. PCT/CN2022/090902, filed on May 5, 2022, which claims priority to Chinese Patent Application No. 202110532246.3, entitled “ DATA CLASSIFICATION AND RECOGNITION METHOD AND APPARATUS, DEVICE, AND READABLE STORAGE MEDIUM ” and filed with the National Intellectual Property Administration, PRC on May 17, 2021, the entire contents of both of which are incorporated herein by reference. FIELD OF THE TECHNOLOGY Embodiments of the present disclosure relate to the field of machine learning, and in particular to a data classification and recognition method and apparatus, a device, a medium, and a program product. BACKGROUND OF THE DISCLOSURE The diagnosis of diseases based on medical images usually includes the diagnosis of rare diseases and the diagnosis of common diseases. That is, a medical image is inputted into a machine learning model. The machine learning model analyzes the medical image to determine a physical abnormality corresponding to the medical image. In the related art, during the diagnosis of rare diseases, a medical image is inputted into a classification model for rare diseases. The classification model analyzes and diagnoses the medical image to determine to which rare disease an image feature expressed in the medical image belongs. The classification model requires a large number of image data sets labeled with rare disease information to ensure the accuracy of the model in a training process. However, rare diseases are conditions with low occurrence rates, and it is difficult to collect image data of rare diseases and to label information of rare diseases, leading to low training efficiency of the classification model and low classification accuracy of the classification model. SUMMARY Embodiments of the present disclosure provide a data classification and recognition method and apparatus, a device, a medium, and a program product, which can
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (8)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Taymouri et al., Predictive Business Process Monitoring via Generative Adversarial Nets: The Case of Next Event Prediction, Sep. 4, 2020 [retrieved Dec. 6, 2024], International Conference on Business Process Management, vol. 12168, pp. 237-256. https://doi.org/10.1007/978-3-030-58666-9_14 (Year: 2020).
- Cornia et al., Meshed-Memory Transformer for Image Captioning, Mar. 20, 2020 [retrieved Dec. 6, 2024], Cornell University:arXiv, version [v2], 15 pages. https://doi.org/10.48550/arXiv.1912.08226 (Year: 2020).
- Liu et al., S-CUDA: Self-cleansing unsupervised domain adaptation for medical image segmentation, Dec. 2021 [retrieved Dec. 6, 2024], Medical Image Analysis, vol. 74, 13 pages. https://doi.org/10.1016/j.media.2021.102214 (Year: 2021).
- Sun et al., Unsupervised Representation Learning Meets Pseudo-Label Supervised Self-Distillation: A New Approach to Rare Disease Classification, Sep. 21, 2021 [retrieved Dec. 6, 2024], Medical Image Computing and Computer Assisted Intervention 2021, pp. 519-529. (Year: 2021) https://doi.org/10.1007/978-3-030-87240-3_50 (Year: 2021).
- Chen et al., An Effective Tumor Classification With Deep Forest and Self-Training, Jul. 12, 2021 [retrieved Dec. 6, 2024], IEEE Access, vol. 9, pp. 100944-100950. DOI: 10.1109/ACCESS.2021.3096241 (Year: 2021).
- Mondol et al., AFExNet: An Adversarial Autoencoder for Differentiating Breast Cancer Sub-Types and Extracting Biologically Relevant Genes, Mar. 15, 2021 (very first instance of public dissemination): current version Aug. 8, 2022, [retrieved Dec. 6, 2024], (Year: 2021) IEEE/ACM Transactions on Computational Biology and Bioinformatics, vol. 19, Issue: 4, pp. 2060-2070. https://doi.org/10.1109/TCBB.2021.3066086 (Year: 2021).
- Search machine translation of CN-112447173-A to Li et al., Voice Interactive Method, Device and Computer Storage Medium, translated Dec. 6, 2024, 24 pages. (Year: 2024).
- He et al., Momentum Contrast for Unsupervised Visual Representation Learning, Mar. 23, 2020 [retrieved Mar. 18, 2025], Cornell University: arXiv, version: [v3], 12 pages. https://doi.org/10.48550/arXiv.1911.05722 (Year: 2020).
- Caron et al., Deep Clustering for Unsupervised Learning of Visual Features, Mar. 18, 2019 [retrieved Mar. 18, 2025], Cornell University: arXiv, version: [v2], 30 pages. https://doi.org/10.48550/arXiv.1807.05520 (Year: 2019).
- Li et al., Pseudo-Labeling Optimization Based Ensemble Semi-Supervised Soft Sensor in the Process Industry, Dec. 19, 2021 [ retrieved Jun. 27, 2025], Sensors, vol. 21, Issue 24, 31 pages. https://doi.org/10.3390/s21248471 (Year: 2021).