Papers › FreEformer: Frequency Enhanced Transformer for Multivariate Time Series Forecasting

FreEformer: Frequency Enhanced Transformer for Multivariate Time Series Forecasting

23 Jan 2025arXiv:2501.13989archive 2025-07-28

Wenzhen Yue, Yong liu, Xianghua Ying, Bowei Xing, Ruohao Guo, Ji Shi

This paper presents \textbf{FreEformer}, a simple yet effective model that leverages a \textbf{Fre}quency \textbf{E}nhanced Trans\textbf{former} for multivariate time series forecasting. Our work is based on the assumption that the frequency spectrum provides a global perspective on the composition of series across various frequencies and is highly suitable for robust representation learning. Specifically, we first convert time series into the complex frequency domain using the Discrete Fourier Transform (DFT). The Transformer architecture is then applied to the frequency spectra to capture cross-variate dependencies, with the real and imaginary parts processed independently. However, we observe that the vanilla attention matrix exhibits a low-rank characteristic, thus limiting representation diversity. This could be attributed to the inherent sparsity of the frequency domain and the strong-value-focused nature of Softmax in vanilla attention. To address this, we enhance the vanilla attention mechanism by introducing an additional learnable matrix to the original attention matrix, followed by row-wise L1 normalization. Theoretical analysis~demonstrates that this enhanced attention mechanism improves both feature diversity and gradient flow. Extensive experiments demonstrate that FreEformer consistently outperforms state-of-the-art models on eighteen real-world benchmarks covering electricity, traffic, weather, healthcare and finance. Notably, the enhanced attention mechanism also consistently improves the performance of state-of-the-art Transformer-based forecasters.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2501.13989")

Code

Syntology Ran 7 of 10 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 7 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

jackyue1994/FreEformer officialpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 7 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

7ran
3unverified

Licence: 10 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from jackyue1994/FreEformer. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

AttentionLayer jackyue1994/FreEformer/model/FrePatchTST3_fre_all.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 9bc6c1a9a4e99258 · report
CudaCKA jackyue1994/FreEformer/model/FrePatchTST3_fre_all.py official repository ran no licence file found · pointer only · a9e6623f1781245e · report
EncoderLayer jackyue1994/FreEformer/model/FrePatchTST3_fre_all.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · ca4789ac538fe313 · report
Encoder_ori jackyue1994/FreEformer/model/FrePatchTST3_fre_all.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 2fa52f9908622dba · report
FullAttention_ablation jackyue1994/FreEformer/model/FrePatchTST3_fre_all.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · d91bc87d34339026 · report
RevIN jackyue1994/FreEformer/model/FrePatchTST3_fre_all.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · f3b0dc9186deaf87 · report
dynamic_projection jackyue1994/FreEformer/model/FrePatchTST3_fre_all.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 87351e0f476389c8 · report
Model jackyue1994/FreEformer/model/FrePatchTST3_fre_all.py official repository unverified no licence file found · pointer only · 985ac3aa5ccdb250 · report
plot_mat jackyue1994/FreEformer/model/FrePatchTST3_fre_all.py official repository unverified no licence file found · pointer only · 4c834ad81d5d62cd · report
write_into_xls jackyue1994/FreEformer/model/FrePatchTST3_fre_all.py official repository unverified no licence file found · pointer only · b10eef45e3000da8 · report

Tasks

DiversityMultivariate Time Series ForecastingRepresentation LearningTime SeriesTime Series Forecasting

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections