# US 2019/0317986 A1 · Annotated text data expanding method, annotated text data expanding computer-readable storage medium, annotated text data expanding device, and text classification model training method

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

- Number: US 2019/0317986 A1
- Document ID: US20190317986A1
- Status: Published application
- Kind: A1
- Application number: 16/383,065
- Filed: 2019-04-12
- Published: 2019-10-17
- Earliest claimed: 2018-04-13
- Assignees: Preferred Networks, Inc.
- Applicants: Preferred Networks, Inc.
- Inventors: Sosuke KOBAYASHI
- Web page: https://patentgrep.com/patent/US20190317986A1

## CPC

- G06F 40/169: Annotation, e.g. comment data or footnotes
- G06N 3/08: Learning methods
- 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)}
- G06F 40/232: Orthographic correction, e.g. spell checking or vowelisation
- 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/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G06N 3/045: Combinations of networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The present disclosure provides an annotated text data expanding method capable of obtaining a large amount of annotated text data, which is not inconsistent with an annotation label and is not unnatural as a text, by mechanically expanding a small amount of annotated text data through a natural language processing. The annotated text data expanding method includes inputting, by an input device, the annotated text data including a first text appended with a first annotation label to a prediction complementary model. New annotated text data is created by one or more processors by the prediction complementary model, with reference to the first annotation label and context of the first text.

## Claims

### Claim 1

A method for expanding annotated text data, the method comprising:
inputting, by an input device, the annotated text data including a first text appended with a first annotation label to a prediction complementary model; and
creating, by one or more processors, new annotated text data by the prediction complementary model, with reference to the first annotation label and context of the first text.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the creating new annotated text data comprises:
extracting, by the one or more processors, a candidate element replaceable with an element within the first text, by an extraction method provided in the prediction complementary model;
creating, by the one or more processors, a second text by replacing the element within the first text with the candidate element; and
appending, by the one or more processors, the first annotation label to the second text.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the prediction complementary model is a label-conditioned bidirectional language model.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the extraction method comprises calculating a probability distribution by a following equation (1):
pτ(·|y,S\{wi}) (1)
wherein τ represents a temperature parameter, y represents an annotation label, S represents a text, and wi represents an element in a text.

### Claim 5 (depends on 2)

The method according to claim 2, wherein the element within the first text is a word.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising:
training, by the one or more processors prior to the inputting annotated text data, the prediction complementary model by using a text data set having no label as training data.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the first annotation label is one of (1) a positive annotation label indicating that text data has a positive meaning or (2) a negative annotation label indicating that text data has a negative meaning.

### Claim 8

A non-transitory computer readable storage medium storing a program for expanding annotated text data, the program, when executed by one or more processors, causing the one or more processors to perform an expansion of the annotated text data,
wherein the program causes the one or more processors to:
input the annotated text data including a first text appended with a first annotation label to a prediction complementary model; and
create new annotated text data by the prediction complementary model, with reference to the first annotation label and context of the first text.

### Claim 9

A device for expanding annotated text data, the device comprising:
a storage configured to store a prediction complementary model;
an input device configured to input the annotated text data including a first text appended with a first annotation label; and
one or more processors coupled to the storage and the input device and configured to perform arithmetic processings of creating new annotated text data by the prediction complementary model, with reference to the first annotation label and context of the first text.

### Claim 10 (depends on 9)

The device according to claim 9, wherein the one or more processors are further configured to:
extract a candidate element replaceable with an element within the first text, by an extraction method provided in the prediction complementary model;
create a second text by replacing the element within the first text with the candidate element; and
append an annotation label identical to the first annotation label, to the second text.

### Claim 11 (depends on 9)

The device according to claim 9 wherein the prediction complementary model is a label-conditioned bidirectional language model.

### Claim 12 (depends on 10)

The device according to claim 10, wherein the extraction method comprises calculating a probability distribution by a following equation (1):
pτ(·|y,S\{wi}) (1)
wherein τ represents a temperature parameter, y represents an annotation label, S represents a text, and wi represents an element in a text.

### Claim 13 (depends on 10)

The device according to claim 10, wherein the element within the first text is a word.

### Claim 14 (depends on 9)

The device according to claim 9, wherein the one or more processors are further configured to:
train, prior to the inputting annotated text data, the prediction complementary model by using a text data set having no label as training data.

### Claim 15 (depends on 9)

The device according to claim 9, wherein the first annotation label is one of (1) a positive annotation label indicating that text data has a positive meaning or (2) a negative annotation label indicating that text data has a negative meaning.

### Claim 16 (depends on 1)

A method for training a text classification model, the method comprising using an expanded data set obtained by the annotated text data expanding method according to claim 1 as training data for a text classification model.

### Claim 17 (depends on 16)

The method according to claim 16, wherein the creating new annotated text data comprises:
extracting, by the one or more processors, a candidate element replaceable with an element within the first text, by an extraction method provided in the prediction complementary model;
creating, by the one or more processors, a second text by replacing the element within the first text with the candidate element; and
appending, by the one or more processors, the first annotation label to the second text.

### Claim 18 (depends on 16)

The method according to claim 16, wherein the prediction complementary model is a label-conditioned bidirectional language model.

### Claim 19 (depends on 17)

The method according to claim 17, wherein the extraction method comprises calculating a probability distribution by a following equation (1):
pτ(·|y,S\{wi}) (1)
wherein τ represents a temperature parameter, y represents an annotation label, S represents a text, and wi represents an element in a text.
