DeepChest: Dynamic Gradient-Free Task Weighting for Effective Multi-Task Learning in Chest X-ray Classification

Youssef Mohamed, Noran Mohamed, Khaled Abouhashad, Feilong Tang, Sara Atito +3 more
5/29/2025
4 citations
cs.CVcs.AI

Official code: youssefkhalil320/DeepChest-MTL (1 star, Jupyter Notebook, last commit 2025-04-11).

Abstract

While Multi-Task Learning (MTL) offers inherent advantages in complex domains such as medical imaging by enabling shared representation learning, effectively balancing task contributions remains a significant challenge. This paper addresses this critical issue by introducing DeepChest, a novel, computationally efficient and effective dynamic task-weighting framework specifically designed for multi-label chest X-ray (CXR) classification.

Show full abstract

Unlike existing heuristic or gradient-based methods that often incur substantial overhead, DeepChest leverages a performance-driven weighting mechanism based on effective analysis of task-specific loss trends. Given a network architecture (e.g., ResNet18), our model-agnostic approach adaptively adjusts task importance without requiring gradient access, thereby significantly reducing memory usage and achieving a threefold increase in training speed. It can be easily applied to improve various state-of-the-art methods. Extensive experiments on a large-scale CXR dataset demonstrate that DeepChest not only outperforms state-of-the-art MTL methods by 7% in overall accuracy but also yields substantial reductions in individual task losses, indicating improved generalization and effective mitigation of negative transfer. The efficiency and performance gains of DeepChest pave the way for more practical and robust deployment of deep learning in critical medical diagnostic applications. The code is publicly available at https://github.com/youssefkhalil320/DeepChest-MTL

View on arXivView PDF

Code Implementations(1)

10Jupyter Notebook, PythonApr 11, 20251 years ago

Similar Papers

Cite this paper

@article{mohamed2025deepchest,
  title  = {DeepChest: Dynamic Gradient-Free Task Weighting for Effective Multi-Task Learning in Chest X-ray Classification},
  author = {Youssef Mohamed and Noran Mohamed and Khaled Abouhashad and Feilong Tang and Sara Atito and Shoaib Jameel and Imran Razzak and Ahmed B. Zaky},
  year   = {2025},
  eprint = {2505.23595},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.23595v1}
}

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/2505.23595.svg)](https://codeofpaper.com/paper/2505.23595)

Discussion