Hamming distance based robust output encoding for improved generalization

US11410043B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11410043-B2
Application numberUS-201916413988-A
CountryUS
Kind codeB2
Filing dateMay 16, 2019
Priority dateMay 16, 2019
Publication dateAug 9, 2022
Grant dateAug 9, 2022

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.

A computer-implemented method generates a hamming code based target label for each class of a dataset in which hamming distance between the target labels in the dataset is maximized and trains a convolutional neural network with the hamming codes based target label to thereby produce a trained AI model. The confusability between classes of the dataset is determined using a confusion matrix. The hamming distances of classes of the dataset that are determined to be more confusable are set to higher values than the hamming distances of classes of the dataset that are determined to be less confusable.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method comprising: generating a hamming code based target label for each class of a dataset in which hamming distance between the target labels in the dataset is maximized; and training a convolutional neural network with the modified dataset to thereby produce a trained AI model, wherein confusability between classes of the dataset is determined using a confusion matrix, and wherein hamming distances of classes of the dataset that are determined to be more confusable are set to higher values than the hamming distances of classes of the dataset that are determined to be less confusable. 2. The computer-implemented method of claim 1 , wherein the confusability between classes of the dataset is determined by reconstructing data for each class using an autoencoder trained using a first class of the classes and determining a reconstruction error for each class other than the first class. 3. The computer-implemented method of claim 1 , wherein the confusability between classes of the dataset is determined by using a data similarity method to compute a confusion matrix. 4. The computer-implemented method of claim 1 , wherein hamming codes are generated by maximizing the hamming distance between target labels; where the target labels are weighted based on the confusability between classes in the dataset, and wherein there is one hamming code per class in the dataset. 5. The computer-implemented method of claim 1 , wherein training is conducted by backpropagation with binary cross entropy loss. 6. The computer-implemented method of claim 1 , further comprising: forward propagating using the trained AI model; binarizing top-k logits of a sigmoid layer to produce a binarized code; computing Euclidean distance from the binarized code to a set of target hamming codes; and selecting an output label corresponding to a closest hamming code to thereby produce an inference result. 7. The computer-implemented method of claim 1 , wherein the dataset is a dataset of images. 8. A non-transitory computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by one or more processors to cause the one or more processors to perform a method comprising: generating a hamming code based target label for each class of a dataset in which hamming distance between the target labels in the dataset is maximized; and training a convolutional neural network with the modified dataset to thereby produce a trained AI model, wherein confusability between classes of the dataset is determined using a confusion matrix, and wherein the hamming distances of classes of the dataset that are determined to be more confusable are set to higher values than the hamming distances of classes of the dataset that are determined to be less confusable. 9. The non-transitory computer program product of claim 8 , wherein the confusability between classes of the dataset is determined by reconstructing data for each class using an autoencoder trained using a first class of the classes and determining a reconstruction error for each class other than the first class. 10. The non-transitory computer program product of claim 8 , wherein the confusability between classes of the dataset is determined by using a data similarity method to compute a confusion matrix. 11. The non-transitory computer program product of claim 8 , wherein hamming codes are generated by maximizing the hamming distance between target labels; where the target labels are weighted based on the confusability between classes in the dataset, and wherein there is one hamming code per class in the dataset. 12. The non-transitory computer program product of claim 8 , wherein training is conducted by backpropagation with binary cross entropy loss. 13. The non-transitory computer program product of claim 8 , forward propagating using the trained AI model; binarizing top-k logits of a sigmoid layer to produce a binarized code; computing Euclidean distance from the binarized code to a set of target hamming codes; and selecting an output label corresponding to a closest hamming code to thereby produce an inference result. 14. The non-transitory computer program product of claim 8 , wherein the dataset is a dataset of images. 15. A system including one or more processors configured to implement a method comprising: generating a hamming code based target label for each class of a dataset in which hamming distance between the target labels in the dataset is maximized; and training a convolutional neural network with the modified dataset to thereby produce a trained AI model, wherein confusability between classes of the dataset is determined using a confusion matrix, and wherein hamming distances of classes of the dataset that are determined to be more confusable are set to higher values than the hamming distances of classes of the dataset that are determined to be less confusable. 16. The system of claim 15 , wherein the confusability between classes of the dataset is determined by reconstructing data for each class using an autoencoder trained using a first class of the classes and determining a reconstruction error for each class other than the first class. 17. The system of claim 15 , wherein the confusability between classes of the dataset is determined by using a data similarity method to compute a confusion matrix. 18. The system of claim 15 , wherein hamming codes are generated by maximizing the hamming distance between target labels; where the target labels are weighted based on the confusability between classes in the dataset, and wherein there is one hamming code per class in the dataset. 19. The system of claim 15 , wherein training is conducted by backpropagation with binary cross entropy loss. 20. The system of claim 15 , wherein the method further comprising: forward propagating using the trained AI model; binarizing top-k logits of a sigmoid layer to produce a binarized code; computing Euclidean distance from the binarized code to a set of target hamming codes; and selecting an output label corresponding to a closest hamming code to thereby produce an inference result.

Assignees

Inventors

Classifications

  • using neural networks · CPC title

  • using classification, e.g. of video objects · CPC title

  • Activation functions · CPC title

  • based on distances to training or reference patterns · CPC title

  • G06N3/045Primary

    Combinations of networks · 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 US11410043B2 cover?
A computer-implemented method generates a hamming code based target label for each class of a dataset in which hamming distance between the target labels in the dataset is maximized and trains a convolutional neural network with the hamming codes based target label to thereby produce a trained AI model. The confusability between classes of the dataset is determined using a confusion matrix. The…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06N3/045. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 09 2022 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).