Improving Detection of Rare Nodes in Hierarchical Multi-Label Learning

Isaac Xu, Martin Gillis, Ayushi Sharma, Benjamin Misiuk, Craig J. Brown +1 more
2/9/2026
cs.LGcs.AI

No official code found. Best implementation: DalhousieAI/Hierarchical_Multi-Label_Imb_Focal_Weighted_Loss (0 stars, GPL-3.0, last commit 2026-02-09).

Abstract

In hierarchical multi-label classification, a persistent challenge is enabling model predictions to reach deeper levels of the hierarchy for more detailed or fine-grained classifications. This difficulty partly arises from the natural rarity of certain classes (or hierarchical nodes) and the hierarchical constraint that ensures child nodes are almost always less frequent than their parents. To address this, we propose a weighted loss objective for neural networks that combines node-wise imbalance weighting with focal weighting components, the latter leveraging modern quantification of ensemble uncertainties. By emphasizing rare nodes rather than rare observations (data points), and focusing on uncertain nodes for each model output distribution during training, we observe improvements in recall by up to a factor of five on benchmark datasets, along with statistically significant gains in $F_{1}$ score. We also show our approach aids convolutional networks on challenging tasks, as in situations with suboptimal encoders or limited data.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Repo to support "Improving Detection of Rare Nodes in Hierarchical Multi-Label Learning"

00PythonFeb 9, 20268 months agoGPL-3.0

Similar Papers

Cite this paper

@article{xu2026improving,
  title  = {Improving Detection of Rare Nodes in Hierarchical Multi-Label Learning},
  author = {Isaac Xu and Martin Gillis and Ayushi Sharma and Benjamin Misiuk and Craig J. Brown and Thomas Trappenberg},
  year   = {2026},
  eprint = {2602.08986},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.08986v1}
}

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

Discussion