paper-with-me

Papers

Communication-efficient distributed SGD with Sketching

2019-03-12 · NeurIPS 2019 12 · Nikita Ivkin, Daniel Rothchild, Enayat Ullah, Vladimir Braverman, Ion Stoica, Raman Arora

Large-scale distributed training of neural networks is often limited by network bandwidth, wherein the communication time overwhelms the local computation time. Motivated by the success of sketching methods in sub-linear/streaming algorithms, we introduce Sketched SGD, an algorithm for carrying out distributed SGD by communicating sketches instead of full gradients. We show that Sketched SGD has favorable convergence rates on several classes of functions. When considering all communication -- both of gradients and of updated model weights -- Sketched SGD reduces the amount of communication required compared to other gradient compression methods from $\mathcal{O}(d)$ or $\mathcal{O}(W)$ to $\mathcal{O}(\log d)$, where $d$ is the number of model parameters and $W$ is the number of workers participating in training. We run experiments on a transformer model, an LSTM, and a residual network, demonstrating up to a 40x reduction in total communication cost with no loss in final model performance. We also show experimentally that Sketched SGD scales to at least 256 workers without increasing communication cost or degrading model performance.

📄 PDF Abstract BibTeX arXiv:1903.04488

Code (2)

dhroth/sketchedsgd 공식 구현 pytorch
sunahhlee/TopHCS pytorch

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Sigmoid Activation 설명 없음
Tanh Activation 설명 없음
LSTM An LSTM is a type of recurrent neural network that addresses the vanishing gradient problem in vanilla…
Residual Connection 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…

Similar Papers 제목 키워드 기반

Sketching for First Order Method: Efficient Algorithm for Low-Bandwidth Channel and Vulnerability

2022-10-15 · Zhao Song, Yitan Wang, Zheng Yu, Lichen Zhang

Sketching is one of the most fundamental tools in large-scale machine learning. It enables runtime and memory saving via randomly compressing the original large problem into lower dimensions. In this paper, we propose a …

Federated Learning

Distributed Least Squares in Small Space via Sketching and Bias Reduction

2024-05-08 · Sachin Garg, Kevin Tan, Michał Dereziński

Matrix sketching is a powerful tool for reducing the size of large data matrices. Yet there are fundamental limitations to this size reduction when we want to recover an accurate estimator for a task such as least square…

Distributed Sketching for Randomized Optimization: Exact Characterization, Concentration and Lower Bounds

2022-03-18 · Burak Bartan, Mert Pilanci

We consider distributed optimization methods for problems where forming the Hessian is computationally challenging and communication is a significant bottleneck. We leverage randomized sketches for reducing the problem d…

Cloud ComputingDistributed Optimization

FedSKETCH: Communication-Efficient and Private Federated Learning via Sketching

2020-08-11 · Farzin Haddadpour, Belhal Karimi, Ping Li, Xiaoyun Li

Communication complexity and privacy are the two key challenges in Federated Learning where the goal is to perform a distributed learning through a large volume of devices. In this work, we introduce FedSKETCH and FedSKE…

Federated Learning

Distributed Sketching on Data Partitions for OLS Regression

2026-07-08 · Luyuan Yang, Brayden Garner, Shayan Shafaei, Chao Lan arxiv

This paper studies distributed sketching for ordinary least squares (OLS) regression, an approach that distributes small sketches of a large data set over multiple machines to separately construct OLS estimators and aver…