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

轻量级Transformer编码器的多任务预微调用于文本分类与命名实体识别

Multi-Task Pre-Finetuning of Lightweight Transformer Encoders for Text Classification and NER

Samsung R&D Institute UK (SRUK)(三星英国研发中心(SRUK));Samsung Electronics Korea(三星电子韩国)

Junyi Zhu, Savas Ozkan, Andrea Maracani, Sinan Mutlu, Cho Jung Min, Mete Ozay

AI总结:

针对移动端轻量级BERT编码器,提出基于任务主LoRA模块的多任务预微调框架,解决优化信号冲突,在21个下游任务上NER提升0.8%、文本分类提升8.8%,兼顾性能与部署效率。

摘要:

在移动平台上部署自然语言处理(NLP)模型,需要模型能够在不同应用间适应,同时保持内存和计算效率。我们研究了预微调策略,以增强轻量级类BERT编码器在两类基础NLP任务族——命名实体识别(NER)和文本分类——上的适应性。虽然预微调单独提升了每个任务族的下游性能,但我们发现,朴素的多任务预微调引入了冲突的优化信号,导致整体性能下降。为解决这一问题,我们提出了一种简单而有效的基于任务主LoRA模块的多任务预微调框架,该框架使单一共享编码器主干与模块化适配器得以结合。我们的方法在达到与单独预微调相当的性能的同时,满足了实际部署约束。在21个下游任务上的实验显示,NER平均提升+0.8%,文本分类平均提升+8.8%,证明了我们方法在多功能移动NLP应用中的有效性。

英文摘要:

Deploying natural language processing (NLP) models on mobile platforms requires models that can adapt across diverse applications while remaining efficient in memory and computation. We investigate pre-finetuning strategies to enhance the adaptability of lightweight BERT-like encoders for two fundamental NLP task families: named entity recognition (NER) and text classification. While pre-finetuning improves downstream performance for each task family individually, we find that naïve multi-task pre-finetuning introduces conflicting optimization signals that degrade overall performance. To address this, we propose a simple yet effective multi-task pre-finetuning framework based on task-primary LoRA modules, which enables a single shared encoder backbone with modular adapters. Our approach achieves performance comparable to individual pre-finetuning while meeting practical deployment constraint. Experiments on 21 downstream tasks show average improvements of +0.8% for NER and +8.8% for text classification, demonstrating the effectiveness of our method for versatile mobile NLP applications.

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

↑