arXiv AI By Haiquan Qiu, Quanming Yao

Why Low-Precision Transformer Training Fails: An Analysis on Flash Attention

Read the original on arXiv AI →

arXiv:2510. 04212v4 Announce Type: replace-cross Abstract: The pursuit of computational efficiency has driven the adoption of low-precision formats for training transformer models.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv Machine Learning
Oct 19

Pretraining Transformers with Quantized Softmax in Attention

The paper investigates how quantizing the softmax operation in Transformer attention affects pretraining. It explores K‑interval attention, varying grid calibration, interpolation versus hard rounding, and surrogate placement relative to normalization, deriving backward rules for each case. Experiments on a 124M‑parameter model show that choices like fixed‑window calibration with a post‑normalization surrogate or a pre‑normalization surrogate can reduce validation loss gaps compared to standard softmax.

By Shangzhen Zhu, Muyan Hu, Tomasz Kozlowski
arXiv Machine Learning
Oct 16

ABNAT: Attention-Based Noise-Aware Training for Robust Transformers on Analog Compute-in-Memory Systems

ABNAT introduces an attention-based noise-aware training framework for Transformer models on analog compute-in-memory systems. It focuses on preserving clean teacher attention routes during noisy training, addressing the increased divergence in deeper layers and overconfidence issues of conventional NAT. Experiments across vision, language, and multimodal Transformers show up to 11.28% accuracy improvement and 85.77% reduction in attention deviation.

By Wenshuai Yao, Wenyong Zhou, Hanyong Shao, Zhiyuan Ning, Yizhe Chen, Yuannuo Feng, Kechao Tang, Ru Huang