Bridging Discrete and Backpropagation: Straight-Through and Beyond
Not on the map. Why?
Abstract (arXiv)
Backpropagation, the cornerstone of deep learning, is limited to computing gradients for continuous variables. This limitation poses challenges for problems involving discrete latent variables. To address this issue, we propose a novel approach to approximate the gradient of parameters involved in generating discrete latent variables. First, we examine the widely used Straight-Through (ST) heuristic and demonstrate that it works as a first-order approximation of the gradient. Guided by our findings, we propose ReinMax, which achieves second-order accuracy by integrating Heun's method, a second-order numerical method for solving ODEs. ReinMax does not require Hessian or other second-order derivatives, thus having negligible computation overheads. Extensive experimental results on various tasks demonstrate the superiority of ReinMax over the state of the art. Implementations are released at https://github.com/microsoft/ReinMax.
Key facts. Cited by 31 papers in the map (data through 7 Oct 2026). Builds on 25 of its 41 references that are in the map. First posted on arXiv 17 Apr 2023.
Builds on
25 of 41 references.
References · 25
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2017Neural Discrete Representation Learningcited by 4,650
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2018DARTS: Differentiable Architecture Searchcited by 1,782
- 2019On the Variance of the Adaptive Learning Rate and Beyondcited by 763
- 2016Self-critical Sequence Training for Image Captioningcited by 544
- 2019Searching for A Robust Neural Architecture in Four GPU Hourscited by 258
- 2014A* Samplingcited by 150
- 2018ListOps: A Diagnostic Dataset for Latent Tree Learningcited by 128
13 more
- 2017Backpropagation through the Void: Optimizing control variates for black-box gradient estimationcited by 104
- 2016Hierarchical Multiscale Recurrent Neural Networkscited by 102
- 2020NATS-Bench: Benchmarking NAS Algorithms for Architecture Topology and Sizecited by 98
- 2013The Optimal Reward Baseline for Gradient-Based Reinforcement Learningcited by 84
- 2017REBAR: Low-variance, unbiased gradient estimates for discrete latent variable modelscited by 78
- 2013Deep AutoRegressive Networkscited by 60
- 2017Learning to Compose Task-Specific Tree Structurescited by 48
- 2020Rao-Blackwellizing the Straight-Through Gumbel-Softmax Gradient Estimatorcited by 37
- 2015MuProp: Unbiased Backpropagation for Stochastic Neural Networkscited by 36
- 2020DisARM: An Antithetic Gradient Estimator for Binary Latent Variablescited by 27
- 2022Gradient Estimation with Discrete Stein Operatorscited by 22
- 2021Coupled Gradient Estimators for Discrete Latent Variablescited by 9
- 2022Training Discrete Deep Generative Models via Gapped Straight-Through Estimatorcited by 8
Built on by
Citing papers per year: 2023: 1; 2024: 8; 2025: 10; 2026: 12.
31 papers.
Sort:
By area:
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
- 2024Steering Masked Discrete Diffusion Models via Discrete Denoising Posterior Predictioncited by 28
- 2024DISP-LLM: Dimension-Independent Structural Pruning for Large Language Modelscited by 24
- 2025Adaptive Layer-skipping in Pre-trained LLMscited by 24
- 2025MDNS: Masked Diffusion Neural Sampler via Stochastic Optimal Controlcited by 20
- 2023Sparse Backpropagation for MoE Trainingcited by 16
- 2024GRIN: GRadient-INformed MoEcited by 16
- 2024FedBAT: Communication-Efficient Federated Learning via Learnable Binarizationcited by 9
- 2025Quantum-PEFT: Ultra parameter-efficient fine-tuningcited by 9
- 2025Soft-Di[M]O: Improving One-Step Discrete Image Generation with Soft Embeddingscited by 5
- 2025Routing Mamba: Scaling State Space Models with Mixture-of-Experts Projectioncited by 4
- 2025High-Dimensional Learning Dynamics of Quantized Models with Straight-Through Estimatorcited by 4
19 more
- 2025CAGE: Curvature-Aware Gradient Estimation For Accurate Quantization-Aware Trainingcited by 4
- 2026Contrastive Distribution Matching for Amortized Sequential Monte Carlo in Discrete Diffusioncited by 3
- 2024VQSynery: Robust Drug Synergy Prediction With Vector Quantization Mechanismcited by 2
- 2026Model Compression with Exact Budget Constraints via Riemannian Manifoldscited by 2
- 2024Revisiting Score Function Estimators for k-Subset Samplingcited by 1
- 2025An Introduction to Discrete Variational Autoencoderscited by 1
- 2026Neural QAOA2: Differentiable Joint Graph Partitioning and Parameter Initialization for Quantum Combinatorial Optimizationcited by 1
- 2024Multi-objective Differentiable Neural Architecture Searchcited by 0
- 2025Variational Adaptive Noise and Dropout towards Stable Recurrent Neural Networkscited by 0
- 2025Feature Space Analysis by Guided Diffusion Modelcited by 0
- 2026Categorical Reparameterization with Denoising Diffusion modelscited by 0
- 2026Beyond ReinMax: Low-Variance Gradient Estimators for Discrete Latent Variablescited by 0
- 2026GO-GenZip: Goal-Oriented Generative Sampling and Hybrid Compressioncited by 0
- 2026PEML: Parameter-efficient Multi-Task Learning with Optimized Continuous Promptscited by 0
- 2026INSHAPE: Instance-Level Shapelets for Interpretable Time-Series Classificationcited by 0
- 2026LLM Compression with Jointly Optimizing Architectural and Quantization choicescited by 0
- 2026Neural Network Quantization by Learning Low-Loss Subspacescited by 0
- 2026End-to-End Dynamic Sparsity for Resource-Adaptive LLM Inferencecited by 0
- 2026Dual-Primal Graph VAEs for Noisy Label Aggregationcited by 0
- 2026Dual-Primal Graph VAEs for Noisy Label Aggregation11 Aug 2026
- 2026End-to-End Dynamic Sparsity for Resource-Adaptive LLM Inference26 Jun 2026
- 2026Neural Network Quantization by Learning Low-Loss Subspaces23 Jun 2026
- 2026LLM Compression with Jointly Optimizing Architectural and Quantization choices2 Jun 2026
- 2026Contrastive Distribution Matching for Amortized Sequential Monte Carlo in Discrete Diffusion22 May 2026
- 2026INSHAPE: Instance-Level Shapelets for Interpretable Time-Series Classification19 May 2026
- 2026PEML: Parameter-efficient Multi-Task Learning with Optimized Continuous Prompts13 May 2026
- 2026Neural QAOA2: Differentiable Joint Graph Partitioning and Parameter Initialization for Quantum Combinatorial Optimization13 May 2026
- 2026Model Compression with Exact Budget Constraints via Riemannian Manifolds1 May 2026
- 2026GO-GenZip: Goal-Oriented Generative Sampling and Hybrid Compression20 Mar 2026
- 2026Beyond ReinMax: Low-Variance Gradient Estimators for Discrete Latent Variables9 Mar 2026
- 2026Categorical Reparameterization with Denoising Diffusion models2 Jan 2026
19 more
- 2025CAGE: Curvature-Aware Gradient Estimation For Accurate Quantization-Aware Training21 Oct 2025
- 2025High-Dimensional Learning Dynamics of Quantized Models with Straight-Through Estimator12 Oct 2025
- 2025Soft-Di[M]O: Improving One-Step Discrete Image Generation with Soft Embeddings26 Sep 2025
- 2025Feature Space Analysis by Guided Diffusion Model9 Sep 2025
- 2025MDNS: Masked Diffusion Neural Sampler via Stochastic Optimal Control14 Aug 2025
- 2025Routing Mamba: Scaling State Space Models with Mixture-of-Experts Projection22 Jun 2025
- 2025Variational Adaptive Noise and Dropout towards Stable Recurrent Neural Networks2 Jun 2025
- 2025An Introduction to Discrete Variational Autoencoders15 May 2025
- 2025Adaptive Layer-skipping in Pre-trained LLMs31 Mar 2025
- 2025Quantum-PEFT: Ultra parameter-efficient fine-tuning7 Mar 2025
- 2024DISP-LLM: Dimension-Independent Structural Pruning for Large Language Models15 Oct 2024
- 2024Steering Masked Discrete Diffusion Models via Discrete Denoising Posterior Prediction10 Oct 2024
- 2024GRIN: GRadient-INformed MoE18 Sep 2024
- 2024FedBAT: Communication-Efficient Federated Learning via Learnable Binarization6 Aug 2024
- 2024Revisiting Score Function Estimators for k-Subset Sampling22 Jul 2024
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phone22 Apr 2024
- 2024VQSynery: Robust Drug Synergy Prediction With Vector Quantization Mechanism5 Mar 2024
- 2024Multi-objective Differentiable Neural Architecture Search28 Feb 2024
- 2023Sparse Backpropagation for MoE Training1 Oct 2023
- 2024Steering Masked Discrete Diffusion Models via Discrete Denoising Posterior Predictioncited by 28
- 2025MDNS: Masked Diffusion Neural Sampler via Stochastic Optimal Controlcited by 20
- 2025Soft-Di[M]O: Improving One-Step Discrete Image Generation with Soft Embeddingscited by 5
- 2026Contrastive Distribution Matching for Amortized Sequential Monte Carlo in Discrete Diffusioncited by 3
- 2025Feature Space Analysis by Guided Diffusion Modelcited by 0
- 2026Categorical Reparameterization with Denoising Diffusion modelscited by 0
- 2026Contrastive Distribution Matching for Amortized Sequential Monte Carlo in Discrete Diffusion22 May 2026
- 2026Categorical Reparameterization with Denoising Diffusion models2 Jan 2026
- 2025Soft-Di[M]O: Improving One-Step Discrete Image Generation with Soft Embeddings26 Sep 2025
- 2025Feature Space Analysis by Guided Diffusion Model9 Sep 2025
- 2025MDNS: Masked Diffusion Neural Sampler via Stochastic Optimal Control14 Aug 2025
- 2024Steering Masked Discrete Diffusion Models via Discrete Denoising Posterior Prediction10 Oct 2024
- 2023Sparse Backpropagation for MoE Trainingcited by 16
- 2024GRIN: GRadient-INformed MoEcited by 16
- 2025Routing Mamba: Scaling State Space Models with Mixture-of-Experts Projectioncited by 4
- 2025Routing Mamba: Scaling State Space Models with Mixture-of-Experts Projection22 Jun 2025
- 2024GRIN: GRadient-INformed MoE18 Sep 2024
- 2023Sparse Backpropagation for MoE Training1 Oct 2023
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
- 2024DISP-LLM: Dimension-Independent Structural Pruning for Large Language Modelscited by 24
- 2025Adaptive Layer-skipping in Pre-trained LLMscited by 24
- 2024FedBAT: Communication-Efficient Federated Learning via Learnable Binarizationcited by 9
- 2025Quantum-PEFT: Ultra parameter-efficient fine-tuningcited by 9
- 2025High-Dimensional Learning Dynamics of Quantized Models with Straight-Through Estimatorcited by 4
- 2025CAGE: Curvature-Aware Gradient Estimation For Accurate Quantization-Aware Trainingcited by 4
- 2024VQSynery: Robust Drug Synergy Prediction With Vector Quantization Mechanismcited by 2
- 2026Model Compression with Exact Budget Constraints via Riemannian Manifoldscited by 2
- 2024Revisiting Score Function Estimators for k-Subset Samplingcited by 1
- 2025An Introduction to Discrete Variational Autoencoderscited by 1
- 2026Neural QAOA2: Differentiable Joint Graph Partitioning and Parameter Initialization for Quantum Combinatorial Optimizationcited by 1
12 most cited of 22 All 22 (JSON)
- 2026Dual-Primal Graph VAEs for Noisy Label Aggregation11 Aug 2026
- 2026End-to-End Dynamic Sparsity for Resource-Adaptive LLM Inference26 Jun 2026
- 2026Neural Network Quantization by Learning Low-Loss Subspaces23 Jun 2026
- 2026LLM Compression with Jointly Optimizing Architectural and Quantization choices2 Jun 2026
- 2026INSHAPE: Instance-Level Shapelets for Interpretable Time-Series Classification19 May 2026
- 2026PEML: Parameter-efficient Multi-Task Learning with Optimized Continuous Prompts13 May 2026
- 2026Neural QAOA2: Differentiable Joint Graph Partitioning and Parameter Initialization for Quantum Combinatorial Optimization13 May 2026
- 2026Model Compression with Exact Budget Constraints via Riemannian Manifolds1 May 2026
- 2026GO-GenZip: Goal-Oriented Generative Sampling and Hybrid Compression20 Mar 2026
- 2026Beyond ReinMax: Low-Variance Gradient Estimators for Discrete Latent Variables9 Mar 2026
- 2025CAGE: Curvature-Aware Gradient Estimation For Accurate Quantization-Aware Training21 Oct 2025
- 2025High-Dimensional Learning Dynamics of Quantized Models with Straight-Through Estimator12 Oct 2025
12 newest of 22 All 22 (JSON)