Skip to content
All library documents

PSformer Uses Shared Parameters and Segment Attention for Forecasting

Article MQL5 articles

Summary

The article explains PSformer, a Transformer architecture for multivariate time series forecasting. It divides input series into patches, groups patches at matching positions across variables into segments, and applies attention to model relationships across time and channels. A parameter-sharing block with three linear layers is reused across encoder components to reduce model size, while RevIN is used to address distribution shifts and SAM to reduce overfitting.

The article reports that PSformer outperformed state-of-the-art models on six of eight forecasting benchmarks, but gives no benchmark details or evidence of trading profitability. It then begins an MQL5 implementation discussion focused on shared parameters and the storage or recomputation needed for backpropagation. That practical implementation is explicitly unfinished and is deferred to a later article. The forecasting results therefore support interest in the architecture, but do not establish its value for trading decisions.

Key ideas

  • PSformer groups same-position patches from different variables into segments for cross-channel and temporal attention.
  • A three-layer parameter-sharing block is reused across encoder components to reduce parameter count.
  • The article reports benchmark wins but does not provide trading performance evidence.
  • The MQL5 implementation discussion is incomplete and highlights backpropagation buffer challenges.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.