Asynchronous Model Versioning for Distributed ML Training

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional distributed machine learning techniques face challenges in handling large datasets due to synchronization barriers, which limit the speed and efficiency of statistical model updates in big data analytics, particularly in asynchronous environments.

Innovation Solution

The implementation of asynchronous distributed machine learning using automatic version control and asynchronous Alternating Direction Method of Multipliers (ADMM) allows for the independent generation and propagation of global versions of statistical models across clients and servers, eliminating synchronization barriers and enabling faster updates without relying on lock mechanisms.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If synchronous machine learning techniques are used, then model updates can be coordinated across distributed systems, but training speed and efficiency are limited due to synchronization barriers

Engineering Contradiction:
Improvetraining speedVSAvoidsynchronization time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent implements asynchronous distributed machine learning where the system dynamically adapts to varying speeds of different computing nodes. Instead of requiring all nodes to synchronize at fixed intervals, the system allows continuous independent model updates from each node, with the coordinator collecting and aggregating updates at any time. This dynamic approach eliminates synchronization barriers and enables faster training speeds.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent enables continuous model updates without interruption from synchronization waits. Computing nodes can continuously train and update models using their local data streams, while the coordinator continuously aggregates updates. This continuous operation eliminates idle time caused by synchronization barriers and maximizes productive action across the distributed system.

Inventive Principle:
Principle #20Continuity of useful action

2Reliability

If lock mechanisms are used to manage model updates, then consistency across distributed systems is maintained, but system complexity and overhead increase

Engineering Contradiction:
Improvemodel consistencyVSAvoidsynchronization mechanism complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts and removes the complex lock mechanisms from the distributed machine learning system. Instead of using locks to manage concurrent model updates, the system employs a coordinator that collects updates from multiple nodes and aggregates them without requiring locks or synchronization primitives. This extraction of locking complexity maintains model consistency while significantly reducing system overhead.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces a coordinator as an intermediary between computing nodes and the model aggregation process. The coordinator receives updates from multiple nodes, manages the aggregation process, and distributes updated models back to nodes. This intermediary approach eliminates the need for direct node-to-node locking mechanisms and simplifies consistency management.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Quantity of substance

If large datasets are processed in distributed systems, then analytical capabilities are enhanced, but synchronization overhead increases

Engineering Contradiction:
Improvedata processing capacityVSAvoidsynchronization overhead
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent segments the data processing workload across multiple independent computing nodes, each processing local subsets of large datasets. Nodes independently train models on their local data without requiring synchronization, while the coordinator aggregates results. This segmentation enables processing of large datasets at scale without synchronization overhead.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent allows computing nodes to perform partial model updates independently based on their local data, without waiting for complete synchronization. Each node can process and update its portion of the data, and the coordinator aggregates these partial updates to achieve overall model training. This partial action approach processes large datasets efficiently without synchronization delays.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS10380500B2Version control for asynchronous distributed machine learning
Publication Date: 2019.08.13 MICROSOFT TECHNOLOGY LICENSING LLC
  • US10380500B2 patent drawing
  • US10380500B2 patent drawing
  • US10380500B2 patent drawing

AI summary

A system and method for managing asynchronously receiving updates and merging updates into global versions of a statistical model using version control are disclosed. During operation, the system transmits a first global version of a statistical model to a set of client computer systems. Next, the system obtains, from a first subset of the client computer systems, a first set of updates to the first global version. The system then merges the first set of updates into a second global version of the statistical model. Finally, the system transmits the second global version to the client computer systems asynchronously from receiving a second set of updates to the first and/or second global versions from a second subset of the client computer systems.