On Exact Bit-level Reversible Transformers Without Changing Architectures
Not on the map. Why?
Abstract (arXiv)
Various reversible deep neural networks (DNN) models have been proposed to reduce memory consumption in the training process. However, almost all existing reversible DNNs either require special non-standard architectures or are constructed by modifying existing DNN architectures considerably to enable reversibility. In this work we present the BDIA-transformer, which is an exact bit-level reversible transformer that uses an unchanged standard architecture for inference. The basic idea is to first treat each transformer block as the Euler integration approximation for solving an ordinary differential equation (ODE) and then incorporate the technique of bidirectional integration approximation (BDIA) into the neural architecture, together with activation quantization to make it exactly bit-level reversible. In the training process, we let a hyper-parameter γ in BDIA-transformer randomly take one of the two values 0.5, -0.5 per training sample per transformer block for averaging every two consecutive integration approximations. As a result, BDIA-transformer can be viewed as training an ensemble of ODE solvers parameterized by a set of binary random variables, which regularizes the model and results in improved validation accuracy. Lightweight side information per transformer block is required to be stored in the forward process to account for binary quantization loss to enable exact bit-level reversibility. In the inference procedure, the expectation mathbbE(γ)=0 is taken to make the resulting architectures of BDIA-transformer identical to transformers up to activation quantization. Our experiments in both image classification and language translation show that BDIA-transformers outperform their conventional counterparts significantly in terms of validation performance while also requiring considerably less training memory.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 30 of its 35 references that are in the map. First posted on arXiv 12 Jul 2024.
Builds on
30 of 35 references.
References · 30
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2023GPT-4 Technical Reportcited by 18,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Denoising Diffusion Implicit Modelscited by 9,655
- 2018Neural Ordinary Differential Equationscited by 3,733
- 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 2,994
- 2015Variational Inference with Normalizing Flowscited by 2,161
- 2016Density estimation using Real NVPcited by 2,029
- 2018Glow: Generative Flow with Invertible 1x1 Convolutionscited by 1,539
- 2014NICE: Non-linear Independent Components Estimationcited by 1,052
- 2016Improving Variational Inference with Inverse Autoregressive Flowcited by 636
- 2018FFJORD: Free-form Continuous Dynamics for Scalable Reversible Generative Modelscited by 584
18 more
- 2018Invertible Residual Networkscited by 364
- 2024The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bitscited by 289
- 2017The Reversible Residual Network: Backpropagation Without Storing Activationscited by 215
- 2018Training Deep Neural Networks with 8-bit Floating Point Numberscited by 163
- 2018i-RevNet: Deep Invertible Networkscited by 137
- 2023End-to-End Diffusion Latent Optimization Improves Classifier Guidancecited by 107
- 2024AI and Memory Wallcited by 89
- 2018Training and Inference with Integers in Deep Neural Networkscited by 84
- 2017Reversible Architectures for Arbitrarily Deep Residual Neural Networkscited by 69
- 2023Exact Diffusion Inversion via Bi-directional Integration Approximationcited by 43
- 2019SWALP : Stochastic Weight Averaging in Low-Precision Trainingcited by 40
- 2021Momentum Residual Neural Networkscited by 36
- 2019MintNet: Building Invertible Neural Networks with Masked Convolutionscited by 35
- 2023Reversible Vision Transformerscited by 33
- 2023On Accelerating Diffusion-Based Sampling Process via Improved Integration Approximationcited by 7
- 2023On Suppressing Range of Adaptive Stepsizes of Adam to Improve Generalisation Performancecited by 3
- 2022An Exact Bitwise Reversible Integratorcited by 1
- 2023PaReprop: Fast Parallelized Reversible Backpropagationcited by 1
Built on by
Citing papers per year: 2025: 1.
1 paper.
- 2025Active Inference AI Systems for Scientific Discoverycited by 1
- 2025Active Inference AI Systems for Scientific Discovery26 Jun 2025