# US 2025/0165861 A1 · Model training system, model training method and apparatus

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

- Number: US 2025/0165861 A1
- Document ID: US20250165861A1
- Status: Published application
- Kind: A1
- Application number: 18/841,609
- Filed: 2023-06-05
- Published: 2025-05-22
- Earliest claimed: 2022-07-05
- Applicants: Beijing Volcano Engine Technology Co., Ltd.
- Inventors: Han QIAN; Dongyan ZHOU; Rui SHI
- Web page: https://patentgrep.com/patent/US20250165861A1

## CPC

- G06N 20/00: Machine learning
- G06F 16/25: Integrating or interfacing systems involving database management systems
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A model training system comprises: a source data processing module and one or more training frameworks, wherein the training framework comprises a training adaptation module and a training module, wherein the source data processing module performs data format conversion on an input data set corresponding to service requirements, so as to obtain initial training data in a preset general format, and outputs the initial training data to a target training framework corresponding to the service requirements; converting the initial training data by means of a target training adaptation module comprised in the target training framework, so as to obtain target training data conforming to a specified data format supported by a target training module, and outputting the target training data to the target training module for model training, so as to perform training to obtain a model satisfying a training end condition.

## Claims

### Claim at position 1

1-13. (canceled)

### Claim 14

A model training method, comprising:
invoking a source data processing module to convert an input data set corresponding to service requirements into initial training data conforming to a preset general format, and send the initial training data to a target training adaptation module corresponding to the service requirements in a model training system;
invoking the target training adaptation module to convert the initial training data into target training data conforming to a specified data format supported by a target training module corresponding to the service requirements in the model training system, and to output the target training data to the target training module; and
invoking the target training module to perform model training according to the service requirements and the target training data, so as to train and obtain a model satisfying a training completion criterion.

### Claim 15 (depends on 14)

The method according to claim 14, wherein the preset general format comprises a data header, metadata and a data part; wherein the data header is for indicating attribute information of the input data set, the metadata is for indicating data types of features of the initial training data, and the data part is for storing the features of the initial training data;
wherein the attribute information includes one or more of a size of the input data set, a data coding mode pre-specified by the target training module, a protocol version number or a magic number.

### Claim 16 (depends on 15)

The method according to claim 15, wherein the invoking the target training adaptation module to convert the initial training data into the target training data conforming to the specified data format and to output the target training data to the target training module comprises:
invoking the target training adaptation module to parse the initial training data and obtain the attribute information of the input data set, the features of the sample data and the data types of the features; and encapsulate the attribute information of the input data set, the features of the sample data and the data types of the features based on a data encapsulation rule corresponding to the specified data format supported by the target training module to obtain the target training data, and to send the target training data to the target training module.

### Claim 17 (depends on 15)

The method according to claim 15, wherein the invoking the source data processing module to convert the input data set into the initial training data, and send the initial training data to a target training adaptation module, comprises:
invoking the source data processing module to parse the data set and obtain the attribute information of the input data set, the features of the sample data and the data types of the features; and encapsulate the attribute information of the input data set, the features of the sample data and the data types of the features according to a data encapsulation rule corresponding to the preset general format to obtain the initial training data, and to send the initial training data to the target training adaptation module.

### Claim 18 (depends on 14)

The method according to claim 14, wherein the source data processing module sends the initial training data in the preset general format to the target training adaptation module through any one of an anonymous pipeline, a named pipeline, a socket mode or a shared memory mode.

### Claim 19 (depends on 14)

The method according to claim 14, further comprising:
invoking a source data reading module supporting access of various types of data sources to read a data set required by the service requirements from a specified data source corresponding to the service requirements, and to output the read data set to the source data processing module for data format conversion.

### Claim 20 (depends on 19)

The method according to claim 19, wherein the invoking the source data reading module to read the data set required by the service requirements from the specified data source comprises:
invoking a software development kit corresponding to the specified data source, accessing the specified data source by running the software development kit, and reading the data set required by the business requirements.

### Claim 21

An electronic device comprising: a memory and a processor;
the memory being configured to store computer program instructions;
the processor being configured to execute the computer program instructions to cause the electronic device to implement the model training method comprising:
invoking a source data processing module to convert an input data set corresponding to service requirements into initial training data conforming to a preset general format, and send the initial training data to a target training adaptation module corresponding to the service requirements in a model training system;
invoking the target training adaptation module to convert the initial training data into target training data conforming to a specified data format supported by a target training module corresponding to the service requirements in the model training system, and to output the target training data to the target training module; and
invoking the target training module to perform model training according to the service requirements and the target training data, so as to train and obtain a model satisfying a training completion criterion.

### Claim 22 (depends on 21)

The electronic device according to claim 21, wherein the preset general format comprises a data header, metadata and a data part; wherein the data header is for indicating attribute information of the input data set, the metadata is for indicating data types of features of the initial training data, and the data part is for storing the features of the initial training data;
wherein the attribute information includes one or more of a size of the input data set, a data coding mode pre-specified by the target training module, a protocol version number or a magic number.

### Claim 23 (depends on 22)

The electronic device according to claim 22, wherein the invoking the target training adaptation module to convert the initial training data into the target training data conforming to the specified data format and to output the target training data to the target training module comprises:
invoking the target training adaptation module to parse the initial training data and obtain the attribute information of the input data set, the features of the sample data and the data types of the features; and encapsulate the attribute information of the input data set, the features of the sample data and the data types of the features based on a data encapsulation rule corresponding to the specified data format supported by the target training module to obtain the target training data, and to send the target training data to the target training module.

### Claim 24 (depends on 22)

The electronic device according to claim 22, wherein the invoking the source data processing module to convert the input data set into the initial training data, and send the initial training data to a target training adaptation module, comprises:
invoking the source data processing module to parse the data set and obtain the attribute information of the input data set, the features of the sample data and the data types of the features; and encapsulate the attribute information of the input data set, the features of the sample data and the data types of the features according to a data encapsulation rule corresponding to the preset general format to obtain the initial training data, and to send the initial training data to the target training adaptation module.

### Claim 25 (depends on 21)

The electronic device according to claim 21, wherein the source data processing module sends the initial training data in the preset general format to the target training adaptation module through any one of an anonymous pipeline, a named pipeline, a socket mode or a shared memory mode.

### Claim 26 (depends on 21)

The electronic device according to claim 21, wherein the processor is configured to execute the computer program instructions to cause the electronic device to implement the model training method further comprising:
invoking a source data reading module supporting access of various types of data sources to read a data set required by the service requirements from a specified data source corresponding to the service requirements, and to output the read data set to the source data processing module for data format conversion.

### Claim 27 (depends on 26)

The electronic device according to claim 26, wherein the invoking the source data reading module to read the data set required by the service requirements from the specified data source comprises:
invoking a software development kit corresponding to the specified data source, accessing the specified data source by running the software development kit, and reading the data set required by the business requirements.

### Claim 28

A non-transitory readable storage medium comprising: computer program instructions;
the computer program instructions being executable by an electronic device to cause the electronic device to implement the model training method comprising:
invoking a source data processing module to convert an input data set corresponding to service requirements into initial training data conforming to a preset general format, and send the initial training data to a target training adaptation module corresponding to the service requirements in a model training system;
invoking the target training adaptation module to convert the initial training data into target training data conforming to a specified data format supported by a target training module corresponding to the service requirements in the model training system, and to output the target training data to the target training module; and
invoking the target training module to perform model training according to the service requirements and the target training data, so as to train and obtain a model satisfying a training completion criterion.

### Claim 29 (depends on 28)

The non-transitory readable storage medium according to claim 28, wherein the preset general format comprises a data header, metadata and a data part; wherein the data header is for indicating attribute information of the input data set, the metadata is for indicating data types of features of the initial training data, and the data part is for storing the features of the initial training data;
wherein the attribute information includes one or more of a size of the input data set, a data coding mode pre-specified by the target training module, a protocol version number or a magic number.

### Claim 30 (depends on 29)

The non-transitory readable storage medium according to claim 29, wherein the invoking the target training adaptation module to convert the initial training data into the target training data conforming to the specified data format and to output the target training data to the target training module comprises:
invoking the target training adaptation module to parse the initial training data and obtain the attribute information of the input data set, the features of the sample data and the data types of the features; and encapsulate the attribute information of the input data set, the features of the sample data and the data types of the features based on a data encapsulation rule corresponding to the specified data format supported by the target training module to obtain the target training data, and to send the target training data to the target training module.

### Claim 31 (depends on 29)

The non-transitory readable storage medium according to claim 29, wherein the invoking the source data processing module to convert the input data set into the initial training data, and send the initial training data to a target training adaptation module, comprises:
invoking the source data processing module to parse the data set and obtain the attribute information of the input data set, the features of the sample data and the data types of the features; and encapsulate the attribute information of the input data set, the features of the sample data and the data types of the features according to a data encapsulation rule corresponding to the preset general format to obtain the initial training data, and to send the initial training data to the target training adaptation module.

### Claim 32 (depends on 28)

The non-transitory readable storage medium according to claim 28, wherein the source data processing module sends the initial training data in the preset general format to the target training adaptation module through any one of an anonymous pipeline, a named pipeline, a socket mode or a shared memory mode.

### Claim 33 (depends on 28)

The non-transitory readable storage medium according to claim 28, wherein the computer program instructions are executable by the electronic device to cause the electronic device to implement the model training method further comprising:
invoking a source data reading module supporting access of various types of data sources to read a data set required by the service requirements from a specified data source corresponding to the service requirements, and to output the read data set to the source data processing module for data format conversion.
