Time Series Foundation Models on the Edge

Marco Pichler, Patrick Podest, Günter Klambauer, Sepp HochreiterarXiv 2026

Imagine it’s 2 AM. You’re monitoring a critical sensor stream from a remote manufacturing plant. New data arrives every few seconds, and you need a forecast now to prevent a machine from melting down. You can’t send the data to the cloud because of privacy rules, so everything has to run on a tiny Raspberry Pi tucked away in a control cabinet.

This is the "Edge" reality, and as it turns out, the shiny new Time Series Foundation Models (TSFMs) we’ve all been excited about might not be ready for it. This paper puts nine state-of-the-art models through a grueling "streaming marathon" to see which ones can actually survive the long haul on constrained hardware.

TL;DR

Most time series models are built for "one-and-done" snapshots, but real-world operations are continuous streams. This paper reveals that while most models choke on long histories—either losing accuracy or blowing up their memory usage—recurrent architectures like TiRex-2 can forecast indefinitely with constant memory and lightning speed on edge devices.

What Problem Does This Paper Address?

We are currently in the "Foundation Model" era for time series. These models are great at "zero-shot" forecasting (predicting things they weren't specifically trained on). However, there’s a massive gap between a leaderboard benchmark and an operational deployment.

In the real world, data arrives in a stream. To keep your forecast fresh, you have to incorporate new observations. The authors identify three "must-haves" for an operational TSFM:

  1. Accuracy Retention: It shouldn't get dumber just because it has seen more history than it was trained for.
  2. Speed: It needs to refresh the forecast faster than the data arrives.
  3. Bounded Resources: Latency and memory shouldn't grow forever as the stream gets longer. If your Raspberry Pi runs out of RAM after two hours of operation, the system is useless.

Methods

The researchers didn't just run standard benchmarks; they created a streaming evaluation protocol. They simulated data streams up to one million time steps long and measured how models behaved on a server-grade GPU (NVIDIA A40) and three edge devices (a Raspberry Pi 5 and two industrial Beckhoff controllers).

They categorized the models into three architectural "scaling regimes":

  • Non-causal (e.g., Chronos): These models have to re-read the entire history from scratch every time a new data point arrives. This is computationally expensive ($O(n^2)$ complexity).
  • Causal Attention (e.g., TimesFM, Toto): These use a "KV cache" to remember the past. While they don't recompute everything, the cache grows linearly with time. Eventually, you run out of memory.
  • Causal Recurrent (e.g., TiRex-2): These use a fixed-size internal state (like a "compressed memory"). In theory, they can run forever with the same amount of RAM ($O(1)$ complexity).

Datasets

The study utilized fev-bench, a realistic benchmark for time series forecasting. To test the "long-haul" capabilities, they specifically focused on 10 tasks where the data series exceeded 50,000 steps—well beyond the typical training window of these models.

Key Insights and Ideas

  • The "Context Wall": Most models have a "trained context length" (e.g., 2,048 steps). You might think giving them more data would help, but as shown in Figure 1, most models actually perform worse once you exceed that limit. Some, like TiRex, collapse entirely.
  • The KV Cache Tax: For attention-based models, the "memory" of the past is a ticking time bomb. On a Raspberry Pi, the linear growth in memory and latency means the model will eventually become too slow to provide real-time updates.
  • Recurrence is the Secret Sauce: TiRex-2, which uses the xLSTM architecture, was the only model that stayed "flat." Its accuracy didn't degrade over long histories, and its memory usage stayed constant even after a million steps.
Figure 1: fev-bench skill score against the context handed to the model, aggregated over the 10 tasks whose series exceed 50 000 steps. Colour identifies the architecture and each line is solid up to the model’s trained context length and dotted beyond it. No model gains on aggregate from more context than it was trained on. Beyond it TiRex collapses, the Chronos configurations fall below the naive baseline (off scale), the Toto family and TimesFM-2.5 degrade gradually, and only TiRex-2 stays flat out to the untruncated series. The rightmost rung aggregates all series ends above 48 000 steps (52 392 to 198 504 steps depending on the task).

Key Results

  • TiRex-2 was the clear winner. It met all three operational requirements. It refreshed in just 14 ms on a GPU and 120 ms on a Raspberry Pi 5.
  • Edge Slowdown: Moving from a high-end GPU to a Raspberry Pi 5 results in a significant performance hit. As seen in Figure 2, models like Chronos-Bolt slowed down by over 30x, whereas the more efficient Toto and TiRex families saw smaller (though still significant) slowdowns of 7-12x.
  • Memory Limits: On the Raspberry Pi 5 (which has ~8GB of RAM), the largest models like Toto-2.0-2.5B simply wouldn't fit at all.
Figure 2: Median latency per refresh. Panel (d) shows the "slowdown ratio" when moving from a server GPU to a Raspberry Pi 5.

Limitations and Future Work

The authors acknowledge a few boundaries:

  • Univariate Only: The study focused on single-variable forecasting. Real-world problems often involve many variables (multivariate), which adds another layer of complexity.
  • Hardware Specifics: While they tested on popular edge hardware, the "optimal" model might change as new AI-specific edge chips (NPUs) become more common.
  • Quantization: They didn't heavily explore model quantization (shrinking models by reducing numerical precision), which is a standard trick for edge deployment that could change the latency/accuracy trade-off.

Summary updated

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.
BibTeX
@misc{pichler2026time,
  author = {Marco Pichler and Patrick Podest and Günter Klambauer and Sepp Hochreiter},
  title = {{Time Series Foundation Models on the Edge}},
  year = {2026},
  eprint = {2611.30404},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.30404},
}
Figure