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

面向灵活语义匹配的关系型句子嵌入

Relational Sentence Embedding for Flexible Semantic Matching

National University of Singapore(新加坡国立大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Shenzhen Research Institute of Big Data(深圳大数据研究院)

Bin Wang, Haizhou Li

AI总结:

针对现有句子嵌入难以捕捉句子间多种语义关系的问题,提出关系型句子嵌入RSE范式,通过关系转换操作与孪生编码器学习关系嵌入,在19个数据集上优于现有先进方法。

摘要:

我们提出了关系型句子嵌入(Relational Sentence Embedding, RSE),这是一种进一步挖掘句子嵌入潜力的新范式。现有研究主要基于嵌入距离建模句子间的相似度。由于句子承载的语义复杂,句子对可存在多种关系类型,包括但不限于蕴含、复述和问答关系,这给现有嵌入方法捕捉此类关系信息带来了挑战。我们通过学习关联的关系嵌入来解决该问题:具体而言,采用预训练的基于Siamese(孪生网络)的编码器,对源句子施加逐关系的转换操作,以推断对应的目标句子,还可从学习到的嵌入中计算细粒度的关系相似度分数。我们在涵盖语义文本相似度、迁移学习及领域特定任务的19个数据集上对方法进行基准测试。实验结果表明,该方法在建模句子关系方面有效且灵活,性能优于一系列最先进的句子嵌入方法。代码开源地址:https://github.com/BinWang28/RSE

英文摘要:

We present Relational Sentence Embedding (RSE), a new paradigm to further discover the potential of sentence embeddings. Prior work mainly models the similarity between sentences based on their embedding distance. Because of the complex semantic meanings conveyed, sentence pairs can have various relation types, including but not limited to entailment, paraphrasing, and question-answer. It poses challenges to existing embedding methods to capture such relational information. We handle the problem by learning associated relational embeddings. Specifically, a relation-wise translation operation is applied to the source sentence to infer the corresponding target sentence with a pre-trained Siamese-based encoder. The fine-grained relational similarity scores can be computed from learned embeddings. We benchmark our method on 19 datasets covering a wide range of tasks, including semantic textual similarity, transfer, and domain-specific tasks. Experimental results show that our method is effective and flexible in modeling sentence relations and outperforms a series of state-of-the-art sentence embedding methods. https://github.com/BinWang28/RSE

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

↑