Hierarchical Text Classification with Reinforced Label Assignment

Yuning Mao, Jingjing Tian, Jiawei Han, Xiang Ren
8/27/2019
cs.IRcs.CLcs.LG
rl

Official code: morningmoni/HiLAP (138 stars, Python, last commit 2021-07-14).

Abstract

While existing hierarchical text classification (HTC) methods attempt to capture label hierarchies for model training, they either make local decisions regarding each label or completely ignore the hierarchy information during inference. To solve the mismatch between training and inference as well as modeling label dependencies in a more principled way, we formulate HTC as a Markov decision process and propose to learn a Label Assignment Policy via deep reinforcement learning to determine where to place an object and when to stop the assignment process.

Show full abstract

The proposed method, HiLAP, explores the hierarchy during both training and inference time in a consistent manner and makes inter-dependent decisions. As a general framework, HiLAP can incorporate different neural encoders as base models for end-to-end training. Experiments on five public datasets and four base models show that HiLAP yields an average improvement of 33.4% in Macro-F1 over flat classifiers and outperforms state-of-the-art HTC methods by a large margin. Data and code can be found at https://github.com/morningmoni/HiLAP.

View on arXivView PDF

Code Implementations(1)

morningmoni/HiLAPOfficial100%

Code for paper "Hierarchical Text Classification with Reinforced Label Assignment" EMNLP 2019

13831PythonAug 20, 20195 years ago
hierarchical-classificationreinforcement-learningtext-classification

Similar Papers

Cite this paper

@article{mao2019hierarchical,
  title  = {Hierarchical Text Classification with Reinforced Label Assignment},
  author = {Yuning Mao and Jingjing Tian and Jiawei Han and Xiang Ren},
  year   = {2019},
  eprint = {1908.10419},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.10419}
}

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

Discussion