NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MixFold: Sub-4-Bit Mixed-Precision LLM Inference via Output-Channel Grouping on Mobile NPUs

Vinnam Kim, Seong Hoon Seo, Junhan Kim, Jaeseong You, An Chen

Putting a Large Language Model (LLM) on a smartphone is a bit like trying to fit a grand piano into a studio apartment. You have to take it apart, shave down the edges, and hope it still plays music. In the world of AI, we call this quantization—reducing the precision of the model's weights (the "shaving") so it fits in the limited memory of a mobile device.

But there’s a catch. Even if you manage to shrink the model to 2 or 3 bits per weight, your phone’s brain—the Neural Processing Unit (NPU)—might not know how to "read" those specific sizes natively. This paper, MixFold, introduces a clever way to make these ultra-shrunk models run faster and more efficiently than ever before.

TL;DR

MixFold allows mobile NPUs to run LLMs quantized to less than 4 bits without the usual performance "tax." By mathematically "folding" non-native weight formats into native hardware operations, it achieves up to 1.4x faster decoding and 4.3x better energy efficiency than current industry standards like llama.cpp.

What Problem Does This Paper Address?

Mobile NPUs are specialized for speed, but they are picky eaters. They typically have matrix units (HMX) designed for specific "native" formats, like 4-bit or 8-bit integers.

When researchers try to use 2-bit or 3-bit weights to save memory, the NPU hits a wall. It has to use its vector unit (HVX) to "unpack" or convert those tiny weights back into a 4-bit format before the matrix unit can do the heavy lifting. This conversion is slow—so slow that it often cancels out the speed gains you expected from having a smaller model.

Furthermore, Mixed Precision (MP)—giving more bits to "important" parts of the model and fewer to others—is hard to do on NPUs because they process data in "tiles." If a single tile contains different bitwidths, the hardware's streamlined pipeline breaks.

Methods

The authors propose MixFold, which relies on two main pillars:

  1. Fold Paths: Instead of expanding 2-bit or 3-bit weights into 4-bit ones (which wastes time), MixFold keeps the weights in their small, non-native formats. It then mathematically "folds" the necessary corrections into other parts of the calculation that are already happening, like the bias or the activations.
  2. W2-SEQ: For a special, high-accuracy 2-bit format, they fold the correction into the channel bias.
  3. W3: They split 3-bit weights into a 2-bit "plane" and a 1-bit "plane," processing them in parallel across the matrix and vector units.
  4. Hardware-Aligned Mixed Precision: Instead of assigning bitwidths randomly, MixFold groups output channels to match the NPU's physical "tiles" (e.g., groups of 32). This allows the model to use different precisions for different parts of a layer without confusing the hardware.
The MixFold dataflow shows how weights and activations are staged from DRAM to the NPU's internal memory (VTCM) and processed by the matrix (HMX) and vector (HVX) units.

Datasets

The researchers evaluated MixFold using the Qwen3 model family (ranging from 0.6B to 8B parameters). To test accuracy and performance, they used:

  • WikiText-2: To measure perplexity (how well the model predicts text).
  • Common Sense Reasoning (CSR) benchmarks: Including ARC, HellaSwag, and PIQA.
  • MMLU and IFEval: For general knowledge and instruction following.

Key Insights and Ideas

  • Nativeness is Efficiency: The biggest bottleneck isn't the math; it's the data movement and conversion. By making 2-bit and 3-bit math "look" native to the hardware, MixFold removes the "conversion tax."
  • The Power of Symmetry: Standard 2-bit integers are often lopsided (e.g., {-2, -1, 0, 1}). MixFold supports "perfectly symmetric" grids (like {-3, -1, 1, 3}), which capture information much better.
  • Parallelism is Key: For 3-bit weights, MixFold doesn't make the matrix unit wait for the vector unit. It lets them work on different "planes" of the weight simultaneously.
Figure 3. The fold paths take the HVX workload off the critical path. All kernels utilize single-thread HVX. C1–C4 number the chunks.

Key Results

  • Speedup: MixFold decodes text 1.16–1.41× faster than the llama.cpp Hexagon backend at the same bit-rate.
  • Energy Efficiency: It generates 1.5–4.3× more tokens per joule. This is a massive win for battery life.
  • Accuracy: By using better 2-bit grids (W2-SEQ) and fine-grained mixed precision, MixFold achieves higher accuracy than standard sub-4-bit formats. For example, their W2-SEQ format significantly outperforms standard W2 in signal-to-noise ratio.
Figure 2. (Left) Histogram of row 0 of the layer-0 gate projection of Qwen3-0.6B, with its W2 and W2-SEQ grids (markers). (Right) Output SQNR of the whole layer on WikiText-2 test activations, with per-channel scales fitted on WikiText-2 train activations.

Limitations and Future Work

  • Single-Thread Focus: The current performance gains are most dramatic when using a single vector-unit thread. If a system has many idle vector threads, the "conversion tax" of traditional methods might be less painful.
  • Decoding vs. Prefill: The paper focuses heavily on the "decoding" phase (generating one token at a time). The authors note that the effectiveness of these "fold" paths for the "prefill" phase (processing the initial prompt) needs more verification.
  • Hardware Specificity: While the principles apply broadly, the specific implementation was tuned for the Qualcomm Hexagon NPU.

MixFold proves that we don't just need smaller models; we need smarter ways to talk to the hardware they run on. By "folding" the math, they've opened the door for much larger, more capable AI to live comfortably in our pockets.

Summary updated

BibTeX
@misc{kim2026mixfold,
  author = {Vinnam Kim and Seong Hoon Seo and Junhan Kim and Jaeseong You and An Chen},
  title = {{MixFold: Sub-4-Bit Mixed-Precision LLM Inference via Output-Channel Grouping on Mobile NPUs}},
  year = {2026},
  eprint = {2611.26976},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.26976},
}
Figure