Apparatus, method, device and medium for label-balanced calibration in post-training quantization of dnn

US2025077861A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2025077861-A1
Application numberUS-202118574995-A
CountryUS
Kind codeA1
Filing dateNov 3, 2021
Priority dateNov 3, 2021
Publication dateMar 6, 2025
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The disclosure provides an apparatus, method, device and medium for label-balanced calibration in post-training quantization of DNNs. An apparatus includes interface circuitry configured to receive a training dataset and processor circuitry coupled to the interface circuitry. The processor circuitry is configured to generate a small ground truth dataset by selecting images with a ground truth number of 1 from the training dataset; generate a calibration dataset randomly from the training dataset; if any image in the calibration dataset has the ground truth number of 1, remove the image from the small ground truth dataset; generate a label balanced calibration dataset by replacing an image with a ground truth number greater than a preset threshold in the calibration dataset with a replacing image selected randomly from the small ground truth dataset; and perform calibration using the label balanced calibration dataset in post-training quantization. Other embodiments are disclosed and claimed.

First claim

Opening claim text (preview).

1 - 24 . (canceled) 25 . An apparatus, comprising: interface circuitry configured to receive a training dataset; and processor circuitry coupled to the interface circuitry, the processor circuitry being configured to: generate a small ground truth dataset by selecting images with a ground truth number of 1 from the training dataset; generate a calibration dataset randomly from the training dataset; if any image in the calibration dataset has the ground truth number of 1, remove the image from the small ground truth dataset; generate a label balanced calibration dataset by replacing an image with a ground truth number greater than a preset threshold in the calibration dataset with a replacing image selected randomly from the small ground truth dataset; and perform calibration using the label balanced calibration dataset in post-training quantization of a deep neural network (DNN). 26 . The apparatus of claim 25 , wherein the processor circuitry is configured to generate the label balanced calibration dataset by, for each image in the calibration dataset, appending the image to the label balanced calibration dataset, under a condition that a ground truth number of the image is not greater than the preset threshold; or under a condition that the ground truth number of the image is greater than the preset threshold, selecting randomly the replacing image for the image from the small ground truth dataset, appending the replacing image to the label balanced calibration dataset, and removing the replacing image from the small ground truth dataset. 27 . The apparatus of claim 25 , wherein the preset threshold is 5. 28 . The apparatus of claim 25 , wherein the DNN comprises a multi-label DNN for object detection or instance segmentation. 29 . The apparatus of claim 25 , wherein the training dataset comprises a Common Objects in Context (COCO) dataset. 30 . The apparatus of claim 25 , wherein the post-training quantization reduces precision of parameters of the DNN from float 32 bits to integer 8 bits. 31 . A method, comprising: generating a small ground truth dataset by selecting images with a ground truth number of 1 from a training dataset; generating a calibration dataset randomly from the training dataset; if any image in the calibration dataset has the ground truth number of 1, removing the image from the small ground truth dataset; generating a label balanced calibration dataset by replacing an image with a ground truth number greater than a preset threshold in the calibration dataset with a replacing image selected randomly from the small ground truth dataset; and performing calibration using the label balanced calibration dataset in post-training quantization of a deep neural network (DNN). 32 . The method of claim 31 , wherein generating the label balanced calibration dataset comprises: for each image in the calibration dataset, appending the image to the label balanced calibration dataset, under a condition that a ground truth number of the image is not greater than the preset threshold; or under a condition that the ground truth number of the image is greater than the preset threshold, selecting randomly the replacing image for the image from the small ground truth dataset, appending the replacing image to the label balanced calibration dataset, and removing the replacing image from the small ground truth dataset. 33 . The method of claim 31 , wherein the preset threshold is 5. 34 . The method of claim 31 , wherein the DNN comprises a multi-label DNN for object detection or instance segmentation. 35 . The method of claim 31 , wherein the training dataset comprises a Common Objects in Context (COCO) dataset. 36 . The method of claim 31 , wherein the post-training quantization reduces precision of parameters of the DNN from float 32 bits to integer 8 bits. 37 . A non-transitory machine readable storage medium having instructions stored thereon, which when executed by a machine, cause the machine to perform operations, comprising: generating a small ground truth dataset by selecting images with a ground truth number of 1 from a training dataset; generating a calibration dataset randomly from the training dataset; if any image in the calibration dataset has the ground truth number of 1, removing the image from the small ground truth dataset; generating a label balanced calibration dataset by replacing an image with a ground truth number greater than a preset threshold in the calibration dataset with a replacing image selected randomly from the small ground truth dataset; and performing calibration using the label balanced calibration dataset in post-training quantization of a deep neural network (DNN). 38 . The non-transitory machine readable storage medium of claim 37 , wherein generating the label balanced calibration dataset comprises: for each image in the calibration dataset, appending the image to the label balanced calibration dataset, under a condition that a ground truth number of the image is not greater than the preset threshold; or under a condition that the ground truth number of the image is greater than the preset threshold, selecting randomly the replacing image for the image from the small ground truth dataset, appending the replacing image to the label balanced calibration dataset, and removing the replacing image from the small ground truth dataset. 39 . The non-transitory machine readable storage medium of claim 37 , wherein the preset threshold is 5. 40 . The non-transitory machine readable storage medium of claim 37 , wherein the DNN comprises a multi-label DNN for object detection or instance segmentation. 41 . The non-transitory machine readable storage medium of claim 37 , wherein the training dataset comprises a Common Objects in Context (COCO) dataset. 42 . The non-transitory machine readable storage medium of claim 37 , wherein the post-training quantization reduces precision of parameters of the DNN from float 32 bits to integer 8 bits.

Assignees

Inventors

Classifications

  • G06N3/0495Primary

    Quantised networks; Sparse networks; Compressed networks · CPC title

  • Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting · CPC title

  • Validation; Performance evaluation · CPC title

  • Convolutional networks [CNN, ConvNet] · CPC title

  • Supervised learning · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2025077861A1 cover?
The disclosure provides an apparatus, method, device and medium for label-balanced calibration in post-training quantization of DNNs. An apparatus includes interface circuitry configured to receive a training dataset and processor circuitry coupled to the interface circuitry. The processor circuitry is configured to generate a small ground truth dataset by selecting images with a ground truth n…
Who is the assignee on this patent?
Intel Corp
What technology area does this patent fall under?
Primary CPC classification G06N3/0495. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Mar 06 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).