Accelerating Time Series Foundation Models with Speculative Decoding

Pranav Subbaraman, Fang Sun, Yue Yao, Huacong Tang, Xiao Luo +1 more
11/22/2025
cs.LG

Official code: PranavSubbaraman/STRIDE (2 stars, MIT, last commit 2025-12-04).

Abstract

Modern web applications--from real-time content recommendation and dynamic pricing to CDN optimization--increasingly rely on time-series forecasting to deliver personalized experiences to billions of users. Large-scale Transformer-based models have achieved state-of-the-art performance in time-series forecasting but suffer from high computational costs, limiting their deployment in latency-sensitive web applications. To address this challenge, we propose a general inference acceleration framework that adapts speculative decoding to autoregressive time-series models. Our approach employs a smaller "draft" model to propose future time-series patches, which are then verified in parallel by a larger "target" model, reducing the number of sequential forward passes required. We address key technical challenges in adapting this technique from discrete language tokens to continuous time-series distributions, including the design of acceptance criteria for multivariate Gaussian patches and practical variants that balance efficiency with accuracy. Through experiments on time series forecasting benchmarks relevant to web applications, we demonstrate significant inference speedups while maintaining competitive accuracy. The framework requires no architectural modifications to existing foundation models, making it immediately applicable to accelerate deployed time-series forecasting systems. Our implementation can be found at https://github.com/PranavSubbaraman/STRIDE

View on arXivView PDF

Code Implementations(1)

MIT

Framework for accelerating time-series foundation models with speculative decoding

20Shell, PythonSep 3, 202510 months agoMIT

Similar Papers

Cite this paper

@article{subbaraman2025accelerating,
  title  = {Accelerating Time Series Foundation Models with Speculative Decoding},
  author = {Pranav Subbaraman and Fang Sun and Yue Yao and Huacong Tang and Xiao Luo and Yizhou Sun},
  year   = {2025},
  eprint = {2511.18191},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.18191v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.18191.svg)](https://codeofpaper.com/paper/2511.18191)

Discussion