Back to search

Universitat Oberta de Catalunya (UOC)

Artificial neural networks for financial time series: forecasts and loss functions

Abstract

dc:description.abstract

This thesis examines how the choice of loss function shapes what a neural network learns when forecasting financial time series. While deep learning models such as Artificial Neural Networks (ANNs) are widely used in finance, their predictions depend not only on architecture or data, but also on the loss guiding optimisation. Each loss corresponds to a distinct statistical functional of the conditional distribution: quadratic loss targets the mean, absolute loss the median, quantile losses generalise to arbitrary quantiles, and supremum loss emphasises worst-case deviations. A theoretical framework is developed through statistical learning theory, contrasting population and empirical risk minimisation, and linking the stochastic forecasting problem with its deterministic counterpart. The empirical analysis validates these insights through three sets of experiments. Synthetic series with diverse noise distributions show that networks trained under different losses converge to their theoretical minimisers, illustrating robustness or sensitivity to tails and skewness. Deterministic recovery experiments confirm that training amounts to learning the specific statistical functional associated with the chosen loss. Finally, experiments on financial data from Apple, Bitcoin under stable and volatile regimes, and corn futures, show that the same mechanisms apply in practice: mean- and median-based forecasts diverge in turbulent markets, quadratic loss is distorted by outliers, and quantile losses yield prediction bands interpretable as risk intervals. Overall, the results demonstrate that loss functions are not interchangeable optimisation tools but modelling choices determining which aspect of uncertainty is forecast. Aligning the loss with data distribution and objectives improves interpretability, robustness, and practical relevance in financial forecasting.

Degree

thesis:*
Grantor dc:publisher
Universitat Oberta de Catalunya (UOC)
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Caballero Bragagnini, Iker

Subjects

dc:subject × 7

Rights

dc:rights.accessrights
Statement dc:rights.accessrights
  • info:eu-repo/semantics/openAccess
  • CC BY-NC-ND
Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Citation
Caballero Bragagnini, I. [Iker]. (2025). Artificial neural networks for financial time series: forecasts and loss functions. Universitat Oberta de Catalunya (UOC). https://hdl.handle.net/10609/153557

Chain of custody

source
Harvested from
Universitat Oberta de Catalunya
Base URL
openaccess.uoc.edu/server/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Caballero Bragagnini, Iker. Artificial neural networks for financial time series: forecasts and loss functions. Universitat Oberta de Catalunya (UOC), 2025. https://hdl.handle.net/10609/153557