Metraipolis › archive › dc_ad4212d0fadc

Decode Late, Multiply Once: Rethinking the Dot Product for Quantized Weights — arXiv:2610.31913

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.31913
License (as archived)
CC0-1.0
Archived
2026-10-26T19:55:27.546Z
SHA-256 of the archived text
2a9c4b338f3f48da5465810f4aa312506c5cf77e4a4030cef7acc476b6b3fd5e
Stable URL of this page
https://metraipolis.com/documento/dc_ad4212d0fadc

How to cite

Decode Late, Multiply Once: Rethinking the Dot Product for Quantized Weights — arXiv:2610.31913 — arXiv (en), https://arxiv.org/abs/2610.31913 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_ad4212d0fadc (Metraipolis archive dc_ad4212d0fadc, sha256 2a9c4b338f3f48da5465810f4aa312506c5cf77e4a4030cef7acc476b6b3fd5e)
BibTeX
@misc{dcad4212d0fadc,
  title = {Decode Late, Multiply Once: Rethinking the Dot Product for Quantized Weights — arXiv:2610.31913},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.31913},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_ad4212d0fadc; sha256 2a9c4b338f3f48da5465810f4aa312506c5cf77e4a4030cef7acc476b6b3fd5e},
  year = {2026}
}

Archived text

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

Large neural networks are increasingly deployed with 1-4 bit weights and 16- or 32-bit activations, yet their dot products still use one multiplier per element. We show that a length-n dot product with k-bit weight codes can be computed with n+2^k additions and at most 2^k decodes and 2^k multiplications. Each weight code is used directly as an address offset that selects one of 2^k accumulators; each activation is added into the selected accumulator; and the accumulated sums are decoded and multiplied only once, at the end, in a fused decode-and-multiply step. The decoded weight vector is never formed. The refactoring is exact for integer arithmetic, works with integer or floating-point operands and with arbitrary, including nonlinear, decoders, and extends to group-wise scales and to matrix and tensor products. The multiplier count falls by n/2^k, while total arithmetic energy improves by a smaller, bounded factor that we quantify with a cost model. We describe a scatter-accumulate processing element (SA-PE) that replaces the MAC unit in a weight-stationary systolic array, with a load/stream/reduce/drain schedule in which a small, time-shareable multiplier runs only 2^k times per tile. Because decoded weights are not stored, local weight memory shrinks by up to w_d/k for w_d-bit decoded weights. An RTL implementation synthesized for FPGA and compared with a matched MAC array shows that an unshared SA-PE is larger than a MAC PE, and that the saving appears when the reduction multiplier is shared across PEs. Software models confirm exact integer equivalence and floating-point error no worse than the conventional pipeline. We do not claim the underlying identity is new, and we discuss related work on weight sharing and lookup-based kernels.

Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.AR, nuovi lavori del giorno).
Categorie arXiv: Machine Learning (cs.LG) ; Hardware Architecture (cs.AR).
Pagina del lavoro: https://arxiv.org/abs/2610.31913 — 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-26T19:46:18.296Z dalla pagina https://arxiv.org/list/cs.AR/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).