# US 2021/0174070 A1 · Name and face matching

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

- Number: US 2021/0174070 A1
- Document ID: US20210174070A1
- Status: Published application
- Kind: A1
- Application number: 17/181,707
- Filed: 2021-02-22
- Published: 2021-06-10
- Earliest claimed: 2018-07-23
- Assignees: The MITRE Corporation
- Applicants: The MITRE Corporation
- Inventors: John C. HENDERSON; Lucy R. CHAI; Jeffrey ZARRELLA; Abigail S. GERTNER; Keith J. MILLER
- Web page: https://patentgrep.com/patent/US20210174070A1

## CPC

- G06N 3/08: Learning methods
- G06F 18/21355: {nonlinear criteria, e.g. embedding a manifold in a Euclidean space}
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G06V 10/82: using neural networks
- G06V 30/19173: {Classification techniques}
- G06V 40/172: {Classification, e.g. identification}
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06V 40/179: {metadata assisted face recognition}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Described are methods, systems, and computer-program product embodiments for selecting a face image based on a name. In some embodiments, a method includes receiving the name. Based on the name, a name vector is selected from a plurality of name vectors in a dataset that maps a plurality of names to a plurality of corresponding name vectors in a vector space, where each name vector includes representations associated with a plurality of words associated with each name. A plurality of face vectors corresponding to a plurality of face images is received. A face vector is selected from the plurality of face vectors based on a plurality of similarity scores calculated for the plurality of corresponding face vectors, where for each name vector, a similarity score is calculated based on the name vector and each face vector. The face image is output based on the selected face vector.

## Claims

### Claim 1

A method of selecting a face image based on a name, comprising:
receiving a name;
selecting, based on the name, a name vector from a plurality of name vectors in a dataset that maps a plurality of names to a plurality of corresponding name vectors in a vector space, wherein each name vector comprises representations associated with a plurality of words associated with each name, wherein the plurality of name vectors are position vectors;
receiving a plurality of face vectors corresponding to a plurality of face images;
selecting a face vector from the plurality of face vectors based on a plurality of similarity scores calculated for the plurality of corresponding face vectors, wherein for each name vector, a similarity score is calculated based on the name vector and each face vector, and wherein the similarity score is based on a distance measurement between the name vector and each face vector; and
outputting a face image based on the selected face vector.

### Claim 2 (depends on 1)

The method of claim 1, wherein the representations are generated by word embedding each plurality of words associated with each name of the plurality of names.

### Claim 3 (depends on 2)

The method of claim 2, wherein a first plurality of words comprises a first word and a second word, wherein a second plurality of words comprises a third word, and wherein the word embedding generates two name vectors corresponding to the first and second words that are closer in the vector space than two vectors generated for the corresponding first and third words.

### Claim 4 (depends on 1)

The method of claim 1, wherein each face vector of the plurality of face vectors comprises a predefined number of elements, and wherein the method comprises:
relating the name vector to a transformed name vector having the predefined number of elements; and
calculating a similarity score between the name vector and the face vector based on the transformed name vector and the face vector.

### Claim 5 (depends on 4)

The method of claim 4, wherein relating the name vector to the transformed name vector comprises:
using an affine map to generate the transformed name vector based on the name vector.

### Claim 6 (depends on 4)

The method of claim 4, wherein relating the name vector to the transformed name vector comprises:
using a neural network comprising at least two layers to generate the transformed name vector based on the name vector.

### Claim 7 (depends on 4)

The method of claim 4, wherein calculating the similarity score between the name vector and the face vector comprises:
calculating a Euclidean distance between the transformed name vector and the face vector.

### Claim 8 (depends on 1)

The method of claim 1, wherein the name vector comprises a first predefined number of elements and the face vector comprises a second predefined number of elements, and wherein selecting the face vector comprises:
receiving a weight matrix having a first and a second dimension that correspond to the first and the second predefined number of elements, respectively, wherein the weight matrix comprises precomputed values;
generating a feature matrix by multiplying the name vector with the face vector; and
calculating a similarly score between the name vector and the face vector based on the weight matrix and the feature matrix.

### Claim 9 (depends on 1)

The method of claim 1, comprising:
for each user account from a plurality of user accounts, receiving a plurality of user names associated with each user account; and
inputting the plurality of user names associated with each user account into a word-embedding algorithm to generate the mapping of the plurality of names to the plurality of corresponding name vectors, wherein the plurality of names corresponds to the plurality of user names.

### Claim 10 (depends on 9)

The method of claim 9, wherein the word-embedding algorithm comprises one of word2vec, GloVe, or FastText.

### Claim 11 (depends on 1)

The method of claim 1, wherein the name comprises a first name and a last name, and wherein the method comprises:
searching the first name in the dataset to select a first name vector from the plurality of name vectors; and
searching the last name in the dataset to select a last name vector from the plurality of name vectors.

### Claim 12 (depends on 11)

The method of claim 11, comprising:
relating a concatenation of the first and last name vectors to a transformed name vector; and
calculating a similarity score between the name vector and the face vector based on the transformed name vector and the face vector.

### Claim 13 (depends on 1)

The method of claim 1, comprising:
receiving a parameter associated with the name;
selecting a matching function from a plurality of matching functions based on the parameter; and
calculating the plurality of similarity scores based on the matching function.

### Claim 14 (depends on 13)

The method of claim 13, wherein the parameter comprises one or more of: a gender, an age range, an ethnicity, a nationality, an eye color, or a hair color.

### Claim 15

A system for selecting a face image based on a name, comprising:
one or more processors and memory storing one or more programs that when executed by the one or more processors cause the one or more processors to:
receive a name;
select, based on the name, a name vector from a plurality of name vectors in a dataset that maps a plurality of names to a plurality of corresponding name vectors in a vector space, wherein each name vector comprises representations associated with a plurality of words associated with each name, wherein the plurality of name vectors are position vectors;
receive a plurality of face vectors corresponding to a plurality of face images;
select a face vector from the plurality of face vectors based on a plurality of similarity scores calculated for the plurality of corresponding face vectors, wherein for each name vector, a similarity score is calculated based on the name vector and each face vector, and wherein the similarity score is based on a distance measurement between the name vector and each face vector; and
output a face image based on the selected face vector.

### Claim 16 (depends on 15)

The system of claim 15, wherein the representations are generated by word embedding each plurality of words associated with each name of the plurality of names.

### Claim 17 (depends on 16)

The system of claim 16, wherein a first plurality of words comprises a first word and a second word, wherein a second plurality of words comprises a third word, and wherein the word embedding generates two name vectors corresponding to the first and second words that are closer in the vector space than two vectors generated for the corresponding first and third words.

### Claim 18 (depends on 15)

The system of claim 15, wherein each face vector of the plurality of face vectors comprises a predefined number of elements, and wherein the one or more processors are caused to:
relate the name vector to a transformed name vector having the predefined number of elements; and
calculate a similarity score between the name vector and the face vector based on the transformed name vector and the face vector.

### Claim 19 (depends on 18)

The system of claim 18, wherein to relate the name vector to the transformed name vector, the one or more processors are caused to:
use an affine map to generate the transformed name vector based on the name vector.

### Claim 20 (depends on 18)

The system of claim 18, wherein to relate the name vector to the transformed name vector, the one or more processors are caused to:
use a neural network comprising at least two layers to generate the transformed name vector based on the name vector.

### Claim 21 (depends on 18)

The system of claim 18, wherein to calculate the similarity score between the name vector and the face vector, the one or more processors are caused to:
calculate a Euclidean distance between the transformed name vector and the face vector.

### Claim 22 (depends on 15)

The system of claim 15, wherein the name vector comprises a first predefined number of elements and the face vector comprises a second predefined number of elements, and wherein to select the face vector, the one or more processors are caused to:
receive a weight matrix having a first and a second dimension that correspond to the first and the second predefined number of elements, respectively, wherein the weight matrix comprises precomputed values;
generate a feature matrix by multiplying the name vector with the face vector; and
calculate a similarly score between the name vector and the face vector based on the weight matrix and the feature matrix.

### Claim 23 (depends on 15)

The system of claim 15, wherein the one or more processors are caused to:
for each user account from a plurality of user accounts, receive a plurality of user names associated with each user account; and
input the plurality of user names associated with each user account into a word-embedding algorithm to generate the mapping of the plurality of names to the plurality of corresponding name vectors, wherein the plurality of names corresponds to the plurality of user names.

### Claim 24 (depends on 23)

The system of claim 23, wherein the word-embedding algorithm comprises one of word2vec, GloVe, or FastText.

### Claim 25 (depends on 15)

The system of claim 15, wherein the name comprises a first name and a last name, and wherein the one or more processors are caused to:
search the first name in the dataset to select a first name vector from the plurality of name vectors; and
search the last name in the dataset to select a last name vector from the plurality of name vectors.

### Claim 26 (depends on 25)

The system of claim 25, wherein the one or more processors are caused to:
relate a concatenation of the first and last name vectors to a transformed name vector; and
calculate a similarity score between the name vector and the face vector based on the transformed name vector and the face vector.

### Claim 27 (depends on 15)

The system of claim 15, wherein the one or more processors are caused to:
receive a parameter associated with the name;
select a matching function from a plurality of matching functions based on the parameter; and
calculate the plurality of similarity scores based on the matching function.

### Claim 28 (depends on 27)

The system of claim 27, wherein the parameter comprises one or more of: a gender, an age range, an ethnicity, a nationality, an eye color, or a hair color.
