Forecasting models for systems with many sensors, such as power grids with hundreds of meters or freeway networks with hundreds of loop detectors, face a choice. They can let every variable look at every other variable, which models real couplings but costs compute that grows with the square of the number of variables and tends to latch onto coincidental correlations. Or they can treat each variable as its own isolated series, which is cheap and robust but blind to physical coupling. We propose a third option. Start from a model that mixes all variables. Then repeatedly remove the variable-to-variable links that the forecasting loss says matter least, retraining briefly between removals. The result is a sparse, dataset-specific interaction graph in which each variable reads from a handful of others or from none. Attention cost falls from quadratic to linear in the number of variables, and the model settles at a data-chosen point between "fully mixed" and "fully independent."
The two-sentence version is this. We treat the pairwise links of an all-to-all cross-variable attention layer as removable structures and prune them in small loss-guided steps, as has long been done for convolutional filters. The open question is whether the graph that the loss chooses beats the cheap alternatives, namely correlation-based neighbor lists, fixed local neighborhoods, or plain channel independence, on accuracy, robustness and speed.
Core Claim
Take a channel-mixing forecaster in which each variable is one token and attention runs across variables. Iterative first-order pruning of its variable-pair attention edges, down to a per-variable degree budget $k \ll C$ (with $C$ the number of variables), will do three things. It will match or beat the dense model's error. It will beat a graph built from Pearson correlation at the same budget. And it will cut attention compute and memory by roughly $C/k$ in actual wall-clock terms. The chosen degrees should also track how strongly coupled a system is. Many variables should reach degree zero, which makes them channel-independent, on datasets where independent-channel models already do well. Degrees should stay high on traffic-network data, where cross-variable models win.
The new element is the pruning unit. Prior structured pruning of time-series models removes generic heads and hidden units. Prior multivariate work either masks attention softly without removing anything, or drops input sensors outright. We remove the interactions themselves.
Relation to Prior Work
The closest work is Less is More. It scores the attention heads and feed-forward channels of time-series foundation models with a Taylor/Fisher importance score averaged over mini-batches, prunes them progressively, and fine-tunes the compact model. It reports gains in 83% of forecasting tasks and up to 7.4× inference speedup. That paper supplies our scoring and scheduling machinery, and it motivates us: it shows these models carry large unused structure. But it treats the network as a single undifferentiated block. It never separates temporal computation from cross-variable computation. Removing a whole head also leaves each surviving head's $C^2$ cost untouched. Our pruning unit is the edge between two variables, and head pruning becomes an ablation.
Two papers attack spurious cross-variable coupling without removing parameters. Partial Channel Dependence multiplies iTransformer's cross-variable attention by a sigmoid of a scaled dataset-wide Pearson correlation matrix and reports a 6.3% average MSE reduction. The attention stays dense, so there is no saving. It also fixes the relevance of a pair from linear co-movement, which we think is the wrong signal: electricity customers co-move because they share a daily cycle, not because one predicts the other. VPNet shows that local cross-variable convolutions with linear cost beat global attention, reporting MSE 9.0% below iTransformer on Electricity. Its "neighborhood" is adjacency in channel index order, and the paper names adaptive locality as open. A pruned graph is exactly an adaptive, index-free locality, so VPNet both motivates the proposal and serves as its strongest accuracy competitor.
Two papers select data rather than structure. Channel Matters estimates a channel-to-channel influence matrix from gradients. It uses the matrix to drop sensors (Electricity MSE 0.150 vs 0.148 with half the channels) and shows that iTransformer needs more channels than PatchTST. Neural Feature Selector learns L1-penalized input-path importances. Both remove variables entirely, whereas we keep every variable as input and output and remove only who-reads-whom. The off-diagonal influence matrix from Channel Matters is a natural score to compare against ours.
iTransformer supplies the host architecture: whole-series variable tokens, attention across variables, feed-forward layers per variable. PatchTST supplies the independent-channel endpoint. The saliency criterion comes from Pruning Convolutional Neural Networks for Resource Efficient Inference, which found that loss-based Taylor scores beat weight magnitude when removals are interleaved with fine-tuning. Two findings constrain the schedule. The LLM Surgeon finds that structured pruning is gentle up to 20–30% and degrades by 50%. Layer-pruning collapse in language models (Understanding Performance Collapse) points the same way. Together they warn that aggressive one-shot removal can fail, so the iterative-versus-one-shot comparison is a real test and not a formality.
Research Program
We attach a scalar gate $g_{ij}$, initialized at 1, to every ordered pair of variables in each cross-variable attention layer. One graph is shared across heads within a layer, so the final sparsity pattern is a single neighbor list per layer, which is efficient on hardware. Variable $i$'s attention output becomes a renormalized sum over its surviving neighbors. The self-link is never pruned, so a variable whose neighbors are all removed reverts to channel-independent processing through the shared feed-forward layers.
Edge importance is the first-order estimate of how much the loss would rise if the gate were closed. It is averaged over held-out training batches with an exponential moving average, as in Less is More:
$$S_{ij} = \mathrm{EMA}_{\text{batches}}\left| \frac{\partial \mathcal{L}}{\partial g_{ij}}\, g_{ij} \right|,$$
where $\mathcal{L}$ is the forecasting MSE. Each round removes a fixed fraction of surviving edges with the lowest $S_{ij}$, taken globally across variables rather than per row, so degrees can differ between variables. A short fine-tuning phase follows. We stop when the average degree reaches $k$.
Attention cost then scales as $C \cdot k \cdot d$ instead of $C^2 \cdot d$, where $d$ is the token width. The expected saving of about $C/k$ follows directly from counting multiply-adds per layer. We implement sparse attention by gathering neighbor lists, so the saving shows up in measured latency and not only in counted FLOPs.
The analysis side asks what the pruned graph encodes. We will correlate $S_{ij}$ with Pearson correlation and with the Channel Matters off-diagonal influence. On PEMS we will check whether surviving edges align with road adjacency. We will record the fraction of degree-zero variables per dataset as a measured position on the independent-to-mixed continuum. We will also test whether graphs found on early training windows remain adequate on later windows, which probes the static-topology limitation that A2TTA raises for evolving sensor networks.
Baselines
The naive reference points are the two endpoints. The first is dense iTransformer trained with its standard recipe. The second is PatchTST, the independent-channel design. Both use our lookback and horizons with an equal hyperparameter search budget. Any pruned model must at least match dense iTransformer's MSE to count as a success. The iTransformer paper reports a large lead over patching models on PEMS, but the file gives no absolute value, so we reproduce both.
The strongest structural competitor is a correlation top-$k$ graph. For each variable we keep the $k$ neighbors with the highest absolute Pearson correlation on training data, using the same sparse kernel and the same total training epochs as our prune-and-retrain schedule. This is the cheapest way to get the same speedup, which makes it the most dangerous comparison. We also report Partial Channel Dependence's soft mask on dense iTransformer as the best non-sparse way of filtering cross-variable noise. Its reported gain is a 6.3% average MSE reduction on iTransformer (Partial Channel Dependence paper), and we reproduce it under our protocol.
The strongest accuracy competitor is VPNet, reported at 9.0% lower MSE than iTransformer on Electricity and 26% better than TimeKAN on Traffic. No absolute VPNet MSE was found on Lacuna, so we rerun it with its released configuration and matched tuning budget. Beating it means lower average MSE across Electricity, Traffic, Solar and PEMS at comparable or lower latency.
We also include the Less is More procedure applied to iTransformer's heads and feed-forward channels at matched parameter count. This tests whether edges are a better unit than heads.
Three ablations isolate the key ingredients. One-shot edge pruning to the same $k$, followed by the same total fine-tuning, tests whether iteration matters. Magnitude-of-attention scoring tests whether the loss signal matters. Edge gates trained end to end under an L1 penalty, in the spirit of the Neural Feature Selector, test whether explicit pruning rounds matter at all.
Why not just…?
Why not just use a channel-independent model like PatchTST? On datasets where it already wins, we expect our method to prune most edges and converge to it, so matching PatchTST there is the intended outcome. The case for pruning rests on coupled systems. iTransformer's lead on PEMS and VPNet's gains over independent models on Traffic and Electricity say that cross-variable information is real there. The experiment settles this per dataset: if the pruned model never beats PatchTST on PEMS or Traffic, the method has no reason to exist.
Why not just build the graph from correlations and skip pruning? This is the real threat, and we treat it as the decisive test. Correlation top-$k$ gives the same speedup for almost no search cost. Our argument is that correlation rewards shared seasonality rather than predictive usefulness. If the correlation graph matches the loss-pruned graph within noise at every budget, we will report that the contribution reduces to "sparse cross-variable attention with a correlation graph" and that iterative pruning is unnecessary.
Why not just soft-mask attention as in Partial Channel Dependence? Soft masking keeps quadratic cost, so it cannot help at Traffic or PEMS scale, where memory is the bottleneck. It could still win on accuracy. We therefore report it at equal accuracy-per-latency and also stack it on our sparse graph to see whether the two gains are complementary.
Why not just apply Less is More's head pruning to iTransformer? Removing heads shrinks the model by a constant factor but leaves every surviving head quadratic in $C$. It also cannot express "variable 17 needs variables 3 and 40 only." The matched-parameter comparison shows whether that expressiveness buys accuracy, and the latency measurement shows whether it buys speed.
Why not just learn sparse gates end to end with an L1 penalty? This is plausible, and it is cheaper than repeated prune-and-retrain rounds. It is included as an ablation at matched final degree and total compute. If it matches our method, we will adopt it, since the edge as the pruning unit matters more than the schedule.
Proposed Experiments and Decisive Checks
We will run on Electricity (321 variables), Traffic (862), Solar-Energy (137), PEMS03/04/07/08, and Weather (21), with the ETT suite (7 variables) as a small-$C$ sanity check where little saving is possible. We use standard long-horizon settings and report MSE and MAE, attention FLOPs, peak GPU memory, and measured inference latency. We sweep average degree $k$ over roughly 1 to 64 to trace accuracy–cost curves for each method. Robustness follows the Partial Channel Dependence protocol of hiding up to 75% of observations. Temporal stability is tested by applying graphs found on the first half of training to the final test period.
Three results decide the proposal. First, at equal $k$, the loss-pruned graph must beat the correlation graph on the coupled datasets (Traffic, PEMS, Electricity). A tie there falsifies the core claim. Second, iterative pruning must beat one-shot pruning at aggressive budgets ($k \le 8$ on Traffic). Otherwise the compression-wall concern does not apply to attention edges, and the simpler schedule should be used. Third, the fraction of degree-zero variables must be high on datasets where PatchTST beats iTransformer and low on PEMS. This would show that pruning recovers the right point on the independent-to-mixed spectrum from the loss alone.
References
- Less is More: Unlocking Specialization of Time Series Foundation Models via Structured Pruning
- Partial Channel Dependence with Channel Masks for Time Series Foundation Models
- Are Global Dependencies Necessary? Scalable Time Series Forecasting via Local Cross-Variate Modeling
- Channel Matters: Estimating Channel Influence for Multivariate Time Series
- Feature Selection for Multivariate Time Series via Network Pruning
- iTransformer: Inverted Transformers Are Effective for Time Series Forecasting
- A Time Series is Worth 64 Words: Long-term Forecasting with Transformers
- Pruning Convolutional Neural Networks for Resource Efficient Inference
- The LLM Surgeon
- Understanding Performance Collapse in Layer-Pruned Large Language Models via Decision Representation Transitions
- A2TTA: Anchored-and-Agile Test-Time Adaptation for Evolving Traffic Sensor Networks