Metraipolis › archive › dc_2fe64991e789

Approximating Softmax in Pretrained LLMs: Model Sensitivity and Kernel Acceleration — arXiv:2609.33586

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.33586
License (as archived)
CC0-1.0
Archived
2026-10-07T22:37:35.780Z
SHA-256 of the archived text
8bb3bb5b14a6fc3d238aee0652a3a04d4c3906757dbe57c341a4e7856e84334f
Stable URL of this page
https://metraipolis.com/documento/dc_2fe64991e789

How to cite

Approximating Softmax in Pretrained LLMs: Model Sensitivity and Kernel Acceleration — arXiv:2609.33586 — arXiv (en), https://arxiv.org/abs/2609.33586 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_2fe64991e789 (Metraipolis archive dc_2fe64991e789, sha256 8bb3bb5b14a6fc3d238aee0652a3a04d4c3906757dbe57c341a4e7856e84334f)
BibTeX
@misc{dc2fe64991e789,
  title = {Approximating Softmax in Pretrained LLMs: Model Sensitivity and Kernel Acceleration — arXiv:2609.33586},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.33586},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_2fe64991e789; sha256 8bb3bb5b14a6fc3d238aee0652a3a04d4c3906757dbe57c341a4e7856e84334f},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.33586. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

On NVIDIA Blackwell B200, tensor-core throughput outpaces special-function exponential throughput by more than two orders of magnitude, exposing exponential evaluation in fused attention kernels. A pretrained Transformer, however, may not need it evaluated accurately at every element. We characterize what a pretrained model does need by approximating softmax at inference in ten frozen decoder-only models (0.5B-72B). The number of positions the softmax map assigns probability to and within-row resolution can be cut substantially, yet uniform weighting of the same positions is damaging. Where a fixed resolution budget is placed matters as much as its size, with resolution near the row maximum consistently favored. Perturbations matched on scalar distortion produce model-dependent responses of opposite sign. These findings motivate Rowmax-PoT, a coarse logarithmic weight representation anchored at each row maximum, and Rowmax-H15, its hardware specialization in FlashAttention-4. On B200, the patched FP8 attention forward is 12.4% faster at causal 8K and 25.8% faster at non-causal 8K in host-side call-latency measurements; board energy per forward falls by 8.4% at causal 16K. Measured separately on the BF16 kernel path at 2K, Rowmax-H15 increases perplexity by 0.091-0.492% across five models from three families.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-29 in cs.LG).
Categorie arXiv: Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2609.33586 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-07T22:14:27.991Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).