Explore the research collection
11 entries · Follow this search
- Paper
Match the Distribution, Not the Compute: Post-Training Multi-Token Prediction Heads
Multi-token prediction (MTP) drafts multiple next tokens per forward pass to speed autoregressive generation, with a verification step preserving the backbone's token distribution. Every open MTP release (MiMo-7B, DeepSeek-V3, Qwen3) trains heads jointly with the backbone over tens of trillions of pretraining tokens, fixing drafter quality at pretraining time. This paper asks whether a lightweight post-training pass is enough: on frozen Qwen3-8B with K=3 chained MTP heads, plain cross-entropy on ~2.5B tokens of target-generated chain-of-thought reaches or exceeds the expected speedup of jointly trained MiMo-7B on math, coding, and knowledge benchmarks — using 1,000-10,000x fewer MTP-training tokens. Three findings: (1) the ~2.5B-token post-training recipe matches/exceeds the jointly trained MiMo-7B baseline; (2) a chain-aware relaxation of the draft-token verification rule allows bounded drift from the backbone distribution, lifting expected speedups by +12 to +16% per benchmark while preserving task accuracy; (3) an adaptive controller dynamically choosing how many MTP heads engage at inference time recovers up to 11-14% of the speedup lost with a fixed max draft length.
- Paper
Etalon: Holistic Performance Evaluation Framework for LLM Inference Systems
Argues that conventional LLM serving metrics (TTFT, TBT, normalised latency, TPOT) fail to capture the nuances of streamed inference and user-facing performance for real-time applications like chat and translation. Etalon is a comprehensive evaluation framework built around per-request token arrival traces and deadline-based evaluation: its fluidity-index measures the fraction of per-token deadlines met within a request (tokens arriving early build slack; a missed deadline counts missed slots and resets subsequent deadlines from that token's arrival), and the fluid token generation rate is the highest playback rate inferred from evaluated requests that meets a chosen fluidity target for a specified share of requests. The framework connects scheduling behavior (prefill/decode interference, chunked prefill, speculative decoding with client buffering) to service targets, and supports capacity search: estimating the maximum request rate a replica can sustain under specified targets to plan deployment size. The authors evaluate open-source platforms and model-as-a-service offerings with Etalon, exposing skewed token-generation patterns that averages hide.
- Paper
Seer: Online Context Learning for Fast Synchronous LLM Reinforcement Learning
Rollout is 63–87% of RL iteration time. Seer exploits intra-group (G=8–16) length/pattern similarity: divided chunk-level rollout with a global Mooncake KVCache, context-aware longest-first scheduling via a speculative probe request, and adaptive grouped speculative decoding with compressed suffix trees. On production GRPO workloads (Moonlight, Qwen2-VL-72B, Kimi-K2) up to 2.04× end-to-end rollout throughput vs veRL and 72–94% less long-tail latency, while keeping on-policy semantics. Context-aware scheduling alone cuts tail time ~89%; grouped SD adds up to 1.3× vs vanilla SD.
- Thread
Attention Drift in Speculative Decoding (drafter attention sink → recent tokens)
X thread (2026-05-12) by @dogacel0: as a speculative-decoding drafter generates tokens, its attention moves from the attention sink onto its own recently generated tokens (“attention drift”). Fixing the underlying issue recovered up to ~2× acceptance length. No arXiv ID located via export search this pass — cataloged as idea/thread pending paper link.
- Thread
Speculative decoding with Gated DeltaNet: no un-reading needed
Standalone technical insight on whether speculative decoding is a problem for Gated DeltaNet. Argument: rejected drafts must be rolled back; attention just drops their KV rows, but GDN has already blended every draft into its recurrent state. However, the update can be rewritten so that only accepted drafts are committed: S_t = alpha_t S_{t-1} + v_tilde_t k_t^T, with v_tilde_t = beta_t (v_t - alpha_t S_{t-1} k_t), giving S_a = g_a S_0 + sum_{i<=a} (g_a/g_i) v_tilde_i k_i^T (g = product of alphas). Cache (v_tilde_i, k_i, g_i) per draft and fold in only what is accepted. Conclusion: GDN does not have to un-read a token; it can wait to commit it.
- Paper
Jina-OCR-v1: Efficient Document Parsing with Speculative Decoding and Dense Verifiable Rewards
Jina-OCR-v1 builds on DeepSeek-OCR’s compressed-vision encoder + 3B MoE decoder (~570M active/token), adds a FastMTP speculative head that recursively shares one draft block over K=3 prediction steps with greedy verification (lossless). Post-training: instruction alignment, hard-doc robustness FT, then GRPO with dense verifiable rewards (deterministic formula/table/structure checks with partial credit). Data: cleaned public corpora + targeted synthetic pages. Default dynamic-res: OmniDocBench v1.6 91.14, olmOCR-Bench 83.4; claimed highest page throughput in their comparison at 2.57 pages/s. On NVIDIA L4, FastMTP ~2× greedy AR decode. Weights: https://huggingface.co/jinaai/jina-ocr-v1.
- Paper
Unlocking Lossless Speedups in LLMs via Discrete Diffusion
Introduces diffusion-augmented LLMs (“Uno”): keep standard AR/NTP weights, add lightweight diffusion weights trained via Diffusion Distillation to propose multi-token blocks from the same AR distribution. Ψ-Spec sampler family enables lossless acceleration and fixed-context inference-time scaling without a separate draft model. Claims vs speculative decoding: higher throughput at every evaluated batch size; up to ~3× over base AR including max device batch. Claims vs d-LLMs: keeps AR quality. 8B Uno reported to beat open 26B DiffusionGemma and proprietary Mercury 2 on agentic tool use, coding, and long-context reasoning. Train from scratch or retrofit open-weight AR LMs. Code/checkpoints: https://s-sahoo.github.io/uno/
- Paper
Dynamic Speculation Lookahead Accelerates Speculative Decoding of Large Language Models
arXiv 2405.04304 (v5): DISCO / dynamic speculation lookahead; HF blog (2024-10-08) reports up to ~2.7× vs heuristic on some tasks; default assisted-generation mode in Transformers 4.45+. Discord Lewis Tunstall LinkedIn: smaller draft + larger verify, up to ~3× framing.
- Paper
Matryoshka Language Model Suites
Stacks 500M / 1.5B / 3B sub-models in one nested architecture trained end-to-end. Claims parity with independently trained baselines on benches and perplexity while using 36% less training compute and improving speculative-decoding throughput 14–26%. Ablates architectural choices for building Matryoshka suites.
- Model
DSpark for DeepSeek-V4-Flash-0731 GGUFs
Unsloth 2026-08-06 enablement. DeepSeek-V4-Flash-0731 is 284B/13B-active MoE, 1M context, QAT MXFP4 experts. Unsloth UD-Q8_K_XL is bit-exact vs official weights (KL~0, 100% top-token). DSpark (arXiv 2607.05147; llama.cpp PR 25784) is a draft-model speculative decoder claimed superior to naive MTP; Unsloth ships Q8_0 and BF16 drafter GGUFs. Tweet: ~1.4–2× faster, up to 120 tok/s, no accuracy change. Docs recommend --spec-type draft-dspark --spec-draft-n-max 3 (~1.9×); ~10 GB extra RAM. Auto-on in Unsloth Desktop. Also improved V4 chat jinja (reasoning_effort, tool-call reasoning_content) over 4000 conversations vs official baseline. Distinct from the base DeepSeek release.
- Paper
Breaking Entropy Bounds: Accelerating RL Training via MTP with Rejection Sampling
Bebop shows MTP accept length falls linearly with policy entropy under target-only sampling or CE/KL-trained drafts. Switching verification to rejection sampling (accept = 1 − TV(p,q)) and training drafts with an end-to-end TV loss that directly maximizes multi-step overlap cuts the entropy–accept slope ~95% and adds ~3–10 pp accept vs CE (up to 95% on agent tasks). Pre-RL TV SFT plus rejection sampling is enough; online MTP updates during RL are unnecessary under RS because draft–target mismatch from weight updates is negligible. Up to 1.8× async RL e2e on Qwen3.5/3.6/3.7; agentic rollouts up to 2.4×. SGLang RS implementation https://github.com/sgl-project/sglang/pull/26312. No official training-code repo on the abs page.