Learning semantic-rich representations from raw unlabeled time series data is critical for downstream tasks such as classification and forecasting. Contrastive learning has recently shown its promising representation learning capability in the absence of expert annotations. However, existing contrastive approaches generally treat each instance independently, which leads to false negative pairs that share the same semantics. To tackle this problem, we propose MHCCL, a Masked Hierarchical Cluster-wise Contrastive Learning model, which exploits semantic information obtained from the hierarchical structure consisting of multiple latent partitions for multivariate time series. Motivated by the observation that fine-grained clustering preserves higher purity while coarse-grained one reflects higher-level semantics, we propose a novel downward masking strategy to filter out fake negatives and supplement positives by incorporating the multi-granularity information from the clustering hierarchy. In addition, a novel upward masking strategy is designed in MHCCL to remove outliers of clusters at each partition to refine prototypes, which helps speed up the hierarchical clustering process and improves the clustering quality. We conduct experimental evaluations on seven widely-used multivariate time series datasets. The results demonstrate the superiority of MHCCL over the state-of-the-art approaches for unsupervised time series representation learning.
翻译:从原始无标签时间序列数据中学习语义丰富的表征,对于分类和预测等下游任务至关重要。对比学习最近在缺乏专家标注的情况下展现了其优异的表征学习能力。然而,现有的对比方法通常独立处理每个实例,导致共享相同语义的假负样本对的出现。为了解决这一问题,我们提出了MHCCL,一个掩码层次聚类对比学习模型,该模型利用从由多个潜在划分组成的层次结构中获得的语义信息来处理多元时间序列。受细粒度聚类保持更高纯度而粗粒度聚类反映更高层次语义这一观察的启发,我们提出了一种新颖的向下掩码策略,通过整合来自聚类层次的多粒度信息来过滤假负样本并补充正样本。此外,MHCCL中还设计了一种新颖的向上掩码策略,用于去除每个划分中聚类的离群点以精炼原型,这有助于加速层次聚类过程并提升聚类质量。我们在七个广泛使用的多元时间序列数据集上进行了实验评估。结果表明,在无监督时间序列表征学习方面,MHCCL优于当前最先进的方法。