# US 2021/0174216 A1 · Signaling concept drift during knowledge base population

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

- Number: US 2021/0174216 A1
- Document ID: US20210174216A1
- Status: Published application
- Kind: A1
- Application number: 16/702,787
- Filed: 2019-12-04
- Published: 2021-06-10
- Earliest claimed: 2019-12-04
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Robert G. Farrell; Nicolas Rodolfo Fauceglia; Alfio Massimiliano Gliozzo
- Web page: https://patentgrep.com/patent/US20210174216A1

## CPC

- G06N 5/02: Knowledge representation; Symbolic representation
- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06N 20/00: Machine learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An approach is provided for signaling concept drift during knowledge base population. A knowledge graph and a collection of text is received, and a vector space is built. A sequence of data items associated with a type of entity or a relation is received. Entities or relations from the knowledge graph are embedded into the vector space to generate entity or relation vectors. Data items associated with the type of entity or the relation are embedded into the vector space to generate data item vectors. An emerging entity or relation concept vector is computed by determining a centroid of the data item vectors. An entity or relation concept vector is computed by determining a centroid of the entity or relation vectors. A signal is generated when a distance between the emerging entity or relation concept vector and the entity or relation concept vector is greater than a threshold.

## Claims

### Claim 1

A method for signaling concept drift during knowledge base population, the method comprising:
receiving, by one or more processors of a computer system, a knowledge graph;
receiving, by the one or more processors of the computer system, a collection of text;
building, by the one or more processors of the computer system, a vector space of the collection of text:
receiving, by one or more processors of a computer system, a sequence of data items associated with: A) a type of entity; or B) a relation, in the knowledge graph;
embedding, by the one or more processors of the computer system, entities or relations from the knowledge graph into the vector space to generate entity or relation vectors;
embedding, by the one or more processors of the computer system, data items associated with: A) the type of entity; or B) the relation into the vector space to generate data item vectors;
computing, by the one or more processors of the computer system, an emerging entity or relation concept vector by determining a centroid of the data item vectors;
computing, by the one or more processors of the computer system, an entity or relation concept vector by determining a centroid of the entity or relation vectors; and
generating, by the one or more processors of the computer system, a signal when a distance between the emerging entity or relation concept vector and the entity or relation concept vector is greater than a concept drift threshold.

### Claim 2 (depends on 1)

The method of claim 1, wherein the building the vector space of the received sequence of data items uses embeddings and autoencoders.

### Claim 3 (depends on 1)

The method of claim 1, wherein the generating the signal includes highlighting data items according to a degree of difference with the centroid of the data item vectors.

### Claim 4 (depends on 1)

The method of claim 1, wherein the generating the signal includes presenting a data item outlier.

### Claim 5 (depends on 1)

The method of claim 1, wherein the distance is computed as a cosine distance or dot product distance.

### Claim 6 (depends on 1)

The method of claim 1, wherein the building the vector space of the received sequence of data items further includes building a graph of data item tuples where the magnitude of the vector is computed using a graph metric.

### Claim 7 (depends on 1)

The method of claim 1, wherein the sequence of data items corresponds to at least one of a recent time window or a data entry, and is generated by a program.

### Claim 8

A computer system, comprising:
one or more processors;
one or more memory devices coupled to the one or more processors; and
one or more computer readable storage devices coupled to the one or more processors, wherein the one or more storage devices contain program code executable by the one or more processors via the one or more memory devices to implement a method for signaling concept drift during knowledge base population, the method comprising:
receiving, by the one or more processors of the computer system, a knowledge graph;
receiving, by the one or more processors of the computer system, a collection of text;
building, by the one or more processors of the computer system, a vector space of the collection of text;
receiving, by one or more processors of a computer system, a sequence of data items associated with: A) a type of entity; or B) a relation, in the knowledge graph;
embedding, by the one or more processors of the computer system, entities or relations from the knowledge graph into the vector space to generate entity or relation vectors;
embedding, by the one or more processors of the computer system, data items associated with: A) the type of entity; or B) the relation into the vector space to generate data item vectors;
computing, by the one or more processors of the computer system, an emerging entity or relation concept vector by determining a centroid of the data item vectors;
computing, by the one or more processors of the computer system, an entity or relation concept vector by determining a centroid of the entity or relation vectors; and
generating, by the one or more processors of the computer system, a signal when a distance between the emerging entity or relation concept vector and the entity or relation concept vector is greater than a concept drift threshold.

### Claim 9 (depends on 8)

The computer system of claim 8, wherein the building the vector space of the received sequence of data items uses embeddings and autoencoders.

### Claim 10 (depends on 8)

The computer system of claim 8, wherein the generating the signal includes highlighting data items according to a degree of difference with the centroid of the data item vectors.

### Claim 11 (depends on 8)

The computer system of claim 8, wherein the generating the signal includes presenting a data item outlier.

### Claim 12 (depends on 8)

The computer system of claim 8, wherein the distance is computed as a cosine distance or a dot-product distance.

### Claim 13 (depends on 8)

The computer system of claim 8, wherein the building the vector space of the received sequence of data items further includes building a graph of data item tuples where the magnitude of the vector is computed using a graph metric.

### Claim 14 (depends on 8)

The computer system of claim 8, wherein the sequence of data items corresponds to at least one of a recent time window or a data entry, and is generated by a program.

### Claim 15

A computer program product, comprising one or more computer readable hardware storage devices storing a computer readable program code, the computer readable program code comprising an algorithm that when executed by one or more processors of a computing system implements a method for signaling concept drift during knowledge base population, the method comprising:
receiving, by the one or more processors of the computer system, a knowledge graph;
receiving, by the one or more processors of the computer system, a collection of text;
building, by the one or more processors of the computer system, a vector space of the collection of text;
receiving, by one or more processors of a computer system, a sequence of data items associated with: A) a type of entity; or B) a relation, in the knowledge graph;
embedding, by the one or more processors of the computer system, entities or relations from the knowledge graph into the vector space to generate entity or relation vectors;
embedding, by the one or more processors of the computer system, data items associated with: A) the type of entity; or B) the relation into the vector space to generate data item vectors;
computing, by the one or more processors of the computer system, an emerging entity or relation concept vector by determining a centroid of the data item vectors;
computing, by the one or more processors of the computer system, an entity or relation concept vector by determining a centroid of the entity or relation vectors; and
generating, by the one or more processors of the computer system, a signal when a distance between the emerging entity or relation concept vector and the entity or relation concept vector is greater than a concept drift threshold.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the building the vector space of the received sequence of data items uses embeddings and autoencoders.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the generating the signal includes highlighting data items according to a degree of difference with the centroid of the data item vectors.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the generating the signal includes presenting a data item outlier.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein the distance is computed as a cosine distance or a dot-product distance.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein the building the vector space of the received sequence of data items further includes building a graph of data item tuples where the magnitude of the vector is computed using a graph metric.
