Fully Integer Training of a Small Reversible Byte-Level Transformer: A Feasibility Study

This technical note asks whether a Transformer language model can be trained from scratch without any floating-point value in its training engine. A 3.3M-parameter byte-level causal Transformer is trained with integer arithmetic only, from initialization to the optimizer (integer Lion). An additive reversible coupling lets activations be rebuilt during backpropagation with no stored side information. Main results: Exact reconstruction: the block input was recovered bit-exactly at every one of 44,000 training steps. Gradients on the reconstruction path are bit-identical to the stored path at control points, and match an aligned float64 twin with cos ≥ 0.99999 per tensor, after a documented fix of an earlier failure. The model memorizes a 2.6 KB text (0.008 bit/byte). On French Wikipedia it reaches held-out losses of 2.46-2.74 bit/byte. A pre-registered confirmatory test of "reversible beats standard" is inconclusive. A diagnostic study finds no systematic difference from BF16 trained from the same initial weights. Costs: reversibility cuts peak training memory by 61% at a 23% time cost, but this reference integer engine is about 16× slower and 3× more memory-hungry than BF16. This is a small-scale feasibility study. It makes no claim of superiority, efficiency or novelty of integer training or exact reversibility as such. Code, notebooks and raw results: https://github.com/SamuelMoulin/r4-integer-transformer (release v1.0).

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-30
DOI
https://doi.org/10.5281/zenodo.24673437
Primary Topic
Advanced Neural Network Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Fully Integer Training of a Small Reversible Byte-Level Transformer: A Feasibility Study

Samuel Moulin
Zenodo (CERN European Organization for Nuclear Research)
Advanced Neural Network Applications
article

Fully Integer Training of a Small Reversible Byte-Level Transformer: A Feasibility Study

Samuel Moulin
article en

Abstract

This technical note asks whether a Transformer language model can be trained from scratch without any floating-point value in its training engine. A 3.3M-parameter byte-level causal Transformer is trained with integer arithmetic only, from initialization to the optimizer (integer Lion). An additive reversible coupling lets activations be rebuilt during backpropagation with no stored side information. Main results: Exact reconstruction: the block input was recovered bit-exactly at every one of 44,000 training steps. Gradients on the reconstruction path are bit-identical to the stored path at control points, and match an aligned float64 twin with cos ≥ 0.99999 per tensor, after a documented fix of an earlier failure. The model memorizes a 2.6 KB text (0.008 bit/byte). On French Wikipedia it reaches held-out losses of 2.46-2.74 bit/byte. A pre-registered confirmatory test of "reversible beats standard" is inconclusive. A diagnostic study finds no systematic difference from BF16 trained from the same initial weights. Costs: reversibility cuts peak training memory by 61% at a 23% time cost, but this reference integer engine is about 16× slower and 3× more memory-hungry than BF16. This is a small-scale feasibility study. It makes no claim of superiority, efficiency or novelty of integer training or exact reversibility as such. Code, notebooks and raw results: https://github.com/SamuelMoulin/r4-integer-transformer (release v1.0).

Zenodo (CERN European Organization for Nuclear Research)
Advanced Neural Network Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon