mlsanityData to 14 Oct 2026

Fast and Slow Gradient Approximation for Binary Neural Network Optimization

arXiv 2412.11777 ↗First posted 16 Dec 2024cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Binary Neural Networks (BNNs) have garnered significant attention due to their immense potential for deployment on edge devices. However, the non-differentiability of the quantization function poses a challenge for the optimization of BNNs, as its derivative cannot be backpropagated. To address this issue, hypernetwork based methods, which utilize neural networks to learn the gradients of non-differentiable quantization functions, have emerged as a promising approach due to their adaptive learning capabilities to reduce estimation errors. However, existing hypernetwork based methods typically rely solely on current gradient information, neglecting the influence of historical gradients. This oversight can lead to accumulated gradient errors when calculating gradient momentum during optimization. To incorporate historical gradient information, we design a Historical Gradient Storage (HGS) module, which models the historical gradient sequence to generate the first-order momentum required for optimization. To further enhance gradient generation in hypernetworks, we propose a Fast and Slow Gradient Generation (FSG) method. Additionally, to produce more precise gradients, we introduce Layer Recognition Embeddings (LRE) into the hypernetwork, facilitating the generation of layer-specific fine gradients. Extensive comparative experiments on the CIFAR-10 and CIFAR-100 datasets demonstrate that our method achieves faster convergence and lower loss values, outperforming existing baselines.Code is available at http://github.com/two-tiger/FSG .

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 20 of its 26 references that are in the map. First posted on arXiv 16 Dec 2024.

Builds on

20 of 26 references.

References · 20

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  4. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  5. 2013Rich feature hierarchies for accurate object detection and semantic segmentationcited by 2,162
  6. 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,060
  7. 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 849
  8. 2016Learning to learn by gradient descent by gradient descentcited by 620
  9. 2015BinaryConnect: Training Deep Neural Networks with binary weights during propagationscited by 592
  10. 2017ThiNet: A Filter Level Pruning Method for Deep Neural Network Compressioncited by 442
  11. 2014Exploiting Linear Structure Within Convolutional Networks for Efficient Evaluationcited by 306
  12. 2019Forward and Backward Information Retention for Accurate Binary Neural Networkscited by 169
8 more
  1. 2018Scalable Methods for 8-bit Training of Neural Networkscited by 142
  2. 2020ResRep: Lossless CNN Pruning via Decoupling Remembering and Forgettingcited by 85
  3. 2019AdderNet: Do We Really Need Multiplications in Deep Learning?cited by 82
  4. 2020Rotated Binary Neural Networkcited by 77
  5. 2021Learning Frequency Domain Approximation for Binary Neural Networkscited by 38
  6. 2019Einconv: Exploring Unexplored Tensor Network Decompositions for Convolutional Neural Networkscited by 25
  7. 2023Estimator Meets Equilibrium Perspective: A Rectified Straight Through Estimator for Binary Neural Networks Trainingcited by 19
  8. 2020QuantNet: Learning to Quantize by Learning within Fully Differentiable Frameworkcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2023MetaGrad: Adaptive Gradient Quantization with Hypernetworks
  2. 2021Enabling Binary Neural Network Training on the Edge
  3. 2024An experimental comparative study of backpropagation and alternatives for training binary neural networks for image classification
  4. 2025Hyperbolic Binary Neural Network
  5. 2026SURGE: Surrogate Gradient Adaptation in Binary Neural Networks
  6. 2021A Bop and Beyond: A Second Order Optimizer for Binarized Neural Networks
  7. 2026Quadratic Unconstrained Binary Optimisation for Training and Regularisation of Binary Neural Networks
  8. 2024Understanding Neural Network Binarization with Forward and Backward Proximal Quantizers