IP Library › Granted Patent US 11,356,334
Granted Patent B2
US 11,356,334 · App. 15/980,243 · Granted Jun 7, 2022

Communication efficient sparse-reduce in distributed machine learning

Inventors: Asim Kadav (Jersey City, NJ); Erik Kruus (East Hillsborough, NJ)
H04L41/16G06F9/52G06F15/76G06N20/00H04L41/12
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,356,334
App. No.
15/980,243
Granted
Jun 7, 2022
Kind
B2
Abstract

A method is provided for sparse communication in a parallel machine learning environment. The method includes determining a fixed communication cost for a sparse graph to be computed. The sparse graph is (i) determined from a communication graph that includes all the machines in a target cluster of the environment, and (ii) represents a communication network for the target cluster having (a) an overall spectral gap greater than or equal to a minimum threshold, and (b) certain information dispersal properties such that an intermediate output from a given node disperses to all other nodes of the sparse graph in lowest number of time steps given other possible node connections. The method further includes computing the sparse graph, based on the communication graph and the fixed communication cost. The method also includes initiating a propagation of the intermediate output in the parallel machine learning environment using a topology of the sparse graph.

Claims (32)

1. A computer-implemented method for sparse communication in a parallel machine learning environment, comprising:

determining, by a processor, a fixed communication cost for a sparse graph to be computed, wherein the sparse graph is (i) determined from a communication graph that includes all the machines in a target cluster of the parallel machine learning environment, and (ii) represents a communication network for the target cluster having (a) an overall spectral gap greater than or equal to a minimum threshold, and (b) certain information dispersal properties such that an intermediate output from a given node disperses to all other nodes of the sparse graph in lowest number of time steps given other node connections;

computing, by the processor, the sparse graph, based on the communication graph and the fixed communication cost; and

initiating, by the processor, a propagation of the intermediate output in the parallel machine learning environment using a topology of the sparse graph,

wherein the method further comprises automatically selecting a number and a type of model replicas for computing the sparse graph, based on the overall spectral gap and a number of edges in the communication graph.

2. The computer-implemented method of claim 1 , wherein the fixed communication cost is determined empirically.

3. The computer-implemented method of claim 1 , wherein the fixed communication cost is determined to allow selection of an out-degree for each node in the sparse graph.

4. The computer-implemented method of claim 1 , wherein the intermediate output is a model update for model training.

5. The computer-implemented method of claim 1 , wherein the parallel machine learning environment is a distributed parallel machine learning environment.

6. The computer-implemented method of claim 1 , wherein the parallel machine learning environment is comprised in a surveillance system.

7. The computer-implemented method of claim 1 , wherein the parallel machine learning environment is comprised in a language translation system.

8. The computer-implemented method of claim 1 , wherein the parallel machine learning environment is comprised in an image recognition system.

9. The computer-implemented method of claim 1 , wherein the method is performed to train a parallel model in a distributed manner using multiple computing nodes of the target cluster.

10. A computer program product for sparse communication in a parallel machine learning environment, the computer program product comprising a non-transitory computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to perform a method comprising:

determining, by a processor of the computer, a fixed communication cost for a sparse graph to be computed, wherein the sparse graph is (i) determined from a communication graph that includes all the machines in a target cluster of the parallel machine learning environment, and (ii) represents a communication network for the target cluster having (a) an overall spectral gap greater than or equal to a minimum threshold, and (b) certain information dispersal properties such that an intermediate output from a given node disperses to all other nodes of the sparse graph in lowest number of time steps given other node connections;

computing, by the processor, the sparse graph, based on the communication graph and the fixed communication cost; and

initiating, by the processor, a propagation of the intermediate output in the parallel machine learning environment using a topology of the sparse graph,

wherein the method further comprises automatically selecting a number and a type of model replicas for computing the sparse graph, based on the overall spectral gap and a number of edges in the communication graph.

11. The computer program product of claim 10 , wherein the fixed communication cost is determined empirically.

12. The computer program product of claim 10 , wherein the fixed communication cost is determined to allow selection of an out-degree for each node in the sparse graph.

13. The computer program product of claim 10 , wherein the intermediate output is a model update for model training.

14. The computer program product of claim 10 , wherein the parallel machine learning environment is a distributed parallel machine learning environment.

15. The computer program product of claim 10 , wherein the parallel machine learning environment is comprised in a surveillance system.

16. The computer program product of claim 10 , wherein the parallel machine learning environment is comprised in a language translation system.

17. The computer program product of claim 10 , wherein the parallel machine learning environment is comprised in an image recognition system.

18. A computer processing system for sparse communication in a parallel machine learning environment, comprising:

a memory for storing program code; and

a processor for running the program code to:

determine a fixed communication cost for a sparse graph to be computed, wherein the sparse graph is (i) determined from a communication graph that includes all the machines in a target cluster of the parallel machine learning environment, and (ii) represents a communication network for the target cluster having (a) an overall spectral gap greater than or equal to a minimum threshold, and (b) certain information dispersal properties such that an intermediate output from a given node disperses to all other nodes of the sparse graph in lowest number of time steps given other node connections;

compute the sparse graph, based on the communication graph and the fixed communication cost; and

initiate a propagation of the intermediate output in the parallel machine learning environment using a topology of the sparse graph,

wherein processor further runs the program code to automatically select a number and a type of model replicas for computing the sparse graph, based on the overall spectral gap and a number of edges in the communication graph.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 11, 2022
From: NEC LABORATORIES AMERICA, INC.
To: NEC CORPORATION
Reel/Frame 059561/0743 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 15, 2018
From: KADAV, ASIM; KRUUS, ERIK
To: NEC LABORATORIES AMERICA, INC.
Reel/Frame 045810/0179 →
Continuity (4)
Continuation In Part 15480874 · Apr 6, 2017
Provisional Application 62506660 · May 16, 2017
Provisional Application 62322849 · Apr 15, 2016
Related Publication 20180262402A1 · Sep 13, 2018