arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.08959cs.CL
收藏

面向少样本层次文本分类的基于迭代推理链的域层次适配

Domain-Hierarchy Adaptation via Chain of Iterative Reasoning for Few-shot Hierarchical Text Classification

School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院);School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University(上海交通大学电子信息与电气工程学院)

Ke Ji, Peng Wang, Wenjun Ke, Guozheng Li, Jiajun Liu, Jingsheng Gao, Ziyu Shang

AI总结:

针对少样本层次文本分类中预训练语言模型非结构化知识难适配下游层次结构的问题,提出层次迭代条件随机场方法,将域层次适配转化为层次迭代语言建模问题,实现知识迁移并提升分类性能与层次一致性。

摘要:

近年来,各类预训练语言模型(PLMs)被提出,在众多少样本任务上展现出优异性能。然而,受限于PLMs内部的非结构化先验知识,其在层次文本分类(HTC)这类复杂结构化场景下难以维持稳定性能,在下游数据极度稀缺时尤为明显。核心挑战在于如何将PLMs中的非结构化语义空间迁移至下游域层次结构中。与以往HTC研究直接进行多标签分类或借助图神经网络(GNN)注入标签层次的思路不同,本文研究少样本设置下的HTC问题,旨在将PLMs中的知识从非结构化形式适配至下游层次结构。技术上,我们设计了一种简单有效的方法——层次迭代条件随机场(Hierarchical Iterative Conditional Random Field,HierICRF),该方法搜索最具域挑战性的方向,将域层次适配精巧地构建为一个层次迭代语言建模问题,随后促使模型在推理过程中进行层次一致性自校正,从而在保留层次一致性的前提下实现知识迁移。我们在多种架构上实现了HierICRF,在两个主流HTC数据集上的大量实验表明,在少样本设置下,搭配HierICRF的提示方法相比现有最优(SOTA)基线显著提升了少样本HTC性能,Micro-F1平均提升幅度为28.80%至1.50%,Macro-F1平均提升幅度为36.29%至1.5%,同时保持了SOTA级别的层次一致性性能。

英文摘要:

Recently, various pre-trained language models (PLMs) have been proposed to prove their impressive performances on a wide range of few-shot tasks. However, limited by the unstructured prior knowledge in PLMs, it is difficult to maintain consistent performance on complex structured scenarios, such as hierarchical text classification (HTC), especially when the downstream data is extremely scarce. The main challenge is how to transfer the unstructured semantic space in PLMs to the downstream domain hierarchy. Unlike previous work on HTC which directly performs multi-label classification or uses graph neural network (GNN) to inject label hierarchy, in this work, we study the HTC problem under a few-shot setting to adapt knowledge in PLMs from an unstructured manner to the downstream hierarchy. Technically, we design a simple yet effective method named Hierarchical Iterative Conditional Random Field (HierICRF) to search the most domain-challenging directions and exquisitely crafts domain-hierarchy adaptation as a hierarchical iterative language modeling problem, and then it encourages the model to make hierarchical consistency self-correction during the inference, thereby achieving knowledge transfer with hierarchical consistency preservation. We perform HierICRF on various architectures, and extensive experiments on two popular HTC datasets demonstrate that prompt with HierICRF significantly boosts the few-shot HTC performance with an average Micro-F1 by 28.80% to 1.50% and Macro-F1 by 36.29% to 1.5% over the previous state-of-the-art (SOTA) baselines under few-shot settings, while remaining SOTA hierarchical consistency performance.

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

↑