九种TSFM配置边缘部署实测:仅TiRex-2满足快速刷新、恒定内存与精度保持
Time Series Foundation Models on the Edge
研究评估九种时间序列基础模型(TSFM)配置在边缘设备上的预测刷新表现,仅TiRex-2同时满足快速刷新、延迟与峰值内存有界、精度随历史累积保持三项要求。TiRex-2在GPU上刷新耗时14 ms、Raspberry Pi 5上120 ms,在百万时间步流上延迟、能耗与峰值内存保持恒定,并在未截断历史上保持精度。其余配置平均精度无法超越训练上下文长度,KV缓存则使延迟和内存随保留历史线性增长。
arXiv:2611.30404v1 Announce Type: new Abstract: Time series foundation models (TSFMs) forecast zero-shot with accuracy exceeding that of task-specific models, and the smaller ones fit on edge devices. Operational deployments must refresh their forecast as new observations arrive, and privacy and latency requirements often force this refresh onto resource-constrained edge devices. To serve as a forecasting system there, a TSFM must refresh quickly, keep latency and peak memory bounded as the stream grows, and retain its accuracy as the observed history accumulates. Refreshing incrementally without altering the forecast requires temporal causality: non-causal models recompute at every update, causal attention admits a KV cache that grows linearly, and causal recurrent models update a fixed-size state in constant time and memory. We make these states persist across refreshes for every causal architecture and verify equivalence to full recomputation. We evaluate nine TSFM configurations on univariate forecasting against all three requirements, measuring accuracy as a function of context length, single-refresh latency, and latency and memory on streams of up to one million time steps on a server-grade GPU and three edge devices. No model gains on average accuracy beyond its trained context and most lose it well before the full history is reached, while KV caches leave latency and memory growing linearly with the retained history. TiRex-2 is the only one of the nine configurations meeting all three requirements: it refreshes in 14 ms on the GPU and 120 ms on a Raspberry Pi 5, keeps latency, energy and peak memory constant over a million steps, and retains its accuracy on the untruncated history.
来源:arXiv (AI + Vision + Imaging) · arxiv.org