Metraipolis › archive › dc_807d39ef8c73
AWE: Adaptive Weight Encoding for Exact Integer Matrix Products with Fewer GEMMs on FP4 Tensor Cores — arXiv:2609.24519
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.24519
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-09T06:55:58.842Z
- SHA-256 of the archived text
c88a6ef701b1ba8f8798ee2b328ae5ec3e80dfe48057253b5c6ffe5875dba5ee- Stable URL of this page
https://metraipolis.com/documento/dc_807d39ef8c73
How to cite
AWE: Adaptive Weight Encoding for Exact Integer Matrix Products with Fewer GEMMs on FP4 Tensor Cores — arXiv:2609.24519 — arXiv (en), https://arxiv.org/abs/2609.24519 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_807d39ef8c73 (Metraipolis archive dc_807d39ef8c73, sha256 c88a6ef701b1ba8f8798ee2b328ae5ec3e80dfe48057253b5c6ffe5875dba5ee)
BibTeX
@misc{dc807d39ef8c73,
title = {AWE: Adaptive Weight Encoding for Exact Integer Matrix Products with Fewer GEMMs on FP4 Tensor Cores — arXiv:2609.24519},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.24519},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_807d39ef8c73; sha256 c88a6ef701b1ba8f8798ee2b328ae5ec3e80dfe48057253b5c6ffe5875dba5ee},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.24519. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Emulation of high-accuracy floating-point matrix multiplication, as in the Ozaki scheme, splits the inputs into low-precision components and multiplies them pairwise. These products must be error-free, and each is an integer matrix product times a scale factor. FP4 Tensor Cores are the fastest on the NVIDIA B200 and B300 but cannot hold INT8 operands. The FP4 values scaled by 2 form the set $S = \{0, \pm1, \pm2, \pm3, \pm4, \pm6, \pm8, \pm12\}$, which contains every residue modulo 13, so with carries any integer splits into base-13 digits that FP4 can store. Prior work splits each INT8 operand into 3 such digits (limbs) with weights $(1, 13, 169)$ and multiplies them pairwise, 9 FP4 matrix multiplications (GEMMs) for INT8$\times$INT8. The classical ways to reduce products, such as the Karatsuba and Toom--Cook methods, do not apply as they stand: sums of limbs reach $\pm 24$ and leave $S$. This paper asks how many FP4 GEMMs are needed for one integer matrix product. We propose Adaptive Weight Encoding (AWE): the limbs take freely chosen integer weights, the stored planes are linear combinations of limbs, and the exact product is the sum of the FP4 GEMMs scaled by reconstruction coefficients. For each input range, we searched these choices for encodings with fewer products and found INT8$\times$INT8 in 6 products and INT4$\times$INT8 in 4. The formulation also holds modulo $m$, which covers the residue number systems of Ozaki scheme II: for the FP64 significand, the 75 products of prior work are reduced to 59. The boundary in product count between encodings with and without residues lies near input width 15. We release the encodings found.
Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-22 in cs.AR).
Categorie arXiv: Mathematical Software (cs.MS) ; Hardware Architecture (cs.AR); Numerical Analysis (math.NA).
Pagina del lavoro: https://arxiv.org/abs/2609.24519 — 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-09T06:50:43.582Z dalla pagina https://arxiv.org/catchup/cs.AR/2026-09-22?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).