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:2505. 15548v2 Announce Type: replace Abstract: Autoregressive transformer language models frequently exhibit training instability when trained on long sequences, particularly under low-precision arithmetic.
By Suvadeep Hajra
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
arXiv:2601.06787v2 Announce Type: replace
Abstract: Large Language Models (LLMs) are known to contain significant redundancy, yet a systematic explanation for why certain components, particularly in...
By Jaewon Sok, Jewon Yeom, Seonghyeon Park, Jeongjae Park, Taesup Kim
arXiv:2607. 09800v1 Announce Type: new Abstract: Training in reduced floating-point precision can silently halt learning: when a gradient-descent weight update falls below half the unit in the last place (ULP) of the weight, it rounds away and that coordinate freezes while its gradient is still nonzero.
By Zekai Shang
Transformer-based models have become the backbone of a wide range of tasks, but their intensive computation and data movement incur substantial energy overhead. Analog compute-in-memory (CIM) offers a...