On Exact Bit-level Reversible Transformers Without Changing Architecture
ELVIA analysis
Independent review pending
One Major finding concerns the central numerical guarantee: fixed-grid quantization alone does not make finite-precision addition reversible. An explicit collision satisfies the grid invariant and uses no overflow, yet loses information beyond the stored parity bit. The exact-integer identity is correct, and a range-checked integer formulation is verified. Reported memory, runtime, and accuracy arithmetic is consistent within its experimental scope. Implementation-specific gradient and random-state checks remain Needs Evidence because the preserved release contains only a README. Scientific adjudication is pending; there are no human reviews.
Problem 1. Fixed-grid precision does not certify finite-machine bitwise reversibility
MajorEvidence and reasoning
Problem statement
Quantization and parity side information guarantee exact bit-level inversion because fixed-grid terms incur no arithmetic error.
or2delta,h0=-x,,h1 constant; deterministic standard IEEE round-to-nearest arithmetic; all stored states satisfy Q(x)=x; no overflow.
Proof
Assessment: Major. Location: Proposition 4.4 and the gradient-equivalence claim on p. 6; Appendix C, Eqs. (28)–(29), p. 12.
Let and The forward step is where The printed inverse is Appendix C reasons that all terms have grid precision and therefore the equalities incur no error. Grid membership specifies the least significant permitted step, but does not bound the number of significant bits needed by a sum. This implication is false for finite floating-point arithmetic.
Use the reported hence and Consider initial values and with so both give by Eq. (19). Both parity bits are Set to a deterministic constant In round-to-nearest binary16, choose All quantizer operations here are exact; the information-losing operation is the outer addition: The spacing at is this is strictly below a half-ULP, not a tie-breaking artifact. The final pair parity bit, and are identical for both inputs. No inverse using only these values can distinguish the inputs. the displayed formula returns zero on the nonzero input.
Every stored activation satisfies including the rounded There is no overflow, underflow, randomness, or non-deterministic recomputation. The example isolates the missing significand/range requirement. It also works as a single trajectory with and constant failure does not require a trained block to implement globally.
The independent check reproduced the operations using standard-library IEEE binary packing, rounding each operation to the specified format:
Format | | Reconstructed
binary16 |
binary32 |
binary64 |
The actual nonzero input is in every row. Each has spacing in its respective format. These are counterexamples to the finite-arithmetic implication, not executions of an author implementation.
Exact activation reconstruction is a principal contribution, used to justify lossless online backpropagation and gradient agreement. The invalid numerical inference therefore meets the assigned Major standard even if an additional arithmetic condition repairs it. Benchmark accuracy loss or failure of every reported run is unnecessary.
The strongest counterevidence is that the formula is an exact identity on an unbounded fixed-point lattice. Proposition 4.3’s parity argument is valid in that model. Figure 2 reports zero reconstruction error for a particular 12-block experiment; this may be entirely correct if its values stay in an exactly representable range. This review does not claim that actual training overflowed, used binary16, or encountered the constructed large binary32 values. The snapshot has no implementation or numeric-range certificate. The exact algebra survives; the unconditional transition from grid precision to machine exactness does not.
Store scaled activations as integers retain and write and With exact integer arithmetic, Since is even, substitution proves the inverse for negative and positive and either sign. An independent calculation also checked combinations. Finite-width implementations must prove that every intermediate fits the integer range, or provide a separately proved overflow scheme. Conversion to and from the network representation must preserve the declared integer and recompute the same
This repairs the arithmetic under explicit conditions. It does not establish that the authors used this representation, that their floating-point ranges satisfy the needed bounds, or that their entire gradient implementation is correct.
Possible revision
Exact-integer representation and range-checked intermediates suffice; actual arithmetic/range/replay implementation still unverified.
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
Our experiments in natural language generation, 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.
publisher proceedings version at retrieval; immutable local SHA-256; PDF p. 1, Abstract
Actual review scope
The recorded inspection concerns these source locations: Proposition4.4 p. 6; AppendixC Eqs28-29 p. 12.