Exploiting Global and Local Hierarchies for Hierarchical Text Classification

Ting Jiang, Deqing Wang, Leilei Sun, Zhongzhi Chen, Fuzhen Zhuang +1 more
5/5/2022
cs.CL

Official code: kongds/HBGL (28 stars, Python, last commit 2022-12-13).

Abstract

Hierarchical text classification aims to leverage label hierarchy in multi-label text classification. Existing methods encode label hierarchy in a global view, where label hierarchy is treated as the static hierarchical structure containing all labels.

Show full abstract

Since global hierarchy is static and irrelevant to text samples, it makes these methods hard to exploit hierarchical information. Contrary to global hierarchy, local hierarchy as a structured labels hierarchy corresponding to each text sample. It is dynamic and relevant to text samples, which is ignored in previous methods. To exploit global and local hierarchies,we propose Hierarchy-guided BERT with Global and Local hierarchies (HBGL), which utilizes the large-scale parameters and prior language knowledge of BERT to model both global and local hierarchies.Moreover,HBGL avoids the intentional fusion of semantic and hierarchical modules by directly modeling semantic and hierarchical information with BERT.Compared with the state-of-the-art method HGCLR,our method achieves significant improvement on three benchmark datasets.

View on arXivView PDF

Code Implementations(1)

kongds/HBGLOfficial100%

Exploiting Global and Local Hierarchies for Hierarchical Text Classification

286Python, ShellMay 31, 20223 years ago

Similar Papers

Cite this paper

@article{jiang2022exploiting,
  title  = {Exploiting Global and Local Hierarchies for Hierarchical Text Classification},
  author = {Ting Jiang and Deqing Wang and Leilei Sun and Zhongzhi Chen and Fuzhen Zhuang and Qinghong Yang},
  year   = {2022},
  eprint = {2205.02613},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.02613}
}

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

Discussion