Workspace IndexKnowledge Notes › Speculative decoding — a small model drafts, a big model checks

#256PoC

Speculative decoding — a small model drafts, a big model checks

Speculative decoding speeds generation by letting a small draft model propose tokens that a large model verifies in parallel, cutting latency with no change to the output distribution.

Not yet scoped.

Why

The PoC contrasts plain and speculative decoding on the same prompt and measures the latency win and its dependence on draft-model agreement.

How it works

Not yet built.

Where it lands in Jayverse

  • Number: if the research pipeline or the daily alice-tech report ever chains LLM calls, apply the draft-then-verify pattern. A fast cheap pass drafts, a slower pass checks, cutting latency without changing output quality.
  • Auditor: an anomaly or resolution-check pipeline that runs a fast flag model and a careful verify model is the same shape as speculative decoding. Measure the fast model's agreement rate before deciding it's worth running.

Key expressions

Words and phrases from this page worth keeping, with the Korean meaning and the sentence they come from.

Expression뜻 · 쓰이는 자리
draft (tokens)후보(초안)를 먼저 제시하다 · "a small draft model propose tokens"
verify in parallel병렬로 검증하다 · "a large model verifies in parallel"
cut latency지연 시간을 줄이다 · "cutting latency with no change to the output distribution"
no change to~에 변화가 없는 · "no change to the output distribution"
dependence on~에 대한 의존도 · "its dependence on draft-model agreement"

← All Knowledge Notes · Workspace Index · Top ↑

추측 디코딩 — 작은 모델이 초안을 쓰고 큰 모델이 검사한다

추측 디코딩은 작은 초안 모델이 토큰을 제안하고 큰 모델이 병렬로 검증하게 해 생성을 가속하며, 출력 분포를 바꾸지 않고 지연시간을 줄입니다.

아직 범위 미정.

이 PoC는 같은 프롬프트에서 일반 디코딩과 추측 디코딩을 대조해 지연시간 이득과 초안 모델 일치도에 대한 의존성을 측정합니다.

동작 방식

아직 만들지 않음.

Jayverse에서의 위치

  • Number: 리서치 파이프라인이나 매일의 alice-tech 리포트가 LLM 호출을 체인으로 연결하게 되면, draft-then-verify 패턴을 적용한다. 빠르고 저렴한 패스가 초안을 만들고 느린 패스가 검증해, 출력 품질을 바꾸지 않으면서 지연시간을 줄인다.
  • Auditor: 빠른 플래그 모델과 신중한 검증 모델을 함께 돌리는 이상 탐지나 정산 검증 파이프라인은 speculative decoding과 같은 구조다. 이를 도입할 가치가 있는지 판단하기 전에 빠른 모델의 합의율을 먼저 측정한다.

핵심 표현

이 페이지의 영어 본문에서 배울 만한 단어와 표현, 뜻과 나온 자리.

Expression뜻 · 쓰이는 자리
draft (tokens)후보(초안)를 먼저 제시하다 · "a small draft model propose tokens"
verify in parallel병렬로 검증하다 · "a large model verifies in parallel"
cut latency지연 시간을 줄이다 · "cutting latency with no change to the output distribution"
no change to~에 변화가 없는 · "no change to the output distribution"
dependence on~에 대한 의존도 · "its dependence on draft-model agreement"

← 전체 기술 노트 · 워크스페이스 인덱스 · 맨 위 ↑