inference-efficiency · 2026-12-03 · Tier 1

Speculative decoding at the edges: SpecGUI, Weaver in uzu, Keyrings watermarks, workload-aware speculation; plus Diff4Diff

Speculative decoding at the edges

TL;DR. Speculative decoding (a cheap drafter proposes several tokens, the big model checks them in one pass) spread into three new places in one day, and one quantization paper fixed a diffusion-specific error source.

  • SpecGUI (2611.36290). GUI agents pay twice: long screenshot prefill and long reasoning decode. SpecGUI notices the decode is asymmetric. The open-ended reasoning phase is hard to draft; the short, structured action phase is easy. It uses hybrid drafting for reasoning and schema-constrained decoding for actions (up to 3.35x decode speedup), then uses the drafter's attention to prune 90% of historical screenshot tokens while keeping 96.8% of accuracy. Key observation: acceptance length is robust to pruning old screenshots but not the current one. Training-free, in SGLang, with diffusion drafters.
  • Weaver in uzu (Mirai). DFlash-style drafters guess every position in parallel, so one early miss discards the rest. Weaver adds one Transformer layer that picks among DFlash's top candidates left to right and grows a tree that the target verifies in one pass. A practitioner on an M5 MacBook Pro saw Qwen3.5 9B finish in 11 s versus 42 s plain and 30 s with regular speculation, about 7.5 tokens per target pass; the paper reports 4x on B200.
  • Keyrings + TextOrca (Mistral). A distortion-free watermark (keyed Gumbel-max sampling, so each token is still drawn exactly from the model's distribution) that keeps diversity by drawing one of L hidden keyrings per request, with a detector giving exact conservative p-values. It runs under speculative decoding via a shared-noise relay, with guarantees machine-checked in Lean 4. Detects 91-95% of 256-token watermarked responses at 0.1% FPR; no significant quality or agentic-benchmark difference.
  • When to Speculate, When to Learn (2612.00081, Kurate cs.AI #4, not on HF). Workload-aware control for online self-evolving drafters: decide per workload whether to keep speculating with the current drafter or spend compute updating it.
  • Diff4Diff (2611.36272, Huawei). In diffusion transformers, classifier-free guidance subtracts the unconditional branch from the conditional one and multiplies by the guidance scale, so 4-bit activation errors in both branches get amplified. D4D quantizes the branches' mean and difference instead (a fixed 2x2 transform, no calibration). With W4A4 quantizers: LPIPS down up to 11.3% (image), 29.6% (video), 52.8% (3D normals); under 0.3% latency overhead.
Draft where it is easy, prune what the drafter ignores
SpecGUI splits the agent turn by phase and lets the drafter's attention choose which old screenshots to drop.
flowchart LR
  S["Screenshots<br/><small>current + history</small>"] --> P["Drafter-guided prune<br/><small>90% of history dropped</small>"]
  P --> V["VLM agent<br/><small>target model</small>"]
  V --> R["Reasoning phase<br/><small>hybrid drafting</small>"]
  V --> A["Action phase<br/><small>schema-constrained</small>"]
  R --> O["Next action<br/><small>up to 3.35x decode</small>"]
  A --> O
  classDef input fill:#d0ebff,stroke:#1971c2,color:#1b1b1b,stroke-width:2px
  classDef core fill:#e5dbff,stroke:#6741d9,color:#1b1b1b,stroke-width:2px
  classDef loop fill:#fff3bf,stroke:#f08c00,color:#1b1b1b,stroke-width:2px
  classDef exit fill:#d3f9d8,stroke:#2f9e44,color:#1b1b1b,stroke-width:2px
  class S input
  class P,R,A loop
  class V core
  class O exit
Blue is input, amber is where speculation and pruning act, purple is the target model, green is the result.

Relation to prior wiki pages

  • Partially resolves the 12-02 Looking Ahead bet that vLLM or SGLang would merge a tree-selecting DFlash drafter (UBTree, Weaver or DMTP) within 60 days with acceptance above 6: Weaver shipped in uzu (an independent engine) at ~7.5 tokens per pass on Mac. The bet as written (vLLM/SGLang) is still open.
  • SpecGUI joins the drafter-as-signal thread: G-MTP (11-22, drafter reads the target's KV cache in place) and SpecZip (12-02, drafter training data compressed like KV). Here the drafter's attention becomes a token-pruning oracle, a new use.
  • Keyrings answers a serving objection to distortion-free watermarks raised implicitly by every spec-decoding page: naive integration breaks acceptance rates (Hu and Huang 2024). A provably correct relay removes the trade-off.
  • Diff4Diff is the diffusion analogue of the outlier-flattening tricks on the quantization page: find the operation that amplifies error (here CFG subtraction) and quantize in a basis where it does not.
  • Concept pages: speculative-decoding, quantization, gui-agents.

Sources: SpecGUI · uzu · Mistral Keyrings · 2612.00081 · Diff4Diff · raw: SpecGUI, Diff4Diff, labs, Kurate