IP Library Granted Patent US 12,374,096
Granted Patent B2
US 12,374,096 · App. 18/159,492 · Granted Jul 29, 2025

Teaching student network for end-to-end semi-supervised object detection

Inventors: Pankaj Wasnik (Bangalore, IN); Naoyuki Onoe (Bangalore, IN); Vishal Chudasama (Bangalore, IN); Purbayan Kar (Bangalore, IN)
Assignee: SONY GROUP CORPORATION
G06V10/82G06N3/045G06N3/0895G06V10/771
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,374,096
App. No.
18/159,492
Granted
Jul 29, 2025
Kind
B2
Abstract

A system and method for end-to-end semi-supervised object detection is provided. The system retrieves labeled and unlabeled images from an image dataset and generates an input batch by application of image transformation(s) on the images. The system further generates a first result for each image of the input batch by application of a teacher neural network on the input batch. For an object in an unlabeled image of the batch, the first result includes candidate bounding boxes and scores for the boxes. The system determines a threshold score based on the scores and selects a foreground bounding box from the candidates. The system generates a second result by application of a student neural network on the unlabeled image and computes a training loss over the input batch based on the foreground bounding box and the second result. The system trains the student neural network based on the training loss.

Claims (74)

1. A method, comprising:

retrieving labeled and unlabeled images from an image dataset;

generating an input batch by an application of a set of image transformations on the labeled and unlabeled images;

generating a first result for each image of the input batch by an application of a teacher neural network on the input batch,

wherein the teacher neural network is a pretrained network for an object detection task, and

the first result for an object in a first unlabeled image of the input batch includes a set of candidate bounding boxes for the object and a set of scores corresponding to the set of candidate bounding boxes;

determining a threshold score based on the set of scores;

selecting, based on the threshold score, a foreground bounding box from the set of candidate bounding boxes;

generating a second result that includes a bounding box prediction for the object, by an application of a student neural network on the first unlabeled image,

wherein the student neural network is an untrained network that is to be trained for the object detection task;

computing a training loss over the input batch based on the foreground bounding box and the bounding box prediction; and

re-training the student neural network on the object detection task based on the training loss.

2. The method according to claim 1 , further comprising randomly sampling the image dataset using a sample ratio to retrieve the labeled and unlabeled images.

3. The method according to claim 1 , wherein the set of image transformations comprises a first subset of image transformations associated with a first data augmentation type and a second subset of image transformations associated with a second data augmentation type that is different from the first data augmentation type.

4. The method according to claim 3 , wherein the first subset of image transformations comprises an image flipping operation and an image shifting operation, and

the second subset of image transformations comprises one or more of an image rotation operation, a blur operation, a contrast variation, a shear operation, a masking operation for one or more regions of an image, a jitter addition operation, or an addition of a random noise.

5. The method according to claim 3 , wherein the input batch comprises a second unlabeled image and a labeled image associated with the first data augmentation type, and the first unlabeled image is associated with the second data augmentation type.

6. The method according to claim 1 , further comprising:

generating a third result by the application of the student neural network on a labeled image of the input batch; and

computing a total supervised loss for the first result associated with the labeled image and the third result associated with the labeled image, by using a supervised loss function and a supervised regression loss function,

wherein the total supervised loss includes a supervised classification loss and a supervised box-regression loss, and

the training loss is computed further based on the computation of the total supervised loss for the labeled image of the input batch.

7. The method according to claim 1 , further comprising:

computing a first unsupervised loss for the first result that is generated for the first unlabeled image;

computing a second unsupervised loss for the first result that is generated for a second unlabeled image of the input batch,

wherein each of the first unsupervised loss and the second unsupervised loss is computed by using an unsupervised loss function and includes an unsupervised classification loss and an unsupervised box-regression loss, and

wherein the training loss is computed further based on the computation of the first unsupervised loss and the second unsupervised loss.

8. The method according to claim 7 , wherein each of the first unsupervised loss and the second unsupervised loss is equal to a sum of a foreground classification loss, a background classification loss, a background similarity loss, and a foreground-background dissimilarity loss.

9. The method according to claim 1 , further comprising an application of a non-maximum suppression operation on the set of candidate bounding boxes to extract a subset of candidate bounding boxes from the set of candidate bounding boxes.

10. The method according to claim 9 , wherein the foreground bounding box is selected from the subset of candidate bounding boxes.

11. The method according to claim 9 , further comprising:

selecting a bounding box from the subset of candidate bounding boxes;

generate a set of jitter boxes by application of a jitter operation on the selected bounding box for a number of iterations; and

executing a bagging operation on the set of jitter boxes to select a jitter box with an area that is a maximum among respective areas of the set of jitter boxes,

wherein the selected jitter box is used in computing a box-regression loss that is part of the training loss.

12. The method according to claim 1 , wherein the set of scores includes:

foreground scores for foreground bounding boxes of the set of candidate bounding boxes, and

background scores for background bounding boxes of the set of candidate bounding boxes.

13. The method according to claim 12 , further comprising:

computing an average foreground score by dividing a sum of the foreground scores by a number of the foreground bounding boxes; and

computing an average background score by dividing a sum of the background scores by a number of the background bounding boxes, wherein the threshold score is determined by:

dividing the average foreground score by the average background score to produce a value; and

applying a floor function on the value.

14. The method according to claim 1 , further comprising updating weight parameters of the student neural network using the training loss to re-train the student neural network.

15. The method according to claim 14 , further comprising updating weight parameters of the teacher neural network based on the updated weight parameters of the student neural network.

16. The method according to claim 15 , wherein the update of the weight parameters of the teacher neural network comprises an execution of an exponential moving average (EMA) operation and an execution of an Exponential Adaptive Difference Moving Average (E-ADMA) operation.

17. A system, comprising:

circuitry configured to:

retrieve labeled and unlabeled images from an image dataset;

generate an input batch by an application of a set of image transformations on the labeled and unlabeled images;

generate a first result for each image of the input batch by an application of a teacher neural network on the input batch,

wherein the teacher neural network is a pretrained network for an object detection task, and

the first result for an object in a first unlabeled image of the input batch includes a set of candidate bounding boxes for the object and a set of scores corresponding to the set of candidate bounding boxes;

determine a threshold score based on the set of scores;

select, based on the threshold score, a foreground bounding box from the set of candidate bounding boxes;

generate a second result that includes a bounding box prediction for the object, by an application of a student neural network on the first unlabeled image,

wherein the student neural network is an untrained network that is to be trained for the object detection task;

compute a training loss over the input batch based on the foreground bounding box and the bounding box prediction; and

re-train the student neural network on the object detection task based on the training loss.

18. The system according to claim 17 , wherein the circuitry is further configured to update weight parameters of the student neural network using the training loss to re-train the student neural network.

19. The system according to claim 18 , wherein the circuitry is further configured to update weight parameters of the teacher neural network based on the updated weight parameters of the student neural network, and

the update of the weight parameters of the teacher neural network comprises an execution of an exponential moving average (EMA) operation and an execution of an Exponential Adaptive Difference Moving Average (E-ADMA) operation.

20. A non-transitory computer-readable storage medium configured to store instructions that, in response to being executed, causes a computer in a system to perform operations, the operations comprising:

retrieving labeled and unlabeled images from an image dataset;

generating an input batch by an application of a set of image transformations on the labeled and unlabeled images;

generating a first result for each image of the input batch by an application of a teacher neural network on the input batch,

wherein the teacher neural network is a pretrained network for an object detection task, and

the first result for an object in a first unlabeled image of the input batch includes a set of candidate bounding boxes for the object and a set of scores corresponding to the set of candidate bounding boxes;

determining a threshold score based on the set of scores;

selecting, based on the threshold score, a foreground bounding box from the set of candidate bounding boxes;

generating a second result that includes a bounding box prediction for the object, by an application of a student neural network on the first unlabeled image,

wherein the student neural network is an untrained network that is to be trained for the object detection task;

computing a training loss over the input batch based on the foreground bounding box and the bounding box prediction; and

re-training the student neural network on the object detection task based on the training loss.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 25, 2023
From: WASNIK, PANKAJ; ONOE, NAOYUKI; CHUDASAMA, VISHAL; KAR, PURBAYAN
To: SONY GROUP CORPORATION
Reel/Frame 062487/0163 →
Continuity (2)
Provisional Application 63268863 · Mar 4, 2022
Related Publication 20230281980A1 · Sep 7, 2023
References Cited (34)
US 20130129199A1 · Russakovsky · 2013 [cited by examiner]
US 20150121183A1 · Saund · 2015 [cited by examiner]
US 20160358337A1 · Dai · 2016 [cited by examiner]
US 20190130191A1 · Zhou · 2019 [cited by examiner]
US 20190130580A1 · Chen · 2019 [cited by examiner]
US 20200034983A1 · Finkelstein · 2020 [cited by examiner]
US 20200184233A1 · Berberian · 2020 [cited by examiner]
US 20210056708A1 · Li · 2021 [cited by examiner]
US 20210209785A1 · Unnikrishnan · 2021 [cited by examiner]
US 20210319266A1 · Chen · 2021 [cited by examiner]
US 20210365707A1 · Mao · 2021 [cited by examiner]
US 20210383134A1 · Ko · 2021 [cited by examiner]
US 20220164961A1 · Lee · 2022 [cited by examiner]
US 20220207875A1 · Kopparapu · 2022 [cited by examiner]
US 20220343178A1 · Hall · 2022 [cited by examiner]
CN 112232416A · 2021 [cited by applicant]
CN 113239924A · 2021 [cited by applicant]
WO 2020198779A1 · 2020 [cited by applicant]
WO 2022042002A1 · 2022 [cited by applicant]
Kihyuk Sohn et al.,“A Simple Semi-Supervised Learning Framework for Object Detection,” Dec. 3, 2020, arXiv:2005.04757v2,Computer Vision and Pattern Recognition,pp. 1-8. [cited by examiner]
Bo Xiao et al.,“A semi-supervised learning detection method for vision-based monitoring of construction sites by integrating teacher-student networks and data augmentation,” Aug. 11, 2021, Advanced Engineering Informati… [cited by examiner]
Yu-Jhe Li et al.,“Cross-Domain Adaptive Teacher for Object Detection,” Jun. 2022, Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022, pp. 7581-7588. [cited by examiner]
Hongyu Zhou et al.,“Dense Teacher: Dense Pseudo-Labels for Semi-supervised Object Detection,” Nov. 6, 2022,Computer Vision—ECCV 2022. ECCV 2022. Lecture Notes in Computer Science, vol 13669. Springer, Cham., pp. 35-45. [cited by examiner]
Mengde Xu et al.,“End-to-End Semi-Supervised Object Detection with Soft Teacher,” Oct. 2021, Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2021,pp. 3060-3066. [cited by examiner]
Wenming Cao et al.,“Fast Deep Neural Networks With Knowledge Guided Training and Predicted Regions of Interests for Real-Time Video Object Detection,” Mar. 13, 2018,IEEE Access , vol. 6,2018, pp. 8990-8997. [cited by examiner]
Yihe Tang et al.,“Humble Teachers Teach Better Students for Semi-Supervised Object Detection,” Jun. 2021,Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2021, pp. 3132-3138. [cited by examiner]
Gang Li et al.,“PseCo: Pseudo Labeling and Consistency Training for Semi-Supervised Object Detection,” Nov. 6, 2022, Computer Vision—ECCV 2022. ECCV 2022. Lecture Notes in Computer Science, vol 13669. Springer, Cham., p… [cited by examiner]
Hengduo Li et al.,“Rethinking Pseudo Labels for Semi-supervised Object Detection,” Jun. 28, 2022, The Thirty-Sixth AAAI Conference on Artificial Intelligence (AAAI-22), pp. 1314-1319. [cited by examiner]
Yen-Cheng Liu et al.,“Unbiased Teacher for Semi-Supervised Object Detection,” Feb. 18, 2021,Published as a conference paper at ICLR 2021,pp. 1-5. [cited by examiner]
Chetan L. Srinidhi et al.,“Self-supervised driven consistency training for annotation efficient histopathology image analysis,” Oct. 13, 2021, Medical Image Analysis 75 (2022) 102256,pp. 1-10. [cited by examiner]
Chetan L Srinidhi, et al, “Self-supervised driven consistency training for annotation efficient histopathology image analysis”, arxiv.org, Cornell University Library, 201 Olin Library Cornell University Ithaca, NY 14853… [cited by applicant]
Kihyuk Sohn, et al, “A Simple Semi-Supervised Learning Framework for Object Detection”, arxiv.org, Cornell University Library, 201 Olin Library Cornell University Ithaca, NY 14853, May 10, 2020 (May 10, 2020), XP0816668… [cited by applicant]
Hengduo Li , et al: “Rethinking Pseudo Labels for Semi-supervised Object Detection”, Proceedings of the AAAI Conference on Artificial Intelligence, vol. 36, No. 2, Dec. 30, 2021 (Dec. 30, 2021), pp. 1314-1322, XP9304512… [cited by applicant]
Mengde Xu, et al, “End-to-End Semi-Supervised Object Detection with Soft Teacher”, arxiv.org, Cornell University Library, 201 Olin Library Cornell University Ithaca, NY 14853, Aug. 6, 2021 (Aug. 6, 2021), XP091027027, p… [cited by applicant]
Cited By (1)
US 12,548,307