cs.NEFeb 5, 2024

On Orthogonal Recurrent Neural Networks Quantization

Authors: Armand Foucault, Franck Mamalet, François Malgouyres

Organizations: IMT · Institut de Mathématiques de Toulouse, UMR5219. Université de Toulouse, CNRS. UPS IMT, F-31062 Toulouse Cedex 9, France · Comue de Toulouse · Institut de Recherche Technologique Saint Exupéry Toulouse, France

Abstract

In recent years, Orthogonal Recurrent Neural Networks (ORNNs) have gained popularity due to their ability to manage tasks involving long-term dependencies, such as the Copy-task, and their linear complexity. However, existing ORNNs utilize full precision weights and activations, which prevents their deployment on compact devices. In this paper, we explore the quantization of the weight matrices in ORNNs, leading to Quantized approximately Orthogonal RNNs (QORNNs). The construction of such networks remained an open problem, acknowledged for its inherent instability. We propose and investigate two strategies to learn QORNN by combining quantization-aware training (QAT) and orthogonal projections. We also study post-training quantization of the activations for pure integer computation of the recurrent loop. The most efficient fully-quantized models are currently the only alternatives for solving the Copy-task with 1000 timesteps. They also surpass existing quantized models on tasks requiring long-term dependencies, such as permuted MNIST as well as some Internet of Things (IoT) tasks. However, they are less effective on tasks where long short-term memory (LSTMs) and other gated RNNs outperform ORNNs.

Explore similar work

CardsList
  1. Beyond Rotations: AuroOFT for Expressive Quantized Orthogonal Fine-Tuning

    Aug 5, 2026Yue Han, Dianlin WangLLM QuantizationFine-Tuning

  2. A Quantum Variational Approach to Prototypical Recurrent Unit

    Sep 3, 2026Mahyar Sadeghi Garjan, Tommaso Cesari, Michel BarbeauQuantum Machine LearningRecurrent Neural Networks