Saved in:
Bibliographic Details
Main Authors: Kaufman, Ilya, Azencot, Omri
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.13792
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910654654316544
author Kaufman, Ilya
Azencot, Omri
author_facet Kaufman, Ilya
Azencot, Omri
contents Transformer models have consistently achieved remarkable results in various domains such as natural language processing and computer vision. However, despite ongoing research efforts to better understand these models, the field still lacks a comprehensive understanding. This is particularly true for deep time series forecasting methods, where analysis and understanding work is relatively limited. Time series data, unlike image and text information, can be more challenging to interpret and analyze. To address this, we approach the problem from a manifold learning perspective, assuming that the latent representations of time series forecasting models lie next to a low-dimensional manifold. In our study, we focus on analyzing the geometric features of these latent data manifolds, including intrinsic dimension and principal curvatures. Our findings reveal that deep transformer models exhibit similar geometric behavior across layers, and these geometric features are correlated with model performance. Additionally, we observe that untrained models initially have different structures, but they rapidly converge during training. By leveraging our geometric analysis and differentiable tools, we can potentially design new and improved deep forecasting neural networks. This approach complements existing analysis studies and contributes to a better understanding of transformer models in the context of time series forecasting. Code is released at https://github.com/azencot-group/GATLM.
format Preprint
id arxiv_https___arxiv_org_abs_2410_13792
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Analyzing Deep Transformer Models for Time Series Forecasting via Manifold Learning
Kaufman, Ilya
Azencot, Omri
Machine Learning
Transformer models have consistently achieved remarkable results in various domains such as natural language processing and computer vision. However, despite ongoing research efforts to better understand these models, the field still lacks a comprehensive understanding. This is particularly true for deep time series forecasting methods, where analysis and understanding work is relatively limited. Time series data, unlike image and text information, can be more challenging to interpret and analyze. To address this, we approach the problem from a manifold learning perspective, assuming that the latent representations of time series forecasting models lie next to a low-dimensional manifold. In our study, we focus on analyzing the geometric features of these latent data manifolds, including intrinsic dimension and principal curvatures. Our findings reveal that deep transformer models exhibit similar geometric behavior across layers, and these geometric features are correlated with model performance. Additionally, we observe that untrained models initially have different structures, but they rapidly converge during training. By leveraging our geometric analysis and differentiable tools, we can potentially design new and improved deep forecasting neural networks. This approach complements existing analysis studies and contributes to a better understanding of transformer models in the context of time series forecasting. Code is released at https://github.com/azencot-group/GATLM.
title Analyzing Deep Transformer Models for Time Series Forecasting via Manifold Learning
topic Machine Learning
url https://arxiv.org/abs/2410.13792