MATCH: Metadata-Aware Text Classification in A Large Hierarchy

Yu Zhang, Zhihong Shen, Yuxiao Dong, Kuansan Wang, Jiawei Han
2/15/2021
cs.CLcs.LG

Official code: yuz9yuz/MATCH (117 stars, Python, Apache-2.0, last commit 2024-04-02).

Abstract

Multi-label text classification refers to the problem of assigning each given document its most relevant labels from the label set. Commonly, the metadata of the given documents and the hierarchy of the labels are available in real-world applications.

Show full abstract

However, most existing studies focus on only modeling the text information, with a few attempts to utilize either metadata or hierarchy signals, but not both of them. In this paper, we bridge the gap by formalizing the problem of metadata-aware text classification in a large label hierarchy (e.g., with tens of thousands of labels). To address this problem, we present the MATCH solution -- an end-to-end framework that leverages both metadata and hierarchy information. To incorporate metadata, we pre-train the embeddings of text and metadata in the same space and also leverage the fully-connected attentions to capture the interrelations between them. To leverage the label hierarchy, we propose different ways to regularize the parameters and output probability of each child label by its parents. Extensive experiments on two massive text datasets with large-scale label hierarchies demonstrate the effectiveness of MATCH over state-of-the-art deep learning baselines.

View on arXivView PDF

Code Implementations(1)

yuz9yuz/MATCHOfficial100%
Apache-2.0

MATCH: Metadata-Aware Text Classification in A Large Hierarchy (WWW'21)

11718Python, C++Aug 15, 20202 years agoApache-2.0
extreme-multi-label-classificationmetadatamicrosoft-academic-graphscientific-text-miningtext-classification

Similar Papers

Cite this paper

@article{zhang2021match,
  title  = {MATCH: Metadata-Aware Text Classification in A Large Hierarchy},
  author = {Yu Zhang and Zhihong Shen and Yuxiao Dong and Kuansan Wang and Jiawei Han},
  year   = {2021},
  eprint = {2102.07349},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.07349}
}

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

Discussion