paper-with-me

Papers

TPP-SD: Accelerating Transformer Point Process Sampling with Speculative Decoding

2025-07-12 · Shukai Gong, Yiyang Fu, Fengyuan Ran, Quyu Kong, Feng Zhou arxiv

We propose TPP-SD, a novel approach that accelerates Transformer temporal point process (TPP) sampling by adapting speculative decoding (SD) techniques from language models. By identifying the structural similarities between thinning algorithms for TPPs and speculative decoding for language models, we develop an efficient sampling framework that leverages a smaller draft model to generate multiple candidate events, which are then verified by the larger target model in parallel. TPP-SD maintains the same output distribution as autoregressive sampling while achieving significant acceleration. Experiments on both synthetic and real datasets demonstrate that our approach produces samples from identical distributions as standard methods, but with 2-6$\times$ speedup. Our ablation studies analyze the impact of hyperparameters such as draft length and draft model size on sampling efficiency. TPP-SD bridges the gap between powerful Transformer TPP models and the practical need for rapid sequence sampling.

📄 PDF Abstract BibTeX arXiv:2507.09252

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Accelerating Large Language Model Decoding with Speculative Sampling

2023-02-02 · Charlie Chen, Sebastian Borgeaud, Geoffrey Irving, Jean-Baptiste Lespiau 외

We present speculative sampling, an algorithm for accelerating transformer decoding by enabling the generation of multiple tokens from each transformer call. Our algorithm relies on the observation that the latency of pa…

Language ModelingLanguage ModellingLarge Language Modelmodel

FR-Spec: Accelerating Large-Vocabulary Language Models via Frequency-Ranked Speculative Sampling

2025-02-20 · Weilin Zhao, Tengyu Pan, Xu Han, Yudi Zhang 외

Speculative sampling has emerged as an important technique for accelerating the auto-regressive generation process of large language models (LLMs) by utilizing a draft-then-verify mechanism to produce multiple tokens per…

Language ModelingLanguage Modelling

Cactus: Accelerating Auto-Regressive Decoding with Constrained Acceptance Speculative Sampling

2026-04-05 · Yongchang Hao, Lili Mou arxiv

Speculative sampling (SpS) has been successful in accelerating the decoding throughput of auto-regressive large language models by leveraging smaller draft models. SpS strictly enforces the generated distribution to matc…

RADAR: Accelerate Large Language Model Inference With RL-Based Dynamic Draft Trees

2025-12-16 · Junjie Ma, Jinlong Li arxiv

Inference with modern Large Language Models (LLMs) is expensive and slow, and speculative sampling has emerged as an effective solution to this problem. However, the number of calls to the draft model for generating cand…

Reinforcement Learning

Alignment-Augmented Speculative Decoding with Alignment Sampling and Conditional Verification

2025-05-19 · Jikai Wang, Zhenxu Tian, Juntao Li, Qingrong Xia 외

Recent works have revealed the great potential of speculative decoding in accelerating the autoregressive generation process of large language models. The success of these methods relies on the alignment between draft ca…

Code CompletionQuestion Answering