Clinically-Inspired Hierarchical Multi-Label Classification of Chest X-rays with a Penalty-Based Loss Function

Mehrdad Asadi, Komi Sodoké, Ian J. Gerard, Marta Kersten-Oertel
2/5/2025
cs.CVcs.AIcs.LG

No official code found. Best implementation: the-mercury/CIHMLC (3 stars, MIT, last commit 2026-02-18).

Abstract

In this work, we present a novel approach to multi-label chest X-ray (CXR) image classification that enhances clinical interpretability while maintaining a streamlined, single-model, single-run training pipeline. Leveraging the CheXpert dataset and VisualCheXbert-derived labels, we incorporate hierarchical label groupings to capture clinically meaningful relationships between diagnoses. To achieve this, we designed a custom hierarchical binary cross-entropy (HBCE) loss function that enforces label dependencies using either fixed or data-driven penalty types. Our model achieved a mean area under the receiver operating characteristic curve (AUROC) of 0.903 on the test set. Additionally, we provide visual explanations and uncertainty estimations to further enhance model interpretability. All code, model configurations, and experiment details are made available.

View on arXivView PDF

Code Implementations(1)

the-mercury/CIHMLCCommunity100%
MIT

Chest X-ray Classification

30Python, DockerfileNov 11, 20248 months agoMIT
chest-xray-imageschexpert-datasetdeep-learningdensenet121gradcam-visualization+2 more

Similar Papers

Cite this paper

@article{asadi2025clinicallyinspired,
  title  = {Clinically-Inspired Hierarchical Multi-Label Classification of Chest X-rays with a Penalty-Based Loss Function},
  author = {Mehrdad Asadi and Komi Sodoké and Ian J. Gerard and Marta Kersten-Oertel},
  year   = {2025},
  eprint = {2502.03591},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.03591v1}
}

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

Discussion