Skip to main content
QUICK REVIEW

[论文解读] Horizon Activation Mapping for Neural Networks in Time Series Forecasting

Hans Krupakar, V A Kandappan|arXiv (Cornell University)|Jan 5, 2026
Explainable Artificial Intelligence (XAI)Computer Science被引用 0
一句话总结

HAM 提供一个基于梯度、面向时域的可视化,用于解释和比较面向时间序列预测的多种神经网络模型,且与层类型无关。它分析跨时域子序列的因果梯度更新与反因果梯度更新,以指导模型选择和训练决策。

ABSTRACT

Neural networks for time series forecasting have relied on error metrics and architecture-specific interpretability approaches for model selection that don't apply across models of different families. To interpret forecasting models agnostic to the types of layers across state-of-the-art model families, we introduce Horizon Activation Mapping (HAM), a visual interpretability technique inspired by grad-CAM that uses gradient norm averages to study the horizon's subseries where grad-CAM studies attention maps over image data. We introduce causal and anti-causal modes to calculate gradient update norm averages across subseries at every timestep and lines of proportionality signifying uniform distributions of the norm averages. Optimization landscape studies with respect to changes in batch sizes, early stopping, train-val-test splits, architectural choices, univariate forecasting and dropouts are studied with respect to performances and subseries in HAM. Interestingly, batch size based differences in activities seem to indicate potential for existence of an exponential approximation across them per epoch relative to each other. Multivariate forecasting models including MLP-based CycleNet, N-Linear, N-HITS, self attention-based FEDformer, Pyraformer, SSM-based SpaceTime and diffusion-based Multi-Resolution DDPM over different horizon sizes trained over the ETTm2 dataset are used for HAM plots in this study. NHITS' neural approximation theorem and SpaceTime's exponential autoregressive activities have been attributed to trends in HAM plots over their training, validation and test sets. In general, HAM can be used for granular model selection, validation set choices and comparisons across different neural network model families.

研究动机与目标

  • 提出一个与架构无关的时间序列预测可解释性工具的动机,超越架构差异。
  • 引入 Horizon Activation Mapping (HAM) 以可视化跨时域子序列的梯度活动。
  • 研究架构选择、训练策略和数据集划分如何影响 HAM 配置与模型性能。
  • 通过面向时域的梯度分析实现对模型的粒度化选择与验证集决策。

提出的方法

  • 定义因果与反因果的时域子序列掩码以反向传播基于梯度的损失。
  • 在子序列上计算梯度范数平均值,以可视化受到 grad-CAM 启发的 HAM 图,具有注意力样性质。
  • 引入相对于比例线的曲线下面积等指标以及梯度等变点等点来量化变化。
  • 通过改变批量大小、dropout、训练轮次、早停和数据集划分来进行优化景观研究。
  • 将 HAM 应用于多种模型家族(NHITS、CycleNet、N-Linear、FEDformer、Pyraformer、SpaceTime、DDPM)在 ETTm2 上的各个时域(96、192、336、720)上。
(a)
(a)

实验结果

研究问题

  • RQ1What gradient activity patterns do horizon-based HAM plots reveal across different model families for time series forecasting?
  • RQ2How do training choices (batch size, dropout, early stopping, dataset splits) influence HAM curves and model performance?
  • RQ3Can HAM guide architecture and training decisions to improve long-horizon forecasting?
  • RQ4How do univariate vs multivariate settings affect HAM interpretations across model families?
  • RQ5Do horizon size and model type interact to produce distinct causal/anti-causal activation dynamics?

主要发现

  • HAM 图揭示了不同模型在各时域子序列上的因果与反因果梯度激活差异。
  • Dropout 一般会增加梯度幅值,尤其对于多变量预测模型。
  • 批量大小的变化会在收敛模型中呈现多项式般的饱和趋势,并影响因果/反因果幅值。
  • 早停会降低梯度幅值并将梯度等变点向中等时域区域移动。
  • 数据集划分会影响 HAM,训练集与验证集显示不同的激活模式及潜在的分布外信号。
  • 架构变更(归一化、循环队列长度)会调节 HAM,并可能与性能变化相关。
(b)
(b)

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。