Patent ID: 11875250
Assignee: AMAZON TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 15:
16. A non-transitory computer-accessible storage medium storing program instructions that when executed on one or more processors cause the one or more processors to perform a method comprising:
obtaining an indication of semantic relationships among a plurality of classes, wherein the indication includes a matrix representing closeness of semantic relationships between individual ones of the plurality of classes;
training a neural network using a loss function, wherein determination of a loss for a training observation during training of the neural network includes computing a difference vector between (a) an output vector of a particular layer of the neural network for the training observation and (b) a ground truth vector corresponding to the training observation, and multiplying the difference vector between the output vector and the ground truth vector with the matrix representing the closeness of semantic relationships between the individual ones of the plurality of classes; and
identifying, using the trained neural network, one or more classes to which an input observation belongs.