cs.LGJan 18, 2026

Patch-Level Tokenization with CNN Encoders and Attention for Improved Transformer Time-Series Forecasting

Authors: Saurish Nagrath, Saroj Kumar Panigrahy, Soubhagya Sankar Barpanda

Organizations: School of Computer Science and Engineering, VIT-AP University, Amaravati, Andhra Pradesh, 522241, India

Abstract

Transformer-based models have shown strong performance in time-series forecasting by leveraging self-attention to model long-range temporal dependencies. However, their effectiveness depends critically on the quality and structure of input representations derived from raw multivariate time-series data, particularly as sequence length and data scale increase. This paper proposes a two-stage forecasting framework that explicitly separates local temporal representation learning from global dependency modelling. In the proposed approach, a convolutional neural network operates on fixed-length temporal patches to extract short-range temporal dynamics and non-linear feature interactions, producing compact patch-level token embeddings. Token-level self-attention is applied during representation learning to refine these embeddings, after which a Transformer encoder models inter-patch temporal dependencies to generate forecasts. The method is evaluated on a synthetic multivariate time-series dataset with controlled static and dynamic factors, using an extended sequence length and a larger number of samples. Experimental results demonstrate that the proposed framework consistently outperforms a convolutional baseline under increased temporal context and remains competitive with a strong patch-based Transformer model. These findings indicate that structured patch-level tokenization provides a scalable and effective representation for multivariate time-series forecasting, particularly when longer input sequences are considered.

Figures & tables

Explore similar work

CardsList
  1. IPatch: A Multi-Resolution Transformer Architecture for Robust Time-Series Forecasting

    Mar 25, 2026Aymane Harkati, Moncef Garouani, Olivier Teste +2Robust Time Series ForecastingTime Series Forecasting

  2. TimeSqueeze: Dynamic Patching for Efficient Time Series Forecasting

    Mar 11, 2026Sravan Kumar Ankireddy, Nikita Seleznev, Nam H. Nguyen +4Time Series ForecastingTime Series Transformers

  3. Rethinking Patch Based Multivariate Time Series Forecasting with Semantic Structured Partitioning

    Aug 20, 2026Zhiquan Huang, Jiazhe Wang, Linjing Xue +3Multivariate Time Series ForecastingTime Series Forecasting