potentialpaper

Test-Time Speculation

Avinash Kumar, sujay sanghavi, Poulami Das

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We propose Test-Time Speculation (TTS), a method that accelerates speculative decoding by using the target model's feedback from the token verification step as a free training signal to continuously adapt the draft model during generation.

Abstract. Speculative decoding accelerates LLM inference by using a fast draft model to generate tokens and a more accurate target model to verify them. Its performance depends on the acceptance length, or number of draft tokens accepted by the target. Our studies show that the acceptance length of even state-of-the-art speculators, like DFlash, EAGLE-3 and PARD degrade with generation length, reaching values close to 1 (i.e. no speedup) within just a few thousand output tokens, making speculators ineffective for long-response tasks. Acceptance lengths decline because most speculators are trained offline on short sequences, but are forced to match the target model on much longer outputs at inference, well beyond their training distribution.

To address this issue, we propose Test-Time Speculation (TTS), an online distillation approach that continuously adapts the speculator at test-time. TTS leverages the key insight that the token verification step already invokes the target model for each draft token, providing the training signal needed to adapt the draft at no additional cost. Treating the draft as the student and the target as a teacher, TTS adjusts the draft over several speculation rounds, with each update improving the draft's accuracy as generation proceeds. Our results across ten models from the Qwen-3, Qwen-3.5, DeepSeek-R1, GPT-OSS, MiniMax, and Llama3.1 families show that TTS improves acceptance lengths over state-of-the-art speculators by up to 72% and 41% on average, with the benefits scaling with generation lengths.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
3 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:47 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

(a) The paper studies the decline in speculative-decoding acceptance length over long generations and proposes Test-Time Speculation (TTS), which adapts the draft model online using target-model distributions already computed during verification. The method applies distillation updates within each request, with strided updates and asynchronous execution used to reduce overhead. Across DFlash- and EAGLE-3-based systems, several model families, and eight long-output benchmarks, TTS substantially improves acceptance length and, in the settings reported, wall-clock throughput.

(b) The paper’s main strengths are the clear identification of a relevant degradation pattern, the simplicity of the central idea, and the breadth of the evaluation across models, tasks, and two speculator architectures. The analysis of draft–target divergence is useful, and the systems work needed to integrate online updates into an inference stack is nontrivial. The reviewers generally agree that the method is intuitive, the results are strong, and the paper is clearly presented.

(c) The main weakness is that the paper does not establish that online per-request adaptation is either necessary or practical. The most important missing comparison is an offline long-context adaptation baseline. Without it, the results do not separate the value of test-time learning from the simpler possibility that the draft models were not adequately trained for long outputs. The paper also lacks direct comparison with long-context speculative-decoding methods such as LongSpec, OWL, and RAPID. The deployment case is also incomplete. TTS appears to require request-specific evolving drafter states, gradients, and optimizer state, raising substantial questions about memory, continuous batching, concurrency, and end-to-end throughput under realistic serving loads. The reported throughput results do not address these concerns. Finally, the claim that short-sequence training is the main source of degradation is plausible but not established; a controlled comparison across training context lengths would be needed to substantiate it.

(d) The response could change my assessment, but only if it resolves the central empirical and systems questions. I would need to see an offline long-context adaptation baseline showing a meaningful advantage for TTS beyond simply training the drafter on appropriate data; either direct comparisons with the main long-context alternatives or a well-supported explanation of why they are not comparable; and experimental evidence on concurrent requests, continuous batching, request-specific memory and optimizer costs, and net throughput across realistic batch sizes and request-length distributions. Clarification alone would not be sufficient on the first and third points, since the paper’s practical inference-acceleration claims depend on them.

Final justification

(e) The authors responded well to the main concerns. In particular, they added strong empirical evidence that TTS remains useful with long-context-trained speculators and on top of LongSpec, and they directly evaluated the submitted full-parameter method under continuous batching and increasing concurrency. Most reviewers found these additions sufficient; one reviewer continues to question the practical complexity and whether some rebuttal-stage variants should count toward the submission, but the core empirical concerns about the submitted method were substantially addressed.

(f) The paper identifies an important failure mode of speculative decoding, proposes a simple and effective response, and backs it with a strong empirical evaluation. The rebuttal materially strengthens the case: the gains persist for long-context-trained speculators, compose with LongSpec, and translate into throughput improvements for the submitted method under concurrent serving. The ShareGPT citation is incorrect, but this is an easy bibliographic fix and should not affect the decision.

Area Chair NeR1 · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

(a) The paper studies the decline in speculative-decoding acceptance length over long generations and proposes Test-Time Speculation (TTS), which adapts the draft model online using target-model distributions already computed during verification. The method applies distillation updates within each request, with strided updates and asynchronous execution used to reduce overhead. Across DFlash- and EAGLE-3-based systems, several model families, and eight long-output benchmarks, TTS substantially improves acceptance length and, in the settings reported, wall-clock throughput.

(b) The paper’s main strengths are the clear identification of a relevant degradation pattern, the simplicity of the central idea, and the breadth of the evaluation across models, tasks, and two speculator architectures. The analysis of draft–target divergence is useful, and the systems work needed to integrate online updates into an inference stack is nontrivial. The reviewers generally agree that the method is intuitive, the results are strong, and the paper is clearly presented.

(c) The main weakness is that the paper does not establish that online per-request adaptation is either necessary or practical. The most important missing comparison is an offline long-context adaptation baseline. Without it, the results do not separate the value of test-time learning from the simpler possibility that the draft models were not adequately trained for long outputs. The paper also lacks direct comparison with long-context speculative-decoding methods such as LongSpec, OWL, and RAPID. The deployment case is also incomplete. TTS appears to require request-specific evolving drafter states, gradients, and optimizer state, raising substantial questions about memory, continuous batching, concurrency, and end-to-end throughput under realistic serving loads. The reported throughput results do not address these concerns. Finally, the claim that short-sequence training is the main source of degradation is plausible but not established; a controlled comparison across training context lengths would be needed to substantiate it.

(d) The response could change my assessment, but only if it resolves the central empirical and systems questions. I would need to see an offline long-context adaptation baseline showing a meaningful advantage for TTS beyond simply training the drafter on appropriate data; either direct comparisons with the main long-context alternatives or a well-supported explanation of why they are not comparable; and experimental evidence on concurrent requests, continuous batching, request-specific memory and optimizer costs, and net throughput across realistic batch sizes and request-length distributions. Clarification alone would not be sufficient on the first and third points, since the paper’s practical inference-acceleration claims depend on them.

Final justification

(e) The authors responded well to the main concerns. In particular, they added strong empirical evidence that TTS remains useful with long-context-trained speculators and on top of LongSpec, and they directly evaluated the submitted full-parameter method under continuous batching and increasing concurrency. Most reviewers found these additions sufficient; one reviewer continues to question the practical complexity and whether some rebuttal-stage variants should count toward the submission, but the core empirical concerns about the submitted method were substantially addressed.

(f) The paper identifies an important failure mode of speculative decoding, proposes a simple and effective response, and backs it with a strong empirical evaluation. The rebuttal materially strengthens the case: the gains persist for long-context-trained speculators, compose with LongSpec, and translate into throughput improvements for the submitted method under concurrent serving. The ShareGPT citation is incorrect, but this is an easy bibliographic fix and should not affect the decision.

1 comment
Reviewer arnx · CommentOpenReview ↗

For the AC’s consideration, after reviewing the full rebuttal and discussion, I will maintain my original score (2: Reject). My concern is that the rebuttal switches among three substantially different operating regimes to address different weaknesses, but no single version is simultaneously novel, practical, and broadly applicable.

The original within-request full-parameter TTS preserves the paper’s main novelty, but it requires request-specific weights, gradients, and optimizer states, with memory growing linearly with the number of active requests. Its deployment further depends on a bespoke stacked-weight batching implementation, and its main benefits are limited to very long generations. The rebuttal demonstrates feasibility in a narrow fixed-concurrency setting, but does not establish practicality for general dynamic serving workloads.

For short requests, the authors instead introduce cross-request adaptation, but this mode assumes short and homogeneous traffic. In practice, the completion length and future traffic composition are not known in advance, and real request streams are typically heterogeneous. Once adaptation persists across requests, the method also inherits the central history dependence and domain-interference concerns of OSD. Differences in the replay buffer or loss function do not remove this conceptual overlap.

Finally, Prefix-TTS substantially changes the trainable state, architectural hook, memory behavior, and batching mechanism. I therefore do not consider it merely an implementation optimization of the submitted method. It is a new rebuttal-stage method that directly addresses the main weakness of full TTS.

Overall, the responses present different variants for different scenarios rather than resolving the limitations of the method as submitted. For this reason, I do not believe a score increase is warranted.

Reviewer arnxOpenReview ↗
Rating
2/6
Confidence
4/5
Quality
2/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies the degradation of speculative decoding acceptance length as generation progresses in long-output settings. The paper attributes this phenomenon to the fact that draft models are typically trained offline on relatively short sequences but are required at inference time to operate on generation trajectories far beyond their training distribution. To address this issue, the paper proposes Test-Time Speculation (TTS). The method reuses the target-model distributions already computed during speculative verification, treating the target model as the teacher and the drafter as the student, and performs online distillation of the drafter during generation. After each verification round, TTS updates the drafter using the target distributions over the current draft canvas, together with a regularization term that prevents the updated drafter from deviating excessively from its pre-update state. To reduce the overhead of online backpropagation, the authors further use periodic rather than per-step updates and an independent CUDA stream to overlap part of the model update with subsequent generation. Experiments show that TTS improves acceptance length across multiple models, tasks, and both DFlash- and EAGLE-3-based drafters, and improves end-to-end throughput in some settings.

Strengths and weaknesses

Strengths

  1. The method is intuitive and reuses supervision already available during verification.
  2. The experiments cover a relatively broad range of settings.

Weaknesses

  1. The most significant issue is that the method appears to have very limited deployability in realistic serving environments. TTS continuously updates the drafter during the generation of an individual request. In principle, different concurrent requests would therefore require different drafter parameter states. When an optimizer such as Adam is used, each request may additionally require its own gradients and optimizer states. For drafters such as EAGLE-3 or DFlash, which are not extremely small models, maintaining an independent copy for every active request is likely to introduce prohibitive memory and system overhead under high-concurrency serving.
  2. This issue fundamentally conflicts with continuous batching, which is widely used in modern LLM serving systems. Continuous batching dynamically groups requests at different generation stages into the same batch, whereas under TTS, the drafter weights associated with each request evolve independently according to that request’s own trajectory. These requests therefore cannot directly share a single batched drafter forward pass. The current experiments primarily demonstrate effectiveness along an individual generation trajectory, but the paper does not explain how the method would support multi-request batching, nor does it provide memory, throughput, or scheduling results under concurrent workloads. For a paper centered on practical inference acceleration, this is a core omission rather than a minor engineering detail.
  3. The current throughput experiments are insufficient to support claims about practical deployment. The paper reduces the update frequency and uses an independent CUDA stream to hide part of the backward-pass overhead. However, this only shows that online updates may be partially overlapped under a particular single-request or low-concurrency setting. It does not account for the cost of storing request-specific parameters, optimizer states, and intermediate activations for multiple requests. It also does not evaluate performance as a function of batch size, concurrency level, or dynamically arriving and departing requests. The current results therefore do not demonstrate that TTS would retain an end-to-end benefit under realistic serving workloads.
  4. The diagnosis of acceptance-length degradation remains incomplete. The paper primarily attributes the degradation to a distribution mismatch caused by training the drafter on short sequences while applying it to long generations. Although the experiments show that draft–target divergence increases with generation length, this alone does not establish short-context training as the principal cause. Other factors, such as positional-encoding extrapolation, changes in the distribution of target hidden states, or error accumulation during drafting, could produce similar behavior. A more convincing validation would compare drafters of the same architecture and training domain trained with different maximum sequence lengths.
  5. The value of the method may be limited for short-output requests. The reported results suggest that the primary benefit of TTS emerges only after generation has progressed for a substantial number of tokens. In practice, however, serving workloads often contain a large proportion of short requests. For these requests, the additional complexity and overhead of online updates may not be amortized by later improvements in acceptance length. The paper does not evaluate the overall benefit under a realistic request-length distribution.
Questions
  1. With (N) concurrent requests, how do the authors plan to maintain the independently evolving drafter associated with each request? Does each request require a complete copy of the model parameters, gradients, and optimizer states? Please provide the additional memory cost for different drafter architectures and concurrency levels.
  2. How can TTS be made compatible with continuous batching? When requests in the same batch correspond to different drafter parameters, how can the authors perform a batched drafter forward pass without reducing execution to separate per-request forwards?
  3. Under what concurrency level and effective batch size were the throughput results in the paper measured? How does the end-to-end throughput of TTS relative to the original DFlash or EAGLE-3 change as the number of concurrent requests increases?
  4. Are the updates completely reset between requests? If they are reset, short requests may not accumulate sufficient training signal. If updates are shared across requests, how do the authors prevent interference between different tasks and generation trajectories?
Limitations

No. The biggest limitation of this article is that it does not discuss how to deploy this system in a high-concurrency scenario. When batch size > 1, there are more than one drafters, then how can this method be deployed?

Formatting concerns

Not found.

10 comments
Authors · CommentOpenReview ↗

Response to Reviewer arnx [Part 4 of 4]

Q-4) Whether adaptation is reset between requests, and the implications for short requests and cross-request interference.
R-4) By default, TTS does not perform any cross-request adaptation and adaptation is reset between requests. We emphasize that the highest-value setting for TTS is the long-response regime that characterizes practical applications such as AI coding, autonomous SWE agents, deep-research, and report-generation pipelines.

However, as correctly noted by the reviewer the benefits of TTS grow with more adaptation steps, thus, requests that terminate very early accumulate fewer adaptation updates. For cases where the request stream is composed of short but homogeneous requests, TTS can be optionally modified to carry adaptation across requests. This allows TTS to accumulate training signals across the whole stream, effectively treating it as one long request rather than a series of short, independent ones. Table-15 shows the improvement of TTS for short-output benchmarks. We note that while the improvement with TTS is limited in the case where adaptations are only performed within the request, the cross-request variant improves performance by up to 19.3%.

Table-15: Mean acceptance length of EAGLE-3 on Llama3.1-8B.

Benchmark EAGLE-3 TTS (within-request, default) TTS (cross-request)
HumanEval 3.128 3.400 (+8.7%) 3.732 (+19.3%)
GSM8K 2.922 3.023 (+3.5%) 3.433 (+17.5%)
ShareGPT 2.725 2.883 (+5.8%) 3.186 (+16.9%)
CNN/DM 2.381 2.407 (+1.1%) 2.760 (+15.9%)

[1] “Fast inference from transformers via speculative decoding”, ICML 2023
[2] “Medusa: Simple llm inference acceleration framework with multiple decoding heads”, ICML 2024
[3] “Eagle-3: Scaling up inference acceleration of large language models via training-time test.”, NeurIPS 2026
[4] “DFlash: Block Diffusion for Flash Speculative Decoding”, ICML 2026
[5] “Break the sequential dependency of llm inference using lookahead decoding.”, ICML 2024

Authors · CommentOpenReview ↗

Response to Reviewer arnx [Part 3 of 4]

Q-3) Concurrency and batch size used for the throughput results, and how throughput scales with concurrency.
R-3) The main throughput results in the paper are measured at a concurrency of one, following the protocol used by prior relevant speculative decoding works [1-5]. As per the reviewer’s request, Table-13 reports the speedup of end-to-end throughput with increasing concurrency for the variant of TTS which adapts the entire speculator. We note that TTS retains its advantage over the baseline DFlash speculator even with increasing concurrency.

Table-13: End-to-end throughput (in tokens/sec) on the Qwen3.5-122B-A10B model with DFlash speculator on an Amazon EC2 G7e.48xlarge instance with increasing concurrency.

Concurrency Benchmark DFlash (tok/s) TTS (tok/s) Relative
BS=2 AIME 2025 46 53 +15.2%
OlympiadBench Math 51 60 +17.7%
GPQA Diamond 43 56 +30.2%
BS=8 AIME 2025 214 236 +10.2%
OlympiadBench Math 207 249 +20.3%
GPQA Diamond 149 190 +27.4%
BS=16 AIME 2025 374 452 +20.8%
OlympiadBench Math 372 439 +18.0%
GPQA Diamond 257 316 +23.0%

We also report the results of the prefix-tuned variant of TTS with increasing concurrency below. Table-14 shows that the prefix tuned variant improves throughput at every concurrency level ranging from 8 to 64.

Table-14: End-to-end throughput (in tokens/sec) and mean acceptance length (AL) on the Qwen3.6-27B model with DFlash speculator on an Amazon EC2 G7e.48xlarge instance with increasing concurrency.

Concurrency Benchmark DFlash (tok/s) Prefix-TTS (tok/s) Throughput Δ AL (DFlash → TTS)
BS=8 LiveCodeBench (hard) 168 211 +25.7% 2.52 → 4.07
AIME 2024 179 270 +50.9% 3.44 → 5.00
AIME 2025 139 220 +58.4% 3.72 → 4.90
MATH-500 (hard) 196 273 +38.9% 4.54 → 5.28
OlympiadBench Math 180 284 +57.8% 2.87 → 4.67
OlympiadBench Physics 111 199 +78.9% 3.35 → 4.21
GPQA Diamond 151 223 +48.0% 3.41 → 4.36
TheoremQA 198 272 +37.2% 4.34 → 5.21
BS=16 LiveCodeBench (hard) 194 262 +35.3% 2.60 → 4.19
AIME 2024 254 372 +46.3% 3.72 → 5.04
AIME 2025 281 471 +67.7% 3.42 → 4.90
MATH-500 (hard) 155 264 +70.0% 5.12 → 5.86
OlympiadBench Math 295 461 +56.4% 2.88 → 4.59
OlympiadBench Physics 206 314 +52.1% 3.19 → 4.37
GPQA Diamond 206 297 +44.5% 3.40 → 4.40
TheoremQA 185 267 +44.1% 4.24 → 5.16
BS=32 LiveCodeBench (hard) 416 538 +29.5% 2.68 → 4.12
AIME 2024 452 656 +45.1% 3.49 → 4.92
AIME 2025 450 712 +58.5% 3.41 → 4.98
MATH-500 (hard) 354 629 +77.8% 4.64 → 5.38
OlympiadBench Math 439 678 +54.5% 2.92 → 4.86
OlympiadBench Physics 363 576 +58.8% 2.95 → 4.53
GPQA Diamond 340 505 +48.5% 3.35 → 4.26
TheoremQA 267 451 +69.0% 4.46 → 5.15
BS=64 LiveCodeBench (hard) 392 632 +61.3% 2.67 → 4.17
AIME 2024 555 847 +52.7% 3.49 → 5.00
AIME 2025 561 858 +52.9% 3.44 → 4.98
MATH-500 (hard) 467 678 +45.2% 4.41 → 5.32
OlympiadBench Math 412 658 +59.7% 2.89 → 4.84
OlympiadBench Physics 457 701 +53.2% 3.00 → 4.36
GPQA Diamond 476 672 +41.1% 3.25 → 4.19
TheoremQA 455 599 +31.9% 4.40 → 5.27

These results confirm that TTS remains effective even in high-concurrency serving regimes.

Authors · CommentOpenReview ↗

Response to Reviewer arnx [Part 2 of 4]

Q-2) Compatibility with continuous batching and batched drafting under per-request weights.
R-2) TTS does not reduce execution to separate per-request forward passes. Even in the case where we adapt the entire speculator and each request has its own speculator parameters, we hold the parameters of all in-flight requests in a single stacked tensor of shape [N, out, in] per-weight, where N is the number of concurrent requests, and the remaining dimensions correspond to the weight matrix of the speculator. Every speculator operation is then expressed as a batched operation over the leading dimension. Each projection is therefore evaluated as one batched matrix multiplication (BMM) over the N stacked weight matrices, which maps the hidden states of all N requests of shape [N, T, in] to [N, T, out] in a single kernel launch, where T is the number of draft tokens generated by the speculator in one forward pass (eight or sixteen tokens per pass in DFlash, one for EAGLE-3).

Thus, continuous batching is supported because a request’s parameters are addressed by a slot in the above-mentioned stacked tensor. An incoming request binds to a free slot, while a completing request releases it. Thus, requests at different stages co-exist in one batch. To enable this, we similarly do all remaining speculator operations including attention, applying rotary embeddings etc in SGLang. The updates of all requests that are fired in a round are applied as a single vectorized optimizer step. Table-12 shows the end-to-end throughput improvement obtained using this design.

Table-12: End-to-end throughput (in tokens/sec) on Qwen3.5-122B-A10B with the DFlash speculator, at 16 concurrent requests on an Amazon EC2 G7e.48xlarge instance.

Configuration AIME 2025 OlympiadBench Math
Vanilla DFlash, no adaptation 374 372
TTS, separate per-request forwards 209 (0.56x) 192 (0.52x)
TTS, batched drafter forward 452 (1.20x) 439 (1.18x)

However, the batched design carries real cost and complexity. It requires a bespoke batched implementation of the entire speculator stack. This is what motivated the prefix tuned version of TTS described in R-1, in which the speculator weights are shared across all requests. As this variant confines per-request adaptation to a set of injected key/value vectors, it entirely eliminates the need for per-request weight stacking and batched matrix multiplication over distinct speculator weights, and is readily compatible with continuous batching.

Reviewer GBe7OpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes a method for learning a draft model during speculative decoding. The method is applied directly to both EAGLE-3 autoregressive drafters and DFLASH diffusion drafters.

The method performs gradient updates to the drafter during generation, with updates reset across prompts rather than carried over between requests. To reduce the overhead of these updates, the authors implement the backward pass in a separate CUDA stream. Since this still introduces some slowdown, they further amortize the cost by striding the updates: instead of updating at every token, they perform gradient updates every few tokens, for example every 10 tokens. The goal is that, although each update has some cost, the adapted drafter produces better drafts, more draft tokens are accepted, and overall throughput improves.

The evaluation is fairly broad, covering a range of benchmarks and models. However, the baselines are weak. The paper does not compare against several methods that were specifically proposed to address the long-context issue in speculative decoding, such as OWL, RAPID, and LongSpec. Since the paper frames much of its motivation around long-context failures, these methods are important points of comparison. The work would also benefit from a clearer discussion of concurrent or related work on online learning of drafter models, especially "When Drafts Evolve: Speculative Decoding Meets Online Learning".

Strengths and weaknesses

Strengths

The results are strong, and the evaluation covers a reasonably broad set of benchmarks and models.

The analysis of long-context issues in draft models is insightful. The empirical discussion of where and why existing speculative decoding methods degrade in long-context settings is valuable.

The implementation seems practical and of interest to practitioners.

Weaknesses

The main weakness is that the proposed approach feels somewhat mismatched with the problem framing. The introduction spends a lot of time motivating the work around the long-context / long-output issue in speculative decoding. However, if the main problem is that existing draft models struggle in long-context settings, there is a simpler and more direct baseline: collect long-context data, run a small fine-tuning stage for each draft model, and then evaluate the standard speculative decoding methods.

The authors do not compare against this baseline or explain why it would not work. This makes it difficult to tell whether the proposed online method is actually needed, or whether the issue is mainly that the draft models were not adapted to the long-context regime. As it stands, the proposed solution is not clearly motivated relative to this simpler alternative. It is unclear whether the online version addresses problems in the draft model that go beyond the long-context mismatch, or whether it is mainly compensating for a lack of long-context training.

The paper lacks comparison against long-context speculative decoding methods. The paper frames its contribution around solving the long-context issue, but several other papers have proposed solutions to this same problem i.e. :

  • LongSpec: Long-Context Lossless Speculative Decoding with Efficient Drafting and Verification (This work is cited in the context of long-context degradation, but is not treated as a proper baseline )
  • OWL: Overcoming Window Length-Dependence in Speculative Decoding for Long-Context Inputs
  • RAPID: Long-Context Inference with Retrieval-Augmented Speculative Decoding

They discuss OSD and ATLAS, but should also discuss the related/concurrent "When Drafts Evolve: Speculative Decoding Meets Online Learning" work and clarify how it differs from TTS.

Questions
  • Why not compare against an offline long-context adaptation baseline? For example, fine-tune the EAGLE-3 and DFLASH drafters on long-context / long-output data, then evaluate the standard speculative decoding methods.
  • Is the main benefit coming from online adaptation or fixing the long context issue ?
  • How should TTS be understood relative to other long-context speculative decoding methods such as LongSpec, OWL, and RAPID? Can the authors compare against these methods, or explain why they are not directly comparable?
Limitations

yes

Final justification

The authors have added more relevant baselines, strengthening the evidence that the observed improvements arise from online adaptation. They have also provided a broader comparison with concurrent work. For this reason, I raised my score.

Formatting concerns

nothing to report.

5 comments
Authors · CommentOpenReview ↗

Response to Reviewer GBe7 [Part 2 of 2]

Q-3) Relationship to long-context speculative decoding methods (LongSpec, OWL, RAPID). Comparison or explanation of non-comparability.
R-3) TTS is complementary to these methods. Both LongSpec [1] and OWL [2] re-design and retrain the speculator offline for better long-context generalization, whereas TTS adapts any speculator online during a request. We demonstrate this directly by implementing TTS on top of LongSpec. Table-7 and Table-8 show that TTS improves acceptance length (AL) by up to 13.9% and 10.1% respectively.

Table-7: Mean AL on longchat-7b-v1.5-32k (target) with LongSpec's released speculator (sail/longspec-longchat-7b-v1.5-32k). TTS improves AL across benchmarks without retraining the speculator.

Benchmark LongSpec AL LongSpec + TTS AL Δ AL
AIME 2025 4.416 5.031 +13.9%
OlympiadBench (Math) 4.224 4.768 +12.9%
GPQA Diamond 4.211 4.727 +12.3%
OlympiadBench (Physics) 4.380 4.912 +12.1%
MATH500 4.599 4.913 +6.8%
LiveCodeBench (Hard) 4.375 4.670 +6.7%
AIME 2024 4.650 4.912 +5.6%
TheoremQA 4.247 4.479 +5.5%

Table-8: Mean AL on Llama-3-8B-Instruct-262k (target) with LongSpec's released speculator (sail/longspec-Llama-3-8B-Instruct-262k). Improvements hold across model families.

Benchmark LongSpec AL LongSpec + TTS AL Δ AL
AIME 2025 4.425 4.871 +10.1%
OlympiadBench (Math) 4.573 4.934 +7.9%
GPQA Diamond 4.468 4.765 +6.6%
AIME 2024 4.768 5.036 +5.6%
MATH500 4.266 4.496 +5.4%
LiveCodeBench (Hard) 4.354 4.537 +4.2%
OlympiadBench (Physics) 4.622 4.792 +3.7%
TheoremQA 4.549 4.680 +2.9%

OWL does not release speculator checkpoints nor a training recipe, thus comparing against it would require reconstructing the method from the paper alone, which would not be a faithful comparison. We are glad to add this comparison if checkpoints are released. Unlike TTS and prior long-context methods, RAPID [3] does not preserve the target distribution – it modifies the target logits and is therefore lossy. In summary, even purpose-built long-context speculators leave headroom that TTS recovers online. We will add this discussion to the revised manuscript.

Q-4) Discussion of the concurrent work "When Drafts Evolve: Speculative Decoding Meets Online Learning" and how it differs from TTS.
R-4) OnlineSpec [4] adapts the speculator across the request stream similar to OSD and ATLAS, while TTS adapts it within a single request. While OSD trains the speculator on the request stream at a fixed learning rate, OnlineSpec maintains several speculators that adapt at different rates and continually reweights them toward the one with the highest performance. Both, however, accumulate and update the speculator across requests, thus, their gains are influenced by the preceding requests in the server-stream and diminish on heterogeneous streams that interleave requests from several domains. We measure this explicitly in response R-5 to Reviewer 65Vk and show that while OSD improves mean AL on Qwen3.5-122B-A10B by 18.1%, TTS improves it by 37.3%.

[1] "LongSpec: Long-context lossless speculative decoding with efficient drafting and verification.", ACL 2026 [2] "OWL: Overcoming Window Length-Dependence in Speculative Decoding for Long-Context Inputs."
[3] "RAPID: Long-Context Inference with Retrieval-Augmented Speculative Decoding."
[4] "When Drafts Evolve: Speculative Decoding Meets Online Learning."

Authors · CommentOpenReview ↗

Response to Reviewer GBe7 [Part 1 of 2]

We appreciate the reviewer's feedback. We have addressed the points raised in the review below:

Q-1) Why not compare against offline long-context fine-tuned speculators?
R-1) TTS remains effective even on speculators that have been trained offline on long-context data. This is because offline fine-tuning and TTS are complementary to each other. While offline fine-tuning reduces the speculator's mismatch with the target over long generations in general, TTS reduces the mismatch that remains on the generation currently being served using the target distributions produced during verification as the supervision signal. Thus, these two approaches focus on different aspects of the mismatch and are complementary.

To show this, we evaluate nvidia/gpt-oss-120b-Eagle3-v3, a vendor-released EAGLE-3 speculator for openai/gpt-oss-120b that is trained on long-context data at a scale beyond what we could train (2.70M short-context examples, followed by 199.5K samples with no context limits). Even in this configuration, TTS improves mean acceptance length by 37% across four long-generation tasks. Please refer to response R-3 to Reviewer 65Vk for the corpus statistics and per-benchmark results.

Q-2) Is the main benefit coming from online adaptation or fixing the long context issue ?
R-2) The main benefit comes from online adaptation. We demonstrate this by performing a controlled experiment across three EAGLE-3 speculators for the openai/gpt-oss-120b model that differ in their positional encoding. While both nvidia/gpt-oss-120b-Eagle3-v3 (nvidia-v3) and nvidia/gpt-oss-120b-Eagle3-long-context (nvidia-long-context) use RoPE scaling that matches the target model, RedHatAI/gpt-oss-120b-speculator.eagle3 (redhat) uses none. Table-5 provides a comprehensive comparison across these three speculators. Even though both nvidia-v3 and nvidia-long-context are already configured for the target’s context length and extensively trained offline, TTS still improves the mean acceptance length by 37.2% and 51.9% respectively as shown in Table-6.

Table-5: Configuration of the three EAGLE-3 speculators relative to the openai/gpt-oss-120b target model.

Metric nvidia-v3 nvidia-long-context redhat Target model (openai/gpt-oss-120b)
Draft vocabulary 201088 (full) tied to verifier 64000 (reduced) 201088
RoPE_theta 500000 500000 10000 150000
RoPE_scaling YaRN $\times$32 Llama-3 $\times$8 none YaRN $\times$32
Offline training data long reasoning traces long-context short chat (Magpie, UltraChat) -

Table-6: Mean acceptance length of the baseline vs TTS (higher is better). The redhat speculator starts from a much lower baseline as its positional encoding does not match the target model, leaving it with considerably more headroom to recover. Nonetheless, TTS improves acceptance length across all speculators and benchmark configurations.

Speculator AIME-2024 AIME-2025 LCB-Hard TheoremQA Mean
nvidia-v3 Baseline 4.949 4.614 4.035 4.426 4.506
TTS 6.367 6.188 5.771 6.375 6.175
Δ\Delta +28.7% +34.1% +43.0% +44.0% +37.2%
nvidia-long-context Baseline 4.028 3.925 3.807 4.458 4.054
TTS 5.926 6.391 5.993 6.334 6.161
Δ\Delta +47.1% +62.8% +57.4% +42.1% +51.9%
redhat Baseline 1.363 1.367 1.357 1.394 1.370
TTS 5.391 5.584 5.158 5.323 5.364
Δ\Delta +295.5% +308.5% +280.1% +281.9% +291.5%
Authors · CommentOpenReview ↗

Follow-Up on Remaining Concerns Before Discussion Ends

Dear Reviewer GBe7,

As the discussion period draws to a close, we wanted to check whether you have any remaining questions or would like additional experiments or clarifications. We would be glad to provide further analyses.

If our rebuttal has addressed your concerns, we would be grateful if you would consider updating your score to reflect your post-rebuttal assessment. Thank you again for your constructive and helpful feedback.

Best regards,
Authors of TTS

Reviewer 65VkOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary
  • This paper presents an empirical observation that even state-of-the-art speculator models exhibit a rapid decline in acceptance length as the generated sequence becomes longer, eventually converging to approximately one token.
  • The authors provide experimental evidence suggesting that this phenomenon arises because the drafter is primarily trained on tasks involving relatively short sequences, typically under 2K tokens.
  • To address this limitation, the paper proposes an online distillation approach termed Test-Time Speculation (TTS). By leveraging supervision signals obtained during the verification step, the method enables online adaptation of the drafter at inference time. Experimental results demonstrate substantial improvements, yielding a 41–72% increase in acceptance length.
Strengths and weaknesses

Strengths

  • The paper introduces a practical framework that enables real-time adaptation of the drafter without requiring additional offline training. The proposed hypothesis is supported by extensive empirical results.
  • The analysis is clear and insightful, particularly through the use of metrics such as acceptance length and Top-1 divergence, which help explain the underlying behavior of speculative decoding over long generations.

Weaknesses

  • Most of the baseline drafters used in the experiments appear to be models developed prior to early 2025. As a result, the evaluation lacks comparisons against more recent models of similar scale that have been trained on substantially larger amounts of long-context generation data. Such comparisons would help clarify whether the observed degradation remains prevalent in current-generation drafter models.
  • In Figure 3, the authors show that when models such as Qwen3.6 are used as drafters, performance degradation begins only after approximately 30K tokens. However, it remains unclear whether this improved stability is primarily attributable to the larger model size or to increased exposure to long-context generation tasks during training. A more controlled analysis would strengthen the authors' claims regarding the source of the improvement.
Questions
  • The observation that state-of-the-art drafters suffer from a rapid decline in acceptance length may partly reflect the training regime that was common when those models were developed, where most training tasks involved outputs shorter than 2K tokens. As long-context generation has become increasingly important in recent years, would it be more effective to employ a stronger drafter that has received additional training on long-context generation tasks, rather than relying on online adaptation at inference time? A discussion comparing these two directions would strengthen the paper.
  • The ability of the proposed method to improve acceptance length through online adaptation is clearly demonstrated and represents a notable strength of the work. However, online adaptation inevitably introduces additional computation during inference. Could the authors provide a detailed analysis of the computational overhead incurred by the adaptation process, including its impact on wall-clock latency and overall decoding efficiency? It would be useful to understand whether the gains in acceptance length translate into net inference acceleration after accounting for the adaptation cost.
  • The paper demonstrates that online adaptation improves acceptance length, but it remains unclear how this compares with a drafter that has been explicitly trained offline on long-context generation tasks. Is the final improvement achieved by the proposed approach comparable to, or lower than, what can be obtained through dedicated offline training? If the authors have conducted any ablation studies or comparisons along this direction, including such results would substantially strengthen the paper. Otherwise, a discussion of the trade-offs between offline specialization and online adaptation would be valuable.
  • The implementation details described in Algorithm 1 are somewhat ambiguous. My interpretation is that the inference data collected from the previous turn for verification purposes is subsequently reused as adaptation data, thereby influencing the generation process in the next turn. If this interpretation is incorrect, I would appreciate clarification from the authors regarding the exact adaptation procedure and the extent to which information from previous inference steps affects subsequent generations.
  • I have some concerns regarding the evaluation protocol. Since the drafter is continuously adapted during evaluation, it may gradually acquire information that benefits subsequent evaluation instances, particularly when later examples share similar characteristics with earlier ones. This raises a potential issue of fairness when comparing against methods that do not perform online adaptation. Could the authors clarify how they ensure a fair comparison under this setting? For example, it would be helpful to report results under a reset-based evaluation protocol, where adaptation states are cleared between evaluation samples, or to quantify the extent to which cross-example adaptation contributes to the observed gains.
Limitations

None

Final justification

One concern that was raised consistently by both myself and other reviewers was the lack of comparison with approaches that employ long-context-trained speculators. In their rebuttal, the authors argued that TTS and such approaches address different aspects of the problem and are therefore complementary rather than competing methods. Although it is unfortunate that authors did not provide a direct comparison between TTS alone and LongSpec alone, the authors demonstrated that applying TTS on top of LongSpec yields further performance improvements. I hope that a more direct comparison will be included in the final version of the paper. With this consideration, I have decided to increase my overall score accordingly.

Formatting concerns

None

3 comments
Authors · CommentOpenReview ↗

Response to Reviewer 65Vk [Part 1 of 2]

We appreciate the reviewer's feedback. We have addressed the points raised in the review below:

Q-1) Stronger long-context-trained speculator vs. online adaptation
R-1) Using a long-context trained speculator and performing online adaptation are complementary methods that address two different components of the same mismatch. Training on long-output data reduces the speculator's divergence from the target in expectation over a training distribution, including at distant output positions. Online adaptation reduces that divergence on the particular sequence being generated. As low divergence in expectation does not imply low divergence on a given sequence, offline training alone leaves a residual divergence that online adaptation targets. We verify this claim in R-3, where TTS further improves acceptance length on a vendor-released speculator that was itself trained on long-output data.

Q-2) Computational overhead of online adaptation and net acceleration
R-2) Acceptance length improvements with TTS translate to net wall-clock acceleration. The adaptation cost is one backward pass and one optimizer (Adam) step over the speculator only. As the target distributions which are used as the supervision signal are already produced during verification, TTS adds no additional target overhead. We propose two complementary mechanisms in TTS to optimize this overhead, namely (i) asynchronous pipelining and (ii) strided updates. Asynchronous pipelining enables TTS to execute the speculator adaptation in parallel with the next decode step on a separate CUDA stream, while strided updates fire the adaptation once every SS rounds, thereby amortising the cost of a single update across SS decode steps.

To quantify the resulting trade-off, we sweep SS on the Qwen3.6-27B target model with the z-lab/Qwen3.6-27B-DFlash speculator across all eight benchmarks used in the main paper. Table-1 shows that TTS raises mean acceptance length by up to 1.41× and end-to-end throughput by up to 1.30× over the DFlash baseline. The same trade-off is reported for Qwen3.5-122B-A10B in Table-3 of the main paper, where TTS reaches 1.43× in mean acceptance length and 1.54× in throughput.

Table-1: Acceptance length (AL) and end-to-end throughput as a function of the update stride SS, averaged over eight benchmarks for the Qwen3.6-27B target model and DFlash speculator. Throughput includes the overall effect of the adaptation cost.

Configuration Mean AL Speedup Throughput (tokens/sec) Speedup
Baseline (no TTS) 3.45 1.00× 49.0 1.00×
S = 1 4.85 1.41× 43.7 0.89×
S = 2 4.80 1.39× 53.2 1.09×
S = 5 4.81 1.39× 57.5 1.17×
S = 10 4.77 1.38× 61.4 1.25×
S = 32 4.75 1.38× 63.1 1.29×
S = 128 4.77 1.38× 63.6 1.30×
S = 256 4.73 1.37× 63.1 1.29×

Q-3) Comparison against offline long-context training of the speculator
R-3) TTS remains effective even on speculators that have already been trained offline on long-context data. To show this, we evaluate nvidia/gpt-oss-120b-Eagle3-v3, a vendor-released EAGLE-3 speculator for the openai/gpt-oss-120b target model that is explicitly trained on long-context generation tasks including mathematical reasoning, competitive programming, and multi-turn agentic software-engineering traces. Table-2 shows that the output length of these traces can reach as high as 100K tokens across several subsets of this speculator’s training corpora.

Table-2: Output length across representative subsets of nvidia/gpt-oss-120b-Eagle3-v3's training corpora (NVIDIA Nemotron Post-Training V3) measured with the gpt-oss-120b tokenizer.

Training subset Task Median P90 Max > 8K
Nemotron-Math-v2 (high) Math reasoning 15,432 45,461 101,903 71%
Nemotron-Competitive-Programming-v1 (C++) Competitive programming 13,950 27,463 32,857 74%
Nemotron-SFT-Multilingual-v1 (math, zh) Multilingual math 14,615 40,088 104,964 74%
Nemotron-SFT-SWE-v2 (OpenHands) Agentic SWE trajectories 15,594 24,929 71,959 98%

We implement and evaluate TTS on this speculator in SGLang and measure acceptance length (AL) across four long-generation tasks. Table-3 shows that TTS improves mean AL by 37.2%.

Table-3: TTS on nvidia/gpt-oss-120b-Eagle3-v3 with openai/gpt-oss-120b as the target model. Baseline AL is the released speculator without adaptation.

Benchmark Baseline AL TTS AL Improvement %
AIME-2024 4.949 6.367 +28.7%
AIME-2025 4.614 6.188 +34.1%
LiveCodeBench (hard) 4.035 5.771 +43.0%
TheoremQA 4.426 6.375 +44.0%
Mean 4.506 6.175 +37.2%
Authors · CommentOpenReview ↗

Response to Reviewer 65Vk [Part 2 of 2]

Q-4) Clarification of the adaptation procedure in Algorithm 1
R-4) The reviewer’s interpretation is correct, with one clarification on granularity. TTS adapts the speculator within one-request and does not perform any cross-request adaptation. Concretely, at round t of a generation:

  1. The speculator q proposes a block of K candidate tokens for positions t+1, ..., t+K.
  2. The target verifies the block in one forward pass, which produces the target distributions p(⋅∣x1:t+k−1)p(\cdot \mid x_{1:t+k-1}) at every candidate position. TTS reads exactly these distributions; no additional target forward pass and no additional target memory is required.
  3. TTS forms the loss $Lt(q)=KL~(p ∥ q)+λ⋅KL~(qt ∥ q)\mathcal{L}_t(q) = \widetilde{\mathrm{KL}}(p \,\|\, q) + \lambda \cdot \widetilde{\mathrm{KL}}(q_t \,\|\, q)$ where the per-position weights w_k are taken from the speculator's own training recipe, and q_t denotes the speculator state immediately before this update, which acts as an anchor limiting how far a single update can move the speculator.
  4. A single Adam step is applied to the speculator parameters only. The target model is never modified.
  5. Round t+1 of the same generation drafts with the updated q.

Steps 3-5 are optionally applied at a stride: rather than firing at every round, the update fires once every SS rounds, which amortizes the cost of the backward pass over SS decode steps. Strided updates do not accumulate. When an update fires at round t, it is computed solely from the block verified at round t; the intervening rounds t-SS+1, ..., t-1 contribute nothing and no replay buffer of past rounds is maintained.

At the request boundary, the speculator weights are restored to the original checkpoint and the optimizer state is discarded. We will update the algorithm discussion and include a visual illustration to make this clear.

Q-5) Fairness of the evaluation protocol and cross-example adaptation
R-5) TTS does not perform cross-request adaptation. At every request boundary, it resets the speculator adaptation and discards the optimizer state. This makes the evaluation protocol fair as it prohibits any cross-example leakage and the performance benefit achieved by TTS is attributable to a single generation. This design also avoids failure modes that are inherent to cross-request adaptation methods such as OSD and ATLAS as described below:

Influence of preceding requests: As the speculator state is carried over across requests in OSD, the measured acceptance length is influenced by the number of preceding requests and their task domains. Thus, improvements reported on a benchmark suite are in part attributable to the repeated exposure of requests from the suite rather than the current request being served.

Unbounded accumulation: Cross-request adaptation techniques such as OSD never rest, thus, the drift compounds over the entire server-traffic. A shift in the traffic distribution or high-frequency interleaved requests across domains, therefore degrade the speculator for every subsequent user until it re-adapts. This necessitates validation gating, periodic checkpointing and rollback support.

To demonstrate this, we compare OSD to TTS on the Qwen3.5-122B-A10B target model and the z-lab/Qwen3.5-122B-A10B-DFlash speculator. For OSD, we use an update interval of 8 requests, a learning rate of 1e-4, and perform a single optimization-step with the forward-KL objective as outlined in their paper and open-source codebase. Both methods are evaluated on an identical request stream composed of four benchmarks, issued in short-bursts of two consecutive-requests per-domain. Table-4 shows that TTS improves mean acceptance length by 16% over OSD and 37.3% over the DFlash baseline.

Table-4: Mean acceptance length on an interleaved request-stream for the Qwen3.5-122B-A10B target model and DFlash speculator. While OSD adapts across requests, TTS resets at the request boundary.

Benchmark Baseline DFlash OSD TTS
LiveCodeBench 2.06 2.50 (+21.4%) 3.57 (+73.3%)
MATH-500 4.66 5.38 (+15.5%) 5.49 (+17.8%)
OlympiadBench-Math (zh) 3.11 3.84 (+23.5%) 4.72 (+51.8%)
OlympiadBench-Physics (zh) 3.30 3.78 (+14.5%) 4.25 (+28.8%)
Mean 3.28 3.88 (+18.1%) 4.51 (+37.3%)
Authors · CommentOpenReview ↗

Follow-Up on Remaining Concerns Before Discussion Ends

Dear Reviewer 65Vk,

As the discussion period draws to a close, we wanted to check whether you have any remaining questions or would like additional experiments or clarifications. We would be glad to provide further analyses.

If our rebuttal has addressed your concerns, we would be grateful if you would consider updating your score to reflect your post-rebuttal assessment. Thank you again for your constructive and helpful feedback.

Best regards,
Authors of TTS

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…