atlas

Research map / Architectures and efficiency / Quantization

On Exact Bit-level Reversible Transformers Without Changing Architecture

ICML 2025 · Architectures and efficiency › Quantization · approach: Post-training quantization of ViTs · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes BDIA-transformer, an exact bit-level reversible transformer that keeps the standard architecture at inference by randomly sampling a gamma in {0.5,-0.5} per block during training, combined with activation quantization and stored side bits.

Problem

Existing reversible neural networks either need non-standard architectures or substantially modified standard ones to enable reversibility, and transformer training is memory-bound due to stored activations.

Approach

Treat each transformer block as an Euler integration step and import bidirectional integration approximation (BDIA) from diffusion inversion; randomly sign-flip the averaging coefficient gamma in {0.5,-0.5} during training (acting as an ensemble of ODE solvers and regularizer), quantize activations to 2^-l precision, store 1 bit of side information per activation per block for exact reversibility,

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train with randomly sampled gamma values ±0.5 per block and sampleViT · CIFAR10 validationaccuracy: 88.15$\pm$0.55 -> 89.10$\pm$0.38Helped
Train with randomly sampled gamma values ±0.5 per block and sampleViT · CIFAR100 validationaccuracy: 61.86$\pm$0.47 -> 66.09$\pm$0.80Helped
Use online back-propagation with BDIA and activation quantizationBDIA-ViT · CIFAR10peak memory: 1570.6MB -> 693.4MBHelped
Use online back-propagation with BDIA and activation quantizationBDIA-ViT · CIFAR100peak memory: 1570.6MB -> 693.4MBHelped
Replace ViT with RevViTViT · CIFAR10 validationaccuracy: 88.15$\pm$0.55 -> 86.22$\pm$0.42Hurt
Replace ViT with RevViTViT · CIFAR100 validationaccuracy: 61.86$\pm$0.47 -> 61.89$\pm$0.31No clear effect
Train with gamma values ±0.5 instead of gamma 0.0 (ablation)BDIA-ViT · CIFAR10 validationaccuracy: 88.15$\pm$0.55 -> \textbf{89.12}$\pm$0.22Helped
Train with gamma values ±0.6 instead of gamma 0.0 (ablation)BDIA-ViT · CIFAR10 validationaccuracy: 88.15$\pm$0.55 -> 88.89$\pm$0.15Helped
Train with gamma values ±0.25 instead of gamma 0.0 (ablation)BDIA-ViT · CIFAR10 validationaccuracyHelped
Train with nonzero gamma values rather than gamma 0.0BDIA-transformer · English-French translation validationvalidation lossHelped
Train with BDIA gamma random variablesGPT2 · OpenWebText validation, 0.05% training subsetvalidation lossHelped

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR10 CIFAR100 English-French translation corpus OpenWebText (0.05% subset)

Benchmarks: CIFAR10 CIFAR100 English-French translation OpenWebText validation loss

Metrics: validation accuracy peak training memory validation loss

Baselines: ViT RevViT GPT2 conventional transformer

Builds on: BDIA diffusion inversion RevViT Dropout nanoGPT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy