CPC G06V 10/761 (2022.01) [G06F 16/532 (2019.01); G06F 16/56 (2019.01); G06V 10/40 (2022.01); G06V 10/778 (2022.01); G06V 10/82 (2022.01)] | 12 Claims |
2. A learning apparatus comprising circuitry configured to execute operations comprising:
calculating a second similarity for a combination of reference images by using information on features different from feature vectors of labeled reference images, the second similarity being calculated as a similarity determined using the information on the features,
the reference images including a basic image as a reference of the labeling, a similar image that is the reference image similar to the basic image, and a dissimilar image that is the reference image dissimilar to the basic image; and
updating a parameter of a neural network such that a margin increases as the second similarity between the basic image and the dissimilar image increases relative to a second similarity between the basic image and the similar image, the parameter being updated by using a loss function including a first similarity between a feature vector of the basic image and a feature vector of the similar image, a first similarity between the feature vector of the basic image and a feature vector of the dissimilar image, and the margin based on the second similarity between the basic image and the similar image and the second similarity between the basic image and the dissimilar image, the feature vectors being outputted from the neural network for receiving a predetermined image and outputting the feature vectors.
|