PFformer: A Position-Free Transformer Variant for Extreme-Adaptive Multivariate Time Series Forecasting

Yanhong Li, David C. Anastasiu
2/27/2025
cs.LGcs.AI

No official code found. Best implementation: YLi2021/PFformer (1 star, MIT, last commit 2025-04-30).

Abstract

Multivariate time series (MTS) forecasting is vital in fields like weather, energy, and finance. However, despite deep learning advancements, traditional Transformer-based models often diminish the effect of crucial inter-variable relationships by singular token embedding and struggle to effectively capture complex dependencies among variables, especially in datasets with rare or extreme events. These events create significant imbalances and lead to high skewness, complicating accurate prediction efforts. This study introduces PFformer, a position-free Transformer-based model designed for single-target MTS forecasting, specifically for challenging datasets characterized by extreme variability. PFformer integrates two novel embedding strategies: Enhanced Feature-based Embedding (EFE) and Auto-Encoder-based Embedding (AEE). EFE effectively encodes inter-variable dependencies by mapping related sequence subsets to high-dimensional spaces without positional constraints, enhancing the encoder's functionality. PFformer shows superior forecasting accuracy without the traditional limitations of positional encoding in MTS modeling. We evaluated PFformer across four challenging datasets, focusing on two key forecasting scenarios: long sequence prediction for 3 days ahead and rolling predictions every four hours to reflect real-time decision-making processes in water management. PFformer demonstrated remarkable improvements, from 20% to 60%, compared with state-of-the-art models.

View on arXivView PDF

Code Implementations(1)

YLi2021/PFformerCommunity63%
MIT

PFformer: A Position-Free Transformer Variant for Extreme-Adaptive Multivariate Time Series Forecasting. In Proceedings of the PAKDD, Lecture Notes in Computer Science (LNCS) (LNCS), Springer, 2025.

10Python, Jupyter NotebookMar 6, 20251 years agoMIT

Similar Papers

Cite this paper

@article{li2025pfformer,
  title  = {PFformer: A Position-Free Transformer Variant for Extreme-Adaptive Multivariate Time Series Forecasting},
  author = {Yanhong Li and David C. Anastasiu},
  year   = {2025},
  eprint = {2502.20571},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.20571v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.20571.svg)](https://codeofpaper.com/paper/2502.20571)

Discussion