The paper investigates how residual connections in transformers affect the distribution of activations, making them heavyâtailed and more difficult to quantize accurately. By comparing standard residual transformers with residualâfree variants, the authors show that residuals increase quantization error and accuracy loss at low precision, while residualâfree models maintain nearâGaussian activations and better robustness to lowâbit quantization. They further demonstrate that residualâfree transformers can be trained effectively using orthogonal initialization, spectral or secondâorder optimization, and depthâaware scaling of attention temperature, achieving comparable fullâprecision performance with improved quantization friendliness.
By Yiping Ji, Mahalakshmi Sabanayagam, Peyman Moghadam, Hemanth Saratchandran, Simon Lucey
The paper evaluates the reliability of binary Transformers, specifically BERT, when stored in approximate memory that introduces bit errors. It finds that significant accuracy loss only occurs at high bit error rates (5â10%). To mitigate this, the authors propose a Permutation Invariance Enabled Selective (PIES) protection scheme that selectively safeguards critical weights, achieving nearâfull performance recovery at high error rates with much lower overhead than traditional errorâcorrecting codes.
By Zhen Gao, Xiao Yin, Kexin Liang, Pedro Reviriego, Shanshan Liu, Fabrizio Lombardi
arXiv:2607. 21446v1 Announce Type: new Abstract: Post-training quantization (PTQ) of diffusion transformers (DiTs) to W4A4 severely degrades output quality, because activations entering each linear layer contain outliers that 4-bit formats cannot represent.
By Yann Bouquet, Alireza Khodamoradi, Kristof Denolf, Mathieu Salzmann
arXiv:2512. 00956v3 Announce Type: replace Abstract: Quantizing LLM weights and activations is a standard approach for efficient deployment, but a few extreme outliers can stretch the dynamic range and amplify low-bit quantization errors.
By Jiale Chen, Vage Egiazarian, Roberto L. Castro, Torsten Hoefler, Dan Alistarh
ResidualQuant introduces a 2âbit residual quantization scheme for KV caches in looped Transformers, leveraging the similarity of KV states across loops. By using the finalâloop KV states as a reference and applying leastâsquare scaling, rotations, and loopâwise mixed precision, the method achieves accurate quantization down to INT2. Experiments on various looped Transformer models show that ResidualQuant improves the accuracyâmemory tradeoff, retaining near BF16 accuracy while reducing KV storage by 80.7% and boosting decode throughput and batch size on an RTX 5090.
By Heejun Kim, Junyoung Lee, SangLyul Cho, Dongsu Han, Insu Han, Sehoon Kim
arXiv:2608. 12671v1 Announce Type: new Abstract: Multi-layer transformers form the critical component of essentially all large language models (LLMs) in use today.
By Phokion Kolaitis, Rik Sengupta
The paper "An Algebra of Transformers" proposes a formal algebraic framework for reasoning about transformer models, building on functional decomposition results. It introduces atomic actions based on these decompositions, along with sequential and parallel composition, recursion for feedback, and abstraction for hidden layers. This marks the first logical modeling attempt for transformers, enabling verification of transformerâbased applications.
By Yong Wang, Zhiyan Wang, Hexiao Kang