Hierarchical Transfer Learning for Multi-label Text Classification

Siddhartha Banerjee, Cem Akkaya, Francisco Perez-Sorrosal, Kostas TsioutsiouliklisACL 2019

Introduction

Multi-Label Hierarchical Text Classification (MLHTC) involves assigning documents to multiple categories within a structured taxonomy, such as a news article tagged under Economy $\rightarrow$ Markets $\rightarrow$ Stock Exchange. A significant challenge in this field is data imbalance: while top-level categories are data-rich, deep "leaf" nodes often suffer from extreme data scarcity. Traditional approaches either use independent binary classifiers, which ignore hierarchical relationships, or single multi-label models that struggle to optimize for rare categories.

Methodology: The HTrans Approach

The researchers propose HTrans (Hierarchical Transfer Learning), a method that leverages the hierarchy as a roadmap for knowledge transfer. The core insight is that parent categories serve as high-quality pre-training tasks for their children. If a model already understands a broad category like "Finance," it has a significant head start on learning a sub-category like "Insurance."

Architecture

HTrans utilizes a minimalistic yet effective architecture consisting of a bidirectional Gated Recurrent Unit (GRU) paired with an attention mechanism. This setup allows the model to identify and focus on the most informative words within a document, providing a powerful base for classification.

Architecture of the GRU-Attention base classifier, featuring pooling layers and an attention vector.

Transfer and Fine-tuning

Instead of random initialization, child classifiers inherit the final parameters of their parent classifiers. To balance general and specific knowledge, the authors employ differential learning rates: a low rate for transferred layers (GRU and attention) to preserve general knowledge, and a higher rate for the newly initialized output layer to learn child-specific features. Additionally, class weighting is applied to every binary classifier to ensure the model does not ignore rare positive instances.

Experimental Results

The model was evaluated on the RCV1 (Reuters Corpus Volume 1) dataset, a standard benchmark containing 103 categories and nearly 800,000 documents.

Performance Comparison

HTrans demonstrated significant improvements over both its own base architecture and complex state-of-the-art models. Notably, it outperformed the DGCNN model—a complex graph-based network—by a substantial margin, particularly in Macro-F1 scores, which treat every category equally regardless of frequency.

Performance comparison of HTrans against the state-of-the-art DGCNN and baseline models on the RCV1 dataset.

Key Findings

  • Macro-F1 Gains: HTrans outperformed DGCNN by a staggering 19% in Macro-F1, proving its efficacy in handling the "long tail" of rare labels.
  • Deep Hierarchy Benefits: The transfer learning benefit was most pronounced at the deepest levels of the taxonomy (Level 3), where data is scarcest, showing an approximate 7% improvement in Macro-F1 over training from scratch.
  • Simplicity vs. Complexity: The success of HTrans suggests that a collection of well-tuned, simple binary classifiers can outperform more intricate, monolithic architectures like graph convolutional networks.

Conclusion and Future Work

HTrans provides a robust framework for hierarchical text classification by effectively transferring knowledge across taxonomy levels. While the independent binary classifier approach can be computationally intensive for very large hierarchies, its performance gains on rare classes are compelling. Future research may explore integrating more advanced architectures like Transformers into the HTrans framework and further optimizing hyperparameters for individual nodes.

Summary updated

BibTeX
@inproceedings{banerjee2019hierarchical,
  author = {Siddhartha Banerjee and Cem Akkaya and Francisco Perez-Sorrosal and Kostas Tsioutsiouliklis},
  title = {{Hierarchical Transfer Learning for Multi-label Text Classification}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1633},
}
Figure