The reviewed record of science sign in
Pith

arxiv: 2507.16548 · v2 · pith:OBWZQ353 · submitted 2025-07-22 · q-fin.CP · cs.LG· q-fin.TR

Alternative Loss Function in Evaluation of Transformer Models

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel pith:OBWZQ353record.jsonopen to challenge →

classification q-fin.CP cs.LGq-fin.TR
keywords functionmodelslosstransformeradequatelstmmadlresults
0
0 comments X
read the original abstract

The proper design and architecture of testing machine learning models, especially in their application to quantitative finance problems, is crucial. The most important aspect of this process is selecting an adequate loss function for training, validation, estimation purposes, and hyperparameter tuning. Therefore, in this research, through empirical experiments on equity and cryptocurrency assets, we apply the Mean Absolute Directional Loss (MADL) function, which is more adequate for optimizing forecast-generating models used in algorithmic investment strategies. The MADL function results are compared between Transformer and LSTM models, and we show that in almost every case, Transformer results are significantly better than those obtained with LSTM.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.