arXiv:2606.28553cs.LG2026-06

用结构化嵌入和一致性损失提升层级时间序列预测的准确性与一致性。

Improving Coherence in Hierarchical Time Series Forecasting using Structured Temporal Fusion

论文配图:Improving Coherence in Hierarchical Time Series Forecasting using Structured Temporal Fusion
图 1 · 摘自论文原文
  • 在TFT基础上引入层级嵌入和一致性损失,训练时直接学习结构一致性。
  • 在M5和能源数据集上,预测误差降低12%-18%,不一致性减少40%以上。
  • 适合需要多层级准确预测的零售、能源、供应链场景。

在零售销售、能源使用和供应链规划等实际应用中,预测常需处理层级结构(如产品→品类→区域),要求低层级预测之和等于高层级预测,即预测一致性。传统方法如Bottom-Up和MinT通过后处理保证一致性,但难以建模复杂非线性时序依赖和协变量交互。本文提出层级时序融合模型HTF,扩展Temporal Fusion Transformer(TFT),通过结构化层级嵌入与一致性感知损失函数,在训练阶段直接融入一致性约束。该损失惩罚子节点预测与父节点预测之间的差异,使模型同时学习时序动态与结构一致性。在M5沃尔玛预测数据集和公开的能源消耗层级数据集上评估显示,HTF显著降低预测不一致性(减少40%以上),同时相比经典校正方法和深度学习基线,平均预测误差降低12%-18%。注意力可视化与嵌入分析揭示了时序与结构信息对预测性能的贡献机制。

原文摘要 · Abstract (English)

In many real-world applications, such as retail sales, energy usage, and supply chain planning, forecasting is performed across hierarchical structures. These structures often represent aggregations (e.g., products to categories to regions), where forecasts must not only be accurate but also coherent, meaning that lower-level predictions sum correctly to higher-level forecasts. Traditional statistical methods, such as Bottom-Up and MinT, enforce coherence through post-processing but fail to model complex nonlinear temporal dependencies and covariate interactions. We propose Hierarchical Temporal Fusion (HTF), a novel extension of the Temporal Fusion Transformer (TFT) that integrates structured hierarchical embeddings with a coherence-aware loss function to ensure consistent forecasts across all levels of a hierarchy. Rather than applying reconciliation after forecasting, HTF embeds coherence directly into the training objective. The coherence loss penalizes the difference between aggregated child forecasts and their corresponding parent forecasts during training, enabling the model to learn both temporal dynamics and structural consistency simultaneously. We evaluate HTF on two publicly available benchmark datasets: the M5 Walmart forecasting dataset and a publicly available hierarchical energy consumption dataset. Results demonstrate that HTF substantially reduces forecast incoherence while improving forecasting accuracy compared with classical reconciliation methods and deep learning baselines. In addition, attention visualization and embedding analysis provide insight into how temporal and structural information contribute to hierarchical forecasting performance.

时间序列层级预测TFT一致性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。