Article Search
닫기

Original Article

Split Viewer

International Journal of Fuzzy Logic and Intelligent Systems 2024; 24(4): 317-332

Published online December 25, 2024

https://doi.org/10.5391/IJFIS.2023.24.4.317

© The Korean Institute of Intelligent Systems

Optimizing Deep Learning Models with Hybrid Nonlinear Loss Functions: Integrating Heterogeneous Nonlinear Properties for Enhanced Performance

Seoung-Ho Choi

Faculty of Basic Liberal Art, College of Liberal Arts, Hansung University, Seoul, Korea

Correspondence to :
Seoung-Ho Choi (jcn99250@naver.com)

Received: July 7, 2024; Revised: August 17, 2024; Accepted: December 11, 2024

This is an Open Access article distributed under the terms of the Creative Commons Attribution Non-Commercial License (http://creativecommons.org/licenses/by-nc/3.0/) which permits unrestricted noncommercial use, distribution, and reproduction in any medium, provided the original work is properly cited.

Current deep learning models underperform when using loss functions characterized by single properties. Therefore, optimizing these models with a combination of multiple attributes is essential to enhance performance. We propose a novel hybrid nonlinear loss function technique incorporating heterogeneous nonlinear properties to achieve optimal performance. We evaluated the proposed method using six analytical techniques: contour map visualization, loss error frequency analysis, scatter plot visualization, loss function visualization, gradient descent analysis, and covariate Analysis with convex and linear coefficients. Our experiments on semantic segmentation tasks using the Pascal visual object classes and automatic target recognition datasets demonstrated superior optimization performance compared to existing loss functions.

Keywords: Hybrid nonlinear loss function, Heterogeneous properties, Optimization, High performance

This study was conducted with support from Hansung University.

No potential conflict of interest relevant to this article was reported.

Seoung Ho Choi received his B.S degree from Hansung University, Korea, in 2018 and M.S. degrees from Hansung University, in 2020. He joined the Faculty of Basic Liberal Art, College of Liberal Arts, at the Hansung University in 2021, where he is an assistant professor.

Article

Original Article

International Journal of Fuzzy Logic and Intelligent Systems 2024; 24(4): 317-332

Published online December 25, 2024 https://doi.org/10.5391/IJFIS.2023.24.4.317

Copyright © The Korean Institute of Intelligent Systems.

Optimizing Deep Learning Models with Hybrid Nonlinear Loss Functions: Integrating Heterogeneous Nonlinear Properties for Enhanced Performance

Seoung-Ho Choi

Faculty of Basic Liberal Art, College of Liberal Arts, Hansung University, Seoul, Korea

Correspondence to:Seoung-Ho Choi (jcn99250@naver.com)

Received: July 7, 2024; Revised: August 17, 2024; Accepted: December 11, 2024

This is an Open Access article distributed under the terms of the Creative Commons Attribution Non-Commercial License (http://creativecommons.org/licenses/by-nc/3.0/) which permits unrestricted noncommercial use, distribution, and reproduction in any medium, provided the original work is properly cited.

Abstract

Current deep learning models underperform when using loss functions characterized by single properties. Therefore, optimizing these models with a combination of multiple attributes is essential to enhance performance. We propose a novel hybrid nonlinear loss function technique incorporating heterogeneous nonlinear properties to achieve optimal performance. We evaluated the proposed method using six analytical techniques: contour map visualization, loss error frequency analysis, scatter plot visualization, loss function visualization, gradient descent analysis, and covariate Analysis with convex and linear coefficients. Our experiments on semantic segmentation tasks using the Pascal visual object classes and automatic target recognition datasets demonstrated superior optimization performance compared to existing loss functions.

Keywords: Hybrid nonlinear loss function, Heterogeneous properties, Optimization, High performance

Fig 1.

Figure 1.

Proposed method: (a) hybrid loss function case 1 and (b) hybrid loss function case 2.

The International Journal of Fuzzy Logic and Intelligent Systems 2024; 24: 317-332https://doi.org/10.5391/IJFIS.2023.24.4.317

Fig 2.

Figure 2.

Visualization of used loss function: (a) no loss function, (b) L1 and L2 loss functions, (c) nonlinear exponential loss function, (d) nonlinear exponential loss function and L1/L2 loss functions, (e) exponential moving average loss function, and (f) exponential moving average loss function and nonlinear loss function.

The International Journal of Fuzzy Logic and Intelligent Systems 2024; 24: 317-332https://doi.org/10.5391/IJFIS.2023.24.4.317

Fig 3.

Figure 3.

Visualization of experiment method configuration.

The International Journal of Fuzzy Logic and Intelligent Systems 2024; 24: 317-332https://doi.org/10.5391/IJFIS.2023.24.4.317

Fig 4.

Figure 4.

Visualization of the analysis of the proposed method using contour maps of 6 different loss functions with balanced and unbalanced input data: (a) existing experimental equation, (b) L1 and L2 loss function addition formulas, (c) nonlinear exponential loss function, (d) nonlinear exponential loss function and linear combination L1 & L2 loss functions, (e) exponential moving average loss function, and (f) exponential moving average loss function and nonlinear exponential loss function.

The International Journal of Fuzzy Logic and Intelligent Systems 2024; 24: 317-332https://doi.org/10.5391/IJFIS.2023.24.4.317

Fig 5.

Figure 5.

Visualization of the impact of 6 different loss functions on the frequency distribution of generated values with unbalanced and balanced input data: (a) existing experimental equation, (b) L1 and L2 loss function addition formulas, (c) nonlinear exponential loss function, (d) nonlinear exponential loss function and linear combination L1 & L2 loss functions, (e) exponential moving average loss function, and (f) exponential moving average loss function and nonlinear exponential loss function

The International Journal of Fuzzy Logic and Intelligent Systems 2024; 24: 317-332https://doi.org/10.5391/IJFIS.2023.24.4.317

Fig 6.

Figure 6.

Visualization of scatter plots using LogisticGroupLasso model to analyze the model and sparsity values of 6 different loss functions: (a) existing experimental equation, (b) L1 and L2 loss function addition formulas, (c) nonlinear exponential loss function, (d) nonlinear exponential loss function and linear combination L1 & L2 loss functions, (e) exponential moving average loss function, and (f) exponential moving average loss function and nonlinear exponential loss function.

The International Journal of Fuzzy Logic and Intelligent Systems 2024; 24: 317-332https://doi.org/10.5391/IJFIS.2023.24.4.317

Fig 7.

Figure 7.

Visualization of 3D surface for 9 equations: (a) Eq. (1), (b) Eq. (2), (c) Eq. (3), (d) Eq. (4), (e) Eq. (5), (f) Eq. (6), (g) Eq. (7), (h) Eq. (8), and (i) Eq. (9).

The International Journal of Fuzzy Logic and Intelligent Systems 2024; 24: 317-332https://doi.org/10.5391/IJFIS.2023.24.4.317

Fig 8.

Figure 8.

Visualization of heatmap for 9 equations: (a) Eq. (1), (b) Eq. (2), (c) Eq. (3), (d) Eq. (4), (e) Eq. (5), (f) Eq. (6), (g) Eq. (7), (h) Eq. (8), and (i) Eq. (9).

The International Journal of Fuzzy Logic and Intelligent Systems 2024; 24: 317-332https://doi.org/10.5391/IJFIS.2023.24.4.317

Fig 9.

Figure 9.

Visualization of comparison of the loss function methods: (a) loss values for different training epochs and (b) IOU values for different training epochs.

The International Journal of Fuzzy Logic and Intelligent Systems 2024; 24: 317-332https://doi.org/10.5391/IJFIS.2023.24.4.317

Table 1 . The index definition of hybrid loss function.

NameIndex A
NoneExperiment 1
Combination L1 and L2 loss function with convex coefficientExperiment 2
Combination L1 and L2 loss function with linear coefficientExperiment 3
Nonlinear exponential loss function with convex coefficientExperiment 4
Nonlinear exponential loss function with linear coefficientExperiment 5
Exponential hybrid loss function with convex coefficientExperiment 6
Exponential hybrid loss function with linear coefficientExperiment 7
Exponential moving average loss function with convex coefficient adopted no filterExperiment 8
Exponential moving average loss function with convex coefficient adopted ReLUExperiment 9
Exponential moving average loss function with convex coefficient adopted eLUExperiment 10
Exponential moving average loss function with convex coefficient adopted Bi-ReLUExperiment 11
Exponential moving average loss function with convex coefficient adopted Bi-eLUExperiment 12
Exponential moving average loss function with linear coefficient adopted no filterExperiment 13
Exponential moving average loss function with linear coefficient adopted ReLUExperiment 14
Exponential moving average loss function with linear coefficient adopted eLUExperiment 15
Exponential moving average loss function with linear coefficient adopted Bi-ReLUExperiment 16
Exponential moving average loss function with linear coefficient adopted Bi-eLUExperiment 17
Exponential hybrid v2 loss function with convex coefficient adopted no filterExperiment 18
Exponential hybrid v2 loss function with convex coefficient adopted ReLUExperiment 19
Exponential hybrid v2 loss function with convex coefficient adopted eLUExperiment 20
Exponential hybrid v2 loss function with convex coefficient adopted Bi-ReLUExperiment 21
Exponential hybrid v2 loss function with convex coefficient adopted Bi-eLUExperiment 22
Exponential hybrid v2 loss function with linear coefficient adopted no filterExperiment 23
Exponential hybrid v2 loss function with linear coefficient adopted ReLUExperiment 24
Exponential hybrid v2 loss function with linear coefficient adopted eLUExperiment 25
Exponential hybrid v2 loss function with linear coefficient adopted Bi-ReLUExperiment 26
Exponential hybrid v2 loss function with linear coefficient adopted Bi-eLUExperiment 27

Table 2 . Experiment result of loss function using U-Net on ATR dataset with Seed 250.

Loss functionDSCF1-scoreIOULossPrecisionRecall
Experiment10.7240.7240.7681.0720.7240.724
Experiment20.7230.7230.7671.5250.7230.723
Experiment30.7240.7240.7681.3980.7240.724
Experiment40.7240.7240.7681.3640.7240.724
Experiment50.7240.7240.7671.2870.7240.724
Experiment60.7230.7230.7671.2220.7230.723
Experiment70.7240.7240.7681.2780.7240.724
Experiment80.7240.7240.7681.2550.7240.724
Experiment90.7240.7240.7681.2280.7240.724
Experiment100.7240.7240.7681.2370.7240.724
Experiment110.7240.7240.7681.1950.7240.724
Experiment120.7240.7240.7681.1640.7240.724
Experiment130.7240.7240.7681.1360.7240.724
Experiment140.7240.7240.7681.1120.7240.724
Experiment150.7240.7240.7681.1150.7240.724
Experiment160.7240.7240.7681.0950.7240.724
Experiment170.7240.7240.7681.080.7240.724
Experiment180.7250.7240.7681.0750.7240.724
Experiment190.7250.7250.7681.090.7250.725
Experiment200.7250.7250.7681.0770.7250.725
Experiment210.7250.7250.7681.0690.7250.725
Experiment220.7250.7250.7681.070.7250.725
Experiment230.7250.7250.7681.0770.7250.725
Experiment240.7250.7250.7681.070.7250.725
Experiment250.7250.7250.7681.0520.7250.725
Experiment260.7250.7250.7681.0440.7250.725
Experiment270.7250.7250.7681.0420.7250.725

Algorithm 1. Hybrid loss function case 1.

whileEpoch ≠ 0 do
LossCrossentropy loss function
  +Nonlinear exponential lossfunction
  +L1 lossfunction + L2 lossfunction
Optimizationmodel using Loss error
end while

Algorithm 2. Hybrid loss function case 2.

whileEpoch ≠ 0 do
LossCrossentropy loss function
  +Exponential moving average
  +Nonlinear exponential lossfunction
Optimizationmodel using Loss error
end while

Share this article on :

Related articles in IJFIS