mlsanityData to 14 Oct 2026

Understanding Straight-Through Estimator in Training Activation Quantized Neural Nets

arXiv 1903.05662 ↗First posted 13 Mar 2019cs.LG math.OC stat.MLcited by 231

Not on the map. Why?

Abstract (arXiv)

Training activation quantized neural networks involves minimizing a piecewise constant function whose gradient vanishes almost everywhere, which is undesirable for the standard back-propagation or chain rule. An empirical way around this issue is to use a straight-through estimator (STE) (Bengio et al., 2013) in the backward pass only, so that the "gradient" through the modified chain rule becomes non-trivial. Since this unusual "gradient" is certainly not the gradient of loss function, the following question arises: why searching in its negative direction minimizes the training loss? In this paper, we provide the theoretical justification of the concept of STE by answering this question. We consider the problem of learning a two-linear-layer network with binarized ReLU activation and Gaussian input data. We shall refer to the unusual "gradient" given by the STE-modifed chain rule as coarse gradient. The choice of STE is not unique. We prove that if the STE is properly chosen, the expected coarse gradient correlates positively with the population gradient (not available for the training), and its negation is a descent direction for minimizing the population loss. We further show the associated coarse gradient descent algorithm converges to a critical point of the population loss minimization problem. Moreover, we show that a poor choice of STE leads to instability of the training algorithm near certain local minima, which is verified with CIFAR-10 experiments.

Key facts. Cited by 231 papers in the map (data through 14 Oct 2026). First posted on arXiv 13 Mar 2019.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 21; 2022: 38; 2023: 36; 2024: 36; 2025: 50; 2026: 50.

231 papers.

Sort:

By area:

  1. 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 815
  2. 2024Jumping Ahead: Improving Reconstruction Fidelity with JumpReLU Sparse Autoencoderscited by 300
  3. 2023MERF: Memory-Efficient Radiance Fields for Real-time View Synthesis in Unbounded Scenescited by 218
  4. 2021Chasing Sparsity in Vision Transformers: An End-to-End Explorationcited by 183
  5. 2021Learning N:M Fine-grained Structured Sparse Neural Networks From Scratchcited by 179
  6. 2022Overcoming Oscillations in Quantization-Aware Trainingcited by 119
  7. 2021The Bayesian Learning Rulecited by 99
  8. 2021Network Quantization with Element-wise Gradient Scalingcited by 87
  9. 2024Proactive Detection of Voice Cloning with Localized Watermarkingcited by 78
  10. 2022PAC-Bayes Compression Bounds So Tight That They Can Explain Generalizationcited by 76
  11. 2022A Comprehensive Survey on Model Quantization for Deep Neural Networks in Image Classificationcited by 65
  12. 2021Universal Approximation of Functions on Setscited by 62
38 more
  1. 2024PV-Tuning: Beyond Straight-Through Estimation for Extreme LLM Compressioncited by 61
  2. 2025Optimizing Large Language Model Training Using FP4 Quantizationcited by 56
  3. 2021Soft then Hard: Rethinking the Quantization in Neural Image Compressioncited by 51
  4. 2023Encoding Time-Series Explanations through Self-Supervised Model Behavior Consistencycited by 42
  5. 2025Quantization Error Propagation: Revisiting Layer-Wise Post-Training Quantizationcited by 41
  6. 2021DKM: Differentiable K-Means Clustering Layer for Neural Network Compressioncited by 31
  7. 2022Backpropagation through Combinatorial Algorithms: Identity with Projection Workscited by 29
  8. 2023AutoReP: Automatic ReLU Replacement for Fast Private Network Inferencecited by 29
  9. 2024MagR: Weight Magnitude Reduction for Enhancing Post-Training Quantizationcited by 28
  10. 2023LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted Inferencecited by 27
  11. 2022Learning strides in convolutional neural networkscited by 26
  12. 2022Enhance the Visual Representation via Discrete Adversarial Trainingcited by 23
  13. 2024On the limits of agency in agent-based modelscited by 21
  14. 2022Compiler-Aware Neural Architecture Search for On-Mobile Real-time Super-Resolutioncited by 20
  15. 2023Exploiting Noise as a Resource for Computation and Learning in Spiking Neural Networkscited by 18
  16. 2024Generative Densification: Learning to Densify Gaussians for High-Fidelity Generalizable 3D Reconstructioncited by 18
  17. 2022Wavelet Feature Maps Compression for Image-to-Image CNNscited by 16
  18. 2025Watermarking Autoregressive Image Generationcited by 16
  19. 2023Task-Agnostic Structured Pruning of Speech Representation Modelscited by 15
  20. 2023ShiftAddViT: Mixture of Multiplication Primitives Towards Efficient Vision Transformercited by 15
  21. 2023DIFFender: Diffusion-Based Adversarial Defense against Patch Attackscited by 15
  22. 2023A Survey on Approximate Edge AI for Energy Efficient Autonomous Driving Servicescited by 14
  23. 2022Trust in AI: Interpretability is not necessary or sufficient, while black-box interaction is necessary and sufficientcited by 13
  24. 2024In-context KV-Cache Eviction for LLMs via Attention-Gatecited by 13
  25. 2023Injecting Logical Constraints into Neural Networks via Straight-Through Estimatorscited by 12
  26. 2024COMQ: A Backpropagation-Free Algorithm for Post-Training Quantizationcited by 12
  27. 2021Demystifying and Generalizing BinaryConnectcited by 11
  28. 2021AdaSTE: An Adaptive Straight-Through Estimator to Train Binary Neural Networkscited by 11
  29. 2022Inverse design of photonic devices with strict foundry fabrication constraintscited by 11
  30. 2022Binarizing Split Learning for Data Privacy Enhancement and Computation Reductioncited by 11
  31. 2025QuZO: Quantized Zeroth-Order Fine-Tuning for Large Language Modelscited by 11
  32. 2022HashVFL: Defending Against Data Reconstruction Attacks in Vertical Federated Learningcited by 10
  33. 2023Soft Convex Quantization: Revisiting Vector Quantization with Convex Optimizationcited by 10
  34. 2022Are Straight-Through gradients and Soft-Thresholding all you need for Sparse Training?cited by 9
  35. 2023Globally Optimal Training of Neural Networks with Threshold Activation Functionscited by 9
  36. 2024SpaFL: Communication-Efficient Federated Learning with Sparse Models and Low computational Overheadcited by 9
  37. 2024Differentiable Product Quantization for Memory Efficient Camera Relocalizationcited by 9
  38. 2021Adaptive Precision Training (AdaPT): A dynamic fixed point quantized training approach for DNNscited by 8

50 most cited of 231 All 231 (JSON)