# US 2023/0419164 A1 · Multitask Machine-Learning Model Training and Training Data Augmentation

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

- Number: US 2023/0419164 A1
- Document ID: US20230419164A1
- Status: Published application
- Kind: A1
- Application number: 17/846,428
- Filed: 2022-06-22
- Published: 2023-12-28
- Earliest claimed: 2022-06-22
- Assignees: Adobe Inc.
- Applicants: Adobe Inc.
- Inventors: Khalil Mrini; Franck Dernoncourt; Seunghyun Yoon; Trung Huu Bui; Walter W. Chang; Emilia Farcas; Ndapandula T. Nakashole
- Web page: https://patentgrep.com/patent/US20230419164A1

## CPC

- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 20/00: Machine learning
- G06N 3/09: Supervised learning
- G06N 3/096: Transfer learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Multitask machine-learning model training and training data augmentation techniques are described. In one example, training is performed for multiple tasks simultaneously as part of training a multitask machine-learning model using question pairs. Examples of the multiple tasks include question summarization and recognizing question entailment. Further, a loss function is described that incorporates a parameter sharing loss that is configured to adjust an amount that parameters are shared between corresponding layers trained for the first and second tasks, respectively. In an implementation, training data augmentation techniques are also employed by synthesizing question pairs, automatically and without user intervention, to improve accuracy in model training.

## Claims

### Claim 1

A method comprising:
receiving, by a processing device, training data including a first set of training data associated with a first task and a second set of training data associated with a second task;
training, by the processing device, a multitask machine-learning model having a first set of layers using the first set of training data associated with the first task and a second set of layers using the second set of training data associated with the second task, the training using a multitask learning loss function defining differing amounts of parameter sharing between corresponding said layers associated with the first and second tasks, respectively; and
outputting, by the processing device, a result of processing a subsequent input by the trained multitask machine-learning model.

### Claim 2 (depends on 1)

The method as described in claim 1, wherein the first task is a question summarization task and the second task is a recognizing question entailment task.

### Claim 3 (depends on 2)

The method as described in claim 2, wherein the training of the recognizing question entailment task includes learning entailment between a first question in the first set of training data and a second question in the second set of training data.

### Claim 4 (depends on 3)

The method as described in claim 3, wherein the entailment is defined between first question and the second question such that answers to the second question provide complete and correct answers to the first question and answers to the first question provide correct answers to the second question.

### Claim 5 (depends on 1)

The method as described in claim 1, wherein the first set of training data includes a first collection of questions and answers and the second set of training data includes a second collection of questions and answers.

### Claim 6 (depends on 5)

The method as described in claim 5, wherein at least one of the first or second set of training data is configured as frequently asked questions (FAQ).

### Claim 7 (depends on 1)

The method as described in claim 1, wherein the first set of layers are implemented using a first decoder of the multitask machine learning model and the second set of layers are implemented using a second decoder of the multitask machine learning model.

### Claim 8 (depends on 7)

The method as described in claim 7, wherein the multitask machine learning model further includes a shared encoder for the first and second tasks.

### Claim 9 (depends on 1)

The method as described in claim 1, wherein the multitask learning loss function defines a parameter sharing loss as increasing or decreasing between sequential pairs of the corresponding said layers.

### Claim 10 (depends on 1)

The method as described in claim 1, wherein the result is a summary of text of the subsequent input, the result generated as part of long question understanding through use of the trained multitask machine learning model.

### Claim 11 (depends on 10)

The method as described in claim 10, wherein the subsequent input as part of the long question understanding involves a plurality of sentences.

### Claim 12

A system comprising:
a training data augmentation module implemented using a processing device to generate training data by augmenting a second dataset by synthesizing synthetic question pairs based on input question pairs of a first input dataset, the synthetic question pairs including a first synthetic question pair labeled as entailed and a second synthetic question pair labeled as not entailed; and
a multitask machine learning system implemented using the processing device to train a multitask machine learning model using the training data.

### Claim 13 (depends on 12)

The system as described in claim 12, wherein the second synthetic question pair labeled as not entailed is generated as:
including a first question from a respective said input question pair from the first dataset and a second question that is randomly selected; or
by randomly selecting a question pair labeled as entailment from the first dataset.

### Claim 14 (depends on 12)

The system as described in claim 12, wherein the first synthetic question pair is generated by matching a respective said input question pair from the first input dataset.

### Claim 15 (depends on 12)

The system as described in claim 12, wherein entailment is defined for the second synthetic question pair having a first question and a second question such that the second question provides complete and correct answers to the first question and answers to the first question provide correct answers to the second question.

### Claim 16

A computing device comprising:
a processing device; and
a computer-readable storage medium storing instructions that, responsive to execution by the processing device, causes the processing device to perform operations including:
receiving a text input;
generating a summary of the text input using a multitask machine-learning model, the multitask machine-learning model trained for a summarization task and a recognizing question entailment task; and
outputting the summary.

### Claim 17 (depends on 16)

The computing device as described in claim 16, wherein the multitask machine-learning model is trained using a multitask learning loss function defining differing amounts of parameter sharing between corresponding layers associated with the summarization task and the recognizing question entailment task, respectively.

### Claim 18 (depends on 16)

The computing device as described in claim 16, wherein entailment of the recognizing question entailment task is defined for a first and second question such that the second question provides complete and correct answers to the first question and answers to the first question provide correct answers to the second question, partially or completely.

### Claim 19 (depends on 16)

The computing device as described in claim 16, wherein the multitask machine-learning model is trained using training data generated by augmenting a second dataset by synthesizing synthetic question pairs based on input question pairs of a first input dataset.

### Claim 20 (depends on 19)

The computing device as described in claim 19, wherein the synthetic question pairs include a first synthetic question pair labeled as entailed and a second synthetic question pair labeled as not entailed.
