语言建模比翻译教你更多的东西:通过辅助任务分析学到的教训
Language Modeling Teaches You More Syntax than Translation Does: Lessons Learned Through Auxiliary Task Analysis
摘要:
最近使用辅助预测任务分类器来研究LSTM表示的属性的工作已经开始阐明为什么预训练的表示,如ELMo(Peters et al.,2018)和CoVe(McCann等人,2017),对神经语言理解模型是如此有益。然而,我们仍然没有清楚地了解预训练目标的选择如何影响模型学习的语言信息类型。考虑到这一点,我们比较了四个目标-语言建模,翻译,跳跃思想,和自动编码-对他们的能力,以诱导句法和词性信息。我们通过保持训练数据的数量和类型以及LSTM架构不变来对任务进行公平的比较。我们发现,来自语言模型的表示在我们的句法辅助预测任务中始终表现最好,即使在相对少量的数据上进行训练。这些结果表明,语言建模可能是需要语法信息的迁移学习应用程序的最佳数据丰富的预训练任务。我们还发现,表示从随机初始化,冻结LSTM执行我们的语法辅助任务,但这种效果消失时,辅助任务的训练数据的量减少。
英文摘要:
Recent work using auxiliary prediction task classifiers to investigate the properties of LSTM representations has begun to shed light on why pretrained representations, like ELMo (Peters et al., 2018) and CoVe (McCann et al., 2017), are so beneficial for neural language understanding models. We still, though, do not yet have a clear understanding of how the choice of pretraining objective affects the type of linguistic information that models learn. With this in mind, we compare four objectives---language modeling, translation, skip-thought, and autoencoding---on their ability to induce syntactic and part-of-speech information. We make a fair comparison between the tasks by holding constant the quantity and genre of the training data, as well as the LSTM architecture. We find that representations from language models consistently perform best on our syntactic auxiliary prediction tasks, even when trained on relatively small amounts of data. These results suggest that language modeling may be the best data-rich pretraining task for transfer learning applications requiring syntactic information. We also find that the representations from randomly-initialized, frozen LSTMs perform strikingly well on our syntactic auxiliary tasks, but this effect disappears when the amount of training data for the auxiliary tasks is reduced.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。