Adaptive Real-Time Multi-Loss Function Optimization Using Dynamic Memory Fusion Framework: A Case Study on Breast Cancer Segmentation

Amin Golnari, Mostafa Diba
10/10/2024
cs.CVcs.LG

No official code found. Best implementation: amingolnari/Demo-Dynamic-Memory-Fusion-Framework (2 stars, last commit 2025-11-08).

Abstract

Deep learning has proven to be a highly effective tool for a wide range of applications, significantly when leveraging the power of multi-loss functions to optimize performance on multiple criteria simultaneously. However, optimal selection and weighting loss functions in deep learning tasks can significantly influence model performance, yet manual tuning of these functions is often inefficient and inflexible. We propose a novel framework called dynamic memory fusion for adaptive multi-loss function penalizing in real-time to address this. This framework leverages historical loss values data to dynamically adjust the weighting of multiple loss functions throughout the training process. Additionally, this framework integrates an auxiliary loss function to enhance model performance in the early stages. To further research horizons, we introduce the class-balanced dice loss function, designed to address class imbalance by prioritizing underrepresented classes. Experiments on breast ultrasound datasets demonstrate that the framework improves segmentation performance across various metrics. These results demonstrate the effectiveness of our proposed framework in ensuring that the model dynamically adjusts its focus to prioritize the most relevant criteria, leading to improved performance in evolving environments. The source code for our proposed methodology is publicly available on GitHub.

View on arXivView PDF

Code Implementations(1)

20Jupyter NotebookSep 30, 202411 months ago

Similar Papers

Cite this paper

@article{golnari2024adaptive,
  title  = {Adaptive Real-Time Multi-Loss Function Optimization Using Dynamic Memory Fusion Framework: A Case Study on Breast Cancer Segmentation},
  author = {Amin Golnari and Mostafa Diba},
  year   = {2024},
  eprint = {2410.19745},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.19745v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.19745.svg)](https://codeofpaper.com/paper/2410.19745)

Discussion