Assessment of different loss functions for fitting equivalent circuit models to electrochemical impedance spectroscopy data

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Jaberi, Ali, Sadeghi, Amin, Zhang, Runze, Zhao, Zhaoyang, Shi, Qiuyu, Black, Robert, Sadighi, Zoya, Hattrick-Simpers, Jason
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912642238513152
author Jaberi, Ali
Sadeghi, Amin
Zhang, Runze
Zhao, Zhaoyang
Shi, Qiuyu
Black, Robert
Sadighi, Zoya
Hattrick-Simpers, Jason
author_facet Jaberi, Ali
Sadeghi, Amin
Zhang, Runze
Zhao, Zhaoyang
Shi, Qiuyu
Black, Robert
Sadighi, Zoya
Hattrick-Simpers, Jason
contents Electrochemical impedance spectroscopy (EIS) data is typically modeled using an equivalent circuit model (ECM), with parameters obtained by minimizing a loss function via nonlinear least squares fitting. This paper introduces two new loss functions, log-B and log-BW, derived from the Bode representation of EIS. Using a large dataset of generated EIS data, the performance of proposed loss functions was evaluated alongside existing ones in terms of R2 scores, chi-squared, computational efficiency, and the mean absolute percentage error (MAPE) between the predicted component values and the original values. Statistical comparisons revealed that the choice of loss function impacts convergence, computational efficiency, quality of fit, and MAPE. Our analysis showed that X2 loss function (squared sum of residuals with proportional weighting) achieved the highest performance across multiple quality of fit metrics, making it the preferred choice when the quality of fit is the primary goal. On the other hand, log-B offered a slightly lower quality of fit while being approximately 1.4 times faster and producing lower MAPE for most circuit components, making log-B as a strong alternative. This is a critical factor for large-scale least squares fitting in data-driven applications, such as training machine learning models on extensive datasets or iterations.
format Preprint
id arxiv_https___arxiv_org_abs_2510_09662
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Assessment of different loss functions for fitting equivalent circuit models to electrochemical impedance spectroscopy data
Jaberi, Ali
Sadeghi, Amin
Zhang, Runze
Zhao, Zhaoyang
Shi, Qiuyu
Black, Robert
Sadighi, Zoya
Hattrick-Simpers, Jason
Machine Learning
Materials Science
Electrochemical impedance spectroscopy (EIS) data is typically modeled using an equivalent circuit model (ECM), with parameters obtained by minimizing a loss function via nonlinear least squares fitting. This paper introduces two new loss functions, log-B and log-BW, derived from the Bode representation of EIS. Using a large dataset of generated EIS data, the performance of proposed loss functions was evaluated alongside existing ones in terms of R2 scores, chi-squared, computational efficiency, and the mean absolute percentage error (MAPE) between the predicted component values and the original values. Statistical comparisons revealed that the choice of loss function impacts convergence, computational efficiency, quality of fit, and MAPE. Our analysis showed that X2 loss function (squared sum of residuals with proportional weighting) achieved the highest performance across multiple quality of fit metrics, making it the preferred choice when the quality of fit is the primary goal. On the other hand, log-B offered a slightly lower quality of fit while being approximately 1.4 times faster and producing lower MAPE for most circuit components, making log-B as a strong alternative. This is a critical factor for large-scale least squares fitting in data-driven applications, such as training machine learning models on extensive datasets or iterations.
title Assessment of different loss functions for fitting equivalent circuit models to electrochemical impedance spectroscopy data
topic Machine Learning
Materials Science
url https://arxiv.org/abs/2510.09662