Melola Discovery

← Melola Discovery

Open access Jurnal SINTA 3

HETEROGENEOUS GRAPH NEURAL NETWORKS FOR STOCK PRICE PREDICTION: MODELING TEMPORAL AND CROSS-STOCK DEPENDENCIES

BAREKENG: Jurnal Ilmu Matematika dan Terapan · Vol. 20 No. 2 (2026) · pp. 0981–1000

DOI
10.30598/barekengvol20iss2pp0981-1000
ISSN
2615-3017, 1978-7227
Published
2026-01-26
Publisher
PATTIMURA UNIVERSITY
Language
eng
License
creativecommons.org/licenses/by-sa/4.0

Abstract

Stock price prediction remains a challenging task due to the complex interplay of temporal trends and relational dependencies within financial markets. This study proposes the GNN-LSTM Hybrid model, a novel framework that integrates Graph Neural Networks (GNNs) with Long Short-Term Memory (LSTM) units to simultaneously capture heterogeneous graph structures and temporal dynamics in stock data, leveraging GNNs to model relational dependencies and LSTMs to address long-term temporal patterns, with graph construction based on stock correlation and temporal edge features. Using a dataset covering 1,270 trading days from March 2015 to April 2020, we evaluate the model against traditional methods (ARIMA, LSTM) and modern graph-based approaches (T-GCN, GAT, Transformer-TS, Base GraphSAGE, SAGE-IS). The GNN-LSTM Hybrid achieves superior performance, with a Mean Absolute Error (MAE) of 0.740 (±0.13), Root Mean Squared Error (RMSE) of 1.100 (±0.21), Mean Absolute Percentage Error (MAPE) of 4.92% (±1.16), and Directional Accuracy (DA) of 67.0% (±2.7), and significantly outperforms all baselines, as confirmed by paired t-tests (p < 0.05). Hyperparameter analysis reveals that a configuration of 6 GNN layers and a hidden dimension size of 128 optimizes predictive accuracy, balancing computational efficiency (training time: 16.0 ± 0.7 s) and performance. Validation across 100 training epochs further confirms the model’s robust convergence across all metrics. With an inference time of 20.0 ± 1.0 ms, which is competitive compared to baselines like ARIMA (23.5 ± 1.1 ms) and GAT (20.5 ± 1.0 ms), the GNN-LSTM Hybrid demonstrates strong potential for practical financial forecasting, offering a scalable and accurate solution for capturing the multifaceted dynamics of stock markets, with implications for real-time applications and broader economic modeling.

Collaboration network of the authors

40 authors · 97 co-authorship links · 19 across different organisations

Hover or tap a name to highlight its co-authors. Double-click to open the author's page.

  • University of Brawijaya
  • Institut Teknologi Sepuluh Nopember
  • National Research and Innovation Agency
  • Universitas Putra Indonesia "YPTK"
  • Universitas Jember
  • Indonesian Institute of Sciences
  • University of Bangka Belitung
  • Other organisations
  • Affiliation unknown
  • Different organisations
  • Same organisation
  • Affiliation unknown
  • Thicker line = more joint articles · bigger circle = more articles
Show as table
Co-authorOrganisationJoint articles
Nur Atiqah Sia AbdullahUniversiti Teknologi MARA3
Regina VincentiaAffiliation unknown3
Wayan Firdaus MahmudyUniversity of Brawijaya2
Dwi Mifta MahananiAffiliation unknown2
Safrizal Ardana ArdiyansaAffiliation unknown2
Eric JuliantoAffiliation unknown2
Chastine FatichahInstitut Teknologi Sepuluh Nopember1
Nanik SuciatiInstitut Teknologi Sepuluh Nopember1
Asyrofa RahmiUniversity of Brawijaya1
Muchammad Chandra Cahyo UtomoUniversity of Brawijaya1
Ahmad Afif SupiantoUniversity of Brawijaya1
Vicky ZilvanIndonesian Institute of Sciences1
Hilman Ferdinandus PardedeNational Research and Innovation Agency1
Onky PrasetyoUniversity of Brawijaya1
R. Budiarianto Suryo KusumoNational Research and Innovation Agency1
Sumijan SumijanUniversitas Putra Indonesia "YPTK"1
Surmayanti SurmayantiUniversitas Putra Indonesia "YPTK"1
M. Rafael Andika PutraAffiliation unknown1
Zuraidah FitriahAffiliation unknown1
Indah YantiAffiliation unknown1
Noor HidayatAffiliation unknown1
Abdi Negara GuciAffiliation unknown1
Fery WidhiatmokoAffiliation unknown1
Mila KurniawatyAffiliation unknown1
Komang Agus Arta WijayaAffiliation unknown1
Helen Yuliana AngmalisangAffiliation unknown1
Natasha Clarissa MaharaniAffiliation unknown1
Haidar Ahmad FajriAffiliation unknown1
Natasha Clarrisa MaharaniAffiliation unknown1
Isnani DartiAffiliation unknown1
Ach KhozaimiAffiliation unknown1
Wuryansari Muharini KusumawinahyuAffiliation unknown1
Elyas KustiawanUniversity of Bangka Belitung1
Mohd Razif ShamsuddinAffiliation unknown1
Feby Indriana YusufAffiliation unknown1

Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.

Metadata source: OAI-PMH (metadata jurnal) https://ojs3.unpatti.ac.id/index.php/barekeng/oai, first harvested 5 Nov 2026, last seen 5 Nov 2026.
Original metadata (oai_dc)
<oai_dc:dc xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/  http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
	<dc:title xml:lang="en-US">HETEROGENEOUS GRAPH NEURAL NETWORKS FOR STOCK PRICE PREDICTION: MODELING TEMPORAL AND CROSS-STOCK DEPENDENCIES</dc:title>
	<dc:creator>Bukhori, Hilmi Aziz</dc:creator>
	<dc:creator>Aruchunan, Elayaraja</dc:creator>
	<dc:creator>Anam, Syaiful</dc:creator>
	<dc:creator>Bukhori, Saiful</dc:creator>
	<dc:creator>Maulana, Avin</dc:creator>
	<dc:description xml:lang="en-US">Stock price prediction remains a challenging task due to the complex interplay of temporal trends and relational dependencies within financial markets. This study proposes the GNN-LSTM Hybrid model, a novel framework that integrates Graph Neural Networks (GNNs) with Long Short-Term Memory (LSTM) units to simultaneously capture heterogeneous graph structures and temporal dynamics in stock data, leveraging GNNs to model relational dependencies and LSTMs to address long-term temporal patterns, with graph construction based on stock correlation and temporal edge features. Using a dataset covering 1,270 trading days from March 2015 to April 2020, we evaluate the model against traditional methods (ARIMA, LSTM) and modern graph-based approaches (T-GCN, GAT, Transformer-TS, Base GraphSAGE, SAGE-IS). The GNN-LSTM Hybrid achieves superior performance, with a Mean Absolute Error (MAE) of 0.740 (±0.13), Root Mean Squared Error (RMSE) of 1.100 (±0.21), Mean Absolute Percentage Error (MAPE) of 4.92% (±1.16), and Directional Accuracy (DA) of 67.0% (±2.7), and significantly outperforms all baselines, as confirmed by paired t-tests (p &amp;lt; 0.05). Hyperparameter analysis reveals that a configuration of 6 GNN layers and a hidden dimension size of 128 optimizes predictive accuracy, balancing computational efficiency (training time: 16.0 ± 0.7 s) and performance. Validation across 100 training epochs further confirms the model’s robust convergence across all metrics. With an inference time of 20.0 ± 1.0 ms, which is competitive compared to baselines like ARIMA (23.5 ± 1.1 ms) and GAT (20.5 ± 1.0 ms), the GNN-LSTM Hybrid demonstrates strong potential for practical financial forecasting, offering a scalable and accurate solution for capturing the multifaceted dynamics of stock markets, with implications for real-time applications and broader economic modeling.</dc:description>
	<dc:publisher xml:lang="en-US">PATTIMURA UNIVERSITY</dc:publisher>
	<dc:date>2026-01-26</dc:date>
	<dc:type>info:eu-repo/semantics/article</dc:type>
	<dc:type>info:eu-repo/semantics/publishedVersion</dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://ojs3.unpatti.ac.id/index.php/barekeng/article/view/18691</dc:identifier>
	<dc:identifier>10.30598/barekengvol20iss2pp0981-1000</dc:identifier>
	<dc:source xml:lang="en-US">BAREKENG: Jurnal Ilmu Matematika dan Terapan; Vol 20 No 2 (2026): BAREKENG: Journal of Mathematics and Its Application; 0981-1000</dc:source>
	<dc:source>2615-3017</dc:source>
	<dc:source>1978-7227</dc:source>
	<dc:source>10.30598/barekengvol20iss2year2026</dc:source>
	<dc:language>eng</dc:language>
	<dc:relation>https://ojs3.unpatti.ac.id/index.php/barekeng/article/view/18691/12389</dc:relation>
	<dc:rights xml:lang="en-US">Copyright (c) 2026 Hilmi Aziz Bukhori, Elayaraja Aruchunan, Syaiful Anam, Saiful Bukhori, Avin Maulana</dc:rights>
	<dc:rights xml:lang="en-US">http://creativecommons.org/licenses/by-sa/4.0</dc:rights>
</oai_dc:dc>