arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.14838cs.LGcs.AI
收藏

时间序列预测的校准:检测并适应上下文驱动的分布偏移

Calibration of Time-Series Forecasting: Detecting and Adapting Context-Driven Distribution Shift

Zhejiang University(浙江大学);State Street Technology (Zhejiang) Ltd.(道富科技(浙江)有限公司);Salesforce Research Asia(Salesforce 亚洲研究院)

Mouxiang Chen, Lefei Shen, Han Fu, Zhuo Li, Jianling Sun, Chenghao Liu

AI总结:

本文针对时间序列预测中由时间上下文驱动的分布偏移问题,提出通用的 Reconditionor 检测器和 SOLID 适配器框架,通过残差-上下文互信息检测偏移并进行样本级微调校准,在真实数据集上持续提升多种预测模型性能。

摘要:

近年来,深度学习模型被引入时间序列预测并取得了成功。从数据生成的角度来看,我们说明现有模型容易受到由时间上下文驱动的分布偏移的影响,无论这些上下文是可观测的还是不可观测的。这种上下文驱动的分布偏移(CDS)会在特定上下文中给预测引入偏差,并对传统训练范式构成挑战。在本文中,我们提出了一种通用的校准方法,用于在已训练模型上检测并适应 CDS。为此,我们提出了一种新颖的 CDS 检测器,称为“基于残差的 CDS 检测器”或“Reconditionor”,它通过评估预测残差与其相应上下文之间的互信息来量化模型对 CDS 的脆弱性。较高的 Reconditionor 分数表明模型具有严重的易受影响性,因此需要进行模型适应。在这种情况下,我们提出了一种简单而有效的用于模型校准的适配器框架,称为“样本级上下文适配器”或“SOLID”。该框架包括构建一个与给定测试样本上下文相似的数据集,并以有限的步骤对模型的预测层进行微调。我们的理论分析表明,这种适应策略能够实现最优的偏差-方差权衡。值得注意的是,我们提出的 Reconditionor 和 SOLID 与模型无关,并且易于适应各种模型。大量实验表明,SOLID 在真实世界数据集上持续提升了当前预测模型的性能,尤其是在所提出的 Reconditionor 检测到显著 CDS 的情况下,从而验证了该校准方法的有效性。

英文摘要:

Recent years have witnessed the success of introducing deep learning models to time series forecasting. From a data generation perspective, we illustrate that existing models are susceptible to distribution shifts driven by temporal contexts, whether observed or unobserved. Such context-driven distribution shift (CDS) introduces biases in predictions within specific contexts and poses challenges for conventional training paradigms. In this paper, we introduce a universal calibration methodology for the detection and adaptation of CDS with a trained model. To this end, we propose a novel CDS detector, termed the "residual-based CDS detector" or "Reconditionor", which quantifies the model's vulnerability to CDS by evaluating the mutual information between prediction residuals and their corresponding contexts. A high Reconditionor score indicates a severe susceptibility, thereby necessitating model adaptation. In this circumstance, we put forth a straightforward yet potent adapter framework for model calibration, termed the "sample-level contextualized adapter" or "SOLID". This framework involves the curation of a contextually similar dataset to the provided test sample and the subsequent fine-tuning of the model's prediction layer with a limited number of steps. Our theoretical analysis demonstrates that this adaptation strategy can achieve an optimal bias-variance trade-off. Notably, our proposed Reconditionor and SOLID are model-agnostic and readily adaptable to a wide range of models. Extensive experiments show that SOLID consistently enhances the performance of current forecasting models on real-world datasets, especially on cases with substantial CDS detected by the proposed Reconditionor, thus validating the effectiveness of the calibration approach.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑