NuTime:面向大规模时序预训练的数值多尺度嵌入方法
NuTime: Numerically Multi-Scaled Embedding for Large-Scale Time-Series Pretraining
AI总结:
针对现有时序自监督预训练难以扩展到大规模数据的问题,提出数值多尺度嵌入模块NuTime,通过窗口划分与多尺度标量嵌入适配时序数值特性,在百万级数据上预训练后,在多类时序任务上取得SOTA性能。
摘要:
时序自监督模型的最新研究在语义表示学习方面展现出巨大潜力,但目前仅局限于小规模数据集,如数千条时间序列。本文针对时序数据的数值特性提出关键技术改进,使模型能够扩展至大规模数据集(如数百万条时间序列)。我们采用Transformer架构,首先将输入划分为无重叠窗口,每个窗口由其归一化形状以及表示窗口内均值和标准差的两个标量值来表征。为了将可能具有任意数值幅度的标量值嵌入到高维空间中,我们提出了一种数值多尺度嵌入模块,该模块枚举出标量的所有可能数值尺度。模型在通过合并现有公开数据收集的、包含超百万条序列的大规模数据集上,以简单的对比学习目标进行预训练。我们在多个单变量和多变量分类任务、少样本学习、无监督聚类以及异常检测基准上研究了其迁移性能。所提方法相较于以往的预训练方法取得了显著提升,甚至与特定领域的非学习方法相比也确立了新的最优水平。代码可在https://github.com/chenguolin/NuTime获取。
英文摘要:
Recent research on time-series self-supervised models shows great promise in learning semantic representations. However, it has been limited to small-scale datasets, e.g., thousands of temporal sequences. In this work, we make key technical contributions that are tailored to the numerical properties of time-series data and allow the model to scale to large datasets, e.g., millions of temporal sequences. We adopt the Transformer architecture by first partitioning the input into non-overlapping windows. Each window is then characterized by its normalized shape and two scalar values denoting the mean and standard deviation within each window. To embed scalar values that may possess arbitrary numerical amplitudes in a high-dimensional space, we propose a numerically multi-scaled embedding module enumerating all possible numerical scales for the scalars. The model undergoes pretraining with a simple contrastive objective on a large-scale dataset over a million sequences collected by merging existing public data. We study its transfer performance on a number of univariate and multivariate classification tasks, few shot learning, unsupervised clustering and anomaly detection benchmarks. Our method exhibits remarkable improvement against previous pretraining approaches and establishes the new state of the art, even compared with domain-specific non-learning-based methods. Code is available at: \url{https://github.com/chenguolin/NuTime}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。