Align Forward, Adapt Backward: Closing the Discretization Gap in Logic Gate Networks
Not on the map. Why?
Abstract (arXiv)
In neural network models, soft mixtures of fixed candidate components (e.g., logic gates and sub-networks) are often used during training for stable optimization, while hard selection is typically used at inference. This raises questions about training-inference mismatch. We analyze this gap by separating forward-pass computation (hard selection vs. soft mixture) from stochasticity (with vs. without Gumbel noise). Using logic gate networks as a testbed, we observe distinct behaviors across four methods: Hard-ST achieves zero selection gap by construction; Gumbel-ST achieves near-zero gap when training succeeds but suffers accuracy collapse at low temperatures; Soft-Mix achieves small gap only at low temperature via weight concentration; and Soft-Gumbel exhibits large gaps despite Gumbel noise, confirming that noise alone does not reduce the gap. We propose CAGE (Confidence-Adaptive Gradient Estimation) to maintain gradient flow while preserving forward alignment. On logic gate networks, Hard-ST with CAGE achieves over 98% accuracy on MNIST and over 58% on CIFAR-10, both with zero selection gap across all temperatures, while Gumbel-ST without CAGE suffers a 47-point accuracy collapse.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 24 of its 37 references that are in the map. First posted on arXiv 14 Mar 2026.
Builds on
24 of 37 references.
References · 24
- 2017Neural Discrete Representation Learningcited by 4,650
- 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
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
- 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,376
- 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
- 2022Mixture-of-Experts with Expert Choice Routingcited by 611
- 2018SNAS: Stochastic Neural Architecture Searchcited by 288
- 2019Monte Carlo Gradient Estimation in Machine Learningcited by 281
- 2019Searching for A Robust Neural Architecture in Four GPU Hourscited by 258
- 2023From Sparse to Soft Mixtures of Expertscited by 245
12 more
- 2024A Survey on Mixture of Experts in Large Language Modelscited by 233
- 2019Progressive Differentiable Architecture Search: Bridging the Depth Gap between Search and Evaluationcited by 230
- 2022Sparse Upcycling: Training Mixture-of-Experts from Dense Checkpointscited by 207
- 2019Understanding and Robustifying Differentiable Architecture Searchcited by 176
- 2021MoEfication: Transformer Feed-forward Layers are Mixtures of Expertscited by 149
- 2019Fair DARTS: Eliminating Unfair Advantages in Differentiable Architecture Searchcited by 129
- 2019DARTS+: Improved Differentiable Architecture Search with Early Stoppingcited by 105
- 2020Analyzing Differentiable Fuzzy Logic Operatorscited by 100
- 2022Deep Differentiable Logic Gate Networkscited by 67
- 2023Efficient Automation of Neural Network Design: A Survey on Differentiable Neural Architecture Searchcited by 5
- 2024Towards Narrowing the Generalization Gap in Deep Boolean Networkscited by 3
- 2023Small Temperature is All You Need for Differentiable Architecture Searchcited by 1
Built on by
Citing papers per year: 2026: 2.
2 papers.