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

通过预训练表示实现 NLP 中高效主动学习

Towards Efficient Active Learning in NLP via Pretrained Representations

New York University(纽约大学);Center for Data Science(数据科学中心);Bloomberg(彭博公司)

Artem Vysogorets, Achintya Gopal

AI总结:

本文提出在主动学习循环中使用 LLM 预训练表示替代反复微调,在保持与全程微调相近性能的同时大幅降低计算成本,并支持跨预训练网络的数据泛化与模型灵活选择。

摘要:

微调大型语言模型(LLMs)现已成为众多应用中文本分类的常用方法。当标注文档稀缺时,主动学习有助于节省标注工作,但需要在每次获取迭代中重新训练大规模模型。我们通过在主动学习循环中使用 LLMs 的预训练表示来大幅加速这一过程,一旦获得所需数量的标注数据,再对该预训练 LLM 或另一个不同的预训练 LLM 进行微调,以实现最佳性能。在以预训练 BERT 和 RoBERTa 作为骨干网络的常见文本分类基准上验证表明,我们的策略取得了与在主动学习循环中全程微调相似的性能,但计算开销降低了数个数量级。通过我们的流程获取的数据能够跨预训练网络泛化,从而可以灵活选择最终模型,或在新版本发布时更新模型。

英文摘要:

Fine-tuning Large Language Models (LLMs) is now a common approach for text classification in a wide range of applications. When labeled documents are scarce, active learning helps save annotation efforts but requires retraining of massive models on each acquisition iteration. We drastically expedite this process by using pretrained representations of LLMs within the active learning loop and, once the desired amount of labeled data is acquired, fine-tuning that or even a different pretrained LLM on this labeled data to achieve the best performance. As verified on common text classification benchmarks with pretrained BERT and RoBERTa as the backbone, our strategy yields similar performance to fine-tuning all the way through the active learning loop but is orders of magnitude less computationally expensive. The data acquired with our procedure generalizes across pretrained networks, allowing flexibility in choosing the final model or updating it as newer versions get released.

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

↑