논문 해설
Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting
텍스트가 스스로를 가속하기: 세션 로컬 초안 작성에서의 최근성과 절제
- 연구 문제 Speculative decoding에서 KV cache 기반 verifier의 검증 비용이 낮아지면, draft 생성 비용이 속도의 병목이 됩니다.
- 연구 방법 학습 없이 프롬프트와 수락된 토큰만 보는 session-local drafter를 설계하고, 최근 일치 복사와 신뢰도 게이트의 효과를 분리해 비교합니다.
드래프트 비용이 병목이 되는 이유
Speculative decoding에서 verifier가 KV cache를 쓰면 검증 비용은 낮아집니다. 그러면 draft 토큰을 만드는 비용이 전체 속도를 좌우하게 됩니다. 이 논문은 학습 없이 프롬프트와 이미 생성된 텍스트만 보고 draft를 만드는 session-local drafter가 이 조건을 만족하는지 묻습니다. 학습된 draft 모델은 도메인이 바뀌면 성능이 떨어지므로, 학습이 필요 없는 방식이 대안이 됩니다.
Prompt lookup과 session memory의 동작
Prompt lookup decoding은 현재 시퀀스에서 정확히 일치하는 n-gram을 찾고, 그 뒤에 이어진 토큰을 복사해 draft로 씁니다. 이 논문은 일치 위치를 고르는 규칙만 다르게 하여 earliest 일치와 most recent 일치를 비교했습니다. Session memory는 감쇠된 카운트를 쓰는 가변 차수 n-gram 저장소이며, 가장 긴 일치 차수에서 백오프해 다음 토큰을 예측합니다. 신뢰도 κ는 일치 차수 점수와 정규화된 엔트로피의 보수를 곱해 정의되고, 게이트는 κ가 β=0.5 이상일 때만 draft를 사용합니다.

Table 1 : The session-local drafters compared. All draw only on the prompt and verifier-accepted tokens.
원문 · CC BY 4.0 · Antal van den Bosch · Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.속도에서 최근성이 가장 큰 요인인 이유
100토큰 생성에서 most recent 일치는 earliest 일치보다 일반 텍스트의 speedup을 +0.016에서 +0.027 높였습니다. 500토큰 생성에서는 격차가 커져 법률 텍스트에서 +0.084, 일반 텍스트에서 +0.089였습니다. Session memory는 most recent lookup보다 낮게 나왔고, 가중치와 백오프가 측정 가능한 추가 이득을 주지 않았습니다. 저자들은 긴 생성에서 최근 일치가 verifier의 현재 반복을 더 잘 가리키기 때문으로 해석합니다.

Table 2 : Prompt lookup decoding versus session memory, KV-cached Mistral-7B, 100-token generations, 100 prompts per domain. Speedup is the per-prompt ratio to plain decoding in the same session, mean with 95% bootstrap interval over prompts.recencyis most-recent minus earliest match (what recency alone buys);weighting is session memory minus most-recent lookup (what recency weighting and backoff add on top). ∗: interval excludes zero.
원문 · CC BY 4.0 · Antal van den Bosch · Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.
Table 5 : Accepted draft tokens per verifier step by po- sition within 500-token greedy generations (k= 5, 30 prompts per domain). Drafting value rises as the out- put accumulates, and the gap between most-recent and earliest-match lookup widens.
원문 · CC BY 4.0 · Antal van den Bosch · Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.에너지 절감과 게이트의 역할
에너지에서는 draft를 많이 제안하는 것이 유리하지 않았습니다. 중간 medical과 legal 텍스트에서 unselective drafter는 속도는 높였지만 평균 전력이 올라 100토큰당 에너지가 줄지 않았습니다. Gated session memory는 most recent lookup보다 100토큰당 2.7, 3.6, 3.9 J를 덜 사용했습니다. 3-token floor 조회도 비슷한 절감을 보였습니다. 이는 짧은 문맥에서 draft를 자제하는 규칙이 핵심이라는 해석과 맞습니다.

Table 3 : 500-token generations, k= 5 , 30 prompts per domain. Acceptance is per proposed token;abstainis the share of draft calls that proposed nothing; tokens per step counts verifier calls. The gate raises acceptance by abstaining, which lowers tokens per step and speed.
원문 · CC BY 4.0 · Antal van den Bosch · Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.
Table 6 : Energy in joules per 100 generated tokens (CPU+GPU+ANE power integrated over each generation; mean over prompts).Abstainis the mean share of draft calls that proposed nothing. ∗: paired difference from gated session memory has a 95% bootstrap interval excluding zero. A 3-token order floor on lookup comes within 1 J of gated session memory in every column.
원문 · CC BY 4.0 · Antal van den Bosch · Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.반복 패널티 조건에서의 결과
verifier의 자기 반복이 긴 생성의 속도 향상을 크게 만들었는지 확인하기 위해 θ=1.2 반복 패널티를 적용했습니다. 이 조건에서 모든 drafter의 500토큰 speedup은 1.08에서 1.16 사이로 줄었습니다. 그래도 most recent lookup은 earliest lookup보다 앞섰습니다. 법률 텍스트에서 3-token floor는 평소 디코딩보다 100토큰당 4.4 J를 절감했습니다.

Table 4 : 500-token generations with a repetition penalty ( θ=1.2) on the verifier, k= 5 , 30 prompts per domain, against greedy decoding. The penalty lowers the share of positions in the last 100 tokens whose preceding 4-gram occurred earlier from 81% to 28% (legal) and from 84% to 44% (general). Energy in joules per 100 tokens; ∗: paired saving over plain decoding with a 95% bootstrap interval excluding zero.
원문 · CC BY 4.0 · Antal van den Bosch · Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.Greedy 출력과의 일치
100토큰 생성 2,700개 가운데 2,539개, 즉 94.0%가 greedy 디코딩과 토큰 단위로 같았습니다. 불일치 47개 지점은 verifier의 상위 두 후보 logit 차이가 최대 0.023이었습니다. 중간값은 0이었고, 전체 생성 위치의 중간 차이 3.0과 비교하면 매우 작았습니다. 따라서 저자들은 불일치를 수치적 동점으로 해석합니다. float32 재실행은 메모리 제약으로 수행하지 않았습니다.

Table 7 : Exact token agreement between speculative output and greedy decoding (2,700 100-token genera- tions). The 47 distinct divergence points have a top-two logit margin of at most 0.023 (median 0.0) against a median of 3.03 over all generated positions; in 45 of 47 the speculative token is the reference’s runner-up.
원문 · CC BY 4.0 · Antal van den Bosch · Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.실험 범위의 한계
모든 측정은 Mistral-7B 하나의 verifier와 하나의 소비자용 플랫폼에서 이루어졌습니다. 샘플링 디코딩은 검증하지 않았고 greedy 디코딩만 사용했습니다. Session memory는 호출마다 저장소를 다시 만들어 누적 비용이 출력 길이에 대해 제곱으로 늘어납니다. 에너지 수치는 전체 시스템과 특정 하드웨어에 묶인 값이므로 플랫폼 간 절대 비교로 쓸 수 없습니다.
논문 정보
- 저자
- Antal van den Bosch
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2026년 11월 14일
- 등록일
- 2026년 11월 17일
- 수정일
- 2026년 11월 14일
- 버전
- v1
- arXiv
- 2611.19455
- 분류
- cs.CL
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
Speculative decoding lets a cheap draft model propose tokens that a large language model verifies in a single forward pass. When the verifier keeps a KV cache, verification is cheap and drafting must be nearly free. Session-local drafters, which predict from the prompt and the text generated so far, meet that bar without training. We compare a recency-weighted, backing-off, confidence-gated session memory against prompt lookup decoding in its reference form, which copies from the earliest earlier match, and in a variant that copies from the most recent one, with paired per-prompt bootstrap intervals throughout. On general, medical, and legal text with a Mistral-7B verifier, recency accounts for the speed: most-recent lookup gains up to 0.09 in speedup over earliest-match lookup on 500-token generations, and session memory's weighting and backoff add nothing measurable on top, at 30 to 40 times the drafting cost. Energy tells a different story. On medical and legal text, unselective drafters are 14% faster than plain decoding yet use as much energy per token, while drafters that abstain on weak evidence save 3 to 4 joules per 100 tokens; a three-token minimum match length on prompt lookup matches the confidence-gated session memory. Outputs are token-identical to greedy decoding in 94% of generations, with every divergence at a numerical near-tie. Under a repetition penalty, long-generation speedups shrink from 1.4-1.7x to 1.1-1.2x, but recency still helps and the length floor is the only drafter that saves energy in both domains.
원문 인용
Antal van den Bosch (2026). Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting. arXiv:2611.19455v1. https://arxiv.org/abs/2611.19455v1
BibTeX
@misc{bosch2026text,
title = {{Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting}},
author = {Antal van den Bosch},
year = {2026},
eprint = {2611.19455},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.19455v1}
}