Key ideas
Multiply-accumulate is the native AI arithmetic primitive
Matrix multiplication repeatedly multiplies two values and adds the product into an output. AI a…Show moreShow less
Matrix multiplication repeatedly multiplies two values and adds the product into an output. AI accelerators therefore organize their arithmetic around multiply-accumulate units rather than treating multiplication and addition as unrelated operations. Multiplication can use relatively low-precision operands, while accumulation generally needs more precision because many products contribute rounding errors to the running sum.
Why it matters: The numerical format of the accumulator can determine model accuracy even when low-precision multiplication is acceptable.
Supporting evidence
A multiply-accumulate happens at every single step of a matrix multiply.
Multiplier area grows quadratically with precision
A p-bit by q-bit integer multiplication forms p × q partial products using AND gates. In the des…Show moreShow less