Exploring Representations and Interventions in Time Series Foundation Models

Michał Wiliński, Mononito Goswami, Willa Potosnak, Nina Żukowska, Artur Dubrawski

TL;DR

This paper peels back the layers of Time Series Foundation Models (TSFMs) to reveal how they organize internal knowledge. The authors discover significant layer redundancy in larger models, allowing them to prune entire blocks of layers to slash model size and inference time with virtually no loss in accuracy. Additionally, they introduce "concept steering," a technique that injects human-interpretable features (like trends or periodicity) directly into the model's latent space during inference, altering predictions without any retraining or fine-tuning.

What Problem Does This Paper Address?

While foundation models have revolutionized natural language processing and computer vision, their extension to time series data—via Time Series Foundation Models (TSFMs)—is relatively recent. TSFMs show excellent zero-shot performance on forecasting, imputation, and anomaly detection, but they largely operate as black boxes.

We don't yet understand:

  1. Organizational Structure: Do different TSFMs learn and organize knowledge similarly?
  2. Concept Localization: Where do human-interpretable concepts (like seasonality or long-term trends) actually form inside the network?
  3. Controllability: Can we manipulate these internal states to guide or correct a model's predictions at inference time?

This paper tackles these questions to improve both the computational efficiency and the trustworthiness of TSFMs.

Methods

The authors investigate three representative open-source TSFM families: MOMENT (encoder-only, patch-based), Chronos (encoder-decoder, discrete tokens), and MOIRAI (encoder-only, multi-patch size). They apply three core methodologies:

1. Representation Similarity Analysis & Block-wise Pruning

To see how knowledge is distributed, the authors use Centered Kernel Alignment (CKA) with a linear kernel to measure the similarity of activations between different layers. They discover that larger models form "block-like" structures of highly redundant representations.

Leveraging this, they propose Block-wise Pruning: instead of removing random individual layers, they identify a redundant block, keep its boundary layers (to preserve structural continuity), and skip the internal layers entirely.

Figure 1: For each identified block of layers exhibiting redundant representations (red), we skip computation of their internal layers (blue). For example, if a block consists of five layers, we skip layers 2 through 4, retaining only the first and last layers to reduce representation redundancy while maintaining model integrity. More details on pruning can be found in Appendix C.

2. Concept Identification & Localization

The authors generate synthetic time series belonging to distinct classes (e.g., constant vs. sinusoidal) and train linear probes using the Fisher Criterion on the models' hidden states. To find exactly where a concept is learned, they compute Fisher's Linear Discriminant Ratio (LDR) across different layers and token positions.

3. Concept Steering

Once a concept's direction in the latent space is identified, the authors create a steering matrix ($S$) by calculating the difference between the median activation matrices of the two concept classes. During inference, they intervene by adding this steering matrix multiplied by a scaling factor ($\lambda$) to the model's hidden representations: $$h_i \leftarrow h_i + \lambda S_i$$ This forces the model to incorporate the desired concept (e.g., forcing a flat forecast to trend upward or become periodic) on the fly.

Overview of linear probing, concept localization, and steering

Datasets

  • Synthetic Data: Custom univariate time series generated to isolate specific features: constant trends ($y(t) = mt + b$) and sinusoidal patterns ($y(t) = a \sin(\frac{2\pi t}{f}) + mt + b$).
  • Real-World Benchmarks:
  • Imputation & Forecasting: The Informer datasets (ETTh1, ETTh2, ETTm1, ETTm2, Weather, Illness, Electricity, Exchange Rate, Traffic).
  • Classification & Anomaly Detection: 91 datasets from the UCR Time-Series Archive (including ECG5000) and 44 datasets from the UCR Anomaly Archive.

Key Insights and Ideas

  • Size Matters for Representation: Scaling up TSFMs doesn't just make them better; it fundamentally changes how they store information. Larger models (like MOMENT-Large or Chronos-Large) develop highly complex, redundant block structures that are completely absent in their smaller counterparts.
  • Concepts Emerge Gradually: Human-interpretable concepts are not scattered randomly. They are linearly separable and emerge smoothly, typically peaking in specific intermediate or later layers of the model.
  • Global vs. Local Processing: Distinguishing a periodic signal from a trend requires the model to look globally across all time patches. Conversely, identifying the direction of a trend is localized primarily in the first and last patches of the sequence.
  • Interventions are Combinable: Concept steering vectors act like modular building blocks. You can combine an "upward trend" vector with a "sinusoidal periodicity" vector to steer a flat baseline into a rising, seasonal forecast.

Key Results

  • Massive Efficiency Gains via Pruning: Aggressive block-wise pruning on a fine-tuned MOMENT-Large model reduced memory consumption by over 50% and sped up inference time, while performing completely on par with the unpruned vanilla baseline on long-horizon forecasting tasks.
  • Successful Zero-Shot Steering: The authors successfully steered MOMENT and Chronos models to inject trends and periodicity into constant signals without any fine-tuning.
  • Real-World Clinical Utility: Applying concept steering to real-world electrocardiogram (ECG) data, the authors successfully shifted the latent representations of normal heartbeats into the neighborhood of abnormal heartbeats. An SVM classifier confirmed a 100% success rate in swapping the output class, demonstrating that steering can effectively manipulate clinically relevant features.

Limitations and Future Work

  • Architecture Constraints: This study focused exclusively on Transformer-based TSFMs. The authors note that future work should test whether these insights hold for alternative architectures, such as State Space Models (e.g., Mamba) or stacked multi-layer perceptrons (e.g., TTMs).
  • Task Expansion: While representation analysis was comprehensive, the intervention and steering experiments were primarily evaluated on forecasting, imputation, and binary ECG classification. Future work should explore steering for more complex downstream tasks like multivariate anomaly detection.

Summary updated

BibTeX
@inproceedings{wilinski2025exploring,
  author = {Michał Wiliński and Mononito Goswami and Willa Potosnak and Nina Żukowska and Artur Dubrawski},
  title = {{Exploring Representations and Interventions in Time Series Foundation Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=goVzfYtj58},
}
Figure