Skip to content

Time Series Foundation Models Have a Second Input Nobody Uses

#time-series #foundation-models #xlstm #multi-task-learning #forecasting #zero-shot

Two papers landed on arXiv within days of each other, both about time series foundation models, and both make the same argument from different angles. The bottleneck sits in how information gets into the model. More layers don't fix it.

Two papers, one diagnosis ​

TimeSeek's authors open with a complaint I've heard from every team that has tried to ship a TSFM. Existing models add capacity by stacking more transformer layers, which grows the checkpoint without teaching the model that electricity load and retail demand have different shapes, different channel structures, different periodicities. Pretrain on a mix of domains with no mechanism to tell them apart and you converge on an average that fits none of them well.

The second paper starts from an implementation detail. Recurrent backbones like xLSTM have become popular for TSFMs because per-step cost stays constant, so long-context inference is cheap, and the backbone carries a state between steps. A recurrent model computes its prediction from two things: the observed context window and the initial recurrent state. Every implementation I've opened initializes that state to zeros and never touches it again.

The zero initialization is a default in the reference code. Nothing in the architecture prevents you from writing something else into it.

TimeSeek: separating the shared from the specific ​

The guiding idea in TimeSeek is "selective information sharing under domain and task heterogeneity." Put plainly: share what's genuinely shared across domains and tasks, keep separate what isn't, and let the model decide which is which.

From the multi-domain side, there's a Multi-Domain Feature Extractor with two moving parts. Progressive multi-scale modeling captures temporal dependencies at several resolutions in one pass, so hourly spikes and weekly cycles get modeled together. Adaptive slot channel modeling learns channel correlations per domain instead of assuming one fixed channel-mixing pattern works everywhere.

From the task side, forecasting, anomaly detection, and classification get trained together with task customization (each task keeps its own head and loss) and cross-task training (the shared trunk sees gradients from all three). The reported result is state-of-the-art on all three task families in both few-shot and zero-shot settings, with favorable inference efficiency.

DirectionMechanismWhat it buys you
Multi-domainProgressive multi-scale modelingOne model covers series with different periodicities without per-domain heads
Multi-domainAdaptive slot channel modelingChannel correlations are learned per domain rather than fixed
Multi-taskTask customizationEach task keeps its own head and loss instead of sharing one output layer
Multi-taskCross-task trainingTrunk gradients come from forecasting, anomaly detection, and classification at once

The more interesting claim is about timing. Task commonality is worth exploiting during pretraining, before any fine-tuning happens. Most TSFMs treat the pretrained checkpoint as a generic feature extractor and bolt task-specific adaptation on afterwards. TimeSeek argues the shared structure across forecasting, anomaly detection, and classification is strong enough that you want those gradients in the same optimization run.

Turning the state into a writable interface ​

The TiRex paper is a controlled experiment, which is rare in this literature. Freeze the xLSTM backbone, train only a small head that writes a context vector into the initial recurrent state. Any accuracy change is then attributable to the injected state rather than to adapted weights. That design is why I trust these numbers more than their magnitude.

Three things get written into the state, and the comparison between them is the useful part.

  1. A spectral summary of the input window, learned once and applied unchanged to every series. Mean GiftEval MASE drops 0.175%, with every seed improving. Neither a parameter-matched LoRA adapter nor a learnable static state reproduces that, which is the load-bearing result: the gain comes from conditioning on the specific window, not from extra capacity.
  2. A static per-dataset state. On MoTime this cuts MASE by 0.04% to 6.96% relative to the zero-shot baseline. That range is 8% to 70% of what full fine-tuning delivers, for a head that trains in minutes.
  3. An embedding of the text attached to each series. On four of six MoTime datasets this adds another 0.15% to 0.41%. Combined with a LoRA adapter, it beats full fine-tuning on one dataset, and full fine-tuning there gets no text at all.

Quick Take: TimeSeek says the fix for generalized forecasting lives in pretraining objectives, while the TiRex experiment says a frozen model already has a spare input port that costs almost nothing to use.

Key Numbers

  • 0.175%: mean GiftEval MASE reduction from a spectral-summary initial state, consistent across every seed.
  • 0.04% to 6.96%: MASE reduction from a static per-dataset state on MoTime, worth 8% to 70% of a full fine-tune.
  • 0.15% to 0.41%: extra reduction from a text-conditioned state on four of the six MoTime datasets.
  • 6: MoTime datasets used for the text-conditioning experiments. Two showed no gain.

What the state injection actually buys you ​

The gap between 0.175% and 6.96% is the whole story. The spectral summary generalizes across suites but moves the metric by a fifth of a point. The static state moves it by up to seven points but only because it's tuned to one dataset's distribution.

Read those numbers the way you'd read a latency improvement. A 0.2% MASE gain is noise for most business forecasting, where your baseline is a seasonal naive model and your error bars are wider than the effect. On electricity load or ad spend, where a small percentage of a very large number is real money, a 0.2% cut is a line item. A 7% cut on a single dataset is a different category of result, and it comes with the caveat that you had to provide a per-dataset conditioning signal.

Where the gain concentrates ​

The effect lands in the mLSTM blocks and it's strongest at short context. That has a direct operational consequence. If you're feeding 2,000 steps into a recurrent TSFM, the injected state gets diluted long before the model reaches the forecast horizon. The technique pays off on short windows, high-frequency series, and setups where you actually have per-series metadata to feed in.

I ran into this pattern on a sensor forecasting project last year. We had a per-device description field that nobody used because the model had no place to put it. Concatenating it to the input helped slightly and then got washed out as the context grew. A conditioning signal that enters through the state avoids that washout because it isn't competing with thousands of timesteps for attention.

Common Pitfalls ​

  • Fine-tuning the whole backbone when you only needed the head. The TiRex result exists because the backbone was frozen. If you fine-tune everything and see a gain, you have no idea whether it came from the conditioning signal or from 40M adapted weights. Freeze first, measure, then unfreeze if you need more.
  • Comparing against a control with the wrong parameter count. The paper's skepticism about the LoRA adapter is not skepticism about LoRA. It's an accounting point: the adapter had matched parameters and still didn't reproduce the spectral-summary gain. If your ablation adds more parameters than the thing you're testing, the comparison tells you nothing.
  • Treating a multi-task TSFM as a drop-in single-model replacement. TimeSeek keeps task-specific heads and losses on purpose. Strip those and train one shared output layer across forecasting and anomaly detection, and the shared trunk carries conflicting gradients with no place to resolve them.
  • Judging a 0.2% effect from a single seed. Effects that small flip sign between runs on most benchmarks. The paper reports every seed improving, which is the only reason the 0.175% number means anything. Run five seeds or don't quote the decimal.
  • Expecting the state trick to transfer to a transformer TSFM. There's no recurrent state to write into. If you're on a transformer backbone, the equivalent move is a prefix or adapter token, and that's a different (and more expensive) mechanism with its own set of controls.

Which direction to bet on ​

If you're pretraining your own TSFM, TimeSeek's lesson is the cheaper one to apply. Build the domain-aware extractor before you build the 40th layer, and put forecasting, anomaly detection, and classification in the same pretraining run with separate heads. The label cost is the constraint, not the compute.

If you're consuming a frozen recurrent TSFM, the state is free conditioning and you should test it this week. Write a per-series embedding, a spectral summary, or a text embedding into the initial state, freeze everything else, and compare against your zero-shot baseline over five seeds. The cost is a small head and an afternoon.

One Thing to Remember ​

The TiRex authors call their results preliminary and the improvements small, and they're right on both counts. The reason the paper matters is methodological: it demonstrates that you can isolate the contribution of a single input to a recurrent TSFM by freezing everything else, and that the resulting effect survives a parameter-matched control. Most TSFM papers report a bigger number without that control.

The Bottom Line ​

If you're pretraining a TSFM from scratch, adopt TimeSeek's structure, domain-aware feature extraction plus multi-task pretraining with separate heads, because the shared signal across forecasting and anomaly detection is real and costs you nothing at inference.

If you're running a frozen xLSTM or other recurrent forecaster and you have per-series metadata, spend a day writing an embedding into the initial state before you consider fine-tuning, because a small head captures 8% to 70% of the fine-tuning gain at a fraction of the cost.

One thing to watch: the field is converging on conditioning interfaces as the place where small models close the gap on large ones. Expect the next round of TSFM releases to ship an explicit hook for per-series metadata rather than expecting you to prepend text to the context window.