Binary Decomposition for Multiplication-Less Inference

This direction is merged into another direction: quantization-induced accuracy loss. Its last version stays readable and citable here.

Version 1 of 114 papers19 conceptsfrozen 2026-10-04

Standard neural network quantization typically maps floating-point numbers to lower-precision integers (like INT8 or INT4). While this reduces memory footprint, the underlying hardware still relies on digital multipliers to perform the core operation of deep learning: the dot product. Multiplication is fundamentally more expensive than addition or bitwise logic, consuming more silicon area and energy.

A growing body of research suggests a different path: Binary Decomposition. Instead of treating a 4-bit number as a single integer, these methods decompose weights and activations into multiple binary "bit-planes." This transformation allows complex multiplications to be reframed as a series of fast bitwise operations or simple additions, enabling high-performance inference on everything from mobile CPUs to specialized ASICs.

The Core Intuition: From Multipliers to Bit-Planes

The mathematical foundation of this approach is simple. Any multi-bit integer can be represented as a weighted sum of binary digits. For example, a weight $W$ can be decomposed into bit-planes $B_i \in \{0, 1\}$ such that $W = \sum_{i=0}^{n-1} 2^i B_i$.

When we multiply this weight by an activation $A$, the operation becomes: $$W \cdot A = (\sum 2^i B_i) \cdot A = \sum 2^i (B_i \cdot A)$$

Because $B_i$ is binary, the term $(B_i \cdot A)$ is no longer a full multiplication. If $B_i$ is 0 or 1, it is a conditional selection; if we use a bipolar representation $\{-1, 1\}$, it becomes simple addition or subtraction.

Maximilian Lam and colleagues first demonstrated this at scale with PrecisionBatching, showing that by processing these "bitlayers" independently, one could achieve significant speedups on standard hardware without the need for specialized circuits.

Leveraging Bitwise Hardware Instructions

On general-purpose hardware like CPUs and GPUs, binary decomposition works by exploiting "bit-parallelism." Modern processors have instructions like AND, XOR, and POPCNT (population count) that operate on 64 or 128 bits simultaneously.

Yuhang Li and the team behind Efficient Bitwidth Search showed that by decomposing mixed-precision weights into binary planes, they could bypass the lack of native mixed-precision support in mobile CPUs. Similarly, Siqing Song and researchers in Achieving binary weight and activation for LLMs utilized parallel binary streams for activations. By decomposing a 4-bit activation into four 1-bit streams, they could use XOR and popcount kernels to outperform standard INT4 kernels by 3x.

Replacing Multipliers with Adders

For specialized hardware like FPGAs or custom AI chips, the goal is often to eliminate floating-point multipliers entirely. Multipliers are the "heavyweights" of a chip; adders are much lighter.

Adrian Bulat introduced Quantization with Binary Bases (QBB), which represents weight matrices as a linear combination of binary matrices. This allows the hardware to perform matrix multiplication using only additions and subtractions. Haoran You extended this concept in ShiftAddLLM by constraining scaling factors to powers of two. This ensures that even the "scaling" part of the equation is handled by bitwise shifts, resulting in a truly multiplication-less architecture.

Taking this to the extreme, Vladimír Boža proposed Double Binary Factorization, which factorizes a weight matrix into the product of two binary matrices. This structure achieves up to a 3.5x speedup because the entire inference process is reduced to a sequence of additions.

Dynamic Precision and Flexibility

One of the most powerful aspects of binary decomposition is its inherent flexibility. In traditional quantization, a 4-bit model is a 4-bit model. In a bit-plane decomposed model, precision is additive.

Gunho Park and the authors of AnyBCQ developed a framework where a single Large Language Model (LLM) can operate at 2, 3, or 4 bits of precision on the fly. By simply adding or ignoring specific bit-planes during the computation, the system can trade off accuracy for speed depending on the current hardware load or battery constraints.

Furthermore, Chaofan Tao showed in BPDQ that these bit-planes don't have to follow a rigid power-of-two grid. By using a "variable grid" of binary planes and scalar coefficients, they successfully compressed 72B-parameter models to 2 bits while maintaining high reasoning accuracy, proving that binary decomposition is robust enough for the most demanding modern architectures.

Papers in this version

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_binary_decomposition_for_multiplication__1e03cb4f,
  title = {Binary Decomposition for Multiplication-Less Inference},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/binary-decomposition-for-multiplication-less-inference/rdr_1e03cb4fe7b34feb879d704375ea547c},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_binary_decomposition_for_multiplication__1e03cb4f_v1,
  title = {Binary Decomposition for Multiplication-Less Inference},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/binary-decomposition-for-multiplication-less-inference/rdr_1e03cb4fe7b34feb879d704375ea547c/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}