# US 2021/0334315 A1 · Ranking Candidate Documents for Human Annotation Task in Real-Time

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

- Number: US 2021/0334315 A1
- Document ID: US20210334315A1
- Status: Published application
- Kind: A1
- Application number: 16/856,577
- Filed: 2020-04-23
- Published: 2021-10-28
- Earliest claimed: 2020-04-23
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Yannan Chang; Kumiko Maeda; Ryo Imai; Hiroya Matsubara; Takaaki Fukai
- Web page: https://patentgrep.com/patent/US20210334315A1

## CPC

- G06F 16/93: Document management systems
- G06F 16/35: Clustering; Classification
- G06F 40/169: Annotation, e.g. comment data or footnotes
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F 40/295: Named entity recognition
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A system configured to rank and display candidate documents for human annotation task. The system executes instructions to receive a human annotation of a first unannotated document in a list of documents from a document set; update an annotated entities and corresponding entity types set based on the human annotation of the document from the document set; perform auto-mapping of annotated entities to corresponding entity types on a remaining set of documents in the document set based on the updated annotated entities and corresponding entity types set; calculate a score for each document in the remaining set of documents based on the auto-mapping of annotated entities; and update an order of the remaining set of documents being displayed for human annotation based on the calculated score for each document in the remaining set of documents in the document set.

## Claims

### Claim 1

A method for ranking candidate documents for human annotation task, the method comprising:
retrieving a document set;
displaying a list of documents from the document set for human annotation; and
performing a real-time ranking candidate documents for human annotation loop comprising:
receiving a human annotation of a first unannotated document in the list of documents from the document set for human annotation, wherein an unannotated document is a document that has not been annotated by a human;
updating an annotated entities and corresponding entity types set based on the human annotation of the document from the document set;
performing auto-mapping of annotated entities to corresponding entity types on a remaining set of documents in the document set based on the updated annotated entities and corresponding entity types set;
calculating a score for each document in the remaining set of documents in the document set based on the auto-mapping of annotated entities to corresponding entity types on the remaining set of documents in the document set; and
updating an order of the remaining set of documents being displayed for human annotation based on the calculated score for each document in the remaining set of documents in the document set.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
pre-annotating documents in the document set using predefined dictionaries;
calculating a pre-score for each document in the document set based on the pre-annotations; and
wherein displaying the list of documents from the document set for human annotation comprises displaying the list of documents in an order based on the pre-score for each document in the document set.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
training a model using a bulk number of human annotated documents when the bulk number of human annotated documents is completed;
evaluating an F-score of the model after training the model using the bulk number of human annotated documents; and
repeating the real-time ranking candidate documents for human annotation loop until one of a first condition and a second condition is satisfied, the first condition is that the F-score of the model is higher than a predetermined threshold, and the second condition is that there is no unannotated documents left in the document set.

### Claim 4 (depends on 3)

The method of claim 3, wherein when the first condition is satisfied, the method further comprises using the model to automatically annotate documents for natural language processing (NLP).

### Claim 5 (depends on 1)

The method of claim 1, wherein the score of a remaining document is based on a target distribution of entities that should be annotated for the remaining set of documents in the document set, and on a token variety contained in the remaining document.

### Claim 6 (depends on 1)

The method of claim 1, wherein the score for a document i is calculated using the formula: Score(i)=αΣm=0k((λm−psetm)pdocm)−β Entropy(token), wherein α and β are the coefficients, k is a total number of entity types, pset is annotated entity distribution over all document sets, pdoc is a mapped entity distribution in the document i, and Entropy(token) denotes a token entropy of the document i.

### Claim 7

A system configured to rank and display candidate documents for human annotation task, the system comprising memory for storing instructions, and a processor configured to execute the instructions to:
receive a human annotation of a first unannotated document in a list of documents from a document set for human annotation, wherein an unannotated document is a document that has not been annotated by a human;
update an annotated entities and corresponding entity types set based on the human annotation of the document from the document set;
perform auto-mapping of annotated entities to corresponding entity types on a remaining set of documents in the document set based on the updated annotated entities and corresponding entity types set;
calculate a score for each document in the remaining set of documents in the document set based on the auto-mapping of annotated entities to corresponding entity types on the remaining set of documents in the document set; and
update an order of the remaining set of documents being displayed for human annotation based on the calculated score for each document in the remaining set of documents in the document set.

### Claim 8 (depends on 7)

The system of claim 7, wherein the processor is further configured to execute the instructions to pre-annotate documents in the document set using predefined dictionaries.

### Claim 9 (depends on 7)

The system of claim 7, wherein the score of a remaining document is based on a target distribution of entities that should be annotated for the remaining set of documents in the document set.

### Claim 10 (depends on 9)

The system of claim 9, wherein the score of a remaining document is further based on a token variety contained in the remaining document.

### Claim 11 (depends on 7)

The system of claim 7, wherein the processor is further configured to train a model using a bulk number of human annotated documents when the bulk number of human annotated documents is completed.

### Claim 12 (depends on 11)

The system of claim 11, wherein the processor is further configured to evaluate an F-score of the model against a predetermined threshold after training the model using the bulk number of human annotated documents.

### Claim 13 (depends on 12)

The system of claim 12, wherein the processor is further configured to use the model to automatically annotate documents for natural language processing (NLP) when the F-score of the model satisfies the predetermined threshold.

### Claim 14 (depends on 7)

The system of claim 7, wherein the processor is further configured to calculate the score for a document i using the formula: Score(i)=αΣm=0k((λm−psetm)pdocm)−β Entropy(token), wherein α and β are the coefficients, k is a total number of entity types, pset is annotated entity distribution over all document sets, pdoc is a mapped entity distribution in the document i, and Entropy(token) denotes a token entropy of the document i.

### Claim 15

A computer program product for ranking candidate documents for human annotation task, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor of a system to cause the system to:
receive a human annotation of a first unannotated document in a list of documents from a document set for human annotation, wherein an unannotated document is a document that has not been annotated by a human;
update an annotated entities and corresponding entity types set based on the human annotation of the document from the document set;
perform auto-mapping of annotated entities to corresponding entity types on a remaining set of documents in the document set based on the updated annotated entities and corresponding entity types set;
calculate a score for each document in the remaining set of documents in the document set based on the auto-mapping of annotated entities to corresponding entity types on the remaining set of documents in the document set; and
update an order of the remaining set of documents being displayed for human annotation based on the calculated score for each document in the remaining set of documents in the document set.

### Claim 16 (depends on 15)

The computer program product of claim 15, the program instructions executable by the processor of the system to further cause the system to pre-annotate documents in the document set using predefined dictionaries.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the score of a remaining document is based on a target distribution of entities that should be annotated for the remaining set of documents in the document set.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the program instructions executable by the processor of the system to further cause the system to train a model using a bulk number of human annotated documents when the bulk number of human annotated documents is completed.

### Claim 19 (depends on 18)

The computer program product of claim 18, the program instructions executable by the processor of the system to further cause the system to evaluate an F-score of the model against a predetermined threshold after training the model using the bulk number of human annotated documents.

### Claim 20 (depends on 19)

The computer program product of claim 19, the program instructions executable by the processor of the system to further cause the system to use the model to automatically annotate documents for natural language processing (NLP) when the F-score of the model satisfies the predetermined threshold.
