arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.18191cs.LG
收藏

通过投机解码加速时间序列基础模型

Accelerating Time Series Foundation Models with Speculative Decoding

University of California, Los Angeles(加州大学洛杉矶分校);University of Wisconsin–Madison(威斯康星大学麦迪逊分校)

Pranav Subbaraman, Fang Sun, Jinxi Yu, Yue Yao, Huacong Tang, Xiao Luo, Yizhou Sun

AI总结:

通过投机解码技术提升时间序列预测模型的推理效率,无需修改现有架构即可加速部署系统。

摘要:

现代网络应用—from实时内容推荐和动态定价到CDN优化—越来越多地依赖时间序列预测来为数十亿用户提供个性化体验。基于大规模Transformer的模型在时间序列预测中实现了最先进的性能,但计算成本高,限制了其在延迟敏感的网络应用中的部署。为了解决这一挑战,我们提出了一种通用的推理加速框架,将投机解码适应于自回归时间序列模型。我们的方法使用一个较小的“草案”模型来提出未来时间序列补丁,然后由较大的“目标”模型并行验证,从而减少所需的顺序前向传递次数。我们解决了将此技术从离散语言标记适应到连续时间序列分布的关键技术挑战,包括多变量高斯补丁的接受标准设计以及平衡效率与准确性的实用变体。通过在与网络应用相关的时序预测基准上的实验,我们证明了在保持竞争性准确性的同时显著提高了推理速度。该框架不需要对现有基础模型进行架构修改,使其能够立即应用于加速部署的时间序列预测系统。我们的实现可在https://github.com/PranavSubbaraman/STRIDE找到。

英文摘要:

Time series forecasting drives operational decisions under tight latency budgets, and autoregressive time series foundation models (TSFMs) increasingly deliver the most accurate forecasts. That accuracy is paid for at inference, since a horizon of $H$ steps takes $\lceil H / P\rceil$ sequential forward passes of a large model, so latency grows with exactly the long horizons these models are prized for. Yet a far cheaper model predicts most next patches nearly as well as the large one, and causal models can verify a block of future patches in one parallel pass even though they generate them one at a time. These are precisely the conditions under which speculative decoding thrives in LLMs, but its ingredients are all defined over discrete vocabularies. We therefore develop speculative decoding for continuous patch autoregression. A cheap draft proposes $K$ future patches, and the target verifies all of them in a single causal pass, accepting each by a log-domain Gaussian likelihood-ratio test and correcting the first rejection with its own prediction. We prove that the accelerated output stays within a squared-error radius of target-only decoding set by an acceptance temperature, and that throughput follows a capped-geometric law that makes speedups predictable before deployment. The method delivers up to $3.0 \times$ inference speedup at accuracy between target and draft across five TSFM families, and we characterize which architectures admit single-pass verification and when speculation does not pay.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑