IP Library Granted Patent US 10,102,454
Granted Patent B2
US 10,102,454 · App. 15/813,401 · Granted Oct 16, 2018

Image classification utilizing semantic relationships in a classification hierarchy

Inventors: Michele Merler (New York, NY); John R. Smith (New York, NY); Rosario A. Uceda-Sosa (Hartsdale, NY); Hui Wu (White Plains, NY)
Assignee: International Business Machines Corporation
G06K9/66G06K9/628G06K9/6277G06K9/6285H05K999/99G06K9/627
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 10,102,454
App. No.
15/813,401
Granted
Oct 16, 2018
Kind
B2
Abstract

A method includes utilizing two or more classifiers to calculate, for an input image, probability scores for a plurality of classes based on visual information extracted from the input image and semantic relationships in a classification hierarchy, wherein each of the two or more classifiers is associated with a given one of two or more levels in the classification hierarchy with each level in the classification hierarchy comprising a subset of the plurality of classes, and classifying the input image based on the calculated probability scores.

Claims (52)

1. A computer-implemented method comprising:

utilizing two or more classifiers to calculate, for an input image, probability scores for a plurality of classes based on visual information extracted from the input image and semantic relationships in a classification hierarchy, wherein each of the two or more classifiers is associated with a given one of two or more levels in the classification hierarchy with each level in the classification hierarchy comprising a subset of the plurality of classes;

classifying the input image based on the calculated probability scores;

training the two or more classifiers to calculate probability scores for respective subset of the plurality of classes; and

performing label inference to refine classification probabilities in the two or more classifiers based on semantic relationships in the classification hierarchy;

wherein training the two or more classifiers and performing label inference comprises at least one of:

taking as input a graph structure having initial values for nodes corresponding to classification probabilities in the two or more classifier and outputting the graph structure with modified values for the nodes;

utilizing a multi-task learning based loss function that jointly optimizes classifiers associated with each of the two or more levels in the classification hierarchy; and

utilizing a random walk process that smooths classification probabilities over two or more classes in a same semantic path in the classification hierarchy.

2. The method of claim 1 , wherein training the two or more classifiers utilizes a deep learning neural network.

3. The method of claim 1 , wherein the classification hierarchy comprises a tree structure and performing label inference to refine the classification probabilities in the two or more classifiers comprises, for two or more leaf nodes having classification probabilities within a designated threshold from one another, adjusting the classification probabilities for the two or more leaf nodes based on classification probabilities for parent nodes in a higher level of the classification hierarchy relative to the two or more leaf nodes.

4. The method of claim 1 , wherein the classification hierarchy comprises a tree structure and performing label inference to refine the classification probabilities in the two or more classifiers comprises, for two or more parent nodes having classification probabilities within a designated threshold from one another, adjusting the classification probabilities for the two or more parent nodes based on the classification probabilities for two or more leaf nodes corresponding to the two or more parent nodes, wherein the two or more parent nodes are in a higher level of the classification hierarchy relative to the two or more leaf nodes.

5. The method of claim 1 , wherein the multi-task learning based loss function utilizes a tradeoff parameter that adjusts contributions of fine-grained classifications from a lowest level of the classification hierarchy with semantic relationships among classes at one or more higher levels of the classification hierarchy.

6. The method of claim 1 , wherein the multi-task learning based loss function trains the two or more classifiers such that misclassification of the input image based on the calculated probability scores falls within a semantically-related category of classes for a correct classification of the input image.

7. The method of claim 1 , wherein hierarchical relationships among the plurality of classes in the classification hierarchy are at least one of:

obtained from a semantic data store; and

learned using natural language processing.

8. The method of claim 1 , further comprising:

capturing the input image using a mobile device; and

utilizing the classification of the input image to obtain additional information related to the input image.

9. The method of claim 8 , wherein at least one of:

the input image comprises a food dish and the additional information comprises nutritional information relating to the food dish; and

the input image comprises a product and the additional information comprises information relating to ordering information for the product.

10. The method of claim 1 , wherein the two or more classifiers are provided as software-as-a-service in a cloud environment.

11. The method of claim 1 , wherein the two or more classifiers are provided as an on-demand self-service in a cloud environment.

12. A computer program product comprising a computer readable storage medium for storing computer readable program code which, when executed, causes a computer:

to utilize two or more classifiers to calculate, for an input image, probability scores for a plurality of classes based on visual information extracted from the input image and semantic relationships in a classification hierarchy, wherein each of the two or more classifiers is associated with a given one of two or more levels in the classification hierarchy with each level in the classification hierarchy comprising a subset of the plurality of classes;

to classify the input image based on the calculated probability scores;

to train the two or more classifiers to calculate probability scores for respective subset of the plurality of classes; and

to perform label inference to refine classification probabilities in the two or more classifiers based on semantic relationships in the classification hierarchy;

wherein training the two or more classifiers and performing label inference comprises at least one of:

taking as input a graph structure having initial values for nodes corresponding to classification probabilities in the two or more classifier and outputting the graph structure with modified values for the nodes;

utilizing a multi-task learning based loss function that jointly optimizes classifiers associated with each of the two or more levels in the classification hierarchy; and

utilizing a random walk process that smooths classification probabilities over two or more classes in a same semantic path in the classification hierarchy.

13. An apparatus comprising:

a memory; and

a processor coupled to the memory and configured:

to utilize two or more classifiers to calculate, for an input image, probability scores for a plurality of classes based on visual information extracted from the input image and semantic relationships in a classification hierarchy, wherein each of the two or more classifiers is associated with a given one of two or more levels in the classification hierarchy with each level in the classification hierarchy comprising a subset of the plurality of classes;

to classify the input image based on the calculated probability scores;

to train the two or more classifiers to calculate probability scores for respective subset of the plurality of classes; and

to perform label inference to refine classification probabilities in the two or more classifiers based on semantic relationships in the classification hierarchy;

wherein training the two or more classifiers and performing label inference comprises at least one of:

taking as input a graph structure having initial values for nodes corresponding to classification probabilities in the two or more classifier and outputting the graph structure with modified values for the nodes;

utilizing a multi-task learning based loss function that jointly optimizes classifiers associated with each of the two or more levels in the classification hierarchy; and

utilizing a random walk process that smooths classification probabilities over two or more classes in a same semantic path in the classification hierarchy.

14. The computer program product of claim 12 , wherein the multi-task learning based loss function utilizes a tradeoff parameter that adjusts contributions of fine-grained classifications from a lowest level of the classification hierarchy with semantic relationships among classes at one or more higher levels of the classification hierarchy.

15. The computer program product of claim 12 , wherein the multi-task learning based loss function trains the two or more classifiers such that misclassification of the input image based on the calculated probability scores falls within a semantically-related category of classes for a correct classification of the input image.

16. The computer program product of claim 12 , wherein the classification hierarchy comprises a tree structure and performing label inference to refine the classification probabilities in the two or more classifiers comprises, for two or more leaf nodes having classification probabilities within a designated threshold from one another, adjusting the classification probabilities for the two or more leaf nodes based on classification probabilities for parent nodes in a higher level of the classification hierarchy relative to the two or more leaf nodes.

17. The computer program product of claim 12 , wherein the classification hierarchy comprises a tree structure and performing label inference to refine the classification probabilities in the two or more classifiers comprises, for two or more parent nodes having classification probabilities within a designated threshold from one another, adjusting the classification probabilities for the two or more parent nodes based on the classification probabilities for two or more leaf nodes corresponding to the two or more parent nodes, wherein the two or more parent nodes are in a higher level of the classification hierarchy relative to the two or more leaf nodes.

18. The apparatus of claim 13 , wherein the multi-task learning based loss function utilizes a tradeoff parameter that adjusts contributions of fine-grained classifications from a lowest level of the classification hierarchy with semantic relationships among classes at one or more higher levels of the classification hierarchy.

19. The apparatus of claim 13 , wherein the multi-task learning based loss function trains the two or more classifiers such that misclassification of the input image based on the calculated probability scores falls within a semantically-related category of classes for a correct classification of the input image.

20. The apparatus of claim 13 , wherein the classification hierarchy comprises a tree structure and performing label inference to refine the classification probabilities in the two or more classifiers comprises for two or more leaf nodes having classification probabilities within a designated threshold from one another, adjusting the classification probabilities for the two or more leaf nodes based on classification probabilities for parent nodes in a higher level of the classification hierarchy relative to the two or more leaf nodes.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 15, 2017
From: MERLER, MICHELE; SMITH, JOHN R.; UCEDA-SOSA, ROSARIO A.; WU, HUI
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 044132/0580 →
Continuity (2)
Continuation 15273872 · Sep 23, 2016
Related Publication 20180089543A1 · Mar 29, 2018
Cited By (2)
US 12,321,859 US 12,475,680