paper-with-me

홈 › Papers

Are Straight-Through gradients and Soft-Thresholding all you need for Sparse Training?

2022-12-02 · Antoine Vanderschueren, Christophe De Vleeschouwer

Turning the weights to zero when training a neural network helps in reducing the computational complexity at inference. To progressively increase the sparsity ratio in the network without causing sharp weight discontinuities during training, our work combines soft-thresholding and straight-through gradient estimation to update the raw, i.e. non-thresholded, version of zeroed weights. Our method, named ST-3 for straight-through/soft-thresholding/sparse-training, obtains SoA results, both in terms of accuracy/sparsity and accuracy/FLOPS trade-offs, when progressively increasing the sparsity ratio in a single training cycle. In particular, despite its simplicity, ST-3 favorably compares to the most recent methods, adopting differentiable formulations or bio-inspired neuroregeneration principles. This suggests that the key ingredients for effective sparsification primarily lie in the ability to give the weights the freedom to evolve smoothly across the zero state while progressively increasing the sparsity ratio. Source code and weights available at https://github.com/vanderschuea/stthree

📄 PDF Abstract BibTeX arXiv:2212.01076

Code (1)

vanderschuea/stthree 공식 구현 pytorch

Tasks

AllImage ClassificationNetwork Pruning

Similar Papers 제목 키워드 기반

SoftJAX & SoftTorch: Empowering Automatic Differentiation Libraries with Informative Gradients

2026-03-09 · Anselm Paulus, A. René Geist, Vít Musil, Sebastian Hoffmann 외 arxiv

Automatic differentiation (AD) frameworks such as JAX and PyTorch have enabled gradient-based optimization for a wide range of scientific fields. Yet, many "hard" primitives in these libraries such as thresholding, Boole…

An Analysis of Discretization Methods for Communication Learning with Multi-Agent Reinforcement Learning

2022-04-12 · Astrid Vanneste, Simon Vanneste, Kevin Mets, Tom De Schepper 외

Communication is crucial in multi-agent reinforcement learning when agents are not able to observe the full state of the environment. The most common approach to allow learned communication between agents is the use of a…

Multi-agent Reinforcement Learningreinforcement-learningReinforcement Learning (RL)

Improving Discrete Optimisation Via Decoupled Straight-Through Gumbel-Softmax

2024-10-17 · Rushi Shah, Mingyuan Yan, Michael Curtis Mozer, Dianbo Liu

Discrete representations play a crucial role in many deep learning architectures, yet their non-differentiable nature poses significant challenges for gradient-based optimization. To address this issue, various gradient …

Uncertainty propagation in neural networks for sparse coding

2018-11-29 · Danil Kuzin, Olga Isupova, Lyudmila Mihaylova

A novel method to propagate uncertainty through the soft-thresholding nonlinearity is proposed in this paper. At every layer the current distribution of the target vector is represented as a spike and slab distribution, …

Bayesian Inference

Bridging between soft and hard thresholding by scaling

2021-04-20 · Katsuyuki Hagiwara

In this article, we developed and analyzed a thresholding method in which soft thresholding estimators are independently expanded by empirical scaling values. The scaling values have a common hyper-parameter that is an o…