# US 2021/0173825 A1 · Identifying duplicate entities

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

- Number: US 2021/0173825 A1
- Document ID: US20210173825A1
- Status: Published application
- Kind: A1
- Application number: 16/703,386
- Filed: 2019-12-04
- Published: 2021-06-10
- Earliest claimed: 2019-12-04
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Tianhao Lu; Junzhe Miao; Yunpeng Xu; Dan Shacham; Hong H. Tam; Tao Xiong
- Web page: https://patentgrep.com/patent/US20210173825A1

## CPC

- G06F 16/953: Querying, e.g. by the use of web search engines
- G06N 20/00: Machine learning
- G06F 16/174: Redundancy elimination performed by the file system (error detection or correction of the data by redundancy in operations G06F11/14)
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The disclosed embodiments provide a system that identifies duplicate entities. During operation, the system selects training data for a first machine learning model based on confidence scores representing likelihoods that pairs of entities in an online system are duplicates. Next, the system updates parameters of the first machine learning model based on features and labels in the training data. The system then identifies a first subset of additional pairs of the entities as duplicate entities based on scores generated by the first machine learning model from values of the features for the additional pairs and a first threshold associated with the scores. The system also determines a canonical entity in each of the duplicate entities based on additional features. Finally, the system updates content outputted in a user interface of the online system based on the identified first subset of the additional pairs.

## Claims

### Claim 1

A method, comprising:
selecting training data for a first machine learning model based on confidence scores representing likelihoods that pairs of entities in an online system are duplicates;
updating, by one or more computer systems, parameters of the first machine learning model based on features and labels in the training data;
identifying, by the one or more computer systems, a first subset of additional pairs of the entities as duplicate entities based on scores generated by the first machine learning model from values of the features for the additional pairs and a first threshold associated with the scores; and
updating, by the one or more computer systems, content outputted in a user interface of the online system based on the identified first subset of the additional pairs.

### Claim 2 (depends on 1)

The method of claim 1, wherein updating the content outputted in the user interface of the online system based on the identified first subset of the additional pairs comprises:
for each pair in the first subset of the additional pairs of the entities, determining a canonical entity based on additional features for the pair; and
omitting output of a remaining entity that is not the canonical entity in the pair in the user interface of the online system.

### Claim 3 (depends on 2)

The method of claim 2, wherein the additional features comprise at least one of:
a completeness of data for each entity in the pair;
a number of members of the online system associated with each entity in the pair;
a level of interaction between the members of the online system and each entity in the pair; and
a user annotation of a first entity in the pair as the canonical entity.

### Claim 4 (depends on 1)

The method of claim 1, wherein selecting the training data for the first machine learning model based on the confidence scores representing the likelihoods that the pairs of the entities are duplicates comprises:
generating the pairs of the entities based on similarities in attributes of the entities; and
sampling the training data to include subsets of the pairs of the entities associated with different ranges of the confidence scores.

### Claim 5 (depends on 4)

The method of claim 4, wherein generating the pairs of the entities based on the similarities in the attributes of the entities comprises:
obtaining a pair of entities from a mapping in an inverted index of an attribute; and
when a similarity between values of the attribute associated with the pair meets a threshold, adding the pair to the pairs of the entities.

### Claim 6 (depends on 4)

The method of claim 4, wherein the attributes comprise at least one of:
a name;
an address;
a phone number; and
a Uniform Resource Locator (URL).

### Claim 7 (depends on 1)

The method of claim 1, wherein selecting the training data for the first machine learning model based on the confidence scores representing the likelihoods that the pairs of the entities are duplicates comprises:
applying a second machine learning model to additional features for the pairs of the entities to generate the confidence scores.

### Claim 8 (depends on 7)

The method of claim 7, wherein:
the additional features comprise a similarity between one or more attributes of a first entity in a pair of entities and one or more corresponding attributes of a second entity in the pair of entities, and
the one or more attributes and the one or more corresponding attributes comprise at least one of:
a name;
a location;
an industry;
a phone number;
a Uniform Resource Locator (URL); and
a logo.

### Claim 9 (depends on 7)

The method of claim 7, wherein the additional features comprise at least one of:
a network distance between a first creator of a first entity in a pair of entities and a second creator of a second entity in the pair of entities; and
a comparison of a first size of the first entity and a second size of the second entity.

### Claim 10 (depends on 1)

The method of claim 1, wherein selecting the training data for the first machine learning model based on the confidence scores representing the likelihoods that the pairs of the entities are duplicates comprises:
determining the labels based on user annotations of the labels and assessments of accuracy of the user annotations.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
identifying a second subset of the additional pairs of entities as additional duplicate entities based on the scores generated by the first machine learning model from the values of the features for the additional pairs of entities and a second threshold associated with the scores; and
for each pair in the second subset of the additional pairs of the entities, selecting a canonical entity based on a user annotation of the canonical entity for the pair.

### Claim 12 (depends on 1)

The method of claim 1, wherein the features comprise:
a density of connections between a first set of members associated with a first entity and a second set of members associated with a second entity; and
a similarity between one or more attributes of the first entity and one or more corresponding attributes of the second entity.

### Claim 13 (depends on 1)

The method of claim 1, wherein the entities comprise companies in the online system.

### Claim 14

A system, comprising:
one or more processors; and
memory storing instructions that, when executed by the one or more processors, cause the system to:
obtain a first machine learning model that predicts a likelihood that a pair of entities in an online system are duplicates based on features that comprise a density of connections between a first set of members associated with a first entity in the pair and a second set of members associated with a second entity in the pair;
identify a first subset of pairs of the entities as duplicate entities based on scores generated by the first machine learning model from values of the features for the pairs of the entities and a first threshold associated with the scores;
for each pair in the first subset of the pairs of the entities, determine a canonical entity based on additional features for the pair; and
update content outputted in a user interface of the online system based on the canonical entity.

### Claim 15 (depends on 14)

The system of claim 14, wherein the memory further stores instructions that, when executed by the one or more processors, cause the system to:
sample training data for the first machine learning model based on confidence scores from a second machine learning model, wherein the confidence scores represent likelihoods that pairs of entities in the online system are duplicates;
determine labels in the training data based on user annotations of the labels and assessments of accuracy of the user annotations; and
update parameters of the first machine learning model based on the labels and the features in the training data.

### Claim 16 (depends on 15)

The system of claim 15, wherein sampling the training data for the first machine learning model based on the confidence scores comprises:
generating the pairs of the entities based on inverted indexes associated with values of the attributes and similarities in the attributes of the entities; and
sampling the training data to include subsets of the pairs of the entities associated with different ranges of the confidence scores.

### Claim 17 (depends on 16)

The system of claim 16, wherein the attributes comprise at least one of:
a name;
an address;
a phone number; and
a Uniform Resource Locator (URL).

### Claim 18 (depends on 14)

The system of claim 14, wherein the features comprise:
a density of connections between a first set of members associated with a first entity and a second set of members associated with a second entity; and
a similarity between one or more attributes of the first entity and one or more corresponding attributes of the second entity.

### Claim 19 (depends on 14)

The system of claim 14, wherein the additional features comprise at least one of:
a completeness of data for each entity in the pair;
a number of members of the online system associated with each entity in the pair;
a level of interaction between the members of the online system and each entity in the pair; and
a user annotation of a first entity in the pair as the canonical entity.

### Claim 20

A non-transitory computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method, the method comprising:
selecting training data for a first machine learning model based on confidence scores representing likelihoods that pairs of entities in an online system are duplicates;
updating parameters of the first machine learning model based on features and labels in the training data;
identifying a first subset of additional pairs of the entities as duplicate entities based on scores generated by the first machine learning model from values of the features for the additional pairs and a first threshold associated with the scores; and
updating content outputted in a user interface of the online system based on the identified first subset of the additional pairs.
