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

字符级仅编码器建模的最佳配方是什么?

What is the best recipe for character-level encoder-only modelling?

DeepMind(深度思维)

Kris Cao

AI总结:

本文通过固定训练流程下的系统比较,找到字符级BERT类模型的最优架构与预训练目标,证明其性能可超越词元级模型,但预训练仍依赖子词分词器。

摘要:

本文旨在对近期在字符级别输出上下文表示的語言理解模型进展进行基准测试。已经提出了许多此类建模架构以及训练这些架构的方法,但目前尚不清楚架构与预训练目标对最终模型性能的相对贡献。我们探索了此类模型的设计空间,在固定的训练流程下,在一系列评估任务上比较架构创新和多种不同的预训练目标,以找到当前构建和训练字符级BERT类模型的最佳方式。我们发现,我们表现最佳的字符级模型超过了在相同数据上使用相同设置训练的基于词元的模型,这表明字符级模型已准备好更广泛地采用。不幸的是,训练字符级模型的最佳方法在预训练期间仍然依赖于子词级分词器,并且最终模型性能高度依赖于分词器的质量。我们相信我们的结果证明了字符级模型在多语言语言表示方面的成熟度,并鼓励NLP从业者尝试将它们作为基于词元的模型的直接替代品。

英文摘要:

This paper aims to benchmark recent progress in language understanding models that output contextualised representations at the character level. Many such modelling architectures and methods to train those architectures have been proposed, but it is currently unclear what the relative contributions of the architecture vs. the pretraining objective are to final model performance. We explore the design space of such models, comparing architectural innovations and a variety of different pretraining objectives on a suite of evaluation tasks with a fixed training procedure in order to find the currently optimal way to build and train character-level BERT-like models. We find that our best performing character-level model exceeds the performance of a token-based model trained with the same settings on the same data, suggesting that character-level models are ready for more widespread adoption. Unfortunately, the best method to train character-level models still relies on a subword-level tokeniser during pretraining, and final model performance is highly dependent on tokeniser quality. We believe our results demonstrate the readiness of character-level models for multilingual language representation, and encourage NLP practitioners to try them as drop-in replacements for token-based models.

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

↑