# US 2022/0292390 A1 · Uniform artificial intelligence model conversion

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

- Number: US 2022/0292390 A1
- Document ID: US20220292390A1
- Status: Published application
- Kind: A1
- Application number: 17/197,361
- Filed: 2021-03-10
- Published: 2022-09-15
- Earliest claimed: 2021-03-10
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Li Cao; WeiFeng Zhang; Fei Fei Li; Ren Jie Feng; Han Su; Zhan Peng Huo; Zhong Hao Wang
- Web page: https://patentgrep.com/patent/US20220292390A1

## CPC

- G06N 20/00: Machine learning
- G06F 8/41: Compilation
- G06N 5/04: Inference or reasoning models
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Aspects of the invention include converting an artificial intelligence (AI) model generated in a first framework to a uniform exchange formatted model by engaging a master table to retrieve instructions for converting from the AI model to the uniform exchange formatted model in accordance with the first framework. The uniform exchange formatted model in compiled by engaging the master table to retrieve instructions for compiling the uniform exchange formatted model in accordance with the first framework. Data is received as an input to the compiled uniform exchange formatted model and an output is generated by engaging the master table to retrieve instructions for generating the output in accordance with the first framework.

## Claims

### Claim 1

A computer-implemented method comprising:
converting, by a processor, an artificial intelligence (AI) model generated in a first framework to a uniform exchange formatted model by engaging a master table to retrieve instructions for converting from the AI model to the uniform exchange formatted model in accordance with the first framework;
compiling, by the processor, the uniform exchange formatted model by engaging the master table to retrieve instructions for compiling the uniform exchange formatted model in accordance with the first framework; and
receiving, by the processor, data as an input to the compiled uniform exchange formatted model and generating an output by engaging the master table to retrieve instructions for generating an output in accordance with the first framework.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein converting the AI model generated in the first framework to the uniform exchange formatted model comprises:
identifying an information item of the AI model generated in the first framework;
determining whether the information item is framework-specific; and
retrieving, from the master table, instructions for converting the information item based at least in part on the determination of whether the information item is framework-specific.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein compiling the uniform exchange formatted model comprises:
identifying post-processing information from the uniform exchange formatted model;
determining whether the post-processing information is framework-specific; and
retrieving, from the master table, instructions for compiling the post-processing information based at least in part on the determination of whether the post-processing information is framework-specific.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein generating the output comprises:
determining whether the output is framework-specific; and
retrieving, from the master table, instructions for generating the output based at least in part on the determination of whether the output is framework-specific.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the received data is distinct from data used to train the AI model.

### Claim 6 (depends on 1)

The computer-implemented of claim 1, wherein converting the AI model generated in the first framework to the uniform exchange formatted model comprises retrieving a kernel function to modify non-linear data to linear data.

### Claim 7 (depends on 1)

The computer implemented method of claim 1, wherein the received data is in a non-linear format.

### 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:
converting an artificial intelligence (AI) model generated in a first framework to a uniform exchange formatted model by engaging a master table to retrieve instructions for converting from the AI model to the uniform exchange formatted model in accordance with the first framework;
compiling the uniform exchange formatted model by engaging the master table to retrieve instructions for compiling the uniform exchange formatted model in accordance with the first framework; and
receiving data as an input to the compiled uniform exchange formatted model and generating an output by engaging the master table to retrieve instructions for generating an output in accordance with the first framework.

### Claim 9 (depends on 8)

The system of claim 8, wherein converting the AI model generated in the first framework to the uniform exchange formatted model comprises:
identifying an information item of the AI model generated in the first framework;
determining whether the information item is framework-specific; and
retrieving, from the master table, instructions for converting the information item based at least in part on the determination of whether the information item is framework-specific.

### Claim 10 (depends on 8)

The system of claim 8, wherein compiling the uniform exchange formatted model comprises:
identifying post-processing information from the uniform exchange formatted model;
determining whether the post-processing information is framework-specific; and
retrieving, from the master table, instructions for compiling the post-processing information based at least in part on the determination of whether the post-processing information is framework-specific.

### Claim 11 (depends on 8)

The system of claim 8, wherein generating the output comprises:
determining whether the output is framework-specific; and
retrieving, from the master table, instructions for generating the output based at least in part on the determination of whether the output is framework-specific.

### Claim 12 (depends on 8)

The system of claim 8, wherein the received data is distinct from data used to train the AI model.

### Claim 13 (depends on 8)

The system of claim 8, wherein converting the AI model generated in the first framework to the uniform exchange formatted model comprises retrieving a kernel function to modify non-linear data to linear data.

### Claim 14 (depends on 8)

The system of claim 8, wherein the received data is in a non-linear format.

### 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:
converting an artificial intelligence (AI) model generated in a first framework to a uniform exchange formatted model by engaging a master table to retrieve instructions for converting from the AI model to the uniform exchange formatted model in accordance with the first framework;
compiling the uniform exchange formatted model by engaging the master table to retrieve instructions for compiling the uniform exchange formatted model in accordance with the first framework; and
receiving data as an input to the compiled uniform exchange formatted model and generating an output by engaging the master table to retrieve instructions for generating an output in accordance with the first framework.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein converting the AI model generated in the first framework to the uniform exchange formatted model comprises:
identifying an information item of the AI model generated in the first framework;
determining whether the information item is framework-specific; and
retrieving, from the master table, instructions for converting the information item based at least in part on the determination of whether the information item is framework-specific.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein compiling the uniform exchange formatted model comprises:
identifying post-processing information from the uniform exchange formatted model;
determining whether the post-processing information is framework-specific; and
retrieving, from the master table, instructions for compiling the post-processing information based at least in part on the determination of whether the post-processing information is framework-specific.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein generating the output comprises:
determining whether the output is framework-specific; and
retrieving from the master table instructions for generating the output, based at least in part on the determination of whether the output is framework-specific.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein the received data is distinct from data used to train the AI model.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein converting the AI model generated in the first framework to the uniform exchange formatted model comprises retrieving a kernel function to modify non-linear data to linear data.

### Claim 21

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 an electronic document that describes a process for converting an artificial intelligence (AI) model to a uniform exchange formatted model;
retrieving, via natural language processing techniques, instructions for converting the AI model to a uniform exchange formatted model from the electronic document;
associating, by the processor, the instructions to machine code for performing the instructions;
writing the instructions to a master table; and
mapping the instructions to the machine code.

### Claim 22 (depends on 21)

The system of claim 21, wherein the instructions are AI model framework specific instructions.

### Claim 23 (depends on 21)

The system of claim 21, wherein the instructions comprise at least one of pre-processing instructions, post-processing instructions, input instructions, and output instructions.

### Claim 24 (depends on 21)

The system of claim 21, wherein the instructions are AI model type specific.

### Claim 25

A computer-implemented method comprising:
retrieving, by a processor and via natural language processing techniques, instructions for converting an artificial intelligence (AI) model to a uniform exchange formatted model from an electronic document;
associating, by the processor, the instructions to machine code for performing the instructions;
writing, by the processor, the instructions to a master table; and
mapping, by the processor, the instructions to machine code for executing the instructions; and
converting, by the processor, the artificial intelligence (AI) model to the uniform exchange formatted model using the machine code.
