# US 2021/0287054 A1 · System and method for identification and localization of images using triplet loss and predicted regions

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0287054 A1
- Document ID: US20210287054A1
- Status: Published application
- Kind: A1
- Application number: 16/817,394
- Filed: 2020-03-12
- Published: 2021-09-16
- Earliest claimed: 2020-03-12
- Assignees: Fuji Xerox Co., Ltd.
- Applicants: FUJIFILM Business Innovation Corp.
- Inventors: Cheng Zhang; Francine Chen; Yin-Ying Chen
- Web page: https://patentgrep.com/patent/US20210287054A1

## CPC

- G06V 10/82: using neural networks
- G06F 18/211: Selection of the most significant subset of features
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/241: relating to the classification model, e.g. parametric or non-parametric approaches
- G06F 18/254: {of classification results, e.g. of results related to same input data}
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06N 3/09: Supervised learning
- G06N 20/00: Machine learning
- G06T 3/40: Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T 3/60: Rotation of whole images or parts thereof
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/776: Validation; Performance evaluation
- G06V 10/809: {of classification results, e.g. where the classifiers operate on the same input data}
- G06V 2201/03: Recognition of patterns in medical or anatomical images
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method and system for classifying image features using a neural network is provided. The method includes training the neural network using triplet loss processes including receiving an anchor image, selecting a positive image and a negative image, generating a image embedding associated with each of the anchor image, the positive image, and the negative image, classifying image features extracted from the anchor image based on the image embedding of the anchor image, determining an image label location associated with the classified image features, extracting features associated with the determined image label location, and classifying the features associated with the determined image label location; and combining the multi-label loss with localized image classification loss and the triplet loss using a weighted loss sum.

## Claims

### Claim 1

A method of classifying image features using a neural network, the method comprising:
training the neural network using triplet loss processes including:
receiving an anchor image and image labels associated with the anchor image, the anchor image to be used for training the neural network;
selecting a positive image and image labels associated with the positive image, the positive image having at least one image label shared with the anchor image;
selecting a negative image and image labels associated with the negative image, the negative image having no image labels shared with the anchor image;
using an image feature embedding network to generate an image embedding associated with each of the anchor image, the positive image, and the negative image;
classifying, by the neural network, image features extracted from the anchor image based on the image embedding of the anchor image; and
calculating a triplet loss based on the image embeddings associated with each of the anchor image, the positive image, and the negative image to determine the classification weighting of the image features;
using the trained neural network to classify image features of a test data image not having any associated labeled features.

### Claim 2 (depends on 1)

The method of claim 1, wherein the training the neural network further comprises:
calculating a multi-label loss based on the classified image features extracted from the anchor image associated with the image embedding and the image labels associated with the anchor image; and
combining the multi-label loss with the calculated triplet loss using a weighted loss sum.

### Claim 3 (depends on 2)

The method of claim 2, wherein the training the neural network further comprises:
using a spatial transformer network to transform each of the anchor image, the positive image, and the negative image by scaling, rotating and cropping to establish a common view orientation.

### Claim 4 (depends on 1)

The method of claim 1, wherein the training the neural network further comprises:
determining an image label location associated with the classified image features;
extracting features associated with the determined image label location;
classifying, using the neural network, the features associated with the determined image label location;
determining a localized image classification loss associated with the features associated with the determined image label location; and
combining the multi-label loss with the localized image classification loss and the triplet loss using a weighted loss sum.

### Claim 5 (depends on 4)

The method of claim 4, further comprising identifying an image label location on the test image data using the trained neural network.

### Claim 6 (depends on 4)

The method of claim 4, wherein the training the neural network further comprises:
generating a new image embedding of the anchor image based on the extracted features associated with the determined image label location; and
classifying, by the neural network, the features extracted from the anchor image based on the new image embedding.

### Claim 7 (depends on 4)

The method of claim 4, wherein the anchor image, the positive image, and the negative image are each medical diagnostic images associated with one or more diseases.

### Claim 8

A method of classifying image features using a neural network, the method comprising:
training the neural network using triplet loss processes including:
receiving an anchor image and image labels associated with the anchor image, the anchor image to be used for training the neural network;
using an image feature embedding network to generate an image embedding associated with the anchor image;
classifying, by the neural network, image features extracted from the anchor image based on the image embedding of the anchor image;
determining an image label location associated with the classified image features;
extracting features associated with the determined image label location;
classifying, using the neural network, the features associated with the determined image label location; and
determining a localized image classification loss associated with the features associated with the determined image label location;
using the trained neural network to classify image features of a test data image not having any associated labeled features.

### Claim 9 (depends on 8)

The method of claim 8, wherein the training the neural network further comprises:
calculating a multi-label loss based on the classified image features extracted from the anchor image associated with the image embedding and the image labels associated with the anchor image; and
combining the multi-label loss with the localized image classification loss using a weighted loss sum.

### Claim 10 (depends on 8)

The method of claim 8, further comprising identifying an image label location on the test image data using the trained neural network.

### Claim 11 (depends on 9)

The method of claim 9, wherein the training the neural network further comprises:
generating a new image embedding of the anchor image based on the extracted features associated with the determined image label location; and
classifying, by the neural network, the features extracted from the anchor image based on the new image embedding.

### Claim 12 (depends on 8)

The method of claim 8, wherein the training the neural network further comprises:
selecting a positive image and image labels associated with the positive image, the positive image having at least one image label shared with the anchor image;
selecting a negative image and image labels associated with the negative image, the negative image having no image labels shared with the anchor image,
wherein the using an image feature embedding network to generate an image embedding comprises using an image feature embedding network to generate an image embedding associated with each of the anchor image, the positive image, and the negative image;
calculating a triplet loss based on the image embeddings associated with each of the anchor image, the positive image, and the negative image to determine the classification weighting of the image features; and
combining the multi-label loss with the localized image classification loss and the triplet loss using a weighted loss sum.

### Claim 13 (depends on 12)

The method of claim 12, wherein the training the neural network further comprises:
using a spatial transformer network to transform each of the anchor image, the positive image, and the negative image by scaling, rotating and cropping to establish a common view orientation.

### Claim 14 (depends on 12)

The method of claim 12, wherein the anchor image, the positive image, and the negative image are each medical diagnostic images associated with one or more diseases.

### Claim 15

A non-transitory computer readable medium encoded with instructions for causing a computer to perform a method of classifying image features using a neural network, the method comprising:
training the neural network using triplet loss processes including:
receiving an anchor image and image labels associated with the anchor image, the anchor image to be used for training the neural network;
selecting a positive image and image labels associated with the positive image, the positive image having at least one image label shared with the anchor image;
selecting a negative image and image labels associated with the negative image, the negative image having no image labels shared with the anchor image;
using an image feature embedding network to generate an image embedding associated with each of the anchor image, the positive image, and the negative image;
classifying, by the neural network, image features extracted from the anchor image based on the image embedding of the anchor image; and
determining an image label location associated with the classified image features;
extracting features associated with the determined image label location;
classifying, using the neural network, the features associated with the determined image label location;
determining a localized image classification loss associated with the features associated with the determined image label location;
calculating a triplet loss based on the image embeddings associated with each of the anchor image, the positive image, and the negative image to determine the classification weighting of the image features; and
combining the localized image classification loss and the triplet loss using a weighted loss sum;
using the trained neural network to classify image features of a test data image not having any associated labeled features.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the training the neural network further comprises:
calculating a multi-label loss based on the classified image features extracted from the anchor image associated with the image embedding and the image labels associated with the anchor image; and
combining the multi-label loss with localized image classification loss and the triplet loss using a weighted loss sum.

### Claim 17 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein the training the neural network further comprises:
using a spatial transformer network to transform each of the anchor image, the positive image, and the negative image by scaling, rotating and cropping to establish a common view orientation.

### Claim 18 (depends on 16)

The non-transitory computer readable medium of claim 16, further comprising identifying an image label location on the test image data using the trained neural network.

### Claim 19 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein the training the neural network further comprises:
generating a new image embedding of the anchor image based on the extracted features associated with the determined image label location; and
classifying, by the neural network, the features extracted from the anchor image based on the new image embedding.

### Claim 20 (depends on 19)

The non-transitory computer readable medium of claim 19, wherein the anchor image, the positive image, and the negative image are each medical diagnostic images associated with one or more diseases.
