# US 2025/0094225 A1 · Dynamically generating instance types

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

- Number: US 2025/0094225 A1
- Document ID: US20250094225A1
- Status: Published application
- Kind: A1
- Application number: 18/467,759
- Filed: 2023-09-15
- Published: 2025-03-20
- Earliest claimed: 2023-09-15
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Abhishek Malvankar; Alaa S. Youssef; Mustafa Eyceoz; Selbi Nuryyeva
- Web page: https://patentgrep.com/patent/US20250094225A1

## CPC

- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06N 20/00: Machine learning
- G06N 3/045: Combinations of networks
- G06N 3/08: Learning methods
- 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

## Abstract

Computer-implemented methods for dynamically generating instance types are presented. Aspects include receiving, by a controller, a user input describing a desired workload and a user intent for the desired workload. Aspects also include generating, by a machine learning model executing on the controller, an entity vector based the user input. Aspects also include accessing, by the controller, an instance type knowledge base comprising vector representations of one or more instance types. Aspects also include calculating, by the controller, a ranking between the entity vector and the vector representations of the one or more instance types in the instance type knowledge base. Aspects further include determining a set of instance types for the desired workload based on the ranking.

## Claims

### Claim 1

A computer-implemented method for dynamically generating instance types, the method comprising:
receiving, by a controller, a user input describing a desired workload and a user intent for the desired workload;
generating, by a machine learning model executing on the controller, an entity vector based the user input;
accessing, by the controller, an instance type knowledge base comprising vector representations of one or more instance types;
calculating, by the controller, a ranking between the entity vector and the vector representations of the one or more instance types in the instance type knowledge base; and
determining a set of instance types for the desired workload based on the ranking.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
selecting, by the controller, a first instance type from the set of instance types for the desired workload.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, further comprising:
monitoring, by the controller, the desired workload running on the first instance type;
generating additional entity vectors based on the monitoring the desired workload running on the first instance type; and
re-training the machine learning model using an updated entity vector, wherein updated entity vector comprises the additional entity vector and the entity vector.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the user input comprises a YAML file.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the YAML file comprises a user intent.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the user intent is determined based on a top-level comment in the YAML file.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the machine learning model comprises a Bidirectional Encoder Representations from Transformers model.

### Claim 8

A system comprising:
a memory having computer readable instructions; and
one or more processors for executing the computer readable instructions, the computer readable instructions controlling the one or more processors to perform operations comprising:
receiving a user input describing a desired workload and a user intent for the desired workload;
generating, by a machine learning model, an entity vector based the user input;
accessing an instance type knowledge base comprising vector representations of one or more instance types;
calculating a ranking between the entity vector and the vector representations of the one or more instance types in the instance type knowledge base; and
determining a set of instance types for the desired workload based on the ranking.

### Claim 9 (depends on 8)

The system of claim 8, wherein the one or more processors perform further operations comprising:
selecting, by the controller, a first instance type from the set of instance types for the desired workload.

### Claim 10 (depends on 9)

The system of claim 9, wherein the one or more processors perform further operations comprising:
monitoring, by the controller, the desired workload running on the first instance type;
generating additional entity vectors based on the monitoring the desired workload running on the first instance type; and
re-training the machine learning model using an updated entity vector, wherein updated entity vector comprises the additional entity vector and the entity vector.

### Claim 11 (depends on 8)

The system of claim 8, wherein the user input comprises a YAML file.

### Claim 12 (depends on 11)

The system of claim 11, wherein the YAML file comprises a user intent.

### Claim 13 (depends on 12)

The system of claim 12, wherein the user intent is determined based on a top-level comment in the YAML file.

### Claim 14 (depends on 8)

The system of claim 8, wherein the machine learning model comprises a Bidirectional Encoder Representations from Transformers model.

### Claim 15

A 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 perform operations comprising:
receiving a user input describing a desired workload and a user intent for the desired workload;
generating, by a machine learning model, an entity vector based the user input;
accessing an instance type knowledge base comprising vector representations of one or more instance types;
calculating a ranking between the entity vector and the vector representations of the one or more instance types in the instance type knowledge base; and
determining a set of instance types for the desired workload based on the ranking.

### Claim 16 (depends on 15)

The computer program product of claim 15, further comprising:
selecting a first instance type from the set of instance types for the desired workload.

### Claim 17 (depends on 16)

The computer program product of claim 16, further comprising:
monitoring the desired workload running on the first instance type;
generating additional entity vectors based on the monitoring the desired workload running on the first instance type; and
re-training the machine learning model using an updated entity vector, wherein updated entity vector comprises the additional entity vector and the entity vector.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the user input comprises a YAML file.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the YAML file comprises a user intent.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the user intent is determined based on a top-level comment in the YAML file.
