GA-Optimized Self-Attention LSTM for Multi-Asset Price Forecasting: Incorporating Trading Volume Features for Crude Oil, Gold, and Bitcoin
Authors:
Open Access
- 6 October 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 13, 173487-173509
Abstract
We propose a GA-optimized self-attention LSTM (SAG-LSTM) for multi-asset price forecasting and evaluate it on daily series of crude oil, gold, and Bitcoin, augmented with trading volumes (01-Apr-2021 to 30-Dec-2024). The model marries LSTM sequence learning with a multi-head self-attention layer and a post-attention gating block; a genetic algorithm tunes key hyperparameters (learning rate, hidden size, epochs). Using a 30-day horizon and standard preprocessing with lagged features, we benchmark SAG-LSTM against SA-LSTM and vanilla LSTM on MSE, RMSE, MAE, and R2 , supplemented by error-trend and residual diagnostics, a forecast coherence score, and inter-asset dynamic/cross-correlation analyses. SAG-LSTM consistently dominates the baselines across assets: out-of-sample R2 rises to 0.90 for oil, 0.94 for gold, and 0.88 for Bitcoin, with visibly flatter error profiles and tighter, near-zero residuals. Inter-asset analyses show time-varying contemporaneous correlations but weak lead–lag effects, clarifying when co-movement is episodic rather than persistent. The largest gains occur in oil, reflecting more structured fundamentals; improvements for gold and Bitcoin are material but tempered by regime shifts and sentiment-driven jumps. Training time is higher due to GA search (≈2,121 s), but inference is fast (≈0.40 s), making the approach suitable for infrequent retraining with near-real-time scoring. Our findings highlight the value of hybrid, optimization-aware deep architectures for medium-horizon forecasting while underscoring the limits of price-volume inputs in sentiment-sensitive markets. These results offer actionable guidance for practitioners and a roadmap for future research and policy.Keywords
This publication has 25 references indexed in Scilit:
- Portfolio optimization through hybrid deep learning and genetic algorithms vine Copula-GARCH-EVT-CVaR modelTechnological Forecasting and Social Change, 2023
- Deep learning modelling techniques: current progress, applications, advantages, and challengesArtificial Intelligence Review, 2023
- Predicting stock market index using LSTMMachine Learning with Applications, 2022
- Temporal Fusion Transformers for interpretable multi-horizon time series forecastingInternational Journal of Forecasting, 2021
- Improving time series forecasting using LSTM and attention modelsJournal of Ambient Intelligence and Humanized Computing, 2021
- Financial time series forecasting with deep learning : A systematic literature review: 2005–2019Applied Soft Computing, 2020
- Optimizing LSTM for time series prediction in Indian stock marketProcedia Computer Science, 2020
- Exploring the attention mechanism in LSTM-based Hong Kong stock price movement predictionQuantitative Finance, 2019
- AT-LSTM: An Attention-based LSTM Model for Financial Time Series PredictionIOP Conference Series: Materials Science and Engineering, 2019
- Box and Jenkins: Time Series Analysis, Forecasting and Control2013