DNeo: Your Parallel Draft Model Needs Better Target Feature Encoding

Jameson Sandler, Shane Bergsma, Mostafa Elhoushi, Bin Claire Zhang, Gavia Gray, Joel Hestness, Nolan Dey, Ferdinando FiorettoarXiv 2026 · arXiv

TL;DR

DNeo is a new parallel draft architecture that accelerates LLM inference by up to 1.3x over current state-of-the-art methods like DFlash-2. By introducing a structure-preserving feature encoder (MoFA) and a "rejection memory" that learns from previously failed token proposals, DNeo significantly boosts draft quality and generation speed without increasing the model's computational footprint.

What Problem Does This Paper Address?

Speculative decoding is a popular technique to speed up Large Language Model (LLM) inference. It uses a small, fast "drafter" model to propose a sequence of tokens, which a large "target" model then verifies in parallel. The speedup depends entirely on Tokens Per Forward (TPF)—how many tokens the drafter gets right.

Recent "parallel drafters" (like DFlash and DSpark) generate multiple tokens in a single pass by conditioning on features from the target model. However, the authors identify three critical flaws in how these features are handled:

  1. Residual Mixing: Standard encoders use dense projections that "smear" features across dimensions, destroying the structured information inherent in a Transformer's residual stream.
  2. Memory-less Encoding: When a draft is rejected, the hidden states computed during that failed attempt are usually thrown away, even though they contain useful context.
  3. Suboptimal Layer Selection: Most models sample features uniformly from the target model's layers, ignoring the fact that some layers are far more predictive than others.

Methods

DNeo introduces several architectural innovations to solve these bottlenecks:

  • Mixture-of-Features Attention (MoFA): Instead of a dense projection matrix, MoFA uses a lightweight gating mechanism to create a weighted sum of target layers. This "structure-preserving" approach avoids residual mixing by ensuring that coordinates in the feature space aren't cross-contaminated.
  • Rejection Memory: This is perhaps the most novel addition. DNeo stores the hidden states of rejected draft tokens and allows the drafter to attend to them via cross-attention in the next round. This prevents the model from repeating the same "mistakes" and provides richer context for the next guess.
  • Non-Uniform Layer Selection: Through empirical analysis, the authors found that the later half of a target model contains the most useful signals for drafting. DNeo prioritizes these layers over the earlier, "identity-preserving" layers.
  • Fused DNeo Causal Head: It combines the global vocabulary correction of DSpark with the context-aware scoring of DFlash-2, providing better consistency across the draft block.
  • Prefix-Only Attention: To reduce latency, DNeo removes bidirectional self-attention within the draft block, relying instead on 2-tap convolutions and the causal head to maintain local consistency.
Figure 3: DNeo architecture. Target model (left) produces residual streams for the clean-prefix, and rejected positions. Streams are aggregated into prefix hidden states and rejection states (A). The most useful states are kept with the DNeo feature selector (B) (Section 4.5), then passed to the MoFA gate (C) (Section 4.1) to obtain the encoded prefix, and rejection memory (D) (Section 4.3). Parallel draft blocks perform cross-attention to the target features (E), utilize 2-tap convolutions (F), and finally apply the fused DNeo head (G) (Section 4.2) to produce the new draft.

Datasets

The authors trained DNeo using on-policy distillation on the Llama-Nemotron post-training dataset. For evaluation, they used a comprehensive suite of six benchmarks to test different capabilities:

  • Reasoning/Math: GSM8K, MATH-500
  • Coding: HumanEval, MBPP
  • Knowledge/Chat: GPQA, MT-Bench

The target model used throughout the experiments was Qwen3-4B.

Key Insights and Ideas

  • The "Residual Mixing" Discovery: The authors proved that the performance gap in previous encoders wasn't due to a lack of capacity, but rather the way they projected data. By simply restricting the encoding matrix to be coordinate-wise (no mixing), they achieved nearly the same gains as their complex MoFA gate.
  • Rejections are Valuable Context: In speculative decoding, the target model verifies the entire draft, meaning it calculates hidden states for rejected tokens anyway. DNeo realizes this is "free" information that can be used to steer the next round of drafting.
  • Later Layers Do the Heavy Lifting: The first few layers of a Transformer mostly preserve token identity. The "aha" moment here was realizing that the drafter's job is to predict the output of the target model, so it should focus on the target's final refinement layers.

Key Results

DNeo sets a new state-of-the-art for high-quality, fast LLM inference:

  • Speed: It achieves a 1.3x speedup over DFlash-2 and significantly outperforms autoregressive baselines like EAGLE-3.
  • Draft Quality: DNeo consistently achieves higher TPF across all benchmarks. For example, on MATH-500, it reaches a TPF of 5.37 compared to DFlash-2's 4.05.
  • Pareto Dominance: As shown in Figure 1, DNeo dominates the throughput-vs-speed frontier, maintaining high performance even as batch sizes increase.
Figure 1: H100 Inference speeds, with Qwen3-4B (b = 15) across six benchmarks (see Section 5.1), and batch-sizes B. DNeo dominates the speed Pareto frontier relative to autoregressive (EAGLE-3) algorithms and SoTA parallel algorithms (i.e., DFlash, DFlash-2, DSpark).

Limitations and Future Work

  • On-Policy Distillation: Training DNeo requires generating speculative roll-outs, which introduces a serial dependency during the training phase. While common in this sub-field, it is more complex than standard supervised fine-tuning.
  • Hidden Dimension Alignment: The current MoFA implementation assumes the drafter and target models have the same hidden dimension size. While the authors suggest a workaround for mismatched sizes, it hasn't been extensively tested in this paper.
  • Scaling Laws: The authors noted that while the trends are stable, a formal analysis of how parallel drafter performance scales with model size remains a task for future research.

Summary updated

Abstract

Speculative-diffusion decoding uses a small parallel drafter model to generate b draft tokens in one forward pass, which then undergo parallel verification via a larger target model. Faster inference can be achieved when multiple draft tokens pass verification simultaneously. Recent parallel draft architectures (DFlash, DSpark) improve draft quality by conditioning on rich features computed by the target, through a mechanism known as feature encoding. However, standard feature encoding mechanisms have three limitations: (1) they are lossy, applying encoding projections that are destructive to the underlying target feature-space via a discovered effect known as residual mixing, (2) they are memory-less, with no record of previously processed proposals, and (3) they utilize features sampled uniformly from across the target layers, omitting important hidden states. To address these issues, we propose Mixture-of-Features Attention (MoFA), a lightweight feature-encoding approach equipped with a working memory that encodes previously rejected proposals. Leveraging MoFA, rejection memory, and a set of further enhancements, including 2-tap causal convolutions, prefix-only cross-attention, and non-uniform target layer selection, the final architecture, DNeo, achieves 1.3x faster generation speed than SoTA (DFlash-2) without impacting drafter footprint or generation quality. DNeo marks a new state of the art in high quality, fast LLM inference.
BibTeX
@misc{sandler2026dneo,
  author = {Jameson Sandler and Shane Bergsma and Mostafa Elhoushi and Bin Claire Zhang and Gavia Gray and Joel Hestness and Nolan Dey and Ferdinando Fioretto},
  title = {{DNeo: Your Parallel Draft Model Needs Better Target Feature Encoding}},
  year = {2026},
  eprint = {2611.21925},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.21925},
}
Figure