arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2405.01883cs.CLcs.LG
收藏

DALLMi:面向基于大语言模型的多标签分类器的领域自适应

DALLMi: Domain Adaption for LLM-based Multi-label Classifier

Delft University of Technology(代尔夫特理工大学);University of Neuchâtel(纳沙泰尔大学);University of Turin(都灵大学)

Miruna Beţianu, Abele Mălan, Marco Aldinucci, Robert Birke, Lydia Chen

AI总结:

本文提出DALLMi,首个基于BERT的半监督领域自适应多标签文本分类方法,通过变分损失、MixUp正则化和标签平衡采样利用无标签数据,在三个数据集上显著提升mAP。

摘要:

大语言模型(LLMs)日益成为对与不同领域相关联且同时具有多个标签(类别)的文本进行分类的骨干。当遇到领域偏移时,例如将电影评论分类器从IMDb迁移到Rotten Tomatoes,由于目标领域标签集不完整以及训练开销巨大,适配这种基于LLM的多标签分类器具有挑战性。现有的领域自适应方法要么针对图像多标签分类器,要么针对文本二分类器。在本文中,我们设计了DALLMi,即领域自适应大语言模型插值器,这是首个针对基于LLM(特别是BERT)的文本数据模型的半监督领域自适应方法。DALLMi的核心是新颖的变分损失和MixUp正则化,它们联合利用有限的正标签文本和大量无标签文本,并且重要的是,利用它们从BERT词嵌入中得到的插值。DALLMi还引入了一种标签平衡采样策略,以克服有标签数据和无标签数据之间的不平衡。我们在三种数据集上、在目标领域标签可用性的不同场景下,将DALLMi与部分监督和无监督方法进行了评估。我们的结果表明,DALLMi的mAP分别比无监督和部分监督方法高出19.9%和52.2%。

英文摘要:

Large language models (LLMs) increasingly serve as the backbone for classifying text associated with distinct domains and simultaneously several labels (classes). When encountering domain shifts, e.g., classifier of movie reviews from IMDb to Rotten Tomatoes, adapting such an LLM-based multi-label classifier is challenging due to incomplete label sets at the target domain and daunting training overhead. The existing domain adaptation methods address either image multi-label classifiers or text binary classifiers. In this paper, we design DALLMi, Domain Adaptation Large Language Model interpolator, a first-of-its-kind semi-supervised domain adaptation method for text data models based on LLMs, specifically BERT. The core of DALLMi is the novel variation loss and MixUp regularization, which jointly leverage the limited positively labeled and large quantity of unlabeled text and, importantly, their interpolation from the BERT word embeddings. DALLMi also introduces a label-balanced sampling strategy to overcome the imbalance between labeled and unlabeled data. We evaluate DALLMi against the partial-supervised and unsupervised approach on three datasets under different scenarios of label availability for the target domain. Our results show that DALLMi achieves higher mAP than unsupervised and partially-supervised approaches by 19.9% and 52.2%, respectively.

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

↑