Improving Pretrained Models for Zero-shot Multi-label Text Classification through Reinforced Label Hierarchy Reasoning

Hui Liu, Danqing Zhang, Bing Yin, Xiaodan Zhu
4/4/2021
cs.CL

Official code: LayneIns/Zero-shot-RLHR (5 stars, last commit 2021-05-11).

Abstract

Exploiting label hierarchies has become a promising approach to tackling the zero-shot multi-label text classification (ZS-MTC) problem. Conventional methods aim to learn a matching model between text and labels, using a graph encoder to incorporate label hierarchies to obtain effective label representations \cite{rios2018few}.

Show full abstract

More recently, pretrained models like BERT \cite{devlin2018bert} have been used to convert classification tasks into a textual entailment task \cite{yin-etal-2019-benchmarking}. This approach is naturally suitable for the ZS-MTC task. However, pretrained models are underexplored in the existing work because they do not generate individual vector representations for text or labels, making it unintuitive to combine them with conventional graph encoding methods. In this paper, we explore to improve pretrained models with label hierarchies on the ZS-MTC task. We propose a Reinforced Label Hierarchy Reasoning (RLHR) approach to encourage interdependence among labels in the hierarchies during training. Meanwhile, to overcome the weakness of flat predictions, we design a rollback algorithm that can remove logical errors from predictions during inference. Experimental results on three real-life datasets show that our approach achieves better performance and outperforms previous non-pretrained methods on the ZS-MTC task.

View on arXivView PDF

Code Implementations(1)

Code for NAACL2021 long paper "Improving Pretrained Models for Zero-shot Multi-label Text Classification through Reinforced Label Hierarchy Reasoning"

50Apr 3, 20215 years ago

Similar Papers

Cite this paper

@article{liu2021improving,
  title  = {Improving Pretrained Models for Zero-shot Multi-label Text Classification through Reinforced Label Hierarchy Reasoning},
  author = {Hui Liu and Danqing Zhang and Bing Yin and Xiaodan Zhu},
  year   = {2021},
  eprint = {2104.01666},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.01666}
}

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

Discussion