Serverless Container Pool Dynamic Adjustment for ML Training

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional systems face inefficiencies and inaccuracies in training online machine-learning models due to wasteful computational processing, high latency, and inability to support continuous updates in cloud computing environments, leading to irregular updates and reduced model accuracy.

Innovation Solution

A serverless computing management system dynamically adjusts the number of serverless execution containers based on incoming data patterns to optimize computing latency and cost, utilizing an online learning model to continuously train machine-learning models in a stateful manner within a serverless cloud environment.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional systems train machine-learning models offline, then model accuracy is reduced and updates become irregular, but computational processing resources are saved

Engineering Contradiction:
Improvemodel accuracyVSAvoidupdate frequency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system dynamically adjusts the number of serverless execution containers in the pool based on incoming data patterns and training requirements. The online learning model continuously monitors data arrival rates and automatically scales the container pool size to optimize both training frequency and resource utilization, enabling regular online updates while maintaining cost efficiency

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the operational parameters of machine-learning models from offline batch training to online incremental training. By implementing continuous training with evolving data streams and adjusting container pool characteristics dynamically, the system achieves both high model accuracy through frequent updates and efficient resource utilization through parameter-optimized training processes

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If conventional systems attempt online training, then model updates become frequent and accurate, but computational processing and memory usage become extremely wasteful

Engineering Contradiction:
Improvemodel accuracyVSAvoidcomputational processing waste
Core Design Contradiction:
Measurement precisionVSLoss of energy

Solution Approach 1:

The system implements dynamic scaling of the serverless execution container pool based on real-time data patterns and training demands. The online learning model adjusts container pool size continuously, allocating resources only when needed for training operations and releasing them when idle, thereby achieving frequent accurate updates without permanent resource over-provisioning

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system employs self-service mechanisms where the online learning model automatically manages its own training resources by monitoring data arrival patterns and autonomously adjusting the container pool size. This eliminates the need for manual resource allocation and prevents wasteful computational processing by ensuring resources are available only when actual training is required

Inventive Principle:
Principle #25Self-service

3Measurement precision

If conventional systems train online machine-learning models, then model freshness is maintained, but training delays become extremely long

Engineering Contradiction:
Improvemodel freshnessVSAvoidtraining delay
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs preliminary actions by pre-warming serverless execution containers and pre-positioning training environments before data arrives. Containers are provisioned in advance with necessary dependencies and configurations, so when training data arrives, the system can immediately begin online training without cold-start delays, maintaining both model freshness and reducing training delays

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system introduces serverless execution containers as intermediaries between incoming data streams and the online learning model training process. These containers act as buffered processing units that can be dynamically activated and deactivated, smoothing out training delays by maintaining a ready pool of execution environments without requiring permanent resource allocation

Inventive Principle:
Principle #24Intermediary (Mediator)

4Productivity

If cloud computing systems host online machine-learning models, then continuous training is enabled, but computing costs increase significantly

Engineering Contradiction:
Improvetraining continuityVSAvoidcomputing cost
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The system dynamically adjusts the serverless execution container pool size based on incoming data patterns and training requirements. The online learning model continuously monitors utilization metrics and automatically scales resources up during high-demand periods and down during low-demand periods, enabling continuous training capability while optimizing computing costs through adaptive resource allocation

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the operational parameters of cloud computing resource allocation from static fixed provisioning to dynamic demand-based provisioning. By implementing parameter-optimized container pool management that adjusts size, capacity, and lifetime based on actual training needs and data arrival patterns, the system achieves continuous model training while significantly reducing unnecessary computing costs

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12045701B2Dynamically adjusting a serverless execution container pool for training and utilizing online machine-learning models
Publication Date: 2024.07.23 ADOBE INC
  • US12045701B2 patent drawing
  • US12045701B2 patent drawing
  • US12045701B2 patent drawing

AI summary

The disclosure describes one or more implementations of a serverless computing management system that utilizes an online learning model to dynamically adjust the number of serverless execution containers in a serverless pool based on incoming data patterns. For example, for each time instance in a given time period, the serverless computing management system utilizes the online learning model to balance computing latency and computing cost to determine how to intelligently resize the serverless pool, such that the online machine-learning models in the serverless pool can update in a manner that improves accuracy and computing efficiency while also minimizing unnecessary delays. Further, the serverless computing management system provides a framework that facilitates state-based training of online machine-learning models in a stateless and serverless cloud-based environment.