arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1811.04623cs.CL
收藏

基于判别器的语言模型微调

Fine-tuning of Language Models with Discriminator

Samsung R&D Institute Russia(三星俄罗斯研发研究所);Moscow, Russia(莫斯科,俄罗斯(注:该机构信息不符合提取要求,不应提取))

Vadim Popov, Mikhail Kudinov

摘要:

交叉熵损失是多类分类任务和语言建模时的常见选择。最小化这种损失会产生质量非常好的语言模型。我们表明,这是可能的微调这些模型,使他们表现得更好,如果他们是微调的交叉熵损失和反向Kullback-Leibler分歧的总和。后者是利用我们预先训练的神经网络进行估计的。在微调过程中,通常被语言模型低估的稀有词的概率变得更大。我们提出的新方法使我们能够在Penn Treebank上达到最先进的质量:困惑度从52.4降低到52.1。我们的微调算法相当快,可以很好地扩展到不同的架构和数据集,几乎不需要超参数调整:唯一需要调整的超参数是学习率。

英文摘要:

Cross-entropy loss is a common choice when it comes to multiclass classification tasks and language modeling in particular. Minimizing this loss results in language models of very good quality. We show that it is possible to fine-tune these models and make them perform even better if they are fine-tuned with sum of cross-entropy loss and reverse Kullback-Leibler divergence. The latter is estimated using discriminator network that we train in advance. During fine-tuning probabilities of rare words that are usually underestimated by language models become bigger. The novel approach that we propose allows us to reach state-of-the-art quality on Penn Treebank: perplexity decreases from 52.4 to 52.1. Our fine-tuning algorithm is rather fast, scales well to different architectures and datasets and requires almost no hyperparameter tuning: the only hyperparameter that needs to be tuned is learning rate.

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

↑