Beyond Isolation: Neighbor-Consistent Data Pruning for Multivariate Time Series Forecasting
Zi Yang ⋅ Jona Otholt ⋅ Weixing Wang ⋅ Haojin Yang ⋅ Guillermo Gallego
Abstract
Data pruning for multivariate time-series forecasting (MTSF) is an emerging topic that poses unique challenges due to the intricate temporal dependencies within and between training samples. The dominant data pruning scores have been designed for i.i.d. image classification tasks and rate each data sample using its own training trajectory in isolation. However, this misses a structural property of MTSF training: samples (obtained by windowing time series) can easily overlap, especially if strides down to 1 time step are used, thus breaking the standard training i.i.d. assumption. Indeed, our key observation is that this overlap drives neighbors' loss trajectories into lockstep across training. The few samples whose trajectories deviate from this lockstep are inconsistent with their overlapping neighbors, typically because they contain contaminated points, and are the ones worth pruning away. Hence, we propose TWIN (Trajectory-Wise Inconsistency with Neighbors), a multi-scale Wasserstein-2 score and pruning algorithm that is, to our knowledge, the first to compare each sample's sorted training-loss trajectory against those of its sliding-window neighbors. Specifically, our design is motivated by two complementary bounds: the pairwise discrepancy between neighboring loss trajectories is at most $\mathcal{O}(\delta)$ when both samples are clean, where $\delta$ bounds the one-step change of the clean series (Theorem 1), but at least $\Omega(\Delta^2)$ once one carries a contamination spike of magnitude $\Delta$ (Theorem 2). Whenever $\Delta \gg \delta$, these scaling orders separate, exposing an asymptotic scaling-order gap that TWIN's rank-based rule reads. A synthetic audit of $16{,}000$ trained models empirically confirms this gap, with a median $44.23\times$ separation between clean and contaminated populations. We further evaluate TWIN's effectiveness on eight MTSF benchmarks, four horizons, and five seeds against nine baseline methods, showing that it shortens the average retraining time to about $58\%$ of the unpruned baseline and reduces the average Relative MSE by up to $1.46\%$ under IQR self-calibration, the best results among all evaluated methods. Moreover, the score transfers across backbones: computed from a short run of a lightweight linear model, it also applies to heavier backbones.
Successful Page Load