NarrowSpec: 추측 디코딩에서 드래프트의 은닉 폭이 타깃과 일치할 필요는 없다
NarrowSpec: Draft Hidden Width Need Not Match the Target in Speculative Decoding
한국어 초록
추측 디코딩(speculative decoding)은 대규모 언어 모델(LLM)의 생성 속도를 높이기 위해 널리 사용되며, 작은 드래프트 모델이 토큰을 제안하고 타깃 모델이 한 번의 순전파로 이를 검증한다. DFlash와 EAGLE-3처럼 타깃의 은닉 상태를 읽는 드래프트 모델은 일반적으로 타깃의 은닉 폭을 그대로 물려받는다. 본 논문은 드래프트의 전체 잔차 스트림을 그 폭의 절반 또는 4분의 1로 운용해도 수용률을 대체로 유지할 수 있음을 보인다. 타깃의 어휘 투영을 빌려 쓰는 DFlash의 경우, 학습된 출력 어댑터가 이 투영에 합쳐져, 부동소수점 반올림 오차 범위 내에서 로짓이 변하지 않는 더 좁은 단일 투영이 만들어진다. 두 가지 드래프터 계열인 DFlash와 EAGLE-3를 두 가지 타깃인 Qwen3-8B(NVFP4)와 GPT-OSS-20B(MXFP4)에서, B200과 DGX Spark(GB10) 상의 SGLang으로 시험하였다. 배치 크기 1과 온도 0에서 드래프트를 절반 또는 4분의 1 폭으로 좁히면 종단 간 디코딩이 B200에서 1.06-1.12배, GB10에서 1.13-1.44배 빨라진다. 이 속도 향상은 더 큰 배치 크기에서도 유지된다. 배치 32부터 각 GPU가 수용할 수 있는 최대 배치까지, 폭을 좁히면 두 GPU 모두에서 최대 1.21배에 도달하며, 전체 폭보다 느린 좁은 드래프트는 없다.
원문 초록
Speculative decoding is widely used to speed up generation in large language models (LLMs), with a small draft model proposing tokens that one forward pass of the target model verifies. Draft models that read the target's hidden states, such as DFlash and EAGLE-3, typically inherit the target's hidden width. We show that the draft's whole residual stream can run at half or a quarter of that width while largely preserving acceptance. For DFlash, which borrows the target's vocabulary projection, the trained output adapter folds into it, giving one narrower projection with logits unchanged up to floating-point rounding. We test two drafter families, DFlash and EAGLE-3, on two targets, Qwen3-8B (NVFP4) and GPT-OSS-20B (MXFP4), in SGLang on a B200 and a DGX Spark (GB10). At batch size 1 and temperature 0, narrowing the draft to half or a quarter width speeds up end-to-end decoding by 1.06-1.12x on B200 and 1.13-1.44x on GB10. The speedup holds at larger batch sizes. From batch 32 to the largest batch each GPU fits, narrowing reaches up to 1.21x on both GPUs, and no narrow draft is slower than full width.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2611.23835v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.