arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.08585cs.CLcs.AI
收藏

基于路径自适应掩码机制的分层T5文本分类算法

Hierarchy-Aware T5 with Path-Adaptive Mask Mechanism for Hierarchical Text Classification

University of Science and Technology of China(中国科学技术大学);NetEase Media Technology (Beijing) Co., Ltd(网易传媒科技(北京)有限公司)

Wei Huang, Chen Liu, Yihua Zhao, Xinyun Yang, Zhaoming Pan, Zhimin Zhang, Guiquan Liu

摘要:

层次文本分类(HTC)是自然语言处理中一个重要的研究课题,其目的是预测文本在层次空间中的标注。现有的方法通常对整个层次结构进行编码,无法构建一个强大的标签依赖模型,因此很难对稀疏的低级别标签进行准确预测,并实现较低的Macro-F1。本文提出了一种新的用于HTC的PAMM-HiA-T5模型:具有路径自适应掩码机制的层次感知T5模型,不仅将上层标签的知识构建到下层标签中,而且在标签预测中引入路径依赖信息。具体来说,我们生成一个多层次的顺序标签结构,利用不同级别的层次依赖与广度优先搜索(BFS)和T5模型。为了进一步提高每个路径内的标签依赖预测,我们提出了一个原始的路径自适应掩码机制(PAMM)来识别标签的路径信息,消除来自其他路径的噪声源。在三个基准数据集上的综合实验表明,我们的新PAMM-HiA-T5模型大大优于所有最先进的HTC方法,特别是在Macro-F1中。消融研究表明,改善主要来自我们的创新方法,而不是T5。

英文摘要:

Hierarchical Text Classification (HTC), which aims to predict text labels organized in hierarchical space, is a significant task lacking in investigation in natural language processing. Existing methods usually encode the entire hierarchical structure and fail to construct a robust label-dependent model, making it hard to make accurate predictions on sparse lower-level labels and achieving low Macro-F1. In this paper, we propose a novel PAMM-HiA-T5 model for HTC: a hierarchy-aware T5 model with path-adaptive mask mechanism that not only builds the knowledge of upper-level labels into low-level ones but also introduces path dependency information in label prediction. Specifically, we generate a multi-level sequential label structure to exploit hierarchical dependency across different levels with Breadth-First Search (BFS) and T5 model. To further improve label dependency prediction within each path, we then propose an original path-adaptive mask mechanism (PAMM) to identify the label's path information, eliminating sources of noises from other paths. Comprehensive experiments on three benchmark datasets show that our novel PAMM-HiA-T5 model greatly outperforms all state-of-the-art HTC approaches especially in Macro-F1. The ablation studies show that the improvements mainly come from our innovative approach instead of T5.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑