arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.02335cs.CLcs.AI
收藏

Multi-BERT:利用适配器与提示调优进行低资源多领域适配

Multi-BERT: Leveraging Adapters and Prompt Tuning for Low-Resource Multi-Domain Adaptation

Sharif University of Technology(谢里夫理工大学)

Parham Abed Azad, Hamid Beigy

AI总结:

针对波斯语低资源多领域 NER,本文提出单核心 BERT 结合多组适配器、提示调优参数与领域检测流程,在节省训练存储资源的同时达到并部分超越独立模型及 SOTA。

摘要:

文本数量与多样性的快速增长给多领域场景带来了严峻挑战。这些挑战在波斯语命名实体识别(NER)场景中同样明显。传统方法要么采用一个统一模型处理多个领域,要么为每个领域使用独立模型,往往存在显著局限。单一模型通常难以捕捉不同领域的细微差别,而使用多个大型模型又会造成资源限制,使为每个领域训练一个模型几乎不切实际。因此,本文提出一种新方法,由一个核心模型和多组领域特定参数组成。我们利用提示调优和 adapters(适配器)等技术,并结合额外层,加入可针对特定领域训练的参数。这使模型能够取得与各领域独立模型相当的表现。在不同正式与非正式数据集上的实验结果表明,通过使用这些新增参数,所提出模型在性能上显著超越现有实用模型。值得注意的是,所提出模型在训练和存储时只需要一个实例,却能在所有领域取得优异结果,甚至在部分领域超越当前最优水平。此外,我们分析了每种适配策略,说明其优势、劣势以及面向波斯语 NER 场景的最佳超参数。最后,我们介绍了一种面向文本领域未知场景、基于文档的领域检测流程,提升了本文方法在真实应用中的适应性和实用性。

英文摘要:

The rapid expansion of texts' volume and diversity presents formidable challenges in multi-domain settings. These challenges are also visible in the Persian name entity recognition (NER) settings. Traditional approaches, either employing a unified model for multiple domains or individual models for each domain, frequently pose significant limitations. Single models often struggle to capture the nuances of diverse domains, while utilizing multiple large models can lead to resource constraints, rendering the training of a model for each domain virtually impractical. Therefore, this paper introduces a novel approach composed of one core model with multiple sets of domain-specific parameters. We utilize techniques such as prompt tuning and adapters, combined with the incorporation of additional layers, to add parameters that we can train for the specific domains. This enables the model to perform comparably to individual models for each domain. Experimental results on different formal and informal datasets show that by employing these added parameters, the proposed model significantly surpasses existing practical models in performance. Remarkably, the proposed model requires only one instance for training and storage, yet achieves outstanding results across all domains, even surpassing the state-of-the-art in some. Moreover, we analyze each adaptation strategy, delineating its strengths, weaknesses, and optimal hyper-parameters for the Persian NER settings. Finally, we introduce a document-based domain detection pipeline tailored for scenarios with unknown text domains, enhancing the adaptability and practicality of this paper in real-world applications.

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

↑