Iman Barazandeh , Saman Haratizadeh , Georgios Sermpinis
{"title":"金融时间序列预测中一种基于时间图的对比方法","authors":"Iman Barazandeh , Saman Haratizadeh , Georgios Sermpinis","doi":"10.1016/j.engappai.2025.110834","DOIUrl":null,"url":null,"abstract":"<div><div>Graph neural networks have been used for semi-supervised learning with inter-related stocks, but their application to capturing temporal patterns in financial time series is limited. Additionally, deep similarity-based learning, which is effective for learning distinctive embeddings and overcoming nonlinearity, has not been extensively studied in financial time series forecasting. In this study, we propose a temporal graph-based contrastive approach for forecasting multi-step movement direction in stock markets. We introduce a method for generating contrastive samples based on market behavior, followed by representing time series fluctuations using graphs. Then, we propose a graph-based contrastive learning approach to embed graph samples into a new space, bringing similar samples closer and distancing dissimilar ones. Ultimately, predicting movement direction is simplified to neighborhood analysis. The proposed framework outperforms state-of-the-art benchmarks across nine major market indices, delivering improvements in Balanced Accuracy (1%–5%) and F-score (1%–6%) over various horizons. It also demonstrates excellence in financial metrics such as the Sharpe Ratio and Maximum Drawdown, emphasizing both predictive performance and practical applicability in financial analysis.</div></div>","PeriodicalId":50523,"journal":{"name":"Engineering Applications of Artificial Intelligence","volume":"153 ","pages":"Article 110834"},"PeriodicalIF":8.0000,"publicationDate":"2025-04-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A temporal graph-based contrastive approach for financial time series forecasting\",\"authors\":\"Iman Barazandeh , Saman Haratizadeh , Georgios Sermpinis\",\"doi\":\"10.1016/j.engappai.2025.110834\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Graph neural networks have been used for semi-supervised learning with inter-related stocks, but their application to capturing temporal patterns in financial time series is limited. Additionally, deep similarity-based learning, which is effective for learning distinctive embeddings and overcoming nonlinearity, has not been extensively studied in financial time series forecasting. In this study, we propose a temporal graph-based contrastive approach for forecasting multi-step movement direction in stock markets. We introduce a method for generating contrastive samples based on market behavior, followed by representing time series fluctuations using graphs. Then, we propose a graph-based contrastive learning approach to embed graph samples into a new space, bringing similar samples closer and distancing dissimilar ones. Ultimately, predicting movement direction is simplified to neighborhood analysis. The proposed framework outperforms state-of-the-art benchmarks across nine major market indices, delivering improvements in Balanced Accuracy (1%–5%) and F-score (1%–6%) over various horizons. It also demonstrates excellence in financial metrics such as the Sharpe Ratio and Maximum Drawdown, emphasizing both predictive performance and practical applicability in financial analysis.</div></div>\",\"PeriodicalId\":50523,\"journal\":{\"name\":\"Engineering Applications of Artificial Intelligence\",\"volume\":\"153 \",\"pages\":\"Article 110834\"},\"PeriodicalIF\":8.0000,\"publicationDate\":\"2025-04-22\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Engineering Applications of Artificial Intelligence\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0952197625008346\",\"RegionNum\":2,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"AUTOMATION & CONTROL SYSTEMS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Engineering Applications of Artificial Intelligence","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0952197625008346","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AUTOMATION & CONTROL SYSTEMS","Score":null,"Total":0}
引用次数: 0
摘要
图神经网络已被用于对相互关联的股票进行半监督学习,但其在捕捉金融时间序列中的时间模式方面的应用还很有限。此外,基于深度相似性的学习能有效地学习独特的嵌入并克服非线性问题,但在金融时间序列预测方面尚未得到广泛研究。在本研究中,我们提出了一种基于时序图的对比方法,用于预测股票市场的多步运动方向。我们介绍了一种基于市场行为生成对比样本的方法,然后用图形表示时间序列波动。然后,我们提出了一种基于图形的对比学习方法,将图形样本嵌入一个新的空间,拉近相似样本的距离,拉开不同样本的距离。最终,预测运动方向被简化为邻域分析。所提出的框架在九个主要市场指数中的表现优于最先进的基准,在不同的时间跨度内提高了平衡精度(1%-5%)和 F 分数(1%-6%)。它还在夏普比率和最大回撤等金融指标方面表现出色,强调了预测性能和在金融分析中的实际应用性。
A temporal graph-based contrastive approach for financial time series forecasting
Graph neural networks have been used for semi-supervised learning with inter-related stocks, but their application to capturing temporal patterns in financial time series is limited. Additionally, deep similarity-based learning, which is effective for learning distinctive embeddings and overcoming nonlinearity, has not been extensively studied in financial time series forecasting. In this study, we propose a temporal graph-based contrastive approach for forecasting multi-step movement direction in stock markets. We introduce a method for generating contrastive samples based on market behavior, followed by representing time series fluctuations using graphs. Then, we propose a graph-based contrastive learning approach to embed graph samples into a new space, bringing similar samples closer and distancing dissimilar ones. Ultimately, predicting movement direction is simplified to neighborhood analysis. The proposed framework outperforms state-of-the-art benchmarks across nine major market indices, delivering improvements in Balanced Accuracy (1%–5%) and F-score (1%–6%) over various horizons. It also demonstrates excellence in financial metrics such as the Sharpe Ratio and Maximum Drawdown, emphasizing both predictive performance and practical applicability in financial analysis.
期刊介绍:
Artificial Intelligence (AI) is pivotal in driving the fourth industrial revolution, witnessing remarkable advancements across various machine learning methodologies. AI techniques have become indispensable tools for practicing engineers, enabling them to tackle previously insurmountable challenges. Engineering Applications of Artificial Intelligence serves as a global platform for the swift dissemination of research elucidating the practical application of AI methods across all engineering disciplines. Submitted papers are expected to present novel aspects of AI utilized in real-world engineering applications, validated using publicly available datasets to ensure the replicability of research outcomes. Join us in exploring the transformative potential of AI in engineering.