BitNest: Bit-Nested Speculative Decoding for Memory-Efficient LLM Inference Acceleration

Chence Yang, Ningxi Cheng, Arash Akbari, Qitao Tan, Qingchan Zhu, Ci Zhang, Changdi Yang, Yanzhi Wang, Wei Niu, Jinhui Wang, Jin Lu, Geng YuanarXiv 2026

TL;DR

BitNest is a novel speculative decoding framework that eliminates the memory overhead of draft models by physically embedding a low-precision "base" draft directly within a higher-precision "refinement" target representation. By using a base-first construction and dual-plane storage, it achieves up to 1.61× end-to-end speedup and a 95.2% acceptance rate while maintaining the quality of a full 8-bit model.

What Problem Does This Paper Address?

Large Language Model (LLM) inference is notoriously slow because it generates tokens one by one (autoregressively). Speculative decoding speeds this up by using a small, fast "draft" model to guess several tokens at once, which a larger "target" model then verifies in parallel.

However, this usually requires storing two separate models, which is a major problem for resource-constrained edge devices like mobile phones or single-GPU workstations. Even "self-speculative" methods, which try to derive the draft from the target, often face a trade-off: either the draft is too low-quality (leading to low acceptance rates) or the system still requires extra memory to store different versions of the weights. BitNest aims to provide a "best of both worlds" solution: high speedup, high quality, and zero extra weight storage.

Methods

The core innovation of BitNest is Bit-Nested Speculative Decoding. Instead of treating the draft and target as separate entities, BitNest treats them as different "views" of the same physical data.

  1. Base-First Construction: Most quantization methods start with a high-precision model and squash it down. BitNest flips this. It first optimizes a strong 4-bit (W4) "base" model. Then, it calculates the residual error (the difference between the original weights and the 4-bit base) and quantizes that into a 4-bit "refinement" plane.
  2. Nested Representation: The final 8-bit (W8) target weight is simply the combination of the base and the refinement. Mathematically, the target is recovered by adding the refinement bits back to the base bits.
  3. Dual-Plane Weight Storage: To make this efficient in hardware, BitNest stores the base and refinement bits in two separate, independently accessible "planes." During the drafting phase, the system only reads the 4-bit base plane, saving memory bandwidth. During verification, it reads both to reconstruct the full 8-bit target.
Figure 2: Overview of BitNest. BitNest first applies a function-preserving rotation-based transfor- mation to obtain an equivalent model representation, then quantizes the transformed weights into a b-bit base and the remaining error into an r-bit refinement. The two are organized using Dual-Plane Weight Storage. During speculative decoding, drafting reads only the base, while verification reads both planes to recover the (b + r)-bit target. BitNest physically nests the low-precision draft within the higher-precision target without requiring a separate draft model.
  1. Context-Aware KV Nesting: The authors extend this nesting principle to the Key-Value (KV) cache. For long-context tasks where the KV cache dominates memory traffic, the draft only accesses a 4-bit version of the cache, while the target uses the full 8-bit version.

Datasets

The authors evaluated BitNest across a wide range of standard benchmarks to ensure generalizability:

  • WikiText-2: Language modeling.
  • GSM8K: Mathematical reasoning.
  • HumanEval & MBPP: Code generation.
  • ShareGPT: Conversational AI.
  • LongDoc & PG-19: Long-context document processing.
  • LIBERO Spatial: A vision-language-action benchmark used to test BitNest on the OpenVLA-7B robotics model.

Key Insights and Ideas

  • The "Base-First" Advantage: By optimizing the draft first, BitNest ensures the draft is as strong as possible. Because the target is built on top of the draft, the two are perfectly aligned, leading to an exceptionally high acceptance rate (95.2%).
  • Physical vs. Logical Nesting: The authors highlight that simply having a nested mathematical formula isn't enough. You need Dual-Plane Storage (Figure 3) to ensure that the hardware actually avoids fetching unnecessary bits, which is what provides the speedup.
  • KV Cache Scaling: As context length grows, the KV cache becomes the primary bottleneck. BitNest’s ability to nest the KV cache allows it to maintain speedups even at 32K context lengths, where other methods often slow down significantly.
Figure 3: Dual-plane weight storage in BitNest. Base and refinement codes are packed into two independent 4-bit streams, each occupying N/2 bytes for N weights. The draft accesses only the base plane, while the target accesses both planes to recover the full 8-bit representation.

Key Results

BitNest was tested on LLaMA-2, LLaMA-3, and Qwen models, showing consistent improvements:

  • Speedup: Achieved 1.48–1.61× end-to-end speedup over standard FP16 autoregressive decoding.
  • Quality Preservation: The W8 target closely matched the performance of FP16 models. For example, on LLaMA-3-8B, BitNest hit 49.8% accuracy on GSM8K, nearly identical to the 50.0% achieved by a standalone W8 model.
  • Memory Efficiency: On a Jetson Orin NX (16GB), BitNest extended the maximum executable context length from 6K (with W8A8) to 10K tokens.
  • Robotics: On OpenVLA-7B, it delivered a 1.35× speedup while actually improving success rates compared to a standalone 4-bit model (89% vs 80%).
Figure 1: End-to-end decoding speedup across six workloads on LLaMA-2-7B and LLaMA-3-8B. All results are normalized to the corresponding 16-bit autoregressive baseline (1.0×).

Limitations and Future Work

  • Auxiliary Architectures: BitNest currently focuses on self-speculation (deriving the draft from the target). It does not yet exploit auxiliary drafting architectures (like Medusa or EAGLE) that use extra parameters to predict multiple tokens in parallel.
  • Prefill Overhead: The current implementation sees some overhead during the "prefill" stage (the initial processing of the prompt) because it has to dequantize weights to FP16 for certain operations. The authors suggest that developing dedicated INT8 kernels for this stage is a clear path for future optimization.
  • Hardware Support: While W4/W8 is widely supported, the dual-plane storage requires custom kernels (like the Triton kernels used in the paper) to be fully realized on different hardware backends.

Summary updated

BibTeX
@misc{yang2026bitnest,
  author = {Chence Yang and Ningxi Cheng and Arash Akbari and Qitao Tan and Qingchan Zhu and Ci Zhang and Changdi Yang and Yanzhi Wang and Wei Niu and Jinhui Wang and Jin Lu and Geng Yuan},
  title = {{BitNest: Bit-Nested Speculative Decoding for Memory-Efficient LLM Inference Acceleration}},
  year = {2026},
  eprint = {2610.02800},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.02800},
}
Figure