MixFold: Sub-4-Bit Mixed-Precision LLM Inference via Output-Channel Grouping on Mobile NPUs
Kim et al. in Inference & systems
How can 3-bit weights outrun 4-bit at decode?
MixFold: Sub-4-Bit Mixed-Precision LLM Inference via Output-Channel Grouping on Mobile NPUs
The obstacle is conversion before compute
On Qualcomm's Hexagon NPU, the matrix unit (HMX) accepts only a few native integer formats. At decode, a straightforward W3 or W2-SEQ path makes the vector unit (HVX) expand every weight to W4 before multiplication.
MixFold keeps low-bit weights packed and shifts correction onto the activation side or into the requantization bias. HMX can then use native integer tiles without expanding the full weight stream first.
Fold the work, not the weights

At M=1, expansion rewrites every weight on HVX before HMX starts. W2-SEQ touches only the activation row and bias; W3's one-bit W1 lookup product joins HMX's W2 product in one accumulator.
W2-SEQ turns symmetry into a fold
- 1
Pack as native W2
The W2-SEQ grid is {−3,−1,1,3}; encode each code as W2=(W−1)/2 in native signed W2 codes.
- 2
Fold the one-row sum
At M=1, HVX sums the activation row; that shared sum folds into each output channel's input bias.
- 3
Carry multirow corrections
For M>1, a per-call reference row sum enters the bias; native +1 correction columns add each row's remainder in HMX.
- 4
Requantize once
Double the requantization scale; HMX corrects before one requantization and saturation. An odd row-sum difference rounds down.
W3: split a weight, share the accumulator
- 1
Split it exactly
Split W3=2W2+W1 into a signed W2 plane and an unsigned one-bit plane.
- 2
Overlap two units
At M=1, HMX computes W2 while HVX halves activations and uses four-at-a-time subset-sum lookups for W1.
- 3
Requantize once
One requantization follows. Halving drops activation LSB; a W1 bias correction offsets expected error, assuming even/odd activation codes are equally likely.
- 4
Switch paths with M
The tested dispatcher uses HMX for both planes at 2≤M≤32 and expands from M=64, when W3's extra work stops hiding behind weight streaming.
Sensitivity varies inside one layer

Within Qwen3-4B's 12th-block query projection, quantization cost varies across 32-channel groups. At 3.0 BPW, layer-wise assigns W3 uniformly; group-wise varies formats by sensitivity.
Why assign precision per tile, not per layer?
One bitwidth per layer keeps HMX tiles uniform, but misses sensitivity differences among output-channel groups.
MixFold assigns W2-SEQ, W3, or W4 per 32-channel HMX tile. An integer program minimizes calibration-based, empirical-Fisher-weighted loss under an average BPW budget.
Finer groups and richer formats lift accuracy

Qwen3-4B weight-only GPTQ profiles: left, group-wise allocation beats layer-wise at matched BPW. Right, W2-SEQ improves over W2 and adding W3 raises the average CSR/MMLU/IFEval score.
Qwen3: matched-BPW speed and quality

Matched BPW: MixFold is 1.16–1.41× faster and achieves 1.5–4.3× the tokens/J of llama.cpp. CSR/MMLU/IFEval average Δ: −0.4 to +10.4 points (AIMET simulation; FlexRound/PrefixQuant). Timing uses random weights, matched layouts.
Where the evidence stops
End-to-end workload
Speed and energy tests cover single-stream autoregressive decoding at M=1; concurrent sequences and speculative decoding remain unverified.
HVX thread count
Fold benefits are established against single-thread expansion. More HVX threads can narrow or erase them; multi-thread expansion energy was not measured.
Accuracy evaluation
CSR/MMLU/IFEval and matched-BPW accuracy use AIMET GPU simulation (FlexRound + PrefixQuant); on-target perplexity is within 1.8% of simulation.
Hardware scope
Tests use Qualcomm Hexagon on Snapdragon 8 Elite Gen 5 and Qwen3; other NPUs and model families are not evaluated.
Why it matters
- The systems lesson: low-bit storage speeds decode only when the matrix unit can consume packed weights without weight-wide conversion.
- On a compatible tiled NPU, align precision to output-channel tiles and dispatch fold versus expansion by activation batch size.
- Will the gains survive concurrent or speculative decoding? End-to-end tests stop at single-stream M=1.
11 slides, 3 min
24 Nov 2026