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

📅 2025-10-07
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Existing electrochemical impedance spectroscopy (EIS) data fitting lacks systematic evaluation of loss function selection for equivalent circuit modeling. Method: We propose two novel Bode-plot-based loss functions—log-B (logarithmic magnitude loss) and log-BW (weighted logarithmic magnitude loss)—and conduct a comprehensive comparison with conventional χ² and other losses via nonlinear least-squares optimization on standard EIS datasets, using R², χ², MAPE, and computational time as evaluation metrics. Results: While χ² achieves the highest absolute accuracy, log-B attains near-optimal fidelity (R² > 0.999) with 1.4× faster convergence and significantly reduced parameter estimation errors for most circuit elements. log-BW further improves low-frequency robustness. This work establishes a new efficiency–accuracy–balanced paradigm for large-scale EIS analysis.

Technology Category

Application Category

📝 Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

Evaluating loss functions for electrochemical impedance spectroscopy modeling
Comparing new log-B and log-BW functions with existing alternatives
Assessing impact on convergence, efficiency, and parameter accuracy
Innovation

Methods, ideas, or system contributions that make the work stand out.

Introduced log-B and log-BW loss functions from Bode representation
Evaluated loss functions using R2 scores and computational efficiency metrics
Identified X2 as best fit and log-B as faster alternative
🔎 Similar Papers
No similar papers found.
A
Ali Jaberi
Clean Energy Innovation Research Center, National Research Council Canada, Mississauga, Ontario, Canada
A
Amin Sadeghi
Canmet MATERIALS, Natural Resources Canada, 183 Longwood Road south, Hamilton, ON, Canada
R
Runze Zhang
Department of Material Science and Engineering, University of Toronto, Toronto, Ontario, Canada
Z
Zhaoyang Zhao
Department of Material Science and Engineering, University of Toronto, Toronto, Ontario, Canada
Qiuyu Shi
Qiuyu Shi
University of Toronto
CatalysisAqueous rechargeable batterySolar cellNanomaterialNanotechnology
Robert Black
Robert Black
Johns Hopkins Bloomberg School of Public Health
Child nutrition and infectious diseases
Z
Zoya Sadighi
Clean Energy Innovation Research Center, National Research Council Canada, Mississauga, Ontario, Canada
Jason Hattrick-Simpers
Jason Hattrick-Simpers
Department of Materials Science and Engineering University of Toronto
artificial intelligenceautonomous sciencecombinatorial materials sciencecompositionally complex alloysmetallic glasses