# US 2020/0394553 A1 · Predicting functional tags of semantic role labeling

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

- Number: US 2020/0394553 A1
- Document ID: US20200394553A1
- Status: Published application
- Kind: A1
- Application number: 16/440,862
- Filed: 2019-06-13
- Published: 2020-12-17
- Earliest claimed: 2019-06-13
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Peifeng Yin; Yunyao Li; Taiga Nakamura
- Web page: https://patentgrep.com/patent/US20200394553A1

## CPC

- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06F 18/2113: by ranking or filtering the set of features, e.g. using a measure of variance or of feature cross-correlation
- G06F 18/2155: {characterised by the incorporation of unlabelled data, e.g. multiple instance learning [MIL], semi-supervised techniques using expectation-maximisation [EM] or naïve labelling}
- G06F 18/24323: {Tree-organised classifiers}
- 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/045: Combinations of networks
- G06N 3/0499: Feedforward networks
- G06N 3/09: Supervised learning
- G06N 3/092: Reinforcement learning
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method according to one embodiment includes receiving, at a scheduler, a training data instance and a target instance, generating, by the scheduler, an input sequence from the training data instance and the target instance, sending the input sequence from the scheduler to an encoder, mapping, by the encoder, the input sequence to a feature vector, sending the feature vector from the encoder to the scheduler, sending the feature vector from the scheduler to a predictor, and mapping, by the predictor, the feature vector to a class vector to create a label for the target instance.

## Claims

### Claim 1

A computer-implemented method, comprising:
receiving, at a scheduler, a training data instance and a target instance;
generating, by the scheduler, an input sequence from the training data instance and the target instance;
sending the input sequence from the scheduler to an encoder;
mapping, by the encoder, the input sequence to a feature vector;
sending the feature vector from the encoder to the scheduler;
sending the feature vector from the scheduler to a predictor; and
mapping, by the predictor, the feature vector to a class vector to create a label for the target instance.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein:
the training data instance includes a sentence represented as a dependency tree,
the target instance includes a portion of the dependency tree,
the input sequence includes a restructured training data instance and target instance that are understandable by the encoder,
the feature vector includes one or more features of the target instance within the training data instance,
the class vector includes a correlation between predetermined features and predetermined labels, and
the label includes a predicted nonfunctional label that predicts whether the target instance is a functional tag.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the training data instance includes a sentence represented as a dependency tree.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the training data instance includes a plurality of identified and labeled dependencies.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the target instance includes a portion of a dependency tree.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the target instance includes a subtree within a dependency tree.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the feature vector includes one or more features of the target instance within the training data instance.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the scheduler is selected from a group consisting of a logistic regression module, a support vector machine (SVM), and a fully connected neural network.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the encoder is selected from a group consisting of a recurrent neural network (RNN), a hidden Markov model, and long-short term memory.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein the predictor is selected from a group consisting of a logistic regression module, a support vector machine (SVM), and a fully connected neural network.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, wherein the feature vector is sent to the predictor in response to determining that the feature vector is sufficient to invoke the predictor.

### Claim 12 (depends on 1)

The computer-implemented method of claim 1, further comprising:
comparing the label to a predetermined training label to determine a difference between the label and the predetermined training label; and
adjusting the predictor and the scheduler, based on the difference.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12, further comprising applying a model to the adjusted scheduler.

### Claim 14 (depends on 1)

The computer-implemented method of claim 1, wherein the input sequence is generated based on a predetermined strategy.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, wherein the predetermined strategy includes a cold start strategy where the scheduler adopts a uniform distribution to generate the input sequence.

### Claim 16 (depends on 14)

The computer-implemented method of claim 14, wherein the predetermined strategy includes a warmup strategy, where the scheduler adopts an epsilon-greedy method to generate the input sequence.

### Claim 17 (depends on 14)

The computer-implemented method of claim 14, wherein the predetermined strategy includes a heat convergence strategy, where the scheduler adopts a maximum-likelihood action to generate the input sequence.

### Claim 18

A computer program product for predicting functional tags of semantic role labeling, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to:
receive, at a scheduler utilizing the processor, a training data instance and a target instance;
generate, by the scheduler utilizing the processor, an input sequence from the training data instance and the target instance;
send the input sequence from the scheduler to an encoder, utilizing the processor;
map, by the encoder utilizing the processor, the input sequence to a feature vector;
send the feature vector from the encoder to the scheduler, utilizing the processor;
send the feature vector from the scheduler to a predictor, utilizing the processor; and
map, by the predictor utilizing the processor, the feature vector to a class vector to create a label for the target instance.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the training data instance includes a sentence represented as a dependency tree.

### Claim 20

A system, comprising:
a processor; and
logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to:
receive, at a scheduler, a training data instance and a target instance;
generate, by the scheduler, an input sequence from the training data instance and the target instance;
send the input sequence from the scheduler to an encoder;
map, by the encoder, the input sequence to a feature vector;
send the feature vector from the encoder to the scheduler;
send the feature vector from the scheduler to a predictor; and
map, by the predictor, the feature vector to a class vector to create a label for the target instance.

### Claim 21

A computer-implemented method, comprising:
receiving training data, wherein each training datum includes a dependency tree having zero or more sub-trees labeled with ground-truth functional tags;
training a model that includes a Scheduler, an Encoder, and a Predictor, wherein:
(i) the Scheduler is any function that maps a feature vector to an action ranking vector, determines tokens to pass to the Encoder, and decides when to invoke the Predictor;
(ii) the Encoder is any function that maps a sequence of input data to a feature vector;
(iii) the Predictor is any function that maps a feature vector to a vector of functional tags; and
(iv) wherein during the training, an error of prediction is used to adjust parameters of the Predictor, the Encoder, and the Scheduler; and
applying the trained model to predict functional tags in a sentence.
