In the world of time series forecasting, researchers have long faced a "Goldilocks" problem. On one hand, Multi-Layer Perceptrons (MLPs) are simple, fast, and robust to noise, but they often fail to see the "big picture" (long-range dependencies). On the other hand, Transformers are masters of global context but are computationally expensive and notoriously sensitive to noise.
A new paper, "XLinear: Frequency-Enhanced MLP with CrossFilter for Robust Long-Range Forecasting," proposes a middle ground. By moving key operations into the frequency domain, XLinear manages to capture long-term trends with the efficiency of an MLP and the contextual awareness of an attention mechanism.
TL;DR
XLinear is a lightweight, MLP-based architecture that uses frequency-domain operations to solve the long-range forecasting problem. By decomposing signals into trend and seasonal components and applying a novel "Enhanced Frequency Attention," it achieves state-of-the-art accuracy while remaining faster and more robust to noise than traditional Transformers.
What Problem Does This Paper Address?
Long-range time series forecasting—predicting hundreds of steps into the future—is notoriously difficult.
Recent "minimalist" models like DLinear proved that simple linear layers could often beat complex Transformers because they don't get distracted by high-frequency noise. However, MLPs have a limited "receptive field"; they struggle to connect a data point from three weeks ago to a prediction for tomorrow if the pattern is complex.
Transformers solve this with "attention," but attention is a double-edged sword: it has $O(N^2)$ complexity (making it slow for long sequences) and often mistakes random noise for meaningful patterns. The authors of XLinear set out to build a model that captures these long-range dependencies without the "fragility" or computational tax of a standard Transformer.
Methods
XLinear’s architecture relies on three main pillars:
- Trend-Seasonal Decomposition: The model first splits the input data into a Trend component (the slow-moving, low-frequency signal) and a Seasonal component (the fast-moving, high-frequency fluctuations and noise).
- Enhanced Frequency Attention (EFA): This is the "secret sauce" for the trend component. Instead of standard dot-product attention, EFA uses a Fast Fourier Transform (FFT) to move the signal into the frequency domain. It performs element-wise multiplication—which, thanks to the convolution theorem, is a mathematically efficient way to capture global interactions—and uses an exponential activation to amplify the most important trend signals. This reduces complexity from $O(N^2)$ to $O(N \log N)$.
- CrossFilter Block: For the seasonal component, which contains the most noise, the authors designed a dual-filter system. It combines a "Plain Shaping Filter" (for general denoising) and a "Contextual Shaping Filter" (for complex patterns). These are fused using a GELU-weighted "Cross Integration" method that prevents noise from accumulating during the filtering process.
Finally, these processed components are recombined and passed through a standard MLP to generate the final forecast.
Datasets
The authors evaluated XLinear on 8 widely-used public benchmarks covering diverse domains:
- Energy: ETT (m1, m2, h1, h2) and ECL (Electricity).
- Finance: Exchange Rate.
- Transportation: Traffic.
- Weather: Weather dataset.
These datasets vary in scale and dimensionality, providing a rigorous test for the model's ability to generalize across different types of data.
Key Insights and Ideas
- Selective Attention: One of the paper's smartest moves is not applying attention to the whole signal. By only applying EFA to the trend component, the model exploits attention's strengths (global context) while avoiding its weakness (sensitivity to high-frequency noise).
- The Frequency Shortcut: Capturing long-range dependencies in the time domain requires looking at every point relative to every other point. In the frequency domain, those same global patterns are represented by just a few low-frequency coefficients, making the task much simpler and faster.
- Denoising via Fusion: Most models simply add or concatenate filtered results. XLinear uses a probability-weighted mechanism (Cross Integration) to ensure that the two filters actually complement each other rather than just stacking their residual noise.
Key Results
- State-of-the-Art Performance: XLinear outperformed both MLP-based (DLinear, FilterNet) and Transformer-based (iTransformer, PatchTST) models across almost all datasets.
- Superior Long-Range Capability: The performance gap widened in favor of XLinear as the prediction horizon increased (e.g., predicting 720 steps ahead), proving its effectiveness at capturing long-term dependencies.
- Efficiency: In head-to-head comparisons, XLinear maintained a significantly lower parameter count and faster inference speed than Transformer models like PatchTST, while achieving better accuracy.
- Robustness: Visualization experiments showed that the CrossFilter block was significantly better at recovering a clean signal from noisy data compared to previous filtering methods like the Adaptive Spectral Block (ASB).
Limitations and Future Work
While XLinear narrows the gap significantly, the authors note that on extremely complex datasets like "Traffic," some advanced Transformer architectures (like iTransformer) still hold a slight edge in specific scenarios.
The paper suggests that while the current decomposition method (moving average) is a "classic" and effective choice, future work could explore more sophisticated or learnable decomposition techniques to further refine how the model separates signal from noise.
Reference: Ao, X. (2025). XLinear: Frequency-Enhanced MLP with CrossFilter for Robust Long-Range Forecasting. arXiv:2603.15645v1.
Summary updated