Tight Accumulator Widths for Exact Within-Block OCP Microscaling Dot Products

In an OCP Microscaling (MX) dot product, the sum of the k=32 element products of one block pair can be kept exact in a fixed-point register before the two power-of-two scales are applied. For finite element values, we give the smallest zero-offset two's-complement width that holds every such sum, prove that it is minimal at both ends of the register (no coarser least significant bit and no fewer high bits), and exhibit an input that attains each end. For k=32 and both blocks in the same format, the widths are 14, 18, 24, 42 and 70 bits for E2M1, E2M3, E3M2, E4M3 and E5M2, and 20 or 21 bits for MXINT8 depending on whether the code -128 is admitted. A published minifloat formula (Aggarwal, Damsgaard et al., 2023) already gives these widths at power-of-two block sizes for E2M1, E2M3, E3M2 and E4M3; it is two bits too wide for E5M2, whose top exponent field is reserved for Inf and NaN. The wider MX sizing rule whose 73 and 43 bits for E5M2 and E4M3 have been described as minimal is one bit wider again, because it applies the two's-complement product rule to sign-symmetric operands. The analysis covers mixed-format block pairs, as permitted by the specification (for example 56 bits for E4M3xE5M2), and any block size. All values are reproduced by an exhaustive program that decodes every bit pattern and uses exact rational arithmetic. A synthesis control shows that the bound is also what a flattening tool reaches on its own when the products' sign extension is visible; the bound is most useful for sizing registers, interfaces and tests.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24763016
Primary Topic
Numerical Methods and Algorithms
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Tight Accumulator Widths for Exact Within-Block OCP Microscaling Dot Products

Amir Al-Herani
Zenodo (CERN European Organization for Nuclear Research)
Numerical Methods and Algorithms
preprint

Tight Accumulator Widths for Exact Within-Block OCP Microscaling Dot Products

Amir Al-Herani
preprint en

Abstract

In an OCP Microscaling (MX) dot product, the sum of the k=32 element products of one block pair can be kept exact in a fixed-point register before the two power-of-two scales are applied. For finite element values, we give the smallest zero-offset two's-complement width that holds every such sum, prove that it is minimal at both ends of the register (no coarser least significant bit and no fewer high bits), and exhibit an input that attains each end. For k=32 and both blocks in the same format, the widths are 14, 18, 24, 42 and 70 bits for E2M1, E2M3, E3M2, E4M3 and E5M2, and 20 or 21 bits for MXINT8 depending on whether the code -128 is admitted. A published minifloat formula (Aggarwal, Damsgaard et al., 2023) already gives these widths at power-of-two block sizes for E2M1, E2M3, E3M2 and E4M3; it is two bits too wide for E5M2, whose top exponent field is reserved for Inf and NaN. The wider MX sizing rule whose 73 and 43 bits for E5M2 and E4M3 have been described as minimal is one bit wider again, because it applies the two's-complement product rule to sign-symmetric operands. The analysis covers mixed-format block pairs, as permitted by the specification (for example 56 bits for E4M3xE5M2), and any block size. All values are reproduced by an exhaustive program that decodes every bit pattern and uses exact rational arithmetic. A synthesis control shows that the bound is also what a flattening tool reaches on its own when the products' sign extension is visible; the bound is most useful for sizing registers, interfaces and tests.

Zenodo (CERN European Organization for Nuclear Research)
Numerical Methods and Algorithms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon