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

Phrase-BERT:改进的BERT短语嵌入及其在语料库开发中的应用

Phrase-BERT: Improved Phrase Embeddings from BERT with an Application to Corpus Exploration

University of Massachusetts, Amherst(马萨诸塞大学阿默斯特分校)

Shufan Wang, Laure Thompson, Mohit Iyyer

摘要:

源自BERT的短语表示通常不表现出复杂的短语组合性,因为该模型依赖于词汇相似性来确定语义相关性。在本文中,我们提出了一个对比微调目标,使BERT产生更强大的短语嵌入。我们的方法(Phrase-BERT)依赖于一个不同短语释义的数据集,该数据集是使用释义生成模型自动生成的,以及从Books 3语料库中挖掘的上下文中的短语的大规模数据集。Phrase-BERT在各种短语级相似性任务中的表现优于基线,同时也证明了向量空间中最近邻居之间的词汇多样性增加。最后,作为一个案例研究,我们证明了Phrase-BERT嵌入可以很容易地与一个简单的自动编码器集成,以构建一个基于短语的神经主题模型,该模型通过在嵌入空间中执行最近邻搜索来将主题解释为单词和短语的混合物。众包的评价表明,这种基于短语的主题模型比基线单词和短语级别的主题模型产生更连贯和有意义的主题,进一步验证了Phrase-BERT的效用。

英文摘要:

Phrase representations derived from BERT often do not exhibit complex phrasal compositionality, as the model relies instead on lexical similarity to determine semantic relatedness. In this paper, we propose a contrastive fine-tuning objective that enables BERT to produce more powerful phrase embeddings. Our approach (Phrase-BERT) relies on a dataset of diverse phrasal paraphrases, which is automatically generated using a paraphrase generation model, as well as a large-scale dataset of phrases in context mined from the Books3 corpus. Phrase-BERT outperforms baselines across a variety of phrase-level similarity tasks, while also demonstrating increased lexical diversity between nearest neighbors in the vector space. Finally, as a case study, we show that Phrase-BERT embeddings can be easily integrated with a simple autoencoder to build a phrase-based neural topic model that interprets topics as mixtures of words and phrases by performing a nearest neighbor search in the embedding space. Crowdsourced evaluations demonstrate that this phrase-based topic model produces more coherent and meaningful topics than baseline word and phrase-level topic models, further validating the utility of Phrase-BERT.

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

↑