Understanding Straight-Through Estimator in Training Activation Quantized Neural Nets
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
Citing papers per year: 2021: 21; 2022: 38; 2023: 36; 2024: 36; 2025: 50; 2026: 50.
231 papers.
Sort:
By area:
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 815
- 2024Jumping Ahead: Improving Reconstruction Fidelity with JumpReLU Sparse Autoencoderscited by 300
- 2023MERF: Memory-Efficient Radiance Fields for Real-time View Synthesis in Unbounded Scenescited by 218
- 2021Chasing Sparsity in Vision Transformers: An End-to-End Explorationcited by 183
- 2021Learning N:M Fine-grained Structured Sparse Neural Networks From Scratchcited by 179
- 2022Overcoming Oscillations in Quantization-Aware Trainingcited by 119
- 2021The Bayesian Learning Rulecited by 99
- 2021Network Quantization with Element-wise Gradient Scalingcited by 87
- 2024Proactive Detection of Voice Cloning with Localized Watermarkingcited by 78
- 2022PAC-Bayes Compression Bounds So Tight That They Can Explain Generalizationcited by 76
- 2022A Comprehensive Survey on Model Quantization for Deep Neural Networks in Image Classificationcited by 65
- 2021Universal Approximation of Functions on Setscited by 62
38 more
- 2024PV-Tuning: Beyond Straight-Through Estimation for Extreme LLM Compressioncited by 61
- 2025Optimizing Large Language Model Training Using FP4 Quantizationcited by 56
- 2021Soft then Hard: Rethinking the Quantization in Neural Image Compressioncited by 51
- 2023Encoding Time-Series Explanations through Self-Supervised Model Behavior Consistencycited by 42
- 2025Quantization Error Propagation: Revisiting Layer-Wise Post-Training Quantizationcited by 41
- 2021DKM: Differentiable K-Means Clustering Layer for Neural Network Compressioncited by 31
- 2022Backpropagation through Combinatorial Algorithms: Identity with Projection Workscited by 29
- 2023AutoReP: Automatic ReLU Replacement for Fast Private Network Inferencecited by 29
- 2024MagR: Weight Magnitude Reduction for Enhancing Post-Training Quantizationcited by 28
- 2023LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted Inferencecited by 27
- 2022Learning strides in convolutional neural networkscited by 26
- 2022Enhance the Visual Representation via Discrete Adversarial Trainingcited by 23
- 2024On the limits of agency in agent-based modelscited by 21
- 2022Compiler-Aware Neural Architecture Search for On-Mobile Real-time Super-Resolutioncited by 20
- 2023Exploiting Noise as a Resource for Computation and Learning in Spiking Neural Networkscited by 18
- 2024Generative Densification: Learning to Densify Gaussians for High-Fidelity Generalizable 3D Reconstructioncited by 18
- 2022Wavelet Feature Maps Compression for Image-to-Image CNNscited by 16
- 2025Watermarking Autoregressive Image Generationcited by 16
- 2023Task-Agnostic Structured Pruning of Speech Representation Modelscited by 15
- 2023ShiftAddViT: Mixture of Multiplication Primitives Towards Efficient Vision Transformercited by 15
- 2023DIFFender: Diffusion-Based Adversarial Defense against Patch Attackscited by 15
- 2023A Survey on Approximate Edge AI for Energy Efficient Autonomous Driving Servicescited by 14
- 2022Trust in AI: Interpretability is not necessary or sufficient, while black-box interaction is necessary and sufficientcited by 13
- 2024In-context KV-Cache Eviction for LLMs via Attention-Gatecited by 13
- 2023Injecting Logical Constraints into Neural Networks via Straight-Through Estimatorscited by 12
- 2024COMQ: A Backpropagation-Free Algorithm for Post-Training Quantizationcited by 12
- 2021Demystifying and Generalizing BinaryConnectcited by 11
- 2021AdaSTE: An Adaptive Straight-Through Estimator to Train Binary Neural Networkscited by 11
- 2022Inverse design of photonic devices with strict foundry fabrication constraintscited by 11
- 2022Binarizing Split Learning for Data Privacy Enhancement and Computation Reductioncited by 11
- 2025QuZO: Quantized Zeroth-Order Fine-Tuning for Large Language Modelscited by 11
- 2022HashVFL: Defending Against Data Reconstruction Attacks in Vertical Federated Learningcited by 10
- 2023Soft Convex Quantization: Revisiting Vector Quantization with Convex Optimizationcited by 10
- 2022Are Straight-Through gradients and Soft-Thresholding all you need for Sparse Training?cited by 9
- 2023Globally Optimal Training of Neural Networks with Threshold Activation Functionscited by 9
- 2024SpaFL: Communication-Efficient Federated Learning with Sparse Models and Low computational Overheadcited by 9
- 2024Differentiable Product Quantization for Memory Efficient Camera Relocalizationcited by 9
- 2021Adaptive Precision Training (AdaPT): A dynamic fixed point quantized training approach for DNNscited by 8
50 most cited of 231 All 231 (JSON)
- 2026Few Bits, One Law: Toward W2A4KV26 Oct 2026
- 2026Backward-State Policy Is Part of the Learning Algorithm30 Sep 2026
- 2026Same Loss, Different Gradients30 Sep 2026
- 2026Pretraining Transformers with Quantized Softmax in Attention27 Sep 2026
- 2026TerMeZO: Ternary Sparse Zeroth-Order Optimization for Fine-tuning BitNet Models at the Edge27 Sep 2026
- 2026Linger and Lose: Knowledge Collapse in Low-Bit Language Models26 Sep 2026
- 2026Learning When to Recur: Token-Adaptive Recursion for Imbalanced Ophthalmic Domain Incremental Learning26 Sep 2026
- 2026Stability and Generalization of Straight-Through Estimators for Training Two-Layer Quantized Neural Networks6 Sep 2026
- 2026A Target-Centric Survey of Quantization-Aware Training30 Aug 2026
- 2026QUASAR: Lowering the Loss Floor of Quantization-Aware Training with Loss-Aware Reconstruction14 Aug 2026
- 2026Rethinking Language Model-Based Generative Speech Enhancement in the Latent Space of a Neural Audio Codec12 Aug 2026
- 2026Beyond Token-Level Cross-Entropy: Fr'echet Distributional Post-Training for Autoregressive Image Generation1 Aug 2026
38 more
- 2026ATSplat: Compact Feed-forward 3D Gaussian Splatting with Adaptive Token Expansion22 Jul 2026
- 2026EVOLVE: Efficient Learned Volume Compression with Variable-Rate Encoding on a Cross-Domain Database20 Jul 2026
- 2026MusicMark: A Robust Generative Watermarking Framework for Music Generation13 Jul 2026
- 2026Training, Reading, and Editing Legible Transformers9 Jul 2026
- 2026LogbQuant: Quantizing Language Models in Logarithmic Space1 Jul 2026
- 2026Neural Network Quantization by Learning Low-Loss Subspaces23 Jun 2026
- 2026DYNA-PRUNER: Input-Adaptive Data-Model Co-Pruning for Efficient and Scalable Spatio-Temporal Media Prediction13 Jun 2026
- 2026LC-QAT: Data-Efficient 2-Bit QAT for LLMs via Linear-Constrained Vector Quantization9 Jun 2026
- 2026Understanding Quantization-Aware Training: Gradients at Quantized Weights Bias to the Low-Loss Basin8 Jun 2026
- 2026JacQuant: STE-Free Quantization-Aware Training via Learned Jacobian Surrogates25 May 2026
- 2026Flow-Based Generative Modeling for Optimizing Sampling Policies in Compressed Sensing Applications22 May 2026
- 2026A Differentiable Ray-Wave Framework for Hybrid Refractive-Diffractive System Modeling and Optimization14 May 2026
- 2026Hardware-Software Co-Design of Scalable, Energy-Efficient Analog Recurrent Computations12 May 2026
- 2026A Composite Activation Function for Learning Stable Binary Representations12 May 2026
- 2026LeapTS: Rethinking Time Series Forecasting as Adaptive Multi-Horizon Scheduling11 May 2026
- 2026AtteConDA: Attention-Based Conflict Suppression in Multi-Condition Diffusion Models and Synthetic Data Augmentation10 May 2026
- 2026A Controlled Diagnostic Study of Hardware-Induced Distortions in Hardware-Aware Training10 May 2026
- 2026Improving Generalization by Permutation Routing Across Model Copies10 May 2026
- 2026Approximation-Free Differentiable Oblique Decision Trees8 May 2026
- 2026Model Compression with Exact Budget Constraints via Riemannian Manifolds1 May 2026
- 2026Relaxation-Informed Training of Neural Network Surrogate Models24 Apr 2026
- 2026Token Encoding for Semantic Recovery14 Apr 2026
- 2026Training single-electron and single-photon stochastic physical neural networks12 Apr 2026
- 2026TinyNeRV: Compact Neural Video Representations via Capacity Scaling, Distillation, and Low-Precision Inference10 Apr 2026
- 2026DesigNet: Learning to Draw Vector Graphics as Designers Do7 Apr 2026
- 2026JoyAI-LLM Flash: Advancing Mid-Scale LLMs with Token Efficiency3 Apr 2026
- 2026MF-QAT: Multi-Format Quantization-Aware Training for Elastic Inference1 Apr 2026
- 2026From Arithmetic to Logic: The Resilience of Logic and Lookup-Based Neural Networks Under Parameter Bit-Flips24 Mar 2026
- 2026ButterflyViT: 354× Expert Compression for Edge Vision Transformers6 Mar 2026
- 2026pQuant: Towards Effective Low-Bit Language Models via Decoupled Linear Quantization-Aware Training26 Feb 2026
- 2026Dataset Color Quantization: A Training-Oriented Framework for Dataset-Level Compression24 Feb 2026
- 2026Molecular Design beyond Training Data with Novel Extended Objective Functionals of Generative AI Models Driven by Quantum Annealing Computer17 Feb 2026
- 2026Eventizing Traditionally Opaque Binary Neural Networks as 1-safe Petri net Models13 Feb 2026
- 2026Unbiased Gradient Estimation for Event Binning via Functional Backpropagation13 Feb 2026
- 2026Attn-QAT: 4-Bit Attention With Quantization-Aware Training9 Feb 2026
- 2026Soft Quantization: Model Compression Via Weight Coupling29 Jan 2026
- 2026JetFormer: A Scalable and Efficient Transformer for Jet Tagging from Offline Analysis to FPGA Triggers23 Jan 2026
- 2026Zeros can be Informative: Masked Binary U-Net for Image Segmentation on Tensor Cores15 Jan 2026
50 newest of 231 All 231 (JSON)
- 2023DIFFender: Diffusion-Based Adversarial Defense against Patch Attackscited by 15
- 2024Real-world Adversarial Defense against Patch Attacks based on Diffusion Modelcited by 5
- 2025Efficient Personalization of Quantized Diffusion Model without Backpropagationcited by 1
- 2026AtteConDA: Attention-Based Conflict Suppression in Multi-Condition Diffusion Models and Synthetic Data Augmentationcited by 0
- 2026Rethinking Language Model-Based Generative Speech Enhancement in the Latent Space of a Neural Audio Codeccited by 0
- 2026Rethinking Language Model-Based Generative Speech Enhancement in the Latent Space of a Neural Audio Codec12 Aug 2026
- 2026AtteConDA: Attention-Based Conflict Suppression in Multi-Condition Diffusion Models and Synthetic Data Augmentation10 May 2026
- 2025Efficient Personalization of Quantized Diffusion Model without Backpropagation19 Mar 2025
- 2024Real-world Adversarial Defense against Patch Attacks based on Diffusion Model14 Sep 2024
- 2023DIFFender: Diffusion-Based Adversarial Defense against Patch Attacks15 Jun 2023
- 2026MusicMark: A Robust Generative Watermarking Framework for Music Generation13 Jul 2026
- 2025Watermarking Autoregressive Image Generation19 Jun 2025
- 2024On the limits of agency in agent-based modelscited by 21
- 2024On the limits of agency in agent-based models14 Sep 2024
- 2024Neural Network Compression for Reinforcement Learning Tasks13 May 2024
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 815
- 2023MERF: Memory-Efficient Radiance Fields for Real-time View Synthesis in Unbounded Scenescited by 218
- 2021Chasing Sparsity in Vision Transformers: An End-to-End Explorationcited by 183
- 2021Learning N:M Fine-grained Structured Sparse Neural Networks From Scratchcited by 179
- 2022Overcoming Oscillations in Quantization-Aware Trainingcited by 119
- 2021The Bayesian Learning Rulecited by 99
- 2021Network Quantization with Element-wise Gradient Scalingcited by 87
- 2024Proactive Detection of Voice Cloning with Localized Watermarkingcited by 78
- 2022PAC-Bayes Compression Bounds So Tight That They Can Explain Generalizationcited by 76
- 2022A Comprehensive Survey on Model Quantization for Deep Neural Networks in Image Classificationcited by 65
- 2021Universal Approximation of Functions on Setscited by 62
- 2024PV-Tuning: Beyond Straight-Through Estimation for Extreme LLM Compressioncited by 61
12 most cited of 212 All 212 (JSON)
- 2026Backward-State Policy Is Part of the Learning Algorithm30 Sep 2026
- 2026Same Loss, Different Gradients30 Sep 2026
- 2026Pretraining Transformers with Quantized Softmax in Attention27 Sep 2026
- 2026TerMeZO: Ternary Sparse Zeroth-Order Optimization for Fine-tuning BitNet Models at the Edge27 Sep 2026
- 2026Linger and Lose: Knowledge Collapse in Low-Bit Language Models26 Sep 2026
- 2026Learning When to Recur: Token-Adaptive Recursion for Imbalanced Ophthalmic Domain Incremental Learning26 Sep 2026
- 2026Stability and Generalization of Straight-Through Estimators for Training Two-Layer Quantized Neural Networks6 Sep 2026
- 2026A Target-Centric Survey of Quantization-Aware Training30 Aug 2026
- 2026QUASAR: Lowering the Loss Floor of Quantization-Aware Training with Loss-Aware Reconstruction14 Aug 2026
- 2026Beyond Token-Level Cross-Entropy: Fr'echet Distributional Post-Training for Autoregressive Image Generation1 Aug 2026
- 2026ATSplat: Compact Feed-forward 3D Gaussian Splatting with Adaptive Token Expansion22 Jul 2026
- 2026EVOLVE: Efficient Learned Volume Compression with Variable-Rate Encoding on a Cross-Domain Database20 Jul 2026
12 newest of 212 All 212 (JSON)