Weakly-Supervised Hierarchical Text Classification

Yu Meng, Jiaming Shen, Chao Zhang, Jiawei Han
12/29/2018
cs.CLcs.AIcs.LG

Official code: yumeng5/WeSHClass (84 stars, Python, Apache-2.0, TensorFlow, last commit 2021-12-11).

Abstract

Hierarchical text classification, which aims to classify text documents into a given hierarchy, is an important task in many real-world applications. Recently, deep neural models are gaining increasing popularity for text classification due to their expressive power and minimum requirement for feature engineering.

Show full abstract

However, applying deep neural networks for hierarchical text classification remains challenging, because they heavily rely on a large amount of training data and meanwhile cannot easily determine appropriate levels of documents in the hierarchical setting. In this paper, we propose a weakly-supervised neural method for hierarchical text classification. Our method does not require a large amount of training data but requires only easy-to-provide weak supervision signals such as a few class-related documents or keywords. Our method effectively leverages such weak supervision signals to generate pseudo documents for model pre-training, and then performs self-training on real unlabeled data to iteratively refine the model. During the training process, our model features a hierarchical neural structure, which mimics the given hierarchy and is capable of determining the proper levels for documents with a blocking mechanism. Experiments on three datasets from different domains demonstrate the efficacy of our method compared with a comprehensive set of baselines.

View on arXivView PDF

Code Implementations(1)

yumeng5/WeSHClassOfficial100%
TensorFlowApache-2.0

[AAAI 2019] Weakly-Supervised Hierarchical Text Classification

8419Python, ShellDec 29, 20184 years agoApache-2.0
hierarchical-classificationkerasneural-networktext-classificationweakly-supervised-learning

Similar Papers

Cite this paper

@article{meng2018weaklysupervised,
  title  = {Weakly-Supervised Hierarchical Text Classification},
  author = {Yu Meng and Jiaming Shen and Chao Zhang and Jiawei Han},
  year   = {2018},
  eprint = {1812.11270},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1812.11270}
}

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

Discussion