Patent ID: 11941867
Assignee: GOOGLE LLC
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 13:
14. The system of claim 13, wherein determining the soft nearest neighbor loss comprises:
for each given network input of the plurality of network inputs:
determining an intra-class variation for the given network input that characterizes how similar the intermediate representation of the given network input is to intermediate representations of other network inputs of the plurality of network inputs that are of the same class as the given network input;
determining a total variation for the given network input that characterizes how similar the intermediate representation of the given network input is to the intermediate representations of other network inputs of the plurality of network inputs that are of any class; and
determining a ratio of the intra-class variation and the total variation for the given network input; and

determining the soft nearest neighbor loss based on the respective ratios of the intra-class variation and the total variation for each given network input.