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

用于命名实体识别的基于转换器的语言模型的自适应微调

Adaptive Fine-Tuning of Transformer-Based Language Models for Named Entity Recognition

Arbetsförmedlingen(瑞典公共就业服务局);(Swedish Public Employment Service)(瑞典公共就业服务局(注:括号内为英文机构名的中文翻译补充,实际机构名以英文为准))

Felix Stollenwerk

摘要:

当前用于微调基于变换器的语言模型的标准方法包括固定数量的训练时期和线性学习率调度。为了获得给定下游任务的近似最优模型,通常需要在优化超参数空间中进行搜索。特别是,需要根据数据集大小调整训练epoch的数量。在本文中,我们介绍了自适应微调,这是一种替代方法,使用提前停止和自定义学习率调度来动态调整训练时期的数量,以数据集的大小。对于命名实体识别的示例用例,我们表明,我们的方法不仅使超参数搜索相对于训练时期的数量冗余,而且还导致性能,稳定性和效率方面的改进结果。这尤其适用于小数据集,在这种情况下,我们的性能大大优于最先进的微调方法。

英文摘要:

The current standard approach for fine-tuning transformer-based language models includes a fixed number of training epochs and a linear learning rate schedule. In order to obtain a near-optimal model for the given downstream task, a search in optimization hyperparameter space is usually required. In particular, the number of training epochs needs to be adjusted to the dataset size. In this paper, we introduce adaptive fine-tuning, which is an alternative approach that uses early stopping and a custom learning rate schedule to dynamically adjust the number of training epochs to the dataset size. For the example use case of named entity recognition, we show that our approach not only makes hyperparameter search with respect to the number of training epochs redundant, but also leads to improved results in terms of performance, stability and efficiency. This holds true especially for small datasets, where we outperform the state-of-the-art fine-tuning method by a large margin.

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

↑