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

基于上位词类预测的语言模型

Better Language Model with Hypernym Class Prediction

University of Waterloo(滑铁卢大学);Microsoft Research(微软研究院)

He Bai, Tong Wang, Alessandro Sordoni, Peng Shi

摘要:

基于类的语言模型(LM)长期以来一直被设计用于解决$n$ -文法LM中的上下文稀疏性。在这项研究中,我们重新审视这种方法的背景下,神经LM。我们假设,基于类的预测导致一个隐式的上下文聚合相似的话,从而可以提高稀有词的泛化。我们将具有共同WordNet上位词的单词映射到相同的类,并通过在训练期间从预测类逐渐退火到令牌预测来训练大型神经LM。从经验上讲,这种课程学习策略始终改善了两个数据集WikiText-103和Arxiv上各种大型,高性能的最先进的基于Transformer的模型的困惑。我们的分析表明,在不牺牲稀有词的性能的情况下,实现了性能的提高。最后,我们记录了其他尝试,未能产生实证收益,并讨论了未来的方向,采用基于类的LM在更大的规模。

英文摘要:

Class-based language models (LMs) have been long devised to address context sparsity in $n$-gram LMs. In this study, we revisit this approach in the context of neural LMs. We hypothesize that class-based prediction leads to an implicit context aggregation for similar words and thus can improve generalization for rare words. We map words that have a common WordNet hypernym to the same class and train large neural LMs by gradually annealing from predicting the class to token prediction during training. Empirically, this curriculum learning strategy consistently improves perplexity over various large, highly-performant state-of-the-art Transformer-based models on two datasets, WikiText-103 and Arxiv. Our analysis shows that the performance improvement is achieved without sacrificing performance on rare words. Finally, we document other attempts that failed to yield empirical gains, and discuss future directions for the adoption of class-based LMs on a larger scale.

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

↑