paper-with-me

홈 › Papers

Neural gradients are near-lognormal: improved quantized and sparse training

2020-06-15 · ICLR 2021 1 · Brian Chmiel, Liad Ben-Uri, Moran Shkolnik, Elad Hoffer, Ron Banner, Daniel Soudry

While training can mostly be accelerated by reducing the time needed to propagate neural gradients back throughout the model, most previous works focus on the quantization/pruning of weights and activations. These methods are often not applicable to neural gradients, which have very different statistical properties. Distinguished from weights and activations, we find that the distribution of neural gradients is approximately lognormal. Considering this, we suggest two closed-form analytical methods to reduce the computational and memory burdens of neural gradients. The first method optimizes the floating-point format and scale of the gradients. The second method accurately sets sparsity thresholds for gradient pruning. Each method achieves state-of-the-art results on ImageNet. To the best of our knowledge, this paper is the first to (1) quantize the gradients to 6-bit floating-point formats, or (2) achieve up to 85% gradient sparsity -- in each case without accuracy degradation. Reference implementation accompanies the paper.

📄 PDF Abstract BibTeX arXiv:2006.08173

Code (0)

등록된 구현이 없습니다.

Tasks

Neural Network CompressionQuantization

Similar Papers 제목 키워드 기반

Communication-Efficient Distributed Learning via Lazily Aggregated Quantized Gradients

2019-09-17 · NeurIPS 2019 12 · Jun Sun, Tianyi Chen, Georgios B. Giannakis, Zaiyue Yang

The present paper develops a novel aggregated gradient approach for distributed machine learning that adaptively compresses the gradient communication. The key idea is to first quantize the computed gradients, and then s…

High-Dimensional Learning Dynamics of Quantized Models with Straight-Through Estimator

2025-10-12 · Yuma Ichikawa, Shuhei Kashiwamura, Ayaka Sakata arxiv

Quantized neural network training optimizes a discrete, non-differentiable objective. The straight-through estimator (STE) enables backpropagation through surrogate gradients and is widely used. While previous studies ha…

DoubleSqueeze: Parallel Stochastic Gradient Descent with Double-Pass Error-Compensated Compression

2019-05-15 · Hanlin Tang, Xiangru Lian, Chen Yu, Tong Zhang 외

A standard approach in large scale machine learning is distributed stochastic gradient training, which requires the computation of aggregated stochastic gradients over multiple nodes on a network. Communication is a majo…

Discriminatively Trained Sparse Code Gradients for Contour Detection

2012-12-01 · NeurIPS 2012 12 · Ren Xiaofeng, Liefeng Bo

Finding contours in natural images is a fundamental problem that serves as the basis of many tasks such as image segmentation and object recognition. At the core of contour detection technologies are a set of hand-design…

Contour DetectionDictionary LearningImage SegmentationObject Recognition+1

Analysis of Quantized Models

2019-05-01 · ICLR 2019 5 · Lu Hou, Ruiliang Zhang, James T. Kwok

Weight-quantized networks have small storage and fast inference, but training can still be time-consuming. This can be improved with distributed learning. To reduce the high communication cost due to worker-server synchr…

Quantization