Beyond MSE: Training Objectives and Risk-Adjusted Performance in LSTM-Based Stock Return Forecasting
(2026) DABN01 20261Department of Economics
Department of Statistics
- Abstract
- Forecasting models in financial markets are commonly trained using mean squared error (MSE), the dominant statistical loss function in supervised forecasting, even though portfolio decisions depend on the trade-off between return and risk rather than prediction error alone. This thesis compares Long Short-Term Memory (LSTM) models trained under alternative objectives within a unified forecasting and portfo- lio evaluation framework. Using daily data for the 49 largest firms in the S&P 500 index from 2010–2025, models trained to minimise MSE are compared with models trained using a Sharpe-ratio-based loss function. The MSE-trained model achieves lower prediction error, with an average out-of-sample RMSE of 0.0172 compared with 0.0208 for... (More)
- Forecasting models in financial markets are commonly trained using mean squared error (MSE), the dominant statistical loss function in supervised forecasting, even though portfolio decisions depend on the trade-off between return and risk rather than prediction error alone. This thesis compares Long Short-Term Memory (LSTM) models trained under alternative objectives within a unified forecasting and portfo- lio evaluation framework. Using daily data for the 49 largest firms in the S&P 500 index from 2010–2025, models trained to minimise MSE are compared with models trained using a Sharpe-ratio-based loss function. The MSE-trained model achieves lower prediction error, with an average out-of-sample RMSE of 0.0172 compared with 0.0208 for the Sharpe-ratio-trained model. However, the Sharpe-ratio-trained model delivers stronger portfolio performance, generating an annualised return of 12.40% compared with 4.42% for the MSE-trained model. Robustness analyses across alternative feature sets, market universes, and European equities broadly support this pattern, with four out of six robustness specifications showing stronger portfolio performance for the Sharpe-ratio-trained model. The Sharpe-ratio-trained model is also the only model to produce positive annualised returns across all spec- ifications. Overall, the findings indicate that risk-sensitive training can improve risk-adjusted portfolio performance even though it does not improve statistical fore- casting accuracy. (Less)
Please use this url to cite or link to this publication:
https://lup.lub.lu.se/student-papers/record/9235467
- author
- Róbertsson, Ragnar Ágúst LU and Andrésdóttir Kjerúlf, Ásthildur LU
- supervisor
- organization
- course
- DABN01 20261
- year
- 2026
- type
- H1 - Master's Degree (One Year)
- subject
- keywords
- Financial forecasting, Machine learning, LSTM, Sharpe ratio, Risk- adjusted performance
- language
- English
- id
- 9235467
- date added to LUP
- 2026-10-12 08:22:02
- date last changed
- 2026-10-12 08:22:02
@misc{9235467,
abstract = {{Forecasting models in financial markets are commonly trained using mean squared error (MSE), the dominant statistical loss function in supervised forecasting, even though portfolio decisions depend on the trade-off between return and risk rather than prediction error alone. This thesis compares Long Short-Term Memory (LSTM) models trained under alternative objectives within a unified forecasting and portfo- lio evaluation framework. Using daily data for the 49 largest firms in the S&P 500 index from 2010–2025, models trained to minimise MSE are compared with models trained using a Sharpe-ratio-based loss function. The MSE-trained model achieves lower prediction error, with an average out-of-sample RMSE of 0.0172 compared with 0.0208 for the Sharpe-ratio-trained model. However, the Sharpe-ratio-trained model delivers stronger portfolio performance, generating an annualised return of 12.40% compared with 4.42% for the MSE-trained model. Robustness analyses across alternative feature sets, market universes, and European equities broadly support this pattern, with four out of six robustness specifications showing stronger portfolio performance for the Sharpe-ratio-trained model. The Sharpe-ratio-trained model is also the only model to produce positive annualised returns across all spec- ifications. Overall, the findings indicate that risk-sensitive training can improve risk-adjusted portfolio performance even though it does not improve statistical fore- casting accuracy.}},
author = {{Róbertsson, Ragnar Ágúst and Andrésdóttir Kjerúlf, Ásthildur}},
language = {{eng}},
note = {{Student Paper}},
title = {{Beyond MSE: Training Objectives and Risk-Adjusted Performance in LSTM-Based Stock Return Forecasting}},
year = {{2026}},
}