potentialpaper

Agent Turns Are Not Chat Turns: Matching Draft Supply with Verification Cost

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:37 UTC · ddb75b1885ad ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "5ayx4zhVDh"
- }
- ],
- "title": "Agent Turns Are Not Chat Turns: Matching Draft Supply with Verification Cost",
- "authors": [],
- "abstract": "Speculative Decoding (SD) accelerates LLM serving by verifying several draft tokens in one forward pass.\nCurrent SD approaches work well for conversation workloads, where contexts are short and content is largely new.\nYet agent workloads are different: a coding agent solves tasks through tens of turns of generation, tool use and observation, building contexts that reach tens of thousands of tokens.\nMuch of what the agent writes---re-edited files, re-issued commands, summarized context---closely follows text already in the prompt: 70\\% of generated tokens match the agent's own earlier output, and the reuse grows with the session.\nThe prompt itself thus provides a growing candidate supply that needs no auxiliary model, but does need a retrieval-based drafter that can adapt it.\nScaling retrieval-based drafting to concurrent serving raises two problems: building a per-request index blocks the scheduler thread, and the draft tree must be sized to the verification capacity the hardware affords.\nWe present THRIFT, a training-free retrieval-based drafter that indexes the prompt with a suffix automaton and the current generation with a trie, builds each request's corpus asynchronously, and sizes the draft tree to the batch's verification capacity.\nWe also propose an evaluation protocol that stratifies turns by their relation to the agent's earlier output and reports decode-stage next to end-to-end speedup.\nOn BeyondSWE with Qwen3-14B at batch size 8, THRIFT achieves the best end-to-end speedup up to $3.9\\times$ over autoregressive decoding; its accept length grows from $4.7$ to $8.1$ tokens per forward across a session while training-based baselines stay flat.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "3ec07501-8c13-46d9-bc50-d1ef820273b2"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Agent Turns Are Not Chat Turns: Matching Draft Supply with Verification Cost",
+ "authors": [],
+ "abstract": "Speculative Decoding (SD) accelerates LLM serving by verifying several draft tokens in one forward pass.\nCurrent SD approaches work well for conversation workloads, where contexts are short and content is largely new.\nYet agent workloads are different: a coding agent solves tasks through tens of turns of generation, tool use and observation, building contexts that reach tens of thousands of tokens.\nMuch of what the agent writes---re-edited files, re-issued commands, summarized context---closely follows text already in the prompt: 70\\% of generated tokens match the agent's own earlier output, and the reuse grows with the session.\nThe prompt itself thus provides a growing candidate supply that needs no auxiliary model, but does need a retrieval-based drafter that can adapt it.\nScaling retrieval-based drafting to concurrent serving raises two problems: building a per-request index blocks the scheduler thread, and the draft tree must be sized to the verification capacity the hardware affords.\nWe present THRIFT, a training-free retrieval-based drafter that indexes the prompt with a suffix automaton and the current generation with a trie, builds each request's corpus asynchronously, and sizes the draft tree to the batch's verification capacity.\nWe also propose an evaluation protocol that stratifies turns by their relation to the agent's earlier output and reports decode-stage next to end-to-end speedup.\nOn BeyondSWE with Qwen3-14B at batch size 8, THRIFT achieves the best end-to-end speedup up to $3.9\\times$ over autoregressive decoding; its accept length grows from $4.7$ to $8.1$ tokens per forward across a session while training-based baselines stay flat.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}