arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.12467cs.LGcs.AI
收藏

基于CNN编码器和注意力的片段级分词以改进变换器时间序列预测

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

School of Computer Science(计算机科学学院);Engineering, VIT-AP University(工程系,VIT-AP大学);Amaravati, Andhra Pradesh, 522241, India(安得拉邦阿马拉瓦蒂,522241,印度)

Saurish Nagrath, Saroj Kumar Panigrahy, Soubhagya Sankar Barpanda

AI总结:

本文提出基于CNN和注意力机制的片段级分词方法,通过分离局部时间表示学习与全局依赖建模,提升变换器在时间序列预测中的性能。

摘要:

基于变换器的模型通过利用自注意力机制来建模长期时间依赖性,在时间序列预测中表现出强大的性能。然而,其效果在很大程度上取决于从原始多变量时间序列数据中获得的输入表示的质量和结构,尤其是在序列长度和数据规模增加时。本文提出了一种两阶段预测框架,明确将局部时间表示学习与全局依赖建模分开。在所提出的方法中,卷积神经网络在固定长度的时间片段上操作,以提取短期时间动态和非线性特征交互,生成紧凑的片段级标记嵌入。在表示学习过程中应用标记级自注意力机制来优化这些嵌入,之后用变换器编码器建模片段间的时空依赖性以生成预测。该方法在具有受控静态和动态因素的合成多变量时间序列数据集上进行了评估,使用了扩展的序列长度和更多的样本。实验结果表明,所提出的框架在增加的时间上下文中始终优于卷积基线,并且在与强大的基于片段的变换器模型竞争时保持竞争力。这些发现表明,结构化的片段级分词为多变量时间序列预测提供了一种可扩展且有效的方法,特别是在考虑更长的输入序列时。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑