Reproduce “Modeling Text-Label Alignment for Hierarchical Text Classification” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Ashish Kumar, Durga Toshniwal

Researchers at the Indian Institute of Technology Roorkee developed the Hierarchical Text-Label Alignment (HTLA) model, which explicitly models the dynamic semantic alignment between text and its hierarchical labels using a novel Text-Label Alignment (TLA) loss. The model achieved statistically significant improvements in Macro-F1 scores on benchmark datasets like WOS, RCV1-V2, and NYT, particularly enhancing classification for less prevalent labels and deeper hierarchy levels.

Key insights

  • Explicitly modeling the dynamic semantic alignment between a text and its specific hierarchical labels, rather than relying on static label representations, significantly improves classification accuracy and robustness.
  • The TLA loss, particularly with hard negative mining, forces the model to learn finer distinctions between semantically similar but incorrect labels, enhancing discriminatory power.
  • Jointly optimizing for both text-label alignment and individual label prediction effectively addresses label imbalance and improves performance across different hierarchy levels and complex label path structures.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.