arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.04944cs.CLcs.LG
收藏

无条件语言模型能恢复任意句子吗?

Can Unconditional Language Models Recover Arbitrary Sentences?

New York University(纽约大学);Facebook AI Research(脸书人工智能研究院)

Nishant Subramani, Samuel R. Bowman, Kyunghyun Cho

摘要:

基于神经网络的生成语言模型,如ELMo和BERT,可以有效地作为通用的句子编码器在文本分类,而无需进一步的微调。是否有可能以类似的方式将它们改编为通用解码器?要做到这一点,需要的情况是,对于任何感兴趣的目标句子,存在可以传递给语言模型以使其再现该句子的某种连续表示。我们把设计一个编码器,可以产生这样的表示的困难问题放在一边,而是直接问这样的表示是否存在。为了做到这一点,我们引入了一对有效的、互补的方法,用于将表示输入到预训练的无条件语言模型中,以及一组相应的方法,用于将句子映射到这个表示空间(重新参数化的句子空间)中。然后,我们调查的条件下,语言模型可以通过在这样的空间中的一个点的识别生成一个句子,并发现它是可能的恢复任意句子几乎完美的语言模型和中等大小的表示,而不修改任何模型参数。

英文摘要:

Neural network-based generative language models like ELMo and BERT can work effectively as general purpose sentence encoders in text classification without further fine-tuning. Is it possible to adapt them in a similar way for use as general-purpose decoders? For this to be possible, it would need to be the case that for any target sentence of interest, there is some continuous representation that can be passed to the language model to cause it to reproduce that sentence. We set aside the difficult problem of designing an encoder that can produce such representations and, instead, ask directly whether such representations exist at all. To do this, we introduce a pair of effective, complementary methods for feeding representations into pretrained unconditional language models and a corresponding set of methods to map sentences into and out of this representation space, the reparametrized sentence space. We then investigate the conditions under which a language model can be made to generate a sentence through the identification of a point in such a space and find that it is possible to recover arbitrary sentences nearly perfectly with language models and representations of moderate size without modifying any model parameters.

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

↑