Dynamic Bandwidth Allocation for Distributed Deep Learning Stragglers

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed deep learning training is inefficient due to the communication straggler problem, where slow learners prolong overall training time and cause bandwidth issues, leading to performance degradation and potential hotspots in centralized control systems.

Innovation Solution

A communication manager identifies and addresses communication stragglers by compressing data and adjusting processor frequencies to reduce network communication time, thereby increasing effective bandwidth and balancing training times across the network.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If distributed deep learning training is performed using multiple learners and a centralized parameter server, then training speed and parallelism are improved, but communication stragglers cause network bottlenecks and performance degradation

Engineering Contradiction:
Improvetraining speedVSAvoidcommunication reliability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system dynamically adjusts the communication protocol for each learner based on real-time performance monitoring. When a learner is identified as a communication straggler, the system switches from synchronous to asynchronous communication or applies compression techniques, making the communication protocol adaptive rather than static.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes communication parameters such as compression level, batch size, and frequency based on the learner's performance characteristics. Fast learners use higher compression ratios and larger batches, while slow learners use lower compression and smaller batches to maintain communication reliability.

Inventive Principle:
Principle #35Parameter changes

2Manufacturing precision

If synchronous communication is used to ensure all learners complete training before proceeding, then training accuracy is maintained, but overall training time increases due to waiting for slow learners

Engineering Contradiction:
Improvetraining accuracyVSAvoidtraining time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The training process is segmented into independent micro-batches that can be processed asynchronously. Instead of waiting for all learners to complete one full batch, the system divides work into smaller segments that can be completed at different rates, with results aggregated later to maintain accuracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system implements continuous feedback loops where the parameter server monitors learner performance and adjusts communication strategies in real-time. This feedback mechanism allows the system to identify stragglers early and apply corrective measures without compromising the overall training accuracy.

Inventive Principle:
Principle #23Feedback

3Speed

If network bandwidth is increased to reduce communication time, then communication speed improves, but system cost and complexity increase

Engineering Contradiction:
Improvecommunication speedVSAvoidsystem complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

Instead of increasing physical bandwidth, the system changes communication parameters such as data compression ratios, encoding schemes, and batch sizes. These parameter adjustments effectively increase communication speed by reducing the amount of data transmitted without requiring additional network infrastructure.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The system introduces compression intermediaries that encode training data before transmission and decode it at the receiver end. This intermediary layer reduces the effective communication volume and time without requiring faster network hardware.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11886969B2Dynamic network bandwidth in distributed deep learning training
Publication Date: 2024.01.30 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11886969B2 patent drawing
  • US11886969B2 patent drawing
  • US11886969B2 patent drawing

AI summary

Embodiments of a method are disclosed. The method includes performing distributed deep learning training on a batch of training data. The method also includes determining training times representing an amount of time between a beginning batch time and an end batch time. Further, the method includes modifying a communication aspect of the communication straggler to reduce a future network communication time for the communication straggler to send a future result of the distributed deep learning training on a new batch of training data in response to the centralized parameter server determining that the learner is the communication straggler.