Deep learning models are modern tools for spatio-temporal graph (STG) forecasting. Though successful, we argue that data scarcity is a key factor limiting their recent improvements. Meanwhile, contrastive learning has been an effective method for providing self-supervision signals and addressing data scarcity in various domains. In view of this, one may ask: can we leverage the additional signals from contrastive learning to alleviate data scarcity, so as to benefit STG forecasting? To answer this question, we present the first systematic exploration on incorporating contrastive learning into STG forecasting. Specifically, we first elaborate two potential schemes for integrating contrastive learning. We then propose two feasible and efficient designs of contrastive tasks that are performed on the node or graph level. The empirical study on STG benchmarks demonstrates that integrating graph-level contrast with the joint learning scheme achieves the best performance. In addition, we introduce four augmentations for STG data, which perturb the data in terms of graph structure, time domain, and frequency domain. Experimental results reveal that the model is not sensitive to the proposed augmentations' semantics. Lastly, we extend the classic contrastive loss via a rule-based strategy that filters out the most semantically similar negatives, yielding performance gains. We also provide explanations and insights based on the above experimental findings. Code is available at https://github.com/liuxu77/STGCL.
翻译:深层学习模型是时空图形(STG)预测的现代工具。 尽管成功,但我们认为数据稀缺是限制其近期改进的关键因素。 同时,对比式学习是提供自我监督信号和解决不同领域数据稀缺问题的有效方法。 有鉴于此,人们可能会问:我们能否利用对比式学习的额外信号来减轻数据稀缺程度,从而有利于STG的预测?为了回答这一问题,我们首次系统地探索将对比性学习纳入STG预测。具体地说,我们首先阐述了两种可能的将对比性学习相结合的计划。我们然后提出了两个在节点或图表级别上执行的对比性任务的可行性和高效设计。关于STG基准的经验研究表明,将图形水平与联合学习计划相结合可以取得最佳效果。此外,我们为STG数据引入了四个增强部分,从图形结构、时间域和频率域的角度来查看数据。实验结果显示,该模型对拟议的增强度不敏感。最后,我们通过基于节点或图形的对比性损失通过基于规则的模型的模型分析,在Se-Syal-I 上扩展了典型的对比性损失。我们通过基于Syal-Servial Ex的Supalalal 的Supalalal 提供基于Sec判结果的Sec。