VarDrop: Enhancing Training Efficiency by Reducing Variate Redundancy in Periodic Time Series Forecasting
Junhyeok Kang, Yooju Shin, Jae-Gil Lee
TL;DR
This work addresses the quadratic cost of attention in variate-tokenized Transformers for multivariate time series by introducing VarDrop, which adaptively drops redundant variate tokens during training. It achieves this via k-dominant frequency hashing ($k$-DFH) to group variates by similar periodic content, followed by stratified sampling and sparse attention on a reduced token set; the resulting complexity scales as $O\left(N^2 (1-\delta)^2 d\right)$, with $\delta$ the token-reduction rate. Experiments on Electricity, Traffic, Weather, and Solar-Energy show strong performance gains over efficient baselines, with significant token reductions (up to ~85%) and reduced training time and memory footprints, while maintaining close to ground-truth accuracy. The method is modular and architecture-agnostic, enabling easy integration with existing variate-tokenized Transformers to enable scalable forecasting on high-dimensional data.
Abstract
Variate tokenization, which independently embeds each variate as separate tokens, has achieved remarkable improvements in multivariate time series forecasting. However, employing self-attention with variate tokens incurs a quadratic computational cost with respect to the number of variates, thus limiting its training efficiency for large-scale applications. To address this issue, we propose VarDrop, a simple yet efficient strategy that reduces the token usage by omitting redundant variate tokens during training. VarDrop adaptively excludes redundant tokens within a given batch, thereby reducing the number of tokens used for dot-product attention while preserving essential information. Specifically, we introduce k-dominant frequency hashing (k-DFH), which utilizes the ranked dominant frequencies in the frequency domain as a hash value to efficiently group variate tokens exhibiting similar periodic behaviors. Then, only representative tokens in each group are sampled through stratified sampling. By performing sparse attention with these selected tokens, the computational cost of scaled dot-product attention is significantly alleviated. Experiments conducted on public benchmark datasets demonstrate that VarDrop outperforms existing efficient baselines.
