arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.15416cs.LG
收藏

持续对比:从时间一致性学习时间序列表示

Contrast All the Time: Learning Time Series Representation from Temporal Consistency

Department of Computer Science, Norwegian University of Science and Technology, Norway(挪威科学技术大学计算机科学系);Department of Computer Science, United States Naval Academy, USA(美国海军学院计算机科学系)

Abdul-Kazeem Shamba, Kerstin Bach, Gavin Taylor

AI总结:

本文提出CaTT,一种基于持续对比学习的时间序列表示学习方法,通过全时间维度并行对比提升效率,无需数据增强或视图选择,实现端到端学习。

摘要:

基于对比学习的时间序列表示学习已成为提升下游任务性能的关键技术。为推进这一有效方法,我们引入CaTT(Contrast All The Time),一种新的无监督对比学习方法,更高效地利用时间相似时刻之间的动态关系。CaTT不同于传统时间序列对比方法,依赖数据增强或选定视图,而是通过全时间维度并行对比所有时间步。这得益于可扩展的NT对公式,该公式在批量和时间维度上扩展了经典N对损失,使学习过程端到端且更高效。CaTT直接从时间数据的自然结构学习,使用重复或相邻时间步作为隐式监督,无需对对选择启发式。我们证明该方法生成的嵌入允许在下游任务中表现更好。此外,训练速度比其他对比学习方法更快,适用于大规模和现实时间序列应用。源代码可在https://github.com/sfi-norwai/CaTT上公开获取。

英文摘要:

Representation learning for time series using contrastive learning has emerged as a critical technique for improving the performance of downstream tasks. To advance this effective approach, we introduce CaTT (\textit{Contrast All The Time}), a new approach to unsupervised contrastive learning for time series, which takes advantage of dynamics between temporally similar moments more efficiently and effectively than existing methods. CaTT departs from conventional time-series contrastive approaches that rely on data augmentations or selected views. Instead, it uses the full temporal dimension by contrasting all time steps in parallel. This is made possible by a scalable NT-pair formulation, which extends the classic N-pair loss across both batch and temporal dimensions, making the learning process end-to-end and more efficient. CaTT learns directly from the natural structure of temporal data, using repeated or adjacent time steps as implicit supervision, without the need for pair selection heuristics. We demonstrate that this approach produces superior embeddings which allow better performance in downstream tasks. Additionally, training is faster than other contrastive learning approaches, making it suitable for large-scale and real-world time series applications. The source code is publicly available at \href{https://github.com/sfi-norwai/CaTT}{https://github.com/sfi-norwai/CaTT}.

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

↑