# FACT tests accepted tokens against decoding speed
> Accepted text and elapsed generation time measure different outcomes.
By BIGCHANGE.AI Editorial
Published: 2026-11-21T01:32:37.833Z
Updated: 2026-11-21T01:32:37.833Z
Canonical: https://bigchange.ai/blog/fact-decoding-study

AI-generated conceptual illustration for BIG CHANGE.
Hadi Fares and colleagues describe FACT in a November 17 preprint studying whether better drafting speeds up language-model generation.
## The big change
- Speculative decoding lets a faster draft model propose text that a larger target checks. Accepted guesses can reduce serial target calls, but making and checking those guesses still consumes time and computation.
- FACT holds candidate counts fixed at every depth while changing their placement. Its speed gains depend on execution conditions even when accepted progress stays unchanged.
- A useful timing result has to include the work being claimed. Accelerator operations can run asynchronously, and initialization and thread settings affect comparisons; accepted-token counts alone are a different measurement from elapsed time.
## Why useful guesses still have a cost
Leviathan, Kalman and Matias’s original paper explains the mechanism. A cheaper model drafts several tokens, the pieces of text a model processes. The target evaluates the proposed continuation in parallel, accepts a valid prefix and supplies a correction or additional token. The acceptance rule preserves the target’s output probabilities under exact arithmetic. Greedy decoding selects the single most likely next token.
This reduces sequential target calls by spending extra computation concurrently. The paper’s timing analysis explicitly includes the draft model’s cost and assumes enough resources for parallel target evaluation. For a simple illustrative iteration, accepting two draft tokens and adding a target token advances three tokens; accepting three advances four. That is one-third more progress, before accounting for any change in the iteration’s duration.
## What FACT holds fixed
The tests use frozen Llama-3-8B-Instruct on one NVIDIA H100, bfloat16 arithmetic, greedy decoding and a 128-token output cap, with eight host threads. Bfloat16 is a 16-bit floating-point format. Timing includes prompt processing but excludes model loading.
For 50 HumanEval coding prompts, the scaled feature-prediction drafter uses 256 candidates over four steps, with matched counts at every step. Dynamic allocation ranks continuations by cumulative draft confidence, rather than fixed branch quotas. Static allocation takes 12.47 milliseconds per generated token, versus 8.93 for dynamic allocation.
A separate five-repeat test campaign changes the host-thread cap from eight to 208. HumanEval’s speedup over autoregressive decoding falls from 1.99× to 0.98×, slightly below baseline, despite identical tokens advanced per target call.
Bfloat16 agreement is imperfect; the preprint establishes neither identical outputs, equal output quality nor general gains for sampling, long outputs or batched serving.
## Longer drafts can spend the gain they create
DeepMind’s 2023 speculative-sampling study examines the trade-off. Its Chinchilla 70B experiments use a faster 4B draft model on 16 TPU v4 devices. Increasing the draft length reduces how often the large model must score a continuation, but adds draft-model calls and somewhat more scoring work to each loop.
Later proposed tokens are useful only if the earlier continuation survives acceptance. That dependence makes efficiency fall as lookahead grows. In the study’s batch-one XSum summarization experiment with nucleus sampling (p=0.8), which samples from a probability-selected group of likely tokens, the lowest tested latency occurs at three draft tokens. Longer drafts can also increase variation in full-generation time. This is a result for that study’s configuration, rather than a universal draft-length setting.
The same paper reports that spreading a smaller model over more devices can increase communication overhead enough to worsen its latency.
## Measure the whole claimed improvement
PyTorch’s benchmark documentation gives a useful account of what timing entails. Its Timer performs warmups because some runtime components initialize lazily, controls the thread pool for comparisons and synchronizes asynchronous accelerator work when needed. Without waiting for accelerator completion, a clock can measure the host’s dispatch of work instead of the full operation being assessed.
The documentation also emphasizes repeated measurements to quantify variation. A fast isolated operation and a faster complete generation loop are different claims: timings need a clear start, end and workload. For a developer evaluating a proposed decoder, preserving the model, prompts, numerical precision and execution settings while changing the intended factor makes the comparison interpretable. Measuring the complete loop then reveals whether useful accepted text outweighs the extra work required to obtain it. These are evaluation principles, not newly measured results.
## Sources
- [FACT v1](https://arxiv.org/html/2611.23463v1) — Allocation, execution and numerical limitations.
- [Original speculative decoding](https://proceedings.mlr.press/v202/leviathan23a/leviathan23a.pdf) — Draft verification, token progress and computation costs.
- [Original speculative sampling](https://arxiv.org/html/2302.01318) — Draft-length and hardware trade-offs in its reported setting.
- [PyTorch benchmark documentation](https://docs.pytorch.org/docs/main/utils/benchmark.html) — Warmups, accelerator synchronization, thread control and repeated timings.
- [Bfloat16 format](https://docs.pytorch.org/docs/main/tensor_attributes.html) — 16-bit arithmetic definition.
The BIG CHANGE newsletter
The big picture. At your pace.
Recent stories on AI and robotics, the shifts worth watching and practical ideas to use. Choose a daily briefing, weekly digest or monthly perspective.
Next scheduled send (UTC): . Your first edition arrives at the next scheduled send after you confirm.
Your privacy, your choice.
Necessary storage supports site security and remembers your choices. Optional Google Analytics stays off until you allow it. You can read every story with necessary storage only. Privacy details