mlsanityData to 14 Oct 2026

HadamRNN: Binary and Sparse Ternary Orthogonal RNNs

arXiv 2502.00047 ↗First posted 28 Jan 2025cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Binary and sparse ternary weights in neural networks enable faster computations and lighter representations, facilitating their use on edge devices with limited computational power. Meanwhile, vanilla RNNs are highly sensitive to changes in their recurrent weights, making the binarization and ternarization of these weights inherently challenging. To date, no method has successfully achieved binarization or ternarization of vanilla RNN weights. We present a new approach leveraging the properties of Hadamard matrices to parameterize a subset of binary and sparse ternary orthogonal matrices. This method enables the training of orthogonal RNNs (ORNNs) with binary and sparse ternary recurrent weights, effectively creating a specific class of binary and sparse ternary vanilla RNNs. The resulting ORNNs, called HadamRNN and Block-HadamRNN, are evaluated on benchmarks such as the copy task, permuted and sequential MNIST tasks, the IMDB dataset, two GLUE benchmarks, and two IoT benchmarks. Despite binarization or sparse ternarization, these RNNs maintain performance levels comparable to state-of-the-art full-precision models, highlighting the effectiveness of our approach. Notably, our approach is the first solution with binary recurrent weights capable of tackling the copy task over 1000 timesteps.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 58 of its 78 references that are in the map. First posted on arXiv 28 Jan 2025.

Builds on

58 of 78 references.

References · 58

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  3. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
  4. 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
  5. 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,626
  6. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  7. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,169
  8. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
  9. 2021Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecastingcited by 1,676
  10. 2018Glow: Generative Flow with Invertible 1x1 Convolutionscited by 1,545
  11. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
  12. 2022FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecastingcited by 1,210
38 more
  1. 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 815
  2. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
  3. 2015BinaryConnect: Training Deep Neural Networks with binary weights during propagationscited by 592
  4. 2016DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradientscited by 569
  5. 2015Listen, Attend and Spellcited by 543
  6. 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 526
  7. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 482
  8. 2015Deep Speech 2: End-to-End Speech Recognition in English and Mandarincited by 451
  9. 2016Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activationscited by 426
  10. 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
  11. 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 359
  12. 2023LLM-QAT: Data-Free Quantization Aware Training for Large Language Modelscited by 324
  13. 2019Q8BERT: Quantized 8Bit BERTcited by 300
  14. 2015Unitary Evolution Recurrent Neural Networkscited by 294
  15. 2017Parseval Networks: Improving Robustness to Adversarial Examplescited by 293
  16. 2018Sorting out Lipschitz function approximationcited by 213
  17. 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 178
  18. 2020TernaryBERT: Distillation-aware Ultra-low Bit BERTcited by 148
  19. 2020Training with Quantization Noise for Extreme Model Compressioncited by 145
  20. 2019Cheap Orthogonal Constraints in Neural Networks: A Simple Parametrization of the Orthogonal and Unitary Groupcited by 134
  21. 2020GOBO: Quantizing Attention-Based NLP Models for Low Latency and Energy Efficient Inferencecited by 106
  22. 2016Full-Capacity Unitary Recurrent Neural Networkscited by 94
  23. 2020Lipschitz Recurrent Neural Networkscited by 89
  24. 2017On orthogonality and learning recurrent networks with long term dependenciescited by 83
  25. 2017Orthogonal Recurrent Neural Networks with Scaled Cayley Transformcited by 83
  26. 2022BiBERT: Accurate Fully Binarized BERTcited by 73
  27. 2019Conservative set valued fields, automatic differentiation, stochastic gradient method and deep learningcited by 72
  28. 2016Tunable Efficient Unitary Neural Networks (EUNN) and their application to RNNscited by 65
  29. 2016Efficient Orthogonal Parametrisation of Recurrent Neural Networks Using Householder Reflectionscited by 57
  30. 2016Loss-aware Binarization of Deep Networkscited by 56
  31. 2021UnICORNN: A recurrent model for learning very long time dependenciescited by 56
  32. 2022BiT: Robustly Binarized Multi-distilled Transformercited by 52
  33. 2015Neural Networks with Few Multiplicationscited by 48
  34. 2019FastGRNN: A Fast, Accurate, Stable and Tiny Kilobyte Sized Gated Recurrent Neural Networkcited by 38
  35. 2018Stabilizing Gradients for Deep Neural Networks via Efficient SVD Parameterizationcited by 35
  36. 2018Alternating Multi-bit Quantization for Recurrent Neural Networkscited by 31
  37. 2022projUNN: efficient method for training deep networks with unitary matricescited by 27
  38. 2017Balanced Quantization: An Effective and Efficient Approach to Quantized Neural Networkscited by 21

50 most cited of 58 All 58 (JSON)

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024An Efficient Matrix Multiplication Algorithm for Accelerating Inference in Binary and Ternary Neural Networks
  2. 2022Soft Threshold Ternary Networks
  3. 2026SSR: Sparse Segment Reduction for Ternary GEMM Acceleration
  4. 2023Binary domain generalization for sparsifying binary neural networks
  5. 2023Ternary Quantization: A Survey
  6. 2023Designing strong baselines for ternary neural network quantization through support and mass equalization
  7. 2022Fast matrix multiplication for binary and ternary CNNs on ARM CPU
  8. 2026TerMeZO: Ternary Sparse Zeroth-Order Optimization for Fine-tuning BitNet Models at the Edge