VarDrop: Enhancing Training Efficiency by Reducing Variate Redundancy in Periodic Time Series Forecasting

Junhyeok Kang, Yooju Shin, Jae-Gil Lee

Abstract

Recent advancements in multivariate time series forecasting have shifted toward variate tokenization, where entire variable sequences are treated as individual tokens to better capture inter-variate dependencies. However, this approach introduces quadratic computational overhead, $O(N^2)$, as the number of variables $N$ increases. This paper introduces VarDrop, a training-time strategy designed to mitigate this inefficiency by identifying and dropping redundant variates. By utilizing a novel $k$-Dominant Frequency Hashing ($k$-DFH) mechanism in the frequency domain, VarDrop dynamically groups similar variables and performs sparse attention on a representative subset. Our results demonstrate that VarDrop can reduce token counts by up to 85% and double training speeds while maintaining forecasting accuracy comparable to dense models.

Introduction

In the domain of multivariate time series forecasting, Transformers have traditionally struggled to balance temporal dependencies with inter-variable relationships. Recent state-of-the-art architectures, such as iTransformer, have addressed this by adopting variate tokenization. In this paradigm, an entire single variable across the lookback window is embedded as a single token, allowing the attention mechanism to explicitly model the correlations between different sensors or indicators.

While effective, this approach faces a significant scalability challenge. As the number of variables grows—common in industrial applications like power grid monitoring or traffic management—the quadratic complexity of the attention mechanism leads to skyrocketing memory and compute costs. This paper identifies a key inefficiency in these models: variate redundancy. In many real-world datasets, multiple variables exhibit nearly identical periodic behaviors. Computing dense attention across hundreds of redundant tokens is computationally wasteful. VarDrop is proposed as a plug-and-play training strategy to exploit this redundancy, reducing the computational burden without sacrificing the model's predictive power.

The VarDrop Framework

VarDrop operates on the principle of dynamically dropping redundant variates during the training phase. To ensure that the overhead of identifying redundancy does not outweigh the savings in attention, the authors propose $k$-Dominant Frequency Hashing ($k$-DFH). This method operates in the frequency domain, which is significantly more efficient than calculating time-domain correlations like Pearson coefficients or Dynamic Time Warping (DTW).

$k$-Dominant Frequency Hashing ($k$-DFH)

The VarDrop pipeline consists of four primary stages:

  1. FFT and Filtering: A Fast Fourier Transform (FFT) is applied to each variate within a batch. A low-pass filter is then used to remove high-frequency noise, focusing the model on the underlying trends and seasonal patterns.
  2. Hashing: The algorithm identifies the top $k$ dominant frequencies (those with the highest amplitudes). The ordered set of these frequencies serves as a unique "hash" for the variate.
  3. Stratified Sampling: Variates sharing the same hash value are grouped together. VarDrop then performs stratified sampling, retaining only a maximum number of representatives (defined by the group size hyperparameter, $gs$) from each group.
  4. Sparse Attention: The Transformer's scaled dot-product attention is computed only on the sampled tokens.

Crucially, VarDrop is a training-only intervention. During inference, the model utilizes all variables to ensure complete forecasting output, similar to how standard Dropout is applied.

Experimental Evaluation

The authors evaluated VarDrop using four benchmark multivariate datasets: Electricity (321 customers), Traffic (862 sensors), Weather (21 indicators), and Solar-Energy (137 plants). Analysis of the Traffic dataset revealed that approximately 95% of variates maintained a Pearson correlation greater than 0.9 with at least one other variate, confirming the prevalence of redundancy.

Performance and Efficiency

VarDrop achieved significant reductions in computational load across all benchmarks:

  • Token Reduction: The method successfully dropped between 63.3% and 85.4% of tokens during training. For instance, in the Solar-Energy dataset, the model required only ~20 out of 137 tokens.
  • Resource Optimization: On the Electricity dataset, VarDrop reduced the GPU memory footprint of the iTransformer from 3.41 GB to 2.22 GB. Training speed effectively doubled, dropping from 68ms to 33ms per iteration.
  • Predictive Accuracy: Despite the aggressive reduction in training data, the forecasting error (MSE/MAE) remained within 1% of the dense ground-truth models. VarDrop consistently outperformed other efficient Transformer variants like Reformer and Informer, which are typically optimized for temporal rather than variate complexity.

Discussion and Insights

One of the most compelling findings is that VarDrop acts as a form of regularization. By preventing the model from over-attending to highly duplicated signals, it encourages the learning of more robust features, sometimes even slightly improving accuracy over dense attention. Furthermore, because $k$-DFH is calculated per batch, the system is naturally adaptive to temporal distribution shifts where correlations between variables may change over time.

However, the method's effectiveness is sensitive to its hyperparameters: the number of dominant frequencies ($k$) and the group size ($gs$). Currently, these require manual tuning based on the specific characteristics of the dataset. Future work may focus on automated optimization of these parameters to make VarDrop more accessible across diverse time series applications.

Conclusion

VarDrop provides a highly efficient solution to the scalability issues of variate-tokenized Transformers. By leveraging the frequency domain to identify and prune redundant information during training, it achieves massive gains in speed and memory efficiency while maintaining state-of-the-art forecasting performance. Its plug-and-play nature makes it a viable enhancement for a wide range of existing and future Transformer architectures in the time series domain.

Summary updated

BibTeX
@inproceedings{kang2025vardrop,
  author = {Junhyeok Kang and Yooju Shin and Jae-Gil Lee},
  title = {{VarDrop: Enhancing Training Efficiency by Reducing Variate Redundancy in Periodic Time Series Forecasting}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i17.33951},
}
Figure