[논문 리뷰] ConFu: Contemplate the Future for Better Speculative Sampling
ConFu는 미래 지향적 contemplate 토큰과 다이나믹 MoE 기반 프롬프트를 도입하여 초안 토큰을 안내하고, EAGLE-3 대비 작업 및 모델 규모 전반에서 speculative decoding의 수용률과 속도를 개선한다.
Speculative decoding has emerged as a powerful approach to accelerate large language model (LLM) inference by employing lightweight draft models to propose candidate tokens that are subsequently verified by the target model. The effectiveness of this paradigm critically depends on the quality of the draft model. While recent advances such as the EAGLE series achieve state-of-the-art speedup, existing draft models remain limited by error accumulation: they condition only on the current prefix, causing their predictions to drift from the target model over steps. In this work, we propose extbf{ConFu} (Contemplate the Future), a novel speculative decoding framework that enables draft models to anticipate the future direction of generation. ConFu introduces (i) contemplate tokens and soft prompts that allow the draft model to leverage future-oriented signals from the target model at negligible cost, (ii) a dynamic contemplate token mechanism with MoE to enable context-aware future prediction, and (iii) a training framework with anchor token sampling and future prediction replication that learns robust future prediction. Experiments demonstrate that ConFu improves token acceptance rates and generation speed over EAGLE-3 by 8--11% across various downstream tasks with Llama-3 3B and 8B models. We believe our work is the first to bridge speculative decoding with continuous reasoning tokens, offering a new direction for accelerating LLM inference.
연구 동기 및 목표
- L2M 속도에 따른 샘플링 품질 손실 없이 speculative decoding을 통해 LLM 추론 가속을 목표로 한다.
- 현재 접두사에만 의존하는 초안 모델에서의 오차 누적 문제를 다룬다.
- 대상 모델의 궤적과의 정렬성을 개선하기 위한 미래 지향적 메커니즘을 제안한다.
제안 방법
- 대상 모델로부터 미래 지향적 신호를 거의 비용 없이 노출하는 contemplate 토큰과 소프트 프롬프트를 도입한다.
- 맥락에 맞게 contemplate 토큰을 조정하기 위해 Mixture-of-Experts (MoE)를 이용한 다이나믹 contemplate 토큰 메커니즘을 구현한다.
- anchor 토큰 샘플링과 미래 예측 재현으로 robust한 미래 예측 학습을 통해 ConFu를 훈련시킨다.

실험 결과
연구 질문
- RQ1 contemplate 토큰과 소프트 프롬프트가 대상 모델로부터 draft 모델에 유용한 미래 방향 신호를 제공할 수 있는가?
- RQ2다이나믹 MoE 기반 contemplate 토큰이 미래 예측 및 다양한 작업에서 초안 토큰 수용을 개선하는가?
- RQ3ConFu의 수용률 및 속도 향상이 서로 다른 LLaMA3 대상 모델과 디코딩 설정에 대해 최첨단 EAGLE-3에 비해 어떤 차이를 보이는가?
- RQ4온도, 초안 트리 예산, 작문, QA, 요약, 번역, 코딩 및 수학/추론과 같은 작업 범주에서 성능 향상이 일관된가?
주요 결과
- ConFu는 Llama-3 3B 및 8B 모델에서 작업 전반에 걸쳐 EAGLE-3 대비 평균 8-11%의 토큰 수용률과 디코딩 속도 향상을 달성한다.
- 디코딩 구성, 온도 및 초안 트리 예산(30 또는 60 노드)에서 성능 향상이 견고하다.
- MoE를 통한 다이나믹 contemplate 토큰과 미래 예측 재현이 평균 허용 길이 및 속도 증가에 기여한다.
- 더 낮은 온도에서 ConFu의 상대적 이점이 더 크며, 이는 목표 분포가 더 예측하기 쉬워 미래 방향을 더 잘 맞추기 때문 이다.
- 절삭 비교에서 MoE 기반 동적 contemplate 토큰과 재현은 정적 contemplate 설정에 비해 추가 이점을 제공한다.

이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.