arXiv:2512.15705v2 cs.DC

DREX로 올바르게 구현하는 배치 조기 종료 LLM 추론

Batched Early-Exit LLM Inference Done Right with DREX

Xuting Liu, Daniel Alexander, Jiaheng Lu, Siva Kesava Reddy Kakarla, Behnaz Arzani, Vincent Liu

제출 2026-11-13

한국어 초록

조기 종료(EE) LLM은 확신도가 높은 토큰이 모델의 깊은 층을 건너뛰게 하지만, 배치 서빙에서는 이 이득의 대부분이 사라진다. 현재의 시스템은 토큰이 자체 램프(ramp)가 확신하기 전에 종료하도록 강제하는데 이는 램프가 그 한계를 보장하지 않는 오류이거나, 디코딩이 가중치 대역폭에 묶여 있을 때 거의 아무것도 절약하지 못하는데 이는 계속 진행하는 토큰이 하나라도 있으면 해당 단계가 깊은 가중치를 읽기 때문이다. 우리는 토큰을 결코 강제로 종료시키지 않는 배치 EE 서빙 시스템 DREX를 제시한다. DREX는 반복 간 배칭(cross-iteration batching)을 도입한다. 종료 층을 지나 계속 진행하는 토큰은 그곳에서 대기하며, 몇 단계마다 대기 중인 모든 토큰에 대한 한 번의 깊은 패스가 여러 단계를 위해 깊은 가중치를 한 번 읽는다. 두 정책은 그러한 토큰의 요청이 하는 일에서 다르다. 보류(holding)는 깊은 패스까지 요청을 일시 중지시키고, 추측적 보류(speculative holding)는 종료 층 자체의 추측으로부터 계속 디코딩하게 하며 이를 다음 깊은 패스가 검증한다. 종료된 토큰은 신뢰되며 검증되지 않는다. 보정된 비용 모델을 사용하여 컨트롤러는 가중치 읽기가 한 단계를 지배하고 추측이 자주 맞는 곳에서는 추측적 보류를, 그 외에는 보류를 선택한다. DREX는 이전 단계의 종료 수로부터 각 깊은 패스를 계획함으로써 vLLM의 비동기 스케줄링을 유지한다. 토큰의 90%가 깊이의 4분의 1에서 종료하고 추측의 40%가 올바른 합성 종료 조건에서, DREX는 Llama-2-70B에서 배치 크기 전반에 걸쳐 비EE 대비 2.22-2.24$\times$의 디코딩 속도 향상을 달성하는 반면, 행 단위 건너뛰기(vSkipper의 설계)는 최대 7.0%의 이득에 그친다. LayerSkip 모델에서 DREX는 EE 모델 자체의 품질 손실에 통계적으로 구분되는 추가 손실을 더하지 않는다. 전체 메모리 조건의 CNN/DM에서 LayerSkip을 사용한 DREX는 1.58-1.91$\times$의 디코딩 속도 향상을 달성하면서 비EE 모델 대비 ROUGE-2 1.4점 이내를 유지한다. 이러한 속도 향상은 각 방법을 자체의 비EE 대상과 비교해 측정했을 때, 평가된 모델 크기 전반에서 EAGLE보다 9-63% 크다.

원문 초록

Early-exit (EE) LLMs let confident tokens skip a model's deep layers, but batched serving loses most of this gain. Current systems either force tokens to exit before their own ramp is confident, an error the ramp does not bound, or save almost nothing when decoding is weight-bound, because any continuing token makes a step read the deep weights. We present DREX, a batched EE serving system that never forces a token to exit. DREX introduces cross-iteration batching: tokens that continue past the exit layer wait there, and every few steps one deep pass over all waiting tokens reads the deep weights once for several steps. Its two policies differ in what such a token's request does: holding pauses it until the deep pass, and speculative holding lets it keep decoding from the exit layer's own guess, which the next deep pass verifies. Exited tokens are trusted and never verified. Using a calibrated cost model, a controller picks speculative holding where reading weights dominates a step and guesses are often right, and holding elsewhere. DREX keeps vLLM's asynchronous scheduling by planning each deep pass from exit counts of earlier steps. With synthetic exits where 90% of tokens exit at a quarter of the depth and 40% of guesses are correct, DREX achieves 2.22-2.24$\times$ decode speedup over non-EE across batch sizes on Llama-2-70B, while per-row skipping (vSkipper's design) gains at most 7.0%. On LayerSkip models, DREX adds no statistically resolved quality loss to the EE model's own. On CNN/DM at full memory, DREX with LayerSkip achieves 1.58-1.91$\times$ decode speedup while remaining within 1.4 ROUGE-2 points of the non-EE model. These speedups are 9-63% larger than EAGLE's across the evaluated model sizes, with each method measured against its own non-EE target.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2512.15705v2제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.