分布式鲁棒语言建模
Distributionally Robust Language Modeling
摘要:
语言模型通常在跨越广泛范围的主题(例如,新闻、评论、小说),但是它们可以应用于先验未知的目标分布(例如,餐厅评论)。在本文中,我们首先表明,在使用标准最大似然(MLE)训练时,对测试分布之外的文本进行训练会降低测试性能。为了在不知道测试分布的情况下弥补这一点,我们提出了一种方法,该方法可以训练一个在广泛的潜在测试分布上表现良好的模型。特别是,我们推导出一个新的分布鲁棒优化(DRO)过程,最大限度地减少损失的模型在最坏情况下的混合主题与训练分布有足够的重叠。我们的方法,被称为主题条件风险值(主题CVaR),获得了5.5点的困惑减少MLE时,语言模型的Yelp评论和新闻的混合物进行训练和测试,只有评论。
英文摘要:
Language models are generally trained on data spanning a wide range of topics (e.g., news, reviews, fiction), but they might be applied to an a priori unknown target distribution (e.g., restaurant reviews). In this paper, we first show that training on text outside the test distribution can degrade test performance when using standard maximum likelihood (MLE) training. To remedy this without the knowledge of the test distribution, we propose an approach which trains a model that performs well over a wide range of potential test distributions. In particular, we derive a new distributionally robust optimization (DRO) procedure which minimizes the loss of the model over the worst-case mixture of topics with sufficient overlap with the training distribution. Our approach, called topic conditional value at risk (topic CVaR), obtains a 5.5 point perplexity reduction over MLE when the language models are trained on a mixture of Yelp reviews and news and tested only on reviews.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。