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

利用Twitter作为大型弱相似对语料库进行语义句子嵌入

Exploiting Twitter as Source of Large Corpora of Weakly Similar Pairs for Semantic Sentence Embeddings

Politecnico di Milano(米兰理工大学);Università di Bologna(博洛尼亚大学)

Marco Di Giovanni, Marco Brambilla

摘要:

语义句子嵌入通常是有监督地构建的,最小化被注释者标记为语义相似的句子的嵌入对之间的距离。由于大标签数据集很少见,特别是对于非英语语言,而且价格昂贵,最近的研究集中在需要非配对输入句子的无监督方法上。相反,我们提出了一种独立于语言的方法来构建大型数据集的非正式文本对弱相似,没有人工的人力努力,利用Twitter的内在强大的信号的相关性:回复和报价的推文。我们使用收集到的对来训练一个具有三元组结构的Transformer模型,并在Twitter NLP相似性任务(PIT和TURL)和STSb上测试生成的嵌入。我们还介绍了四个新的句子排名评估基准的非正式文本,仔细提取的推文的初始集合,证明我们的最佳模型不仅学习经典的语义文本相似性,但也擅长的任务,对句子是不准确的释义。消融研究揭示了如何增加语料库的大小积极影响的结果,即使在2M的样本,这表明更大的集合的推文仍然不包含冗余的信息语义相似性。

英文摘要:

Semantic sentence embeddings are usually supervisedly built minimizing distances between pairs of embeddings of sentences labelled as semantically similar by annotators. Since big labelled datasets are rare, in particular for non-English languages, and expensive, recent studies focus on unsupervised approaches that require not-paired input sentences. We instead propose a language-independent approach to build large datasets of pairs of informal texts weakly similar, without manual human effort, exploiting Twitter's intrinsic powerful signals of relatedness: replies and quotes of tweets. We use the collected pairs to train a Transformer model with triplet-like structures, and we test the generated embeddings on Twitter NLP similarity tasks (PIT and TURL) and STSb. We also introduce four new sentence ranking evaluation benchmarks of informal texts, carefully extracted from the initial collections of tweets, proving not only that our best model learns classical Semantic Textual Similarity, but also excels on tasks where pairs of sentences are not exact paraphrases. Ablation studies reveal how increasing the corpus size influences positively the results, even at 2M samples, suggesting that bigger collections of Tweets still do not contain redundant information about semantic similarities.

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

↑