paper-with-me

Papers

Regularized Top-$k$: A Bayesian Framework for Gradient Sparsification

2025-01-10 · Ali Bereyhi, Ben Liang, Gary Boudreau, Ali Afana

Error accumulation is effective for gradient sparsification in distributed settings: initially-unselected gradient entries are eventually selected as their accumulated error exceeds a certain level. The accumulation essentially behaves as a scaling of the learning rate for the selected entries. Although this property prevents the slow-down of lateral movements in distributed gradient descent, it can deteriorate convergence in some settings. This work proposes a novel sparsification scheme that controls the learning rate scaling of error accumulation. The development of this scheme follows two major steps: first, gradient sparsification is formulated as an inverse probability (inference) problem, and the Bayesian optimal sparsification mask is derived as a maximum-a-posteriori estimator. Using the prior distribution inherited from Top-$k$, we derive a new sparsification algorithm which can be interpreted as a regularized form of Top-$k$. We call this algorithm regularized Top-$k$ (RegTop-$k$). It utilizes past aggregated gradients to evaluate posterior statistics of the next aggregation. It then prioritizes the local accumulated gradient entries based on these posterior statistics. We validate our derivation through numerical experiments. In distributed linear regression, it is observed that while Top-$k$ remains at a fixed distance from the global optimum, RegTop-$k$ converges to the global optimum at significantly higher compression ratios. We further demonstrate the generalization of this observation by employing RegTop-$k$ in distributed training of ResNet-18 on CIFAR-10, where it noticeably outperforms Top-$k$.

📄 PDF Abstract BibTeX arXiv:2501.05633

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Gradient Sparsification Gradient Sparsification is a technique for distributed training that sparsifies stochastic gradients to reduce the communication cost, with minor increase in the number of…

Similar Papers 제목 키워드 기반

Novel Gradient Sparsification Algorithm via Bayesian Inference

2024-09-23 · Ali Bereyhi, Ben Liang, Gary Boudreau, Ali Afana

Error accumulation is an essential component of the Top-$k$ sparsification method in distributed gradient descent. It implicitly scales the learning rate and prevents the slow-down of lateral movement, but it can also de…

Bayesian Inference

Gradient Sparsification for Communication-Efficient Distributed Optimization

2017-10-26 · NeurIPS 2018 12 · Jianqiao Wangni, Jialei Wang, Ji Liu, Tong Zhang

Modern large scale machine learning applications require stochastic optimization algorithms to be implemented on distributed computational architectures. A key bottleneck is the communication overhead for exchanging info…

BIG-bench Machine LearningDistributed OptimizationregressionStochastic Optimization

Differentiable Sparsification for Deep Neural Networks

2019-10-08 · Yognjin Lee

Deep neural networks have significantly alleviated the burden of feature engineering, but comparable efforts are now required to determine effective architectures for these networks. Furthermore, as network sizes have be…

Feature EngineeringModel Compression

Reliable data clustering with Bayesian community detection

2025-10-16 · Magnus Neuman, Jelena Smiljanić, Martin Rosvall arxiv

From neuroscience and genomics to systems biology and ecology, researchers rely on clustering similarity data to uncover modular structure. Yet widely used clustering methods, such as hierarchical clustering, k-means, an…

Community Detection

Gradient Regularized Natural Gradients

2026-01-26 · Satya Prakash Dash, Hossein Abdi, Wei Pan, Samuel Kaski 외 arxiv

Gradient regularization (GR) has been shown to improve the generalizability of trained models. While Natural Gradient Descent has been shown to accelerate optimization in the initial phase of training, little attention h…