HiTIN: Hierarchy-aware Tree Isomorphism Network for Hierarchical Text Classification

He Zhu, Chong Zhang, Junjie Huang, Junran Wu, Ke Xu
5/24/2023
48 citations
cs.CL

Official code: Rooooyy/HiTIN (38 stars, Python, last commit 2024-03-27).

Abstract

Hierarchical text classification (HTC) is a challenging subtask of multi-label classification as the labels form a complex hierarchical structure. Existing dual-encoder methods in HTC achieve weak performance gains with huge memory overheads and their structure encoders heavily rely on domain knowledge.

Show full abstract

Under such observation, we tend to investigate the feasibility of a memory-friendly model with strong generalization capability that could boost the performance of HTC without prior statistics or label semantics. In this paper, we propose Hierarchy-aware Tree Isomorphism Network (HiTIN) to enhance the text representations with only syntactic information of the label hierarchy. Specifically, we convert the label hierarchy into an unweighted tree structure, termed coding tree, with the guidance of structural entropy. Then we design a structure encoder to incorporate hierarchy-aware information in the coding tree into text representations. Besides the text encoder, HiTIN only contains a few multi-layer perceptions and linear transformations, which greatly saves memory. We conduct experiments on three commonly used datasets and the results demonstrate that HiTIN could achieve better test performance and less memory consumption than state-of-the-art (SOTA) methods.

View on arXivView PDF

Code Implementations(1)

Rooooyy/HiTINOfficial100%

Code for ACL 2023 paper "HiTIN: Hierarchy-aware Tree Isomorphism Network for Hierarchical Text Classification"

385Python, ShellMay 9, 20232 years ago
deep-learninggraph-neural-networksnatural-language-processing

Similar Papers

Cite this paper

@article{zhu2023hitin,
  title  = {HiTIN: Hierarchy-aware Tree Isomorphism Network for Hierarchical Text Classification},
  author = {He Zhu and Chong Zhang and Junjie Huang and Junran Wu and Ke Xu},
  year   = {2023},
  eprint = {2305.15182},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.15182v2}
}

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

Discussion