Continuous Machine Learning System for Limited Resource Containers

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional machine learning training systems require sufficient resources to handle entire data pools, which is not feasible in containerized environments with limited memory, leading to incomplete training or system crashes.

Innovation Solution

A continuous machine learning system comprising a data generator module, pipeline search module, and pipeline refinement module that generates data batches, determines the best machine learning model pipeline, refines it, and incrementally trains it using subsequent data batches, allowing training in environments with limited resources.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional machine learning training systems are used to handle entire data pools, then training completeness can be achieved, but system resources (memory) are insufficient in containerized environments

Engineering Contradiction:
Improvetraining completenessVSAvoidmemory resources
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent divides the entire training data pool into multiple smaller batches that can be processed sequentially. The data generator module creates data batches with controlled sizes, allowing the system to train on portions of data that fit within available memory constraints while ultimately processing the complete dataset through multiple passes.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs partial training actions on data batches rather than attempting to load the entire dataset at once. By training incrementally on subsets of data and iterating through multiple batches, the system achieves complete training coverage without requiring memory resources proportional to the full dataset size.

Inventive Principle:
Principle #16Partial or excessive action

2Quantity of substance

If data is broken into batches for limited resource environments, then resource utilization improves, but training time increases

Engineering Contradiction:
Improvememory resourcesVSAvoidtraining time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The data generator module pre-processes and organizes the training data into batches before training begins. This preliminary organization allows the training process to proceed efficiently through pre-segmented data without the overhead of dynamic data loading or processing during training iterations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system maintains continuous training action by seamlessly processing through multiple data batches without interruption. The pipeline modules are designed to handle batch transitions efficiently, ensuring that the training process continues without significant idle time between batches, thereby minimizing total training time despite processing data in segments.

Inventive Principle:
Principle #20Continuity of useful action

3Speed

If the entire data pool is loaded into memory, then training speed can be maximized, but system crashes occur in containerized environments with limited memory

Engineering Contradiction:
Improvetraining speedVSAvoidsystem stability
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

By segmenting the data pool into smaller batches that fit within available memory, the system avoids the memory overflow that causes system crashes. Each batch is processed independently within memory constraints, ensuring system stability while maintaining training progress.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The data generator module acts as an intermediary between the storage system and the training pipeline, managing data flow in controlled batches. This intermediary layer prevents direct loading of the entire dataset into memory, thereby preventing system crashes while enabling continuous training through batched data supply.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20230289650A1Continuous machine learning system for containerized environment with limited resources
Publication Date: 2023.09.14 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US20230289650A1 patent drawing
  • US20230289650A1 patent drawing
  • US20230289650A1 patent drawing

AI summary

A continuous machine learning system includes a data generator module, a pipeline search module, a pipeline refinement module, and a pipeline training module. The data generator module obtains raw training data defining a total data size and generates a plurality of data batches from the raw training data. The pipeline search module obtains an initial data batch from among the plurality of data batches and determines a best machine learning model pipeline among a plurality of machine learning model pipelines based on the initial data batch. The pipeline refinement module receives the best machine learning model pipeline and refines the best machine learning model pipeline to generate a refined pipeline that consumes the plurality of data batches. The pipeline training module incrementally trains the refined pipeline using remaining data batches among the plurality of data batches generated after the initial data batch.