difficult to aggregate all training data due to the privacy. : server, which has its own (private) training datasets. Decentralized Learning Usual Training
difficult to aggregate all training data due to the privacy. : server, which has its own (private) training datasets. Decentralized Learning Usual Training Only neural network parameters are exchanged between noes.
π3 π4 π5 π: the number of nodes ππ : loss function of node π. nodes can exchange parameters. πππ : the weight of edge π, π . Goal: min π 1 π ΰ· π=1 π ππ π
When the number of nodes are extremely large, the parameters of nodes drift away. γ»γ»γ» The parameter of this node might be very different from the parameter of the white node.
When the number of nodes are extremely large, the parameters of nodes drift away. γ»γ»γ» The parameter of this node might be very different from the parameter of the white node.
When the number of nodes are extremely large, the parameters of nodes drift away. γ»γ»γ» The parameter of this node might be very different from the parameter of the white node. In theory, it require more number of iterations as the number of node incrases.
Convergence Rate of Decentralized SGD with Ring Decentralized SGD with ring converges with the following rate: 1 π ΰ· π‘=0 πβ1 E βπ ΰ΄₯ π π‘ 2 β€ π 1 ππ + π4 π2 1 3 + π2 π . π: #nodes π: #iteration βΌ It requires more iterations π as π is substantially large.
When the number of nodes are extremely large, the parameters of nodes drift away. γ»γ»γ» The parameter of this node might be very different from the parameter of the white node.
develop a method that can completely alleviate the degradation caused by a large number of nodes? Convergence Rate of Proposed Method (Informal) We can achieve: 1 π ΰ· π‘=0 πβ1 E βπ ΰ΄₯ π π‘ 2 β€ π 1 ππ + 1 π 4 7 + 1 π 3 5 + 1 π .
The parameters of nodes drift away since the number of nodes is large. Idea: Even if the total number of nodes is large, we can simulate Decentralized SGD with small number of nodes γ»γ»γ»
The mixing matrix ππ β 0,1 πΓπ has a spectral gap ππ . Convergence Rate of Teleportation Let π be the number of active nodes, we can achieve: π πΏπ0 π2 + 1 β π β 1 π β 1 π2 ππ + πΏ2π0 2 π2 + π2 π2ππ 1 3 + πΏπ0 ππ π , where π0 β π π₯ 0 β πβ. ππ depends on the small graph consisting of only active nodes. π: #nodes π: #iteration
the number of active nodes π, we get Convergence Rate of Proposed Method If we use ring as the topology and set π as follows: π = max 1, min π π2 + π2 πΏπ0 1 5 , π π2 + π2 πΏπ0 1 7 , π we can achieve: π πΏπ0 π2 ππ + πΏ2π0 2 π2 + π2 3 4 π 4 7 + πΏ2π0 2 π2 + π2 2 3 π 3 5 + πΏπ0 π , where π0 β π π₯ 0 β πβ. π: #nodes π: #iteration
the number of active nodes π, we get Convergence Rate of Proposed Method If we use ring as the topology and set π as follows: π = max 1, min π π2 + π2 πΏπ0 1 5 , π π2 + π2 πΏπ0 1 7 , π we can achieve: π πΏπ0 π2 ππ + πΏ2π0 2 π2 + π2 3 4 π 4 7 + πΏ2π0 2 π2 + π2 2 3 π 3 5 + πΏπ0 π , where π0 β π π₯ 0 β πβ. The convergence rate consistently improve as π increases!
Can we develop an efficient hyperparameter-tuning method? We must tune the number of active nodes π from 1 to π. Grid search requires ππ iterations Yes! We can obtain the proper π within 2π iterations.
βΌ Grid search on πΎ can find a proper π. βΌ Moreover, this grid search can run in parallel. Key Lemma Let πΎ define πΎ β 1, 2, 4, 8, β¦ , 2Ϋlog2(π+1 ] ) β1 . For any πβ < π, there exists π β πΎ such that πβ 4 < π β€ πβ. Furthermore it holds that ΟπβπΎ π β€ π.
Theorem (Informal) This hyperparameter-tuning methods achieve exactly the same convergence rate as that with the optimal πβ. 1. Run Teleportation with βπ β πΎ in parallel. 2. Run Teleportation with π. (full activation.) 3. Chose the best parameters. We can obtain the proper π within 2π iterations.
The convergence rate of Teleportation does not degrade as π increases. βΌ We also propose an efficient hyperparameter-tuning method. βΌ We numerically demonstrate the effectiveness. paper