IP Library Granted Patent US 12,738,039
Granted Patent B2
US 12,738,039 · App. 18/616,463 · Granted Sep 15, 2026

Label generation method, image classification method, and electronic device

Inventors: Yongchun Lv (Chongqing, CN); Hui Zhu (Chongqing, CN); Xunyi Zhou (Chongqing, CN); Ning Jiang (Chongqing, CN); Haiying Wu (Chongqing, CN)
Assignee: MaShang Consumer Finance Co., Ltd.
G06V10/778G06V10/764G06V20/70
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,738,039
App. No.
18/616,463
Granted
Sep 15, 2026
Kind
B2
Abstract

The present application discloses a label generation method including identifying an unlabeled image by a teacher model and a student model respectively to obtain first classification reference information of the teacher model and second classification reference information of the student model. A first number of detection objects of each category in the teacher model is determined according to the first classification reference information, and a second number of detection objects of each category in student model is determined according to the second classification reference information. Once a probability threshold of each category is determined according to the first number of detection objects and the second number of detection objects, a pseudo label of the unlabeled image is generated for the student model according to the first classification reference information and a probability threshold of each predicted category.

Claims (49)

1 . A label generation method comprising:

obtaining second classification reference information of a teacher model via identifying an unlabeled image by the teacher model, and obtaining first classification reference information of a student model via identifying the unlabeled image by the student model; the first classification reference information and the second classification reference information comprising detection objects of the unlabeled image and a probability of each of the detection objects in a predicted category;

determining a number of detection objects of each predicted category in the teacher model according to the second classification reference information, and determining a number of detection objects of each predicted category in the student model according to the first classification reference information;

determining a probability threshold of each predicted category according to the number of detection objects of each predicted category in the teacher model and the number of detection objects of each predicted category in the student model;

generating a pseudo label of the unlabeled image for the student model according to the second classification reference information and the probability threshold of each predicted category.

2 . The method according to claim 1 , wherein determining the probability threshold of each predicted category according to the number of detection objects of each predicted category in the teacher model and the number of detection objects of each predicted category in the student model comprises:

determining a learning rate of each predicted category according to the number of detection objects of each predicted category in the teacher model and the number of detection objects of each predicted category in the student model;

determining the probability threshold of each predicted category according to the learning rate of each predicted category.

3 . The method according to claim 2 , wherein determining the learning rate of each predicted category according to the number of detection objects of each predicted category in the teacher model and the number of detection objects of each predicted category in the student model comprises:

determining a first proportion of detection objects of each predicted category according to a ratio between the number of detection objects of each predicted category in the teacher model and a first total number of the detection objects, the first total number of detection objects representing a sum of the number of detection objects of each predicated category in the teacher model;

determining a second proportion of detection objects of each predicted category according to a ratio between the number of detection objects of each predicted category in the student model and a second total number of detection objects, the second total number of detection objects representing a sum of the number of detection objects of each predicated category in the student model;

determining the learning rate of each predicted category according to a ratio between the first proportion of detection objects and the second proportion of detection objects.

4 . The method of claim 2 , wherein determining the probability threshold of each predicted category according to the learning rate of each predicted category comprises:

determining a maximum learning rate from the learning rates;

determining a weight coefficient of each predicted category according to a ratio between the learning rate and the maximum learning rate;

determining the probability threshold of each predicted category according to a product of the weight coefficient and a preset probability upper limit value.

5 . The method according to claim 1 , wherein determining the number of detection objects of each predicted category in the teacher model according to the second classification reference information, and determining the number of detection objects of each predicted category in the student model according to the first classification reference information comprises:

determining the predicted category of a maximum probability as a predicted category of each detection object corresponding to the teacher model, and determining the number of detection objects of each predicted category in the teacher model according to the predicted category of each detection object corresponding to the teacher model;

determining the predicted category of the maximum probability as the predicted category of each detection object corresponding to the student model, and determining the number of detection objects of each predicted category in the student model according to the predicted category of each detection object corresponding to the student model.

6 . The method according to claim 5 , comprising:

in response that the predicted category of each detection object corresponding to the teacher model is greater than the probability threshold of the predicted category, generating the pseudo label of the unlabeled image for the student model according to the predicted category of each detection object corresponding to the teacher model.

7 . An image classification method, comprising:

identifying an image to be processed by a target model of an image classification model, and obtaining classification reference information of the target model;

determining a detection object comprised in the image to be processed and a category of the detection object according to the classification reference information of the target model;

wherein the image classification model is a model with a semi-supervised object detection framework, and the image classification model comprises a teacher model and a student model, the target model comprises the teacher model and/or the student model;

the image classification model is obtained by training according to target classification reference information of a labeled image in an image collection, target classification reference information of an unlabeled image in the image collection, a category label of the labeled image and a pseudo label of the unlabeled image; the target classification reference information of the labeled image is obtained via identifying the labeled image by the student model of the image classification model, and the target classification information of the unlabeled image is obtained via identifying the unlabeled image by the student model; the pseudo label of the unlabeled image is determined according to the method described in claim 1 .

8 . An electronic device, comprising:

a processor; and

a storage device storing instructions, which when executed by the processor, cause the processor to;

obtain second classification reference information of a teacher model via identifying an unlabeled image by the teacher model, and obtain first classification reference information of a student model via identifying the unlabeled image by the student model; the first classification reference information and the second classification reference information comprising detection objects of the unlabeled image and a probability of each of the detection objects in a predicted category;

determine a number of detection objects of each predicted category in the teacher model according to the second classification reference information, and determine a number of detection objects of each predicted category in the student model according to the first classification reference information;

determine a probability threshold of each predicted category according to the number of detection objects of each predicted category in the teacher model and the number of detection objects of each predicted category in the student model; and

generate a pseudo label of the unlabeled image for the student model according to the second classification reference information and the probability threshold of each predicted category.

9 . The electronic device according to claim 8 , wherein the processor determines the probability threshold of each predicted category according to the number of detection objects of each predicted category in the teacher model and the number of detection objects of each predicted category in the student model by:

determining a learning rate of each predicted category according to the number of detection objects of each predicted category in the teacher model and the number of detection objects of each predicted category in the student model; and

determining the probability threshold of each predicted category according to the learning rate of each predicted category.

10 . The electronic device according to claim 9 , wherein the processor determines the learning rate of each predicted category according to the number of detection objects of each predicted category in the teacher model and the number of detection objects of each predicted category in the student model by:

determining a first proportion of detection objects of each predicted category according to a ratio between the number of detection objects of each predicted category in the teacher model and a first total number of the detection objects, the first total number of detection objects representing a sum of the number of detection objects of each predicated category in the teacher model;

determining a second proportion of detection objects of each predicted category according to a ratio between the number of detection objects of each predicted category in the student model and a second total number of detection objects, the second total number of detection objects representing a sum of the number of detection objects of each predicated category in the student model; and

determining the learning rate of each predicted category according to a ratio between the first proportion of detection objects and the second proportion of detection objects.

11 . The electronic device of claim 9 , wherein the processor determines the probability threshold of each predicted category according to the learning rate of each predicted category by:

determining a maximum learning rate from the learning rates;

determining a weight coefficient of each predicted category according to a ratio between the learning rate and the maximum learning rate;

determining the probability threshold of each predicted category according to a product of the weight coefficient and a preset probability upper limit value.

12 . The electronic device according to claim 8 , wherein the processor determines the number of detection objects of each predicted category in the teacher model according to the second classification reference information, and determine the number of detection objects of each predicted category in the student model according to the first classification reference information by:

determining the predicted category of a maximum probability as a predicted category of each detection object corresponding to the teacher model, and determining the number of detection objects of each predicted category in the teacher model according to the predicted category of each detection object corresponding to the teacher model;

determining the predicted category of the maximum probability as a predicted category of each detection object corresponding to the student model, and determining the number of detection objects of each predicted category in the student model according to the predicted category of each detection object corresponding to the student model.

13 . The electronic device according to claim 12 , wherein the processor is further caused to:

in response that the predicted category of each detection object corresponding to the teacher model is greater than the probability threshold of the predicted category, generate the pseudo label of the unlabeled image for the student model according to the predicted category of each detection object corresponding to the teacher model.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 26, 2024
From: LV, YONGCHUN; ZHU, HUI; ZHOU, XUNYI; JIANG, NING; WU, HAIYING
To: MASHANG CONSUMER FINANCE CO., LTD.
Reel/Frame 066898/0848 →
Priority Claims (1)
CN 202210857077.5 · Jul 20, 2022 · national
Continuity (2)
Continuation In Part PCTCN2023102477 · Jun 26, 2023
Related Publication 20240233348A1 · Jul 11, 2024
References Cited (19)
US 10558920B2 · Jayaraman · 2020 [cited by examiner]
US 11961281B1 · Kim · 2024 [cited by examiner]
US 20190392606A1 · Hisada · 2019 [cited by examiner]
US 20210264224A1 · Tamaoki · 2021 [cited by examiner]
US 20220188636A1 · Pham · 2022 [cited by examiner]
US 20220198181A1 · Huang · 2022 [cited by examiner]
US 20220262031A1 · Yamasaki · 2022 [cited by examiner]
US 20230177813A1 · Kawasaki · 2023 [cited by examiner]
US 20230274448A1 · Metge · 2023 [cited by examiner]
US 20230281974A1 · Ramamonjison · 2023 [cited by examiner]
US 20250086949A1 · Meethal · 2025 [cited by examiner]
CN 114445670 · 2022 [cited by applicant]
Zhang B, Wang Y, Hou W, Wu H, Wang J, Okumura M, Shinozaki T. Flexmatch: Boosting semi-supervised learning with curriculum pseudo labeling. Advances in neural information processing systems. Dec. 6, 2021;34:18408-19. [cited by examiner]
Li H, Wu Z, Shrivastava A, Davis LS. Rethinking pseudo labels for semi-supervised object detection. InProceedings of the AAAI conference on artificial intelligence Jun. 28, 2022 (vol. 36, No. 2, pp. 1314-1322). [cited by examiner]
Chen B, Chen W, Yang S, Xuan Y, Song J, Xie D, Pu S, Song M, Zhuang Y. Label Matching Semi-Supervised Object Detection. arXiv preprint arXiv:2206.06608. Jun. 14, 2022. [cited by examiner]
Yihe Tang et al.; Humble Teachers Teach Better Students for Semi-Supervised Object Detection;2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR);Jun. 20, 2021;pp. 3131-3140. [cited by applicant]
Qizhe Xie et al.;Self-training with Noisy Student improves ImageNet classification;2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR);Jun. 13, 2020;pp. 10684-10695. [cited by applicant]
Minchul Shin;Semi-supervised Learning with a Teacher-student Network for Generalized Attribute Prediction; arxiv.org,Cornell University Library,201 Olin Library Cornell University Ithaca, NY 14853; Jul. 14, 2020. [cited by applicant]
Amin Banitalebi-Dehkordi;Knowledge Distillation for Low-Power Object Detection: A Simple Technique and Its Extensions for Training Compact Models Using Unlabeled Data;2021 IEEE/CVF International Conference on Computer V… [cited by applicant]