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

长期提升 NLP Transformer 模型的分类可靠性

Boosting classification reliability of NLP transformer models in the long run

Centre for Social Sciences(社会科学中心);Eötvös Loránd University(厄特沃什·罗兰大学)

Zoltán Kmetty, Bence Kollányi, Krisztián Boros

AI总结:

本文针对 BERT 分类模型跨时期性能衰减问题,基于匈牙利新冠疫苗接种评论比较微调与再标注策略,发现使用全部未标注新评论随机采样微调最有效,但持续性能仍依赖定期标注。

摘要:

自该方法被提出以来,基于 Transformer 的机器学习模型已成为许多自然语言处理(NLP)任务的重要工具。这些项目的一个共同目标是对文本数据进行分类。分类模型常被扩展到不同主题和/或时间段。在这些情况下,判断一次分类在多长时间内适用,以及何时值得重新训练模型,是很困难的。本文比较了为长期运行的分类任务微调 BERT 模型的不同方法。我们使用不同时期的数据来微调原始 BERT 模型,同时还衡量第二轮标注如何提升分类质量。我们的语料库包含 2020 年 9 月至 2021 年 12 月期间发布的、关于匈牙利 COVID-19 疫苗接种的 800 多万条评论。结果表明,最佳方案是使用所有可用的未标注评论来微调模型。不建议只关注包含模型此前未见过词汇的评论;更有效的方案是从新时期随机抽取评论。微调并不能阻止模型性能下降,而只是减缓这一过程。在快速变化的语言环境中,如果不定期标注新文本,就不可能维持模型性能。

英文摘要:

Transformer-based machine learning models have become an essential tool for many natural language processing (NLP) tasks since the introduction of the method. A common objective of these projects is to classify text data. Classification models are often extended to a different topic and/or time period. In these situations, deciding how long a classification is suitable for and when it is worth re-training our model is difficult. This paper compares different approaches to fine-tune a BERT model for a long-running classification task. We use data from different periods to fine-tune our original BERT model, and we also measure how a second round of annotation could boost the classification quality. Our corpus contains over 8 million comments on COVID-19 vaccination in Hungary posted between September 2020 and December 2021. Our results show that the best solution is using all available unlabeled comments to fine-tune a model. It is not advisable to focus only on comments containing words that our model has not encountered before; a more efficient solution is randomly sample comments from the new period. Fine-tuning does not prevent the model from losing performance but merely slows it down. In a rapidly changing linguistic environment, it is not possible to maintain model performance without regularly annotating new text.

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

↑