Your Next State-of-the-Art Could Come from Another Domain: A Cross-Domain Analysis of Hierarchical Text Classification
Nan Li, Bo Kang, Tijl De Bie
TL;DR
This paper tackles the problem of text classification with hierarchical labels (HTC) across multiple domains, addressing the gap that most work is domain-specific. It introduces a unified, domain-agnostic framework built from nine submodules and conducts a large cross-domain evaluation of eight representative HTC methods on eight datasets from five domains, re-implementing and standardizing data processing. Key findings show that dataset characteristics and architectural choices, rather than domain origin, largely drive performance, and that transferring submodules across domains can yield new state-of-the-art results (e.g., cross-domain gains on NYT-166, SciHTC-83, USPTO2M-632). The study also reveals that domain-specific LLMs help especially for simpler models and low-resource settings, long-document handling is critical for medical text, and that combining innovations from different domains can produce robust HTC systems with practical implications for cross-domain knowledge transfer and benchmark design.
Abstract
Text classification with hierarchical labels is a prevalent and challenging task in natural language processing. Examples include assigning ICD codes to patient records, tagging patents into IPC classes, assigning EUROVOC descriptors to European legal texts, and more. Despite its widespread applications, a comprehensive understanding of state-of-the-art methods across different domains has been lacking. In this paper, we provide the first comprehensive cross-domain overview with empirical analysis of state-of-the-art methods. We propose a unified framework that positions each method within a common structure to facilitate research. Our empirical analysis yields key insights and guidelines, confirming the necessity of learning across different research areas to design effective methods. Notably, under our unified evaluation pipeline, we achieved new state-of-the-art results by applying techniques beyond their original domains.
