Feedback Shortcut: Speculative Decoding for Latent Feedback Transformers

Benhao Huang, Xuezhe Ma, Hector Liu

arXiv:2611.28227 · 2026-11-24 공개 · arXiv · PDF

speculative-decoding model-training transformer-decoding approximation-error pipelined-correction paloma-benchmark large-batch-decoding feedback-shortcut

Abstract

Feeding each position's top-layer hidden state back into the next position's input improves Transformer performance. However, this feedback breaks speculative decoding, since verifying a drafted token requires the top-layer state from its preceding position, which forces the draft to rely on an approximate stand-in. Training the model to adapt to this stand-in can lower the exact-decoding performance ceiling, while using it at inference time further introduces approximation error. We propose Feedback Shortcut to address both bottlenecks. First, state alignment trains a lightweight projection from multi-token prediction head states to stand-ins, leaving base model training untouched. Second, pipelined correction re-evaluates each draft using its predecessor's newly computed state, a much closer proxy to true feedback. Running this correction inside the verification pass of subsequent drafts improves accuracy with zero extra calls. Across 135M and 780M scales, Feedback Shortcut stays within $10^{-4}$ bits per byte of the exact-decoding ceiling on Paloma and accelerates decoding by 2.4-2.8x with about 2% more training compute than the latent feedback Transformer. At large batch sizes, skipping correction still preserves Transformer speed and over 80% of latent feedback's gains.

한국어 요약

한 줄 요약

Feedback Shortcut은 latent feedback Transformer의 decoding 속도를 2.4–2.8× 향상시키며 정확도 손실을 10⁻⁴ bits per byte 미만으로 유지하는 기법이다.

핵심 기여도

핵심 아이디어

기존 Transformer에서 토큰의 top-layer hidden state를 다음 입력으로 피드백하면 성능이 향상되지만, 이는 speculative decoding 과정에서 문제가 된다. 왜냐하면 draft 토큰 검증 시 이전 토큰의 상태가 필요하지만, 해당 상태는 아직 계산되지 않았기 때문이다. 이에 따라 대체 상태인 stand-in을 사용해야 하지만, 이는 정확도를 저하시키는 요인이 된다.

Feedback Shortcut은 이 문제를 해결하기 위해 **state alignment**와 **pipelined correction**을 결합한다. state alignment는 MTP head의 상태를 stand-in으로 매핑하는 경량 projection을 학습하여, 기존 모델 학습에 영향을 주지 않도록 설계되었다. pipelined correction은 다음 draft 검증 과정에서 이전 토큰의 새로 계산된 상태를 사용해 draft 토큰을 재평가함으로써 approximation error를 줄인다.

기술적 접근법

주요 결과

의의 및 한계

Feedback Shortcut은 latent feedback Transformer의 decoding 속도를 향상시키는 동시에 정확도 손실을 최소화함으로써, 실용적인 대규모 언어 모델 서비스에 유용한 기법이다. 특히, pipelined correction은 추가 호출 없이 정확도를 개선하는 점에서 혁신적이다.

그러나 대량 배치 시 correction 과정이 compute-bound가 되어 속도가 감소하는 한계가 있다. 또한, D=0 설정 시 feedback 성능의 80%만 유지되므로, 성능과 속도 간의 트레이드오프를 고려해야 한다.

실용적 활용

Feedback Shortcut은 대규모 언어 모델 기반의 실시간 서비스(예: 챗봇, 번역, 생성형 AI)에서 decoding 속도 향상과 정확도 유지가 필요한 상황에 적용 가능하다. 특히, 서버 부하가 높은 경우 D=0 설정으로 성능과 속도를 균형 있게 조절할 수 있다.