# US 2023/0274161 A1 · Entity linking method, electronic device, and storage medium

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

- Number: US 2023/0274161 A1
- Document ID: US20230274161A1
- Status: Published application
- Kind: A1
- Application number: 17/940,059
- Filed: 2022-09-08
- Published: 2023-08-31
- Earliest claimed: 2022-02-25
- Assignees: Beijing Baidu Netcom Science Technology Co., Ltd.
- Applicants: Beijing Baidu Netcom Science Technology Co., Ltd.
- Inventors: Jinxing YU; Minlong PENG; Mingming SUN; Ping LI
- Web page: https://patentgrep.com/patent/US20230274161A1

## CPC

- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06F 16/31: Indexing; Data structures therefor; Storage structures
- G06F 16/90335: {Query processing}
- G06N 3/045: Combinations of networks
- G06N 3/048: Activation functions
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

There is provided an entity linking method, an electronic device, and a storage medium, which relates to the technical field of artificial intelligence such as machine learning, natural language processing, and intelligent search. A specific implementation solution involves: acquiring a target entity in a knowledge base and most relevant to a to-be-linked entity in a specified statement; and deciding, based on a linking decision strategy, whether to link the to-be-linked entity to the target entity in the knowledge base.

## Claims

### Claim 1

An entity linking method, comprising:
acquiring a target entity in a knowledge base and most relevant to a to-be-linked entity in a specified statement; and
deciding, based on a preset linking decision strategy, whether to link the to-be-linked entity to the target entity in the knowledge base.

### Claim 2 (depends on 1)

The method of claim 1, wherein the acquiring a target entity in a knowledge base and most relevant to a to-be-linked entity in a specified statement comprises:
acquiring correlation between the to-be-linked entity in the specified statement and each of a plurality of candidate entities with the same name in the knowledge base;
acquiring a type of the to-be-linked entity, types of the candidate entities, prior probabilities that the to-be-linked entity is linked to the candidate entities, and coherence features between the to-be-linked entity and the candidate entities; and
acquiring the target entity most relevant to the to-be-linked entity from the plurality of candidate entities in the knowledge base based on at least one of the correlation between the to-be-linked entity and the candidate entities, the type of the to-be-linked entity, the types of the candidate entities, the prior probabilities that the to-be-linked entity is linked to the candidate entities, and the coherence features between the to-be-linked entity and the candidate entities.

### Claim 3 (depends on 2)

The method of claim 2, wherein the acquiring correlation between the to-be-linked entity in the specified statement and each of a plurality of candidate entities with the same name in the knowledge base comprises:
predicting, by using a pre-trained text matching model, the correlation between the to-be-linked entity in the specified statement and the corresponding candidate entities based on the specified statement, text information of the to-be-linked entity, and text information of attribute description of the candidate entities in the knowledge base.

### Claim 4 (depends on 2)

The method of claim 2, wherein the acquiring the target entity most relevant to the to-be-linked entity from the plurality of candidate entities in the knowledge base based on at least one of the correlation between the to-be-linked entity and the candidate entities, the type of the to-be-linked entity, the types of the candidate entities, the prior probabilities that the to-be-linked entity is linked to the candidate entities, and the coherence features between the to-be-linked entity and the candidate entities comprises:
acquiring, by using a pre-trained feature fusion ranking module, the target entity most relevant to the to-be-linked entity from the plurality of candidate entities in the knowledge base based on at least one of the correlation between the to-be-linked entity and the candidate entities, the type of the to-be-linked entity, the types of the candidate entities, the prior probabilities that the to-be-linked entity is linked to the candidate entities, and the coherence features between the to-be-linked entity and the candidate entities.

### Claim 5 (depends on 1)

The method of claim 1, wherein the deciding, based on a preset linking decision strategy, whether to link the to-be-linked entity to the target entity in the knowledge base comprises:
deciding, based on a pre-trained linking decision model, whether to link the to-be-linked entity to the target entity in the knowledge base.

### Claim 6 (depends on 2)

The method of claim 2, wherein the deciding, based on a preset linking decision strategy, whether to link the to-be-linked entity to the target entity in the knowledge base comprises:
deciding, based on a pre-trained linking decision model, whether to link the to-be-linked entity to the target entity in the knowledge base.

### Claim 7 (depends on 3)

The method of claim 3, wherein the deciding, based on a preset linking decision strategy, whether to link the to-be-linked entity to the target entity in the knowledge base comprises:
deciding, based on a pre-trained linking decision model, whether to link the to-be-linked entity to the target entity in the knowledge base.

### Claim 8 (depends on 4)

The method of claim 4, wherein the deciding, based on a preset linking decision strategy, whether to link the to-be-linked entity to the target entity in the knowledge base comprises:
deciding, based on a pre-trained linking decision model, whether to link the to-be-linked entity to the target entity in the knowledge base.

### Claim 9 (depends on 5)

The method of claim 5, wherein the deciding, based on a pre-trained linking decision model, whether to link the to-be-linked entity to the target entity in the knowledge base comprises:
acquiring, by using the pre-trained linking decision model, a probability that the to-be-linked entity is linked to the target entity based on at least one of correlation between the to-be-linked entity and the target entity, the type of the to-be-linked entity, a type of the target entity, a prior probability that the to-be-linked entity is linked to the target entity, coherence features between the to-be-linked entity and the target entity, and features of the to-be-linked entity.
judging whether the probability is greater than a preset probability threshold; and
linking the to-be-linked entity to the target entity if yes.

### Claim 10 (depends on 9)

The method of claim 9, wherein the deciding, based on a pre-trained linking decision model, whether to link the to-be-linked entity to the target entity in the knowledge base further comprises:
determining that no to-be-linked entity exists in the knowledge base if the probability is no greater than the preset probability threshold.

### Claim 11

An electronic device, comprising:
at least one processor; and
a memory communicatively connected with the at least one processor;
wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform an entity linking method, wherein the entity linking method comprises:
acquiring a target entity in a knowledge base and most relevant to a to-be-linked entity in a specified statement; and
deciding, based on a linking decision strategy, whether to link the to-be-linked entity to the target entity in the knowledge base.

### Claim 12 (depends on 11)

The electronic device of claim 11, wherein the acquiring a target entity in a knowledge base and most relevant to a to-be-linked entity in a specified statement comprises:
acquiring correlation between the to-be-linked entity in the specified statement and each of a plurality of candidate entities with the same name in the knowledge base;
acquiring a type of the to-be-linked entity, types of the candidate entities, prior probabilities that the to-be-linked entity is linked to the candidate entities, and coherence features between the to-be-linked entity and the candidate entities; and
acquiring the target entity most relevant to the to-be-linked entity from the plurality of candidate entities in the knowledge base based on at least one of the correlation between the to-be-linked entity and the candidate entities, the type of the to-be-linked entity, the types of the candidate entities, the prior probabilities that the to-be-linked entity is linked to the candidate entities, and the coherence features between the to-be-linked entity and the candidate entities.

### Claim 13 (depends on 12)

The electronic device of claim 12, wherein the acquiring correlation between the to-be-linked entity in the specified statement and each of a plurality of candidate entities with the same name in the knowledge base comprises:
predicting, by using a pre-trained text matching model, the correlation between the to-be-linked entity and the corresponding candidate entities based on the specified statement, text information of the to-be-linked entity, and text information of attribute description of the candidate entities in the knowledge base.

### Claim 14 (depends on 12)

The electronic device of claim 12, wherein the acquiring the target entity most relevant to the to-be-linked entity from the plurality of candidate entities in the knowledge base based on at least one of the correlation between the to-be-linked entity and the candidate entities, the type of the to-be-linked entity, the types of the candidate entities, the prior probabilities that the to-be-linked entity is linked to the candidate entities, and the coherence features between the to-be-linked entity and the candidate entities comprises:
acquiring, by using a pre-trained feature fusion ranking module, the target entity most relevant to the to-be-linked entity from the plurality of candidate entities in the knowledge base based on at least one of the correlation between the to-be-linked entity and the candidate entities, the type of the to-be-linked entity, the types of the candidate entities, the prior probabilities that the to-be-linked entity is linked to the candidate entities, and the coherence features between the to-be-linked entity and the candidate entities.

### Claim 15 (depends on 11)

The electronic device of claim 11, wherein the deciding, based on a preset linking decision strategy, whether to link the to-be-linked entity to the target entity in the knowledge base comprises:
deciding, based on a pre-trained linking decision model, whether to link the to-be-linked entity to the target entity in the knowledge base.

### Claim 16 (depends on 12)

The electronic device of claim 12, wherein the deciding, based on a preset linking decision strategy, whether to link the to-be-linked entity to the target entity in the knowledge base comprises:
deciding, based on a pre-trained linking decision model, whether to link the to-be-linked entity to the target entity in the knowledge base.

### Claim 17 (depends on 13)

The electronic device of claim 13, wherein the deciding, based on a preset linking decision strategy, whether to link the to-be-linked entity to the target entity in the knowledge base comprises:
deciding, based on a pre-trained linking decision model, whether to link the to-be-linked entity to the target entity in the knowledge base.

### Claim 18 (depends on 15)

The electronic device of claim 15, wherein the deciding, based on a pre-trained linking decision model, whether to link the to-be-linked entity to the target entity in the knowledge base comprises:
acquiring, by using the pre-trained linking decision model, a probability that the to-be-linked entity is linked to the target entity based on at least one of correlation between the to-be-linked entity and the target entity, the type of the to-be-linked entity, a type of the target entity, a prior probability that the to-be-linked entity is linked to the target entity, coherence features between the to-be-linked entity and the target entity, and features of the to-be-linked entity;
judging whether the probability is greater than a preset probability threshold; and
linking the to-be-linked entity to the target entity if yes.

### Claim 19 (depends on 18)

The electronic device of claim 18, wherein the deciding, based on a pre-trained linking decision model, whether to link the to-be-linked entity to the target entity in the knowledge base further comprises:
determining that no to-be-linked entity exists in the knowledge base if the probability is no greater than the preset probability threshold.

### Claim 20

A non-transitory computer readable storage medium with computer instructions stored thereon, wherein the computer instructions are used for causing an entity linking method, wherein the entity linking method comprises:
acquiring a target entity in a knowledge base and most relevant to a to-be-linked entity in a specified statement; and
deciding, based on a preset linking decision strategy, whether to link the to-be-linked entity to the target entity in the knowledge base.
