DNeo: Your Parallel Draft Model Needs Better Target Feature Encoding

arXiv:2611.21925 · 2026-11-18 공개 · arXiv · PDF

llm-inference speculative-decoding working-memory dflash feature-encoding causal-convolutions mixture-of-features dneo

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.

한국어 요약

한 줄 요약

DNeo는 기존의 feature encoding 방식의 한계를 개선하여 1.3× 빠른 LLM 추론 속도를 달성한 병렬 드래프트 아키텍처이다.

핵심 기여도

핵심 아이디어

DNeo는 병렬 드래프트 모델이 생성한 토큰을 검증하는 대상 모델의 특성을 더 정확하게 반영하기 위해, 기존 feature encoding 방식의 세 가지 주요 문제점을 해결한다. 첫째, residual mixing 문제는 기존의 dense projection이 target model의 잠재 공간을 파괴하여 유용한 정보를 잃게 만든다. 이를 해결하기 위해 MoFA(Mixture-of-Features Attention)를 도입하여, target model의 여러 층을 가중치로 결합하는 방식으로 정보 손실을 줄인다. 둘째, memory-less한 인코딩은 이전에 거부된 제안의 정보를 무시하는 문제를 해결하기 위해 rejection memory를 도입하여, 이전 제안의 잠재 상태를 cross-attention을 통해 활용한다. 셋째, uniform layer selection은 target model의 모든 층을 동일하게 사용하는 대신, DNeo는 후반부 층에 더 많은 가중치를 주는 non-uniform selection 전략을 채택하여 더 의미 있는 정보를 추출한다.

기술적 접근법

주요 결과

의의 및 한계

DNeo는 병렬 드래프트 모델의 feature encoding 방식을 재정의하여, 기존의 lossy, memory-less, uniform layer selection 문제를 해결함으로써, LLM 추론 속도를 향상시키는 새로운 기준을 제시한다. 특히, rejection memory와 non-uniform layer selection은 기존 연구에서 거의 다루어지지 않았던 중요한 통찰을 제공하며, 병렬 모델 아키텍처 연구의 발전에 기여한다. 그러나 DNeo는 특정 모델(Qwen3-4B)에서의 성능 향상만 보여주었으며, 다른 모델이나 작업 환경에서의 일반화 가능성은 추가 연구가 필요하다. 또한, 복잡한 attention 메커니즘과 memory 관리가 추가적인 메모리 사용량을 유발할 수 있다는 점도 한계로 지적된다.

실용적 활용

DNeo는 대규모 언어 모델의 실시간 추론이 필요한 산업, 예를 들어 챗봇, 고객 지원 시스템, 실시간 번역 서비스 등에서 빠른 응답 속도와 품질을 동시에 달성할 수 있는 기술로 활용 가능하다. 특히, 고성능 서버 환경에서 병렬 처리가 필요한 대량의 요청 처리 시, DNeo는 처리량과 속도를 동시에 개선하는 데 유용할 것으로 기대된다.