Proceedings

A Symmetric Relative-Error Loss Function for Intermittent Multiscale Signal Modelling

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 6281-6288.

https://doi.org/10.24963/ijcai.2025/699

Abstract

Multiscale signals represent a formidable modelling challenge in Machine Learning as the ubiquitous Mean Squared Error loss function neglects signal behaviour at smaller values. Several scale-equalizing error metrics have been devised to tackle this problem, amongst which the Mean Absolute Percentage Error (MAPE) remains the most widely used due to its simplicity and interpretability. However, by its very definition, MAPE introduces three major issues: asymptotic behaviour at zero-target values, asymptotic gradient behaviour at zero error, and accuracy loss for large signal scales. We address these limitations by proposing the Symmetric Mean Arctangent Squared Percentage Error (SMASPE), which builds up from the Mean Arctangent Absolute Percentage Error (MAAPE) and leverages a mathematically smoother definition along with user-provided signal bounds to extend its functionality. The numerical properties of SMASPE are explored, and its performance is tested in two real-life cases for deterministic and stochastic optimization. The experiments show a clear advantage of the proposed loss function, with an improvement of up to 42% with respect to MAAPE in terms of Mean Absolute Error for deep learning models when appropriate bounds are selected.

  1. [Bradbury et al., 2018] James Bradbury, Roy Frostig, Peter Hawkins, Matthew James Johnson, Chris Leary, Dougal Maclaurin, George Necula, Adam Paszke, Jake VanderPlas, Skye Wanderman-Milne, and Qiao Zhang. JAX: compos- able transformations of Python+NumPy programs, 2018.
  2. [Cho, 2014] Kyunghyun Cho. Learning phrase representa- tions using rnn encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078, 2014.
  3. [Chollet and others, 2015] Franc ¸ois Chollet et al. Keras. https://keras.io, 2015. Link
  4. [De Myttenaere et al., 2016] Arnaud De Myttenaere, Boris Golden, Bénédicte Le Grand, and Fabrice Rossi. Mean absolute percentage error for regression models. Neuro- computing, 192:38-48, 2016.
  5. [Henderson, 1975] Charles R Henderson. Best linear unbi- ased estimation and prediction under a selection model. Biometrics, pages 423-447, 1975.
  6. [Hodson et al., 2021] Timothy O Hodson, Thomas M Over, and Sydney S Foks. Mean squared error, decon- structed. Journal of Advances in Modeling Earth Systems, 13(12):e2021MS002681, 2021.
  7. [Hyndman and Koehler, 2006] Rob J Hyndman and Anne B Koehler. Another look at measures of forecast accuracy. International journal of forecasting, 22(4):679-688, 2006.
  8. [Kim and Kim, 2016] Sungil Kim and Heeyoung Kim. A new metric of absolute percentage error for intermittent demand forecasts. International Journal of Forecasting, 32(3):669-679, 2016.
  9. [Legendre, 1806] Adrien Marie Legendre. Nouvelles méthodes pour la détermination des orbites des comètes: avec un supplément contenant divers perfectionnemens de ces méthodes et leur application aux deux comètes de 1805.
  10. Courcier, 1806.
  11. [Liano, 1996] Kadir Liano. Robust error measure for super- vised neural network learning with outliers. IEEE Transac- tions on Neural Networks, 7(1):246-250, 1996.
  12. [Steinhauser, 2016] Martin Steinhauser. Computational mul- tiscale modeling of fluids and solids. Springer, Berlin, Germany, 2 edition, December 2016.
  13. [Vanegas Arias, 2025] Sergio Mauricio Vanegas Arias. A symmetric relative-error loss function for intermittent mul- tiscale signal modelling (github repository). https://github. com/sergiovaneg/SMASPE, 2025. Accessed: 2025-05-29. Link
  14. [Veera, 2020] Pearl Veera. Weekly sku level product sales transactions. https://www.kaggle.com/datasets/pearlveera/ weekly-sku-level-product-sales-transactions, 2020. Link

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards