Unveiling and Manipulating Concepts in Time Series Foundation Models

Michal Wilinski, Mononito Goswami, Nina Zukowska, Willa Potosnak, Artur Dubrawski · OpenReview

Abstract

Time series foundation models (TSFMs) promise to be powerful tools for a wide range of applications. However, their internal representations and learned concepts are still not well understood. In this study, we investigate the structure and redundancy of representations across various TSFMs, examining the self-similarity of model layers within and across different model sizes. This analysis reveals block-like redundancy in the representations, which can be utilized for informed pruning to improve inference speed and efficiency. Additionally, we explore the concepts learned by these models - such as periodicity and trends - and how these can be manipulated through latent space steering to influence model behavior. Our experiments show that steering interventions can introduce new features, e.g., adding periodicity or trends to signals that initially lacked them. These findings underscore the value of representational analysis for optimizing models and demonstrate how conceptual steering offers new possibilities for more controlled and efficient time series analysis with TSFMs.

Introduction

Time Series Foundation Models (TSFMs) like MOMENT, Chronos, and MOIRAI have demonstrated impressive zero-shot capabilities across diverse tasks. However, despite their performance, these models often function as "black boxes," with their internal representational structures and learned conceptual frameworks remaining poorly understood. This research addresses three fundamental unknowns: the extent of structural redundancy within these massive models, the localization of human-interpretable concepts (like seasonality or trends) within the architecture, and the feasibility of manipulating internal states during inference to incorporate prior knowledge without the cost of retraining.

Methodology

The researchers developed a multi-faceted analytical framework to probe the internal states of TSFMs. The approach consists of three primary techniques:

  1. Representation Similarity Analysis: Centered Kernel Alignment (CKA) was employed to compare activations across different layers, identifying whether different parts of the network learn redundant information.
  2. Concept Probing and Localization: Linear classifiers (probes) were trained on internal states to detect specific patterns, such as sinusoidal or constant trends. Fisher’s Linear Discriminant Ratio (LDR) was then used to pinpoint the specific layers and tokens where these concepts are most prominently represented.
  3. Concept Steering: By calculating "steering vectors"—defined as the difference between median activations of distinct concepts—the authors demonstrated that adding these vectors to hidden states ($h \leftarrow h + \lambda S$) can predictably alter the model's output during inference.
Overview of concept localization, linear probing, and steering methodology

Experimental Setup

The methodology was validated using a diverse set of data sources. Synthetic datasets provided controlled environments for testing basic concepts like trends and periodicity. Large-scale benchmarks from the "Time Series Pile" (e.g., ETTh1/2, Electricity, Weather) were used for zero-shot forecasting and imputation tasks. Additionally, the UCR Time Series Archive and the real-world ECG5000 dataset were utilized to evaluate classification performance and the efficacy of steering in complex, noisy domains.

Results and Discussion

A key finding of this study is the "Block Phenomenon" observed in larger TSFMs. CKA matrices revealed that groups of consecutive layers often produce nearly identical representations, indicating substantial structural redundancy. This insight led to a block-wise pruning strategy: by removing redundant middle layers while preserving boundary layers, the authors reduced the size of MOMENT-Large by 52% and achieved a corresponding 52% speedup in inference with negligible impact on accuracy.

CKA Similarity Matrix revealing block-like redundancy in MOMENT-Large layers

Furthermore, the study found that human-interpretable concepts are often linearly separable in the latent space. These concepts do not emerge immediately but peak in specific middle-to-late layers. Steering experiments proved highly effective; for instance, the model could be "nudged" to add periodicity to a flat forecast or even combine multiple concepts, such as an upward trend with a sinusoidal pattern. In real-world heart rate data (ECG5000), steering successfully transformed "normal" heartbeat representations into "abnormal" ones with 100% success on test samples, highlighting the potential for incorporating domain-specific prior knowledge into foundation models without retraining.

Conclusion

This research provides a foundational understanding of the internal mechanics of TSFMs. The discovery of block-like redundancy suggests that current architectures may be over-parameterized in depth, offering clear paths for optimization through pruning. Moreover, the ability to localize and steer concepts opens new avenues for more controllable and interpretable time series analysis. Future research will focus on extending these findings to non-Transformer architectures, such as State Space Models, and developing automated methods for optimizing steering parameters.

Summary updated

BibTeX
@inproceedings{wilinski2025unveiling,
  author = {Michal Wilinski and Mononito Goswami and Nina Zukowska and Willa Potosnak and Artur Dubrawski},
  title = {{Unveiling and Manipulating Concepts in Time Series Foundation Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=goVzfYtj58},
}
Figure