Quantize the Target, Quantize the Drafter: Efficient Inference with Qwen3.5-4B

Jaeyeon Kim, Jewon Lee, Bo-Kyeong KimarXiv 2026

TL;DR

By combining target model quantization with an optimized, quantized speculative decoding drafter, this paper achieves a 6.98× average speedup serving Qwen3.5-4B on a resource-constrained NVIDIA A10G GPU. The approach uses Quantization-Aware Distillation (QAD) to recover accuracy loss and a novel two-stage training pipeline with Sliding-Window Attention (SWA) to minimize drafter overhead, ranking 3rd overall in the Efficient Qwen Competition.

What Problem Does This Paper Address?

Deploying Large Language Models (LLMs) like Qwen3.5-4B on commodity or resource-constrained hardware (such as a single NVIDIA A10G GPU with 24 GB VRAM) presents a massive latency and memory bottleneck.

Standard Post-Training Quantization (PTQ) to 4-bit reduces memory footprint but severely degrades model accuracy, often pushing it below acceptable deployment thresholds. Speculative decoding—using a smaller "drafter" model to propose tokens that a larger "target" model verifies in parallel—can accelerate inference. However, the drafter itself introduces computational overhead at every single step, especially when dealing with long-context inputs. This paper tackles the challenge of optimizing both the target and the drafter simultaneously to maximize throughput without sacrificing accuracy.

Methods

The authors introduce a highly optimized, hardware-efficient inference pipeline consisting of two main components:

  1. Target Model Optimization via Grid-Preserved QAD: Instead of standard quantization, they apply Quantization-Aware Distillation (QAD) to an existing AWQ INT4 checkpoint of Qwen3.5-4B. Crucially, they freeze the original symmetric per-group quantization scales and only update the weights using a straight-through estimator under the guidance of the full-precision BF16 teacher model. This recovers the lost accuracy while maintaining compatibility with the underlying INT4 hardware format.

  2. Two-Stage Speculative Drafter Training: They employ a 5-layer block-diffusion drafter (DFlash) that predicts multiple future tokens in a single forward pass. To train it effectively alongside a quantized target, they use a two-stage pipeline:

  3. Stage 1: Train the drafter from a random initialization using the original high-precision BF16 target model.

  4. Stage 2: Fine-tune the drafter using the accuracy-recovered INT4 target model.
  5. Drafter Optimization (PTQ & SWA): To minimize the drafter's per-step overhead, they quantize the drafter to INT4 using GPTQ. Furthermore, they equip the drafter with a symmetric Sliding-Window Attention (SWA) mechanism. This restricts the drafter’s attention to a local window of recent tokens, drastically reducing attention computation during long-context decoding.
Figure 2. Development pipeline. QAD produces an INT4 target model while preserving the quantization grid. The block-diffusion drafter is trained in two stages: first with the BF16 target and then with the INT4 target. After finetuning, the drafter is quantized and equipped with SWA for speculative decoding.

Datasets

  • Training & Distillation: Synthetic conversations generated by prompting the original Qwen3.5-4B model using samples from the Nemotron-Post-Training-Dataset-v2 (220K samples for Stage 1/QAD; 400K samples for Stage 2).
  • Validation: A subset of SciQ, BoolQ, PIQA, and HellaSwag to select the best training checkpoints.
  • Evaluation (Accuracy): MMLU-Pro, IFEval, and GPQA-Diamond (the official competition benchmarks).
  • Evaluation (Speed & Acceptance): GSM8K, HumanEval, and LongBench v2.

Key Insights and Ideas

  • Don't Change the Grid: Traditional QAD often alters quantization scales, which can break hardware-accelerated kernel support. Freezing the quantization grid and only distilling the weights is enough to fully recover accuracy.
  • The High-to-Low Drafter Pipeline: Training a drafter directly on a quantized target model yields poor token proposal alignment. Letting the drafter learn robust representations from a high-precision BF16 model before adapting to the quantized INT4 target distribution significantly improves the token acceptance rate.
  • SWA as a Noise Filter: In long-context scenarios, distant tokens can act as noise for a small drafter. Applying SWA doesn't just save compute; it actually maintains or improves draft-token acceptance lengths by forcing the drafter to focus on immediate context.

Key Results

The proposed method successfully satisfied all strict competition quality gates while delivering dramatic speedups:

  • Inference Speedup: Achieved a 6.978× average speedup over the unoptimized BF16 baseline on the competition leaderboard.
  • Latency Reduction: As shown in the ablation studies, short-context latency dropped from 2487ms to 624ms, while long-context (8192 tokens) latency was slashed from 5692ms to 2027ms on an RTX 5000 Ada GPU.
Incremental contribution of each optimization to Qwen3.5-4B inference speedup.
  • Accuracy Maintained: The QAD process successfully pushed the model back above the required quality thresholds, notably recovering the strict IFEval score from an unacceptable 0.804 (standard PTQ) to 0.828 (exceeding the $\ge$ 0.814 gate).

Limitations and Future Work

  • Hardware Evaluation Constraints: Due to local hardware unavailability, the authors had to perform their detailed ablation and end-to-end latency measurements on an NVIDIA RTX 5000 Ada Generation GPU rather than the competition's target NVIDIA A10G GPU (though their final leaderboard submission was validated on the A10G).
  • SWA Window Size Trade-offs: There is a strict lower bound on how small the drafter's attention window can go. Shrinking the window too far (e.g., to 512 or 256 tokens) severely degrades the draft token acceptance length, completely offsetting the computational savings of the cheaper attention mechanism. Bounding this trade-off dynamically remains an open area for improvement.

Summary updated

BibTeX
@misc{kim2026quantize,
  author = {Jaeyeon Kim and Jewon Lee and Bo-Kyeong Kim},
  title = {{Quantize the Target, Quantize the Drafter: Efficient Inference with Qwen3.5-4B}},
  year = {2026},
  eprint = {2607.04244},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.04244},
}
Figure