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

作为句子编码训练任务的伪句检测

Fake Sentence Detection as a Training Task for Sentence Encoding

Stony Brook University(石溪大学)

Viresh Ranjan, Heeyoung Kwon, Niranjan Balasubramanian, Minh Hoai

摘要:

句子编码器通常在具有大型未标记数据集的语言建模任务上进行训练。虽然这些编码器在许多高级任务上实现了最先进的结果,但它们很难用长的训练周期进行训练。我们引入假句检测作为学习句子编码器的新训练任务。我们通过从源集合中破坏原始句子来自动生成假句子,并训练编码器以产生有效检测假句子的表示。这种二进制分类任务对于训练句子编码器来说非常有效。我们将在此任务上训练的基本BiLSTM编码器与在语言建模任务上训练的强句子编码模型(Skipthought和FastSent)进行了比较。我们发现,BiLSTM在使用少量数据(1M而不是64M句子)进行假句子检测时的训练速度要快得多(20小时而不是几周)。进一步的分析表明,学习的表征捕捉到了许多句法和语义属性,期望从良好的句子表征。

英文摘要:

Sentence encoders are typically trained on language modeling tasks with large unlabeled datasets. While these encoders achieve state-of-the-art results on many sentence-level tasks, they are difficult to train with long training cycles. We introduce fake sentence detection as a new training task for learning sentence encoders. We automatically generate fake sentences by corrupting original sentences from a source collection and train the encoders to produce representations that are effective at detecting fake sentences. This binary classification task turns to be quite efficient for training sentence encoders. We compare a basic BiLSTM encoder trained on this task with a strong sentence encoding models (Skipthought and FastSent) trained on a language modeling task. We find that the BiLSTM trains much faster on fake sentence detection (20 hours instead of weeks) using smaller amounts of data (1M instead of 64M sentences). Further analysis shows the learned representations capture many syntactic and semantic properties expected from good sentence representations.

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

↑