DNeo:并行草稿模型需要更好的目标特征编码
DNeo: Your Parallel Draft Model Needs Better Target Feature Encoding
DNeo 通过 Mixture-of-Features Attention(MoFA)改进并行草稿模型的目标特征编码,生成速度比 SoTA(DFlash-2)快 1.3x,且不增加草稿模型占用、不影响生成质量。MoFA 带有可编码此前被拒提案的工作记忆,并配合 2-tap 因果卷积、仅前缀交叉注意力和非均匀目标层选择。该架构针对标准特征编码有损、无记忆、目标层特征均匀采样三项局限。
arXiv:2611.21925v1 Announce Type: new 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org