PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
October 19, 2025AI4 citationsOpen Access

Improving Forecasting Accuracy of Stock Market Indices Utilizing Attention-Based LSTM Networks with a Novel Asymmetric Loss Function

View Full Paper
SRShlok Sagar RajpalRMRajesh MahadevaAGA. Goyal

Key Points

  • The proposed model achieves 3.4–6.1 percentage points higher directional accuracy compared to traditional metrics like MSE.
  • F1 scores reached up to 0.74, outperforming existing methods that scored between 0.63 and 0.68, demonstrating improved model performance.
  • Asymmetric loss functions significantly enhance directional accuracy and precision, offering benefits over classical loss metrics.
  • The optimized model maintains competitive MAE values within 0.01–0.03 of the baseline, indicating efficiency and reliability.

Abstract

This study presents a novel approach to financial time series forecasting by introducing asymmetric loss functions. This is specifically designed to enhance directional accuracy across major stock indices (S&P 500, DJI, and NASDAQ Composite) over a 33-year time period. We integrate these loss functions into an attention-based Long Short-Term Memory (LSTM) framework. The proposed loss functions are evaluated against traditional metrics such as Mean Squared Error (MSE), Mean Absolute Error (MAE), and other recent research-based losses. Our approach consistently achieves superior test-time directional accuracy, with gains of 3.4–6.1 percentage points over MSE/MAE and 2.0–4.5 percentage points over prior asymmetric losses, which are either non-differentiable or require extensive hyperparameter tuning. Furthermore, proposed models also achieve an F1 score of up to 0.74, compared to 0.63–0.68 for existing methods, and maintain competitive MAE values within 0.01–0.03 of the baseline. The optimized asymmetric loss functions improve specificity to above 0.62 and ensure a better balance between precision and recall. These results underscore the potential of directionally aware loss design to enhance AI-driven financial forecasting systems.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Rajpal et al. (2025) studied this question.

synapsesocial.com/papers/68f43efb854d1061a58abf7ahttps://doi.org/10.3390/ai6100268
Ask AI
Helpful
Bookmark
Share
View Full Paper