用原型引导归一化解决时间序列预训练分布差异问题
Bridging Distribution Gaps in Time Series Foundation Model Pretraining with Prototype-Guided Normalization
- 用原型引导的动态归一化替代传统LayerNorm,自动适配不同数据分布
- 在分类与预测任务中显著优于传统方法,有效缓解预训练中的分布偏移
- 只需替换一行代码即可部署,适用于各类时间序列基础模型
基础模型通过大规模多样化数据预训练在多个机器学习领域取得显著成功。然而,在此类数据上预训练会因数据分布差异巨大而引入显著挑战,这一问题在时间序列数据中尤为突出。本文提出一种面向领域的自适应归一化策略,嵌入Transformer架构中。具体而言,将传统LayerNorm替换为原型引导的动态归一化机制(ProtoNorm),其中学习到的原型表征不同数据分布,样本与原型的亲和度决定适用的归一化层。该机制有效捕捉时间序列特征的异质性,使预训练表示更契合下游任务。通过全面实证评估,结果表明该方法在分类与预测任务中均显著优于传统预训练技术,且能有效缓解预训练阶段的分布偏移影响。集成ProtoNorm仅需替换一行代码。在多种真实世界时间序列基准上的实验验证了该方法的鲁棒性与泛化能力,推动了更通用时间序列基础模型的发展。
原文摘要 · Abstract (English)
Foundation models have achieved remarkable success across diverse machine-learning domains through large-scale pretraining on large, diverse datasets. However, pretraining on such datasets introduces significant challenges due to substantial mismatches in data distributions, a problem particularly pronounced with time series data. In this paper, we tackle this issue by proposing a domain-aware adaptive normalization strategy within the Transformer architecture. Specifically, we replace the traditional LayerNorm with a prototype-guided dynamic normalization mechanism (ProtoNorm), where learned prototypes encapsulate distinct data distributions, and sample-to-prototype affinity determines the appropriate normalization layer. This mechanism effectively captures the heterogeneity of time series characteristics, aligning pretrained representations with downstream tasks. Through comprehensive empirical evaluation, we demonstrate that our method significantly outperforms conventional pretraining techniques across both classification and forecasting tasks, while effectively mitigating the adverse effects of distribution shifts during pretraining. Incorporating ProtoNorm is as simple as replacing a single line of code. Extensive experiments on diverse real-world time series benchmarks validate the robustness and generalizability of our approach, advancing the development of more versatile time series foundation models.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。