# US 2021/0081836 A1 · Techniques for adaptive and context-aware automated service 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/0081836 A1
- Document ID: US20210081836A1
- Status: Published application
- Kind: A1
- Application number: 16/892,724
- 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/US20210081836A1

## 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 using existing data ontologies for generating machine learning solutions for a high-precision search of relevant services to compose pipelines with minimal human intervention. Data ontologies can be used to create a combination of non-logic based and logic-based sematic services that can significantly outperform both kinds of selection in terms of precision. Quality of Service (QoS) and product Key Performance Indicator (KPI) constraints can be used as part of architecture selection in developing, training, validating, and improving machine learning models. For data sets without existing ontologies, one or more ontologies be generated and stored for future use.

## Claims

### Claim 1

A method for automatically creating a machine learning application bespoke to a hardware platform for use in a production environment, the method comprising:
receiving a first input, wherein the first input identifies a location of data;
receiving a second input, wherein the second input describes a prediction for the machine learning application;
receiving a third input, wherein the third input comprises one or more constraints for the machine learning application;
accessing a memory containing one or more ontologies of the data, wherein each ontology describes a hierarchy for one or more data sets of one or more data objects, wherein each data object exhibits one or more attributes that allows the data object to be classified into the one or more sets of data objects according to rules;
extracting one of more attributes of the one or more data sets to find a first ontology that correlates to the prediction for the machine learning application according to the one or more constraints;
composing a product graph based on the on the first ontology, the one or more constraints, and one or more previous product graphs stored in the memory, wherein the product graph relates the one or more data objects to a collection of nodes and edges, wherein the edges represent links between the nodes; wherein nodes comprises a basic unit of a data structure; and
storing the product graph in the memory.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
generating an ontology based at least in part on analyzing the attributes of the one or more data objects, wherein the one or more attributes comprise:
one or more functional semantics of each service, the functional semantics include at least one of a feature selection, an outlier detection, and an explainability metric;
one or more preconditions and one or more effects, wherein the preconditions are conditions that exist before executing a service and the one or more effects are conditions that exist after executing the service;
one or more parameters, wherein the one or more parameters concerned with a provenance of the service;
one or more metrics, wherein the one or more metrics comprise quality of service metrics; and
one or more indicators, wherein the one or more indicators comprise key performance indicators; and
storing the ontology in the memory.

### Claim 3 (depends on 2)

The method of claim 2, wherein the quality of service metrics comprises at least one of latency metrics, response time metrics, throughput metrics, reliability metrics, availability metrics, success rate metrics, and privacy metrics.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
generating metadata from the one or more ontologies, wherein the metadata describes one or more concepts of the one or more ontologies from a machine learning perspective based at least in part on run-time expectations; and
saving the service metadata to a memory.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
searching one or more services based at least in part on one or more descriptors from the one or more previous product graphs;
correlating the one or more descriptors with the prediction of the machine learning application;
generating a list of available services based at least in part on said correlating; and
saving the list of available services in a memory.

### Claim 6 (depends on 5)

The method of claim 5, wherein the searching uses a metaheuristics approach for determining a solution.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
presenting the product graph on a display, the product graph including one or more metrics of a performance of the product graph;
determining a set of compromises, wherein the set of compromises comprises a selection of the one or more constraints in view of the prediction of the machine learning application; and
presenting the set of compromises on a display.

### 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 creating a machine learning application for use in a production environment, the operations comprising:
receiving a first input, wherein the first input identifies a location of data;
receiving a second input, wherein the second input describes a prediction for the machine learning application;
receiving a third input, wherein the third input comprises one or more constraints for the machine learning application;
accessing a memory containing one or more ontologies of the data, wherein each ontology describes one or more data sets of one or more data objects, wherein each data object exhibits one or more attributes that allows the data object to be classified into the one or more sets of data objects according to rules;
extracting one of more attributes of the one or more data sets to find a first ontology that correlates to the prediction for the machine learning application according to the one or more constraints;
composing a product graph based on the on the first ontology, the one or more constraints, and one or more previous product graphs stored in the memory, wherein the product graph relates the one or more data objects to a collection of nodes and edges, wherein the edges represent links between the nodes; wherein nodes comprises a basic unit of a data structure; and
storing the product graph in the memory.

### Claim 9 (depends on 8)

The computer-program product of claim 8, including instructions configured to cause the data processing apparatus to perform further operations comprising:
generating an ontology based at least in part on analyzing the attributes of the one or more data objects, wherein the one or more attributes comprise:
one or more functional semantics of each service, the functional semantics include at least one of a feature selection, an outlier detection, and an explainability metric;
one or more preconditions and one or more effects, wherein the preconditions are conditions that exist before executing a service and the one or more effects are conditions that exist after executing the service;
one or more parameters, wherein the one or more parameters concerned with a provenance of the service;
one or more metrics, wherein the one or more metrics comprise quality of service metrics; and
one or more indicators, wherein the one or more indicators comprise key performance indicators; and
storing the ontology in the memory.

### Claim 10 (depends on 9)

The computer-program product of claim 9, wherein the quality of service metrics comprises at least one of latency metrics, response time metrics, throughput metrics, reliability metrics, availability metrics, success rate metrics, and privacy metrics.

### Claim 11 (depends on 8)

The computer-program product of claim 8, including instructions configured to cause the data processing apparatus to perform further operations comprising:
generating metadata from the one or more ontologies, wherein the metadata describes one or more concepts of the one or more ontologies from a machine learning perspective based at least in part on run-time expectations; and
saving the service metadata to a memory.

### Claim 12 (depends on 8)

The computer-program product of claim 8, including instructions configured to cause the data processing apparatus to perform further operations comprising:
searching one or more services based at least in part on one or more descriptors from the one or more previous product graphs;
correlating the one or more descriptors with the prediction of the machine learning application;
generating a list of available services based at least in part on said correlating; and
saving the list of available services in a memory.

### Claim 13 (depends on 12)

The computer-program product of claim 12, wherein the searching uses a metaheuristics approach for determining a solution.

### Claim 14 (depends on 8)

The computer-program product of claim 8, including instructions configured to cause the data processing apparatus to perform further operations comprising:
presenting the product graph on a display, the product graph including one or more metrics of a performance of the product graph;
determining a set of compromises, wherein the set of compromises comprises a selection of the one or more constraints in view of the prediction of the machine learning application; and
presenting the set of compromises on a display.

### Claim 15

A system for automatically creating a machine learning application for use in a production environment, 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:
receiving a first input, wherein the first input identifies a location of data;
receiving a second input, wherein the second input describes a prediction for the machine learning application;
receiving a third input, wherein the third input comprises one or more constraints for the machine learning application;
accessing a memory containing one or more ontologies of the data, wherein each ontology describes one or more data sets of one or more data objects, wherein each data object exhibits one or more attributes that allows the data object to be classified into the one or more sets of data objects according to rules;
extracting one of more attributes of the one or more data sets to find a first ontology that correlates to the prediction for the machine learning application according to the one or more constraints;
composing a product graph based on the on the first ontology, the one or more constraints, and one or more previous product graphs stored in the memory, wherein the product graph relates the one or more data objects to a collection of nodes and edges, wherein the edges represent links between the nodes; wherein nodes comprises a basic unit of a data structure; and
storing the product graph in the memory.

### Claim 16 (depends on 15)

The computer-implemented method of claim 15, wherein the maximum charge is defined by the user accessing an interface associated with the on-premises network, the interface enabling the user to define configurations of one or more cloud-services provided by the cloud-based network.

### Claim 17 (depends on 15)

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 including the method of claim 15.

### Claim 18 (depends on 17)

The system of claim 17, wherein the machine learning application is customized for each infrastructure hardware layer by selection of the library components.

### Claim 19 (depends on 17)

The system of claim 17, 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 selecting from a plurality of pipelines for the machine learning model based upon machine learning to match the user defined requirements to automatically weight and customize a selected pipeline.

### Claim 20 (depends on 17)

The system of claim 17, wherein the performance requirements comprise at least one of quality of service (QoS) metrics, key performance indicator (KPI) requirements, and inference queries.
