# US 2024/0004925 A1 · Image descriptor network with imposed hierarchical normalization

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

- Number: US 2024/0004925 A1
- Document ID: US20240004925A1
- Status: Published application
- Kind: A1
- Application number: 18/368,153
- Filed: 2023-09-14
- Published: 2024-01-04
- Earliest claimed: 2020-05-01
- Assignees: Magic Leap, Inc.
- Applicants: Magic Leap, Inc.
- Inventors: Koichi Sato
- Web page: https://patentgrep.com/patent/US20240004925A1

## CPC

- G06F 16/56: having vectorial format
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06V 10/454: {Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]}
- G06V 10/469: {Contour-based spatial representations, e.g. vector-coding}
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/82: using neural networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Techniques are disclosed for using and training a descriptor network. An image may be received and provided to the descriptor network. The descriptor network may generate an image descriptor based on the image. The image descriptor may include a set of elements distributed between a major vector comprising a first subset of the set of elements and a minor vector comprising a second subset of the set of elements. The second subset of the set of elements may include more elements than the first subset of the set of elements. A hierarchical normalization may be imposed onto the image descriptor by normalizing the major vector to a major normalization amount and normalizing the minor vector to a minor normalization amount. The minor normalization amount may be less than the major normalization amount.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving a first image and a second image;
providing the first image and the second image to a descriptor network as input;
generating, using the descriptor network, a first image descriptor based on the first image and a second image descriptor based on the second image, the first image descriptor including a first set of elements distributed between a first major vector and a first minor vector, and the second image descriptor including a second set of elements distributed between a second major vector and a second minor vector;
computing a major distance between the first image and the second image based on the first major vector and the second major vector;
comparing the major distance to a threshold;
if the major distance is greater than the threshold, determining that the first image does not match the second image; and
if the major distance is less than the threshold:
computing a minor distance between the first image and the second image based on the first minor vector and the second minor vector;
comparing a sum of the major distance and the minor distance to the threshold;
if the sum is greater than the threshold, determining that the first image does not match the second image; and
if the sum is less than the threshold, determining that the first image matches the second image.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the first major vector comprises a first subset of the first set of elements, the first minor vector comprising a second subset of the first set of elements, the second major vector comprises a first subset of the second set of elements, and the second minor vector comprising a second subset of the second set of elements.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein the second subset of the first set of elements includes more elements than the first subset of the first set of elements, and the second subset of the second set of elements includes more elements than the first subset of the second set of elements.

### Claim 4 (depends on 2)

The computer-implemented method of claim 2, wherein computing the major distance between the first image and the second image based on the first major vector and the second major vector includes:
computing a sum of squares of differences between the first subset of the first set of elements and the first subset of the second set of elements.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising:
imposing a hierarchical normalization onto the first image descriptor by:
normalizing the first major vector to a major normalization amount; and
normalizing the first minor vector to a minor normalization amount.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, further comprising:
imposing the hierarchical normalization onto the second image descriptor by:
normalizing the second major vector to the major normalization amount; and
normalizing the second minor vector to the minor normalization amount.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein:
the major normalization amount is equal to 1−α; and
the minor normalization amount is equal to α, wherein α is less than 0.5.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the descriptor network is a neural network having a set of weights that are modifiable through a training process.

### Claim 9

A system comprising:
one or more processors; and
a computer-readable medium storing instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
receiving a first image and a second image;
providing the first image and the second image to a descriptor network as input;
generating, using the descriptor network, a first image descriptor based on the first image and a second image descriptor based on the second image, the first image descriptor including a first set of elements distributed between a first major vector and a first minor vector, and the second image descriptor including a second set of elements distributed between a second major vector and a second minor vector;
computing a major distance between the first image and the second image based on the first major vector and the second major vector;
comparing the major distance to a threshold;
if the major distance is greater than the threshold, determining that the first image does not match the second image; and
if the major distance is less than the threshold:
computing a minor distance between the first image and the second image based on the first minor vector and the second minor vector;
comparing a sum of the major distance and the minor distance to the threshold;
if the sum is greater than the threshold, determining that the first image does not match the second image; and
if the sum is less than the threshold, determining that the first image matches the second image.

### Claim 10 (depends on 9)

The system of claim 9, wherein the first major vector comprises a first subset of the first set of elements, the first minor vector comprising a second subset of the first set of elements, the second major vector comprises a first subset of the second set of elements, and the second minor vector comprising a second subset of the second set of elements.

### Claim 11 (depends on 10)

The system of claim 10, wherein the second subset of the first set of elements includes more elements than the first subset of the first set of elements, and the second subset of the second set of elements includes more elements than the first subset of the second set of elements.

### Claim 12 (depends on 10)

The system of claim 10, wherein computing the major distance between the first image and the second image based on the first major vector and the second major vector includes:
computing a sum of squares of differences between the first subset of the first set of elements and the first subset of the second set of elements.

### Claim 13 (depends on 9)

The system of claim 9, wherein the operations further comprise:
imposing a hierarchical normalization onto the first image descriptor by:
normalizing the first major vector to a major normalization amount; and
normalizing the first minor vector to a minor normalization amount.

### Claim 14 (depends on 13)

The system of claim 13, wherein the operations further comprise:
imposing the hierarchical normalization onto the second image descriptor by:
normalizing the second major vector to the major normalization amount; and
normalizing the second minor vector to the minor normalization amount.

### Claim 15 (depends on 14)

The system of claim 14, wherein:
the major normalization amount is equal to 1−α; and
the minor normalization amount is equal to α, wherein α is less than 0.5.

### Claim 16 (depends on 9)

The system of claim 9, wherein the descriptor network is a neural network having a set of weights that are modifiable through a training process.

### Claim 17

A non-transitory machine-readable medium comprising instruction that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
receiving a first image and a second image;
providing the first image and the second image to a descriptor network as input;
generating, using the descriptor network, a first image descriptor based on the first image and a second image descriptor based on the second image, the first image descriptor including a first set of elements distributed between a first major vector and a first minor vector, and the second image descriptor including a second set of elements distributed between a second major vector and a second minor vector;
computing a major distance between the first image and the second image based on the first major vector and the second major vector;
comparing the major distance to a threshold;
if the major distance is greater than the threshold, determining that the first image does not match the second image; and
if the major distance is less than the threshold:
computing a minor distance between the first image and the second image based on the first minor vector and the second minor vector;
comparing a sum of the major distance and the minor distance to the threshold;
if the sum is greater than the threshold, determining that the first image does not match the second image; and
if the sum is less than the threshold, determining that the first image matches the second image.

### Claim 18 (depends on 17)

The non-transitory machine-readable medium of claim 17, wherein the first major vector comprises a first subset of the first set of elements, the first minor vector comprising a second subset of the first set of elements, the second major vector comprises a first subset of the second set of elements, and the second minor vector comprising a second subset of the second set of elements.

### Claim 19 (depends on 18)

The non-transitory machine-readable medium of claim 18, wherein the second subset of the first set of elements includes more elements than the first subset of the first set of elements, and the second subset of the second set of elements includes more elements than the first subset of the second set of elements.

### Claim 20 (depends on 18)

The non-transitory machine-readable medium of claim 18, wherein computing the major distance between the first image and the second image based on the first major vector and the second major vector includes:
computing a sum of squares of differences between the first subset of the first set of elements and the first subset of the second set of elements.
