# US 2021/0081848 A1 · Techniques for adaptive pipelining composition for machine learning (ml)

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

- Number: US 2021/0081848 A1
- Document ID: US20210081848A1
- Status: Published application
- Kind: A1
- Application number: 16/892,935
- Filed: 2020-06-04
- Published: 2021-03-18
- Earliest claimed: 2019-09-14
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Alberto Polleri; Larissa Cristina Dos Santos Romualdo Suzuki; Sergio Aldea Lopez; Marc Michiel Bron; Dan David Golding; Alexander Ioannides; Maria del Rosario Mestre; Hugo Alexandre Pereira Monteiro; Oleg Gennadievich Shevelev; Xiaoxue Zhao; Matthew Charles Rowe
- Web page: https://patentgrep.com/patent/US20210081848A1

## CPC

- G06F 18/213: Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
- G06F 8/75: Structural analysis for program understanding
- G06F 8/77: Software metrics
- G06F 11/3003: {Monitoring arrangements specially adapted to the computing system or computing system component being monitored}
- G06F 11/3006: {where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems (multiprogramming arrangements G06F9/46; allocation of resources G06F9/50)}
- G06F 11/302: {where the computing system component is a software system}
- G06F 11/3409: {for performance assessment}
- G06F 11/3433: {for load management (allocation of a server based on load conditions G06F9/505; load rebalancing G06F9/5083; redistributing the load in a network by a load balancer H04L67/1029)}
- G06F 11/3452: {Performance evaluation by statistical analysis}
- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 16/211: {Schema design and management}
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/24573: {using data annotations, e.g. user-defined metadata}
- G06F 16/24578: {using ranking}
- G06F 16/285: {Clustering or classification}
- G06F 16/367: {Ontology}
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06F 16/9035: Filtering based on additional data, e.g. user or group profiles
- G06F 16/907: Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F 18/10: Pre-processing; Data cleansing
- G06F 18/2115: by evaluating different subsets according to an optimisation criterion, e.g. class separability, forward selection or backward elimination
- 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}
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 5/025: Extracting rules from data
- G06N 20/00: Machine learning
- G06N 20/20: Ensemble learning
- H04L 9/088: {Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms (network architectures or network communication protocols for using time-dependent keys in a packet data network H04L63/068)}
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- H04L 9/3236: {using cryptographic hash functions}
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present disclosure relates to systems and methods for an adaptive pipelining composition service that can identify and incorporate one or more new models into the machine learning application. The machine learning application with the new model can be tested off-line with the results being compared with ground truth data. If the machine learning application with the new model outperforms the previously used model, the machine learning application can be upgraded and auto-promoted to production. One or more parameters may also be discovered. The new parameters may be incorporated into the existing model in an off-line mode. The machine learning application with the new parameters can be tested off-line and the results can be compared with previous results with existing parameters. If the new parameters outperform the existing parameters as compared with ground-truth data, the machine learning application can be auto-promoted to production.

## Claims

### Claim 1

A method for automatically composing a machine learning pipeline for use in a production environment executed as a background process of a machine learning application, the method comprising:
identifying a first machine learning model, wherein the first machine learning model utilizes one or more first parameters, wherein the one or more first parameters identify and define higher level properties of a first data set prior to a machine learning process;
identifying the one or more first parameters that the first machine learning model uses;
identifying one or more first results for the first machine learning model for the one or more first parameters;
identifying one or more metrics for the first machine learning model, wherein the metrics define how a performance of the first machine learning model is measured;
comparing the one or more first results with a second data set to calculate a first scoring based at least in part on a difference in the one or more first results with the second data set, wherein the second data set comprises ground truth data;
referring an ontology of the first data set to identify a second machine learning model based at least in part on comparing metadata of the second machine learning model with the metrics for the first machine learning model;
testing the second machine learning model on the first data set to produce one or more second results;
comparing the one or more second results with the second data set to generate a second scoring; and
based on the second scoring being less than the first scoring, replacing the first machine learning model with the second machine learning model for the machine learning application.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
analyzing the ontology of the first data set to identify one or more second parameters based at least in part on comparing metadata of the first parameters with the metrics for the first machine learning model;
testing the second machine learning model using the one or more second parameters to produce one or more third results;
comparing the one or more third results with the second data set to generate a third scoring; and
based on the third scoring being less than the second scoring, replacing the one or more first parameters with the one or more second parameters for the machine learning application.

### Claim 3 (depends on 1)

The method of claim 1, wherein the replacing the first machine learning model is replaced with the second machine learning model in a shadow mode until it the second machine learning model satisfies one or more conditions for auto-promoting the second machine learning model to production.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
generating a log comprising the one or more first parameters, the first machine learning model, the second machine learning model, the one or more first results, and the one or more second results; and
storing the log in a memory.

### Claim 5 (depends on 4)

The method of claim 4, further comprising analyzing the log to determine one or more patterns.

### Claim 6 (depends on 4)

The method of claim 4, further comprising saving supplemental metadata concerning the second machine learning model based at least in part on the one or more first parameters the one or more second results.

### Claim 7 (depends on 1)

The method of claim 1, wherein the metadata comprises at least one of a number of levels for a decision tree and a number of parameters of an algorithm for the second machine learning model.

### Claim 8

A computer-program product tangibly embodied in a non-transitory machine-readable storage medium, including instructions configured to cause a data processing apparatus to perform operations for automatically composing a machine learning pipeline for use in a production environment executed as a background process of a machine learning application, the operations comprising:
identifying a first machine learning model, wherein the first machine learning model utilizes one or more first parameters, wherein the one or more first parameters identify and define higher level properties of a first data set prior to a machine learning process;
identifying the one or more first parameters that the first machine learning model uses;
identifying one or more first results for the first machine learning model for the one or more first parameters;
identifying one or more metrics for the first machine learning model, wherein the metrics define how a performance of the first machine learning model is measured;
comparing the one or more first results with a second data set to calculate a first scoring based at least in part on a difference in the one or more first results with the second data set, wherein the second data set comprises ground truth data;
referring an ontology of the first data set to identify a second machine learning model based at least in part on comparing metadata of the second machine learning model with the metrics for the first machine learning model;
testing the second machine learning model on the first data set to produce one or more second results;
comparing the one or more second results with the second data set to generate a second scoring; and
based on the second scoring being less than the first scoring, replacing the first machine learning model with the second machine learning model for the machine learning application.

### Claim 9 (depends on 8)

The computer-program product of claim 8, including instructions configured to cause a data processing apparatus to perform further operations comprising:
analyzing the ontology of the first data set to identify one or more second parameters based at least in part on comparing metadata of the first parameters with the metrics for the first machine learning model;
testing the second machine learning model using the one or more second parameters to produce one or more third results;
comparing the one or more third results with the second data set to generate a third scoring; and
based on the third scoring being less than the second scoring, replacing the one or more first parameters with the one or more second parameters for the machine learning application.

### Claim 10 (depends on 8)

The computer-program product of claim 8, wherein the replacing the first machine learning model is replaced by the second machine learning model in a shadow mode until the second machine learning model satisfies one or more conditions for auto-promoting the second machine learning model to production.

### Claim 11 (depends on 8)

The computer-program product of claim 8, including instructions configured to cause a data processing apparatus to perform further operations comprising:
generating a log comprising the one or more first parameters, the first machine learning model, the second machine learning model, the one or more first results, and the one or more second results; and
storing the log in a memory.

### Claim 12 (depends on 11)

The computer-program product of claim 11, including instructions configured to cause a data processing apparatus to perform further operations comprising analyzing the log to determine one or more patterns.

### Claim 13 (depends on 11)

The computer-program product of claim 11, including instructions configured to cause a data processing apparatus to perform further operations comprising saving supplemental metadata concerning the second machine learning model based at least in part on the one or more first parameters the one or more second results.

### Claim 14 (depends on 8)

The computer-program product of claim 8, wherein the metadata comprises at least one of a number of levels for a decision tree and a number of parameters of an algorithm for the second machine learning model.

### Claim 15

A system for automatically composing a machine learning pipeline for use in a production environment executed as a background process of a machine learning application, comprising:
one or more data processors; and
a non-transitory computer-readable storage medium containing instructions which, when executed on the one or more data processors, cause the one or more data processors to perform operations comprising:
identifying a first machine learning model, wherein the first machine learning model utilizes one or more first parameters, wherein the one or more first parameters identify and define higher level properties of a first data set prior to a machine learning process;
identifying the one or more first parameters that the first machine learning model uses;
identifying one or more first results for the first machine learning model for the one or more first parameters;
identifying one or more metrics for the first machine learning model, wherein the metrics define how a performance of the first machine learning model is measured;
comparing the one or more first results with a second data set to calculate a first scoring based at least in part on a difference in the one or more first results with the second data set, wherein the second data set comprises ground truth data;
referring an ontology of the first data set to identify a second machine learning model based at least in part on comparing metadata of the second machine learning model with the metrics for the first machine learning model;
testing the second machine learning model on the first data set to produce one or more second results;
comparing the one or more second results with the second data set to generate a second scoring; and
based on the second scoring being less than the first scoring, replacing the first machine learning model with the second machine learning model for the machine learning application.

### Claim 16 (depends on 15)

The system of claim 15, wherein the non-transitory computer-readable storage medium includes further instructions which, when executed on the one or more data processors, cause the one or more data processors to perform further operations comprising:
analyzing the ontology of the first data set to identify one or more second parameters based at least in part on comparing metadata of the first parameters with the metrics for the first machine learning model;
testing the second machine learning model using the one or more second parameters to produce one or more third results;
comparing the one or more third results with the second data set to generate a third scoring; and
based on the third scoring being less than the second scoring, replacing the one or more first parameters with the one or more second parameters for the machine learning application.

### Claim 17 (depends on 15)

The system of claim 15, wherein the replacing the first machine learning model is replaced by the second machine learning model in a shadow mode until the second machine learning model satisfies one or more conditions for auto-promoting the second machine learning model to production.

### Claim 18 (depends on 15)

The system of claim 15, wherein the non-transitory computer-readable storage medium includes further instructions which, when executed on the one or more data processors, cause the one or more data processors to perform further operations comprising:
generating a log comprising the one or more first parameters, the first machine learning model, the second machine learning model, the one or more first results, and the one or more second results;
storing the log in a memory.

### Claim 19 (depends on 18)

The system of claim 18, wherein the a non-transitory computer-readable storage medium includes further instructions which, when executed on the one or more data processors, cause the one or more data processors to perform further operations comprising saving supplemental metadata concerning the second machine learning model based at least in part on the one or more first parameters the one or more second results.

### Claim 20 (depends on 15)

The system of claim 15, wherein the metadata comprises at least one of a number of levels for a decision tree and a number of parameters of an algorithm for the second machine learning model.
