# US 2020/0394469 A1 · Systems and methods for automated degradation-resistant tuning of machine-learning language processing models

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

- Number: US 2020/0394469 A1
- Document ID: US20200394469A1
- Status: Published application
- Kind: A1
- Application number: 16/437,183
- Filed: 2019-06-11
- Published: 2020-12-17
- Earliest claimed: 2019-06-11
- Assignees: Bank of America Corporation
- Applicants: Bank of America Corporation
- Inventors: Viju Kothuvatiparambil; Donatus Asumu
- Web page: https://patentgrep.com/patent/US20200394469A1

## CPC

- G06F 40/279: Recognition of textual entities
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/217: {Validation; Performance evaluation; Active pattern learning techniques}
- G06F 18/2185: {the supervisor being an automated module, e.g. intelligent oracle}
- G06F 40/20: Natural language analysis (semantic analysis of natural language G06F40/30)
- 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

Systems and methods for automated, degradation-resistant, tuning of machine-learning (“ML”) models are provided. The systems and methods may identify an inoperative input utterance, retrieve a feature set associated with the inoperative input utterance, and generate an updated utterance-feature-intent (“UFI”) mapping based on the retrieved feature set. The systems and methods may retrain the ML model using the updated UFI mapping, and compare the accuracy of the system after the retraining and before the retraining. In a scenario where the accuracy of the system does not improve, the systems and methods may amplify the updated UFI mapping. In a scenario where the accuracy of the system does improve, the systems and methods may deploy the updated UFI mapping.

## Claims

### Claim 1

A method for training a machine-learning (“ML”)-based language-processing system with automated tuning, the method comprising:
compiling a training set, said training set that is stored in a database and comprises a plurality of utterances mapped to a plurality of intents;
assigning a set of features to each of the plurality of utterances;
training an ML model, using the training set, to derive a comprehension of an input utterance;
identifying a set of inoperative input utterances and a set of operative input utterances;
deriving a first accuracy score for the set of inoperative input utterances and for the set of operative input utterances; and
tuning the ML model, said tuning comprising:
retrieving a set of features associated with each inoperative input utterance from the set of inoperative input utterances;
generating an updated utterance-feature-intent (“UFI”) mapping;
retraining the ML model, in a controlled environment, using the updated UFI mapping;
generating an updated accuracy score for the set of inoperative input utterances and for the set of operative input utterances, said updated accuracy score based on the retrained ML model;
when the updated accuracy score for the set of inoperative input utterances is less than or equal to the first accuracy score for the set of inoperative input utterances, and the updated accuracy score for the set of operative input utterances is greater than or equal to the first accuracy score for the set of operative input utterances, amplifying the impact of the updated UFI mapping by retraining the ML model with a plurality of instances of the updated UFI mapping; and
when the updated accuracy score for the set of inoperative input utterances is greater than the first accuracy score for the set of inoperative input utterances, and the updated accuracy score for the set of operative input utterances is greater than or equal to the first accuracy score for the set of operative input utterances, deploying the updated UFI mapping.

### Claim 2 (depends on 1)

The method of claim 1, wherein the generating the updated UFI mapping is executed as a function of an output, from the ML model, of at least one of the inoperative input utterances.

### Claim 3 (depends on 1)

The method of claim 1, wherein the tuning is executed separately for each inoperative input utterance from the set of inoperative input utterances.

### Claim 4 (depends on 1)

The method of claim 1, wherein the amplifying the impact of the updated UFI mapping is executed incrementally, said incremental execution comprising:
retraining the ML model with a first instance of the updated UFI mapping;
generating a new updated accuracy score for the set of inoperative input utterances and for the set of operative input utterances; and
when the new updated accuracy score for the set of inoperative input utterances is still less than or equal to the first accuracy score for the set of inoperative input utterances, and the new updated accuracy score for the set of operative input utterances is still greater than or equal to the first accuracy score for the set of operative input utterances, retraining the ML model with another instance of the updated UFI mapping.

### Claim 5 (depends on 4)

The method of claim 4, wherein the ML model is retrained with a maximum of three instances of the updated UFI mapping.

### Claim 6 (depends on 1)

The method of claim 1, wherein the amplifying the impact of the updated UFI mapping is only executed for short utterances.

### Claim 7 (depends on 6)

The method of claim 6, wherein the short utterance comprises a maximum of three tokens.

### Claim 8

A machine-learning (“ML”)-based system with automated tuning, said system comprising:
an ML model that is configured to derive a comprehension of an input utterance, wherein:
said ML model is trained using a training set;
the training set is stored in a database and comprises a plurality of utterances mapped to a plurality of intents; and
each of the plurality of utterances is assigned a set of features; and
a tuning module, said tuning module for improving the comprehension of the ML model while resisting degradation in the comprehension, said tuning module configured to:
flag an inoperative input utterance;
retrieve a feature set associated with the inoperative input utterance;
generate, based on the feature set, an utterance-feature-intent (“UFI”) mapping between the inoperative input utterance, the feature set, and an intent;
update the ML model with the UFI mapping;
compare a performance of the ML model before and after the update; and
when the performance vis-à-vis the inoperative input utterance improves, and the performance vis-à-vis other input utterances is maintained or improves, deploy the update.

### Claim 9 (depends on 8)

The system of claim 8, wherein, when the performance vis-à-vis the inoperative input utterance is maintained or degrades, and the performance vis-à-vis other input utterances is maintained or improves, the tuning module is further configured to incrementally apply a plurality of instances of the UFI mapping to the ML model.

### Claim 10 (depends on 9)

The system of claim 9, wherein the tuning module is configured to incrementally apply the plurality of instances of the mapping to the ML model when the inoperative input utterance has a maximum of three tokens.

### Claim 11 (depends on 9)

The system of claim 9, wherein the tuning module is configured to incrementally apply a maximum of three instances of the UFI mapping to the ML model.

### Claim 12 (depends on 8)

The system of claim 8, wherein the inoperative input utterance is one of a set of inoperative input utterances, and the tuning module is further configured to generate the UFI mapping for each inoperative input utterance separately.

### Claim 13 (depends on 8)

The system of claim 8, wherein the performance of the ML model is measured via a testing module that is configured to determine an accuracy of the ML model.

### Claim 14

A machine-learning (“ML”)-based language-processing system with automated tuning, said system comprising:
an ML model that is configured to derive a comprehension of an input utterance, wherein:
said ML model is trained using a training set;
the training set is stored in a database and comprises a plurality of utterances mapped to a plurality of intents; and
each of the plurality of utterances is assigned a set of features; and
a tuning module, said tuning module for improving the comprehension of the ML model while resisting degradation in the comprehension, said tuning module configured to:
identify a set of inoperative input utterances and a set of operative input utterances;
derive a first accuracy score for the set of inoperative input utterances and for the set of operative input utterances;
retrieve a feature set associated with each inoperative input utterance from the set of inoperative input utterances;
generate, based on the feature set, an updated utterance-feature-intent (“UFI”) mapping;
retrain the ML model, in a controlled environment, using the updated UFI mapping;
generate an updated accuracy score for the set of inoperative input utterances and for the set of operative input utterances, said updated accuracy score based on the retrained ML model;
when the updated accuracy score for the set of inoperative input utterances is less than or equal to the first accuracy score for the set of inoperative input utterances, and the updated accuracy score for the set of operative input utterances is greater than or equal to the first accuracy score for the set of operative input utterances, amplify the impact of the updated UFI mapping by retraining the ML model with a plurality of instances of the updated UFI mapping; and
when the updated accuracy score for the set of inoperative input utterances is greater than the first accuracy score for the set of inoperative input utterances, and the updated accuracy score for the set of operative input utterances is greater than or equal to the first accuracy score for the set of operative input utterances, deploy the updated UFI mapping.

### Claim 15 (depends on 14)

The system of claim 14, wherein the tuning module is configured to generate the updated UFI mapping as a function of an output, from the ML model, of at least one of the inoperative input utterances.

### Claim 16 (depends on 14)

The system of claim 14, wherein the tuning module is further configured to generate an updated UFI mapping separately for each inoperative input utterance from the set of inoperative utterances.

### Claim 17 (depends on 14)

The system of claim 14, wherein the tuning module is further configured to amplify the impact of the updated UFI mapping incrementally, wherein the tuning module is configured to:
retrain the ML model with a first instance of the updated UFI mapping;
generate a new updated accuracy score for the set of inoperative input utterances and for the set of operative input utterances; and
when the new updated accuracy score for the set of inoperative input utterances is still less than or equal to the first accuracy score for the set of inoperative input utterances, and the updated accuracy score for the set of operative input utterances is still greater than or equal to the first accuracy score for the set of operative input utterances, retrain the ML model with another instance of the updated UFI mapping.

### Claim 18 (depends on 17)

The system of claim 17, wherein the ML model is retrained with a maximum of three instances of the updated UFI mapping.

### Claim 19 (depends on 14)

The system of claim 14, wherein the tuning module is configured to amplify the impact of the updated UFI mapping only for short utterances.

### Claim 20 (depends on 19)

The system of claim 19, wherein the short utterance comprises a maximum of three tokens.
