Sentinel: Multi-Patch Transformer with Temporal and Channel Attention for Time Series Forecasting

Davide Villaboni, Alberto Castellini, Ivan Luciano Danesi, Alessandro Farinelli · DOI

Introduction

Multivariate time series forecasting involves predicting future values for multiple interdependent variables, such as meteorological data or traffic flow. This task is challenging because it requires modeling two distinct types of relationships: temporal dependencies (how a single variable evolves over time) and inter-channel dependencies (how different variables influence each other).

Existing Transformer-based models often prioritize one over the other. Some treat channels independently to focus on temporal patterns, while others focus on channel correlations at the expense of temporal resolution. Sentinel addresses this by employing a dual-structure approach: a specialized encoder for channel relationships and a decoder for temporal dynamics.

Methodology

Sentinel is built upon a full encoder-decoder Transformer architecture, enhanced by several key innovations designed for time series data.

The Sentinel architecture featuring a specialized Encoder for channel dimensions and a Decoder for temporal dimensions, integrated with RevIN and patching mechanisms.

Specialized Encoder-Decoder

The Encoder is dedicated to modeling inter-channel relationships. It learns how different features interact within specific temporal patches. Conversely, the Decoder focuses on the temporal dimension, utilizing causal self-attention to identify patterns across time and cross-attention to incorporate the channel-wise context from the encoder.

Multi-Patch Attention

The core innovation of Sentinel is the Multi-Patch Attention mechanism. Traditional Transformers use Multi-Head Attention, which splits the embedding dimension into multiple heads. Sentinel replaces this by leveraging the data's natural local structure. It treats each temporal patch as a distinct unit for attention, allowing the model to exploit local temporal dependencies more effectively than arbitrary mathematical splits.

Reversible Instance Normalization (RevIN)

To mitigate the effects of distribution shift—where statistical properties of the data change over time—Sentinel employs RevIN. This component normalizes input data before processing and denormalizes the output, ensuring the model remains robust to non-stationary time series.

Experimental Evaluation

The model was evaluated on seven public benchmarks for long-term forecasting:

  • ETT (Electricity Transformer Temperature): Four subsets (ETTh1, ETTh2, ETTm1, ETTm2) with varying sampling frequencies.
  • Electricity: Hourly consumption for 321 customers.
  • Weather: 21 meteorological indicators recorded every 10 minutes.
  • Traffic: Hourly road occupancy from 862 sensors.

These datasets range from low-dimensional (7 variables) to high-dimensional (862 variables), providing a comprehensive testbed for the model's versatility.

Results and Discussion

Sentinel demonstrates state-of-the-art performance, consistently ranking as the top or second-best model across nearly all tested scenarios and horizons.

Comprehensive comparison of Sentinel against baseline models across multiple datasets and prediction horizons (96, 192, 336, 720). Bold indicates the best result.

Performance Highlights

On the ETTm1 dataset, Sentinel achieved a Mean Squared Error (MSE) of 0.311 for a 96-step prediction, outperforming strong baselines like CARD (0.316) and iTransformer (0.334). In high-dimensional settings like the Traffic dataset, Sentinel maintained a significant lead, particularly in long-term horizons (720 steps).

Architectural Insights

Ablation studies confirmed the efficacy of the Multi-Patch mechanism; replacing it with standard Multi-Head attention resulted in a consistent performance drop. Furthermore, the model exhibits favorable scaling properties: unlike some predecessors, Sentinel’s accuracy generally improves as the lookback window increases, indicating an effective use of historical context.

Conclusion

Sentinel introduces a robust framework for multivariate time series forecasting by effectively separating and modeling channel and temporal dependencies. While the encoder shows a tendency to overfit in low-feature environments, its performance in high-dimensional tasks is exceptional. Future work will focus on improving regularization for low-feature datasets and exploring few-shot learning capabilities.

Summary updated

BibTeX
@misc{villaboni2025sentinel,
  author = {Davide Villaboni and Alberto Castellini and Ivan Luciano Danesi and Alessandro Farinelli},
  title = {{Sentinel: Multi-Patch Transformer with Temporal and Channel Attention for Time Series Forecasting}},
  year = {2025},
  eprint = {2503.17658},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.17658},
}
Figure