Any-Class Presence Likelihood for Robust Multi-Label Classification with Abundant Negative Data

Dumindu Tissera, Omar Awadallah, Muhammad Umair Danish, Ayan Sadhu, Katarina Grolinger
6/6/2025
cs.LGcs.AIcs.CV

Official code: ML-for-Sensor-Data-Western/gmean-mlc (30 stars, Jupyter Notebook, MIT, last commit 2026-06-28).

Abstract

Multi-label Classification (MLC) assigns an instance to one or more non-exclusive classes. A challenge arises when the dataset contains a large proportion of instances with no assigned class, referred to as negative data, which can overwhelm the learning process and hinder the accurate identification and classification of positive instances.

Show full abstract

Nevertheless, it is common in MLC applications such as industrial defect detection, agricultural disease identification, and healthcare diagnosis to encounter large amounts of negative data. Assigning a separate negative class to these instances further complicates the learning objective and introduces unnecessary redundancies. To address this challenge, we redesign standard MLC loss functions by deriving a likelihood of any class being present, formulated by a normalized weighted geometric mean of the predicted class probabilities. We introduce a regularization parameter that controls the relative contribution of the absent class probabilities to the any-class presence likelihood in positive instances. The any-class presence likelihood complements the multi-label learning by encouraging the network to become more aware of implicit positive instances and improve the label classification within those positive instances. Experiments on large-scale datasets with negative data: SewerML, modified COCO, and ChestX-ray14, across various networks and base loss functions show that our loss functions consistently improve MLC performance of their standard loss counterparts, achieving gains of up to 6.01 percentage points in F1, 8.06 in F2, and 3.11 in mean average precision, all without additional parameters or computational complexity. Code available at: https://github.com/ML-for-Sensor-Data-Western/gmean-mlc

View on arXivView PDF

Code Implementations(1)

MIT
304Jupyter Notebook, PythonJun 13, 20245 months agoMIT

Similar Papers

Cite this paper

@article{tissera2025anyclass,
  title  = {Any-Class Presence Likelihood for Robust Multi-Label Classification with Abundant Negative Data},
  author = {Dumindu Tissera and Omar Awadallah and Muhammad Umair Danish and Ayan Sadhu and Katarina Grolinger},
  year   = {2025},
  eprint = {2506.05721},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.05721v1}
}

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

Discussion