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

面向高效短语挖掘的可跨度聚合、上下文感知词嵌入

Span-Aggregatable, Contextualized Word Embeddings for Effective Phrase Mining

Genesys(晶讯科技)

Eyal Orbach, Lev Haikin, Nelly David, Avi Faizakof

AI总结:

针对含噪上下文下单向量句子表示短语检索效果差、多跨度表示计算成本高的问题,提出可聚合的上下文感知词嵌入方法,通过改进对比损失实现,在自建数据集上以低计算量提升了短语挖掘效果。

摘要:

近年来,句子的稠密向量表示取得了显著进展,这一点在句子相似度任务中可见一斑。但另一方面,现实世界中的短语检索应用在有效利用稠密表示方面仍面临挑战。我们发现,当目标短语处于含噪上下文中时,用单个稠密向量表示整句话不足以实现高效的短语检索。因此,我们研究了表示多个子句级连续词跨度的思路,每个跨度都有其专属的稠密向量。我们证明该技术对短语挖掘效果显著,但获取有用的跨度表示需要大量计算。据此,我们提出应采用可针对任意词跨度进行聚合、同时保留跨度语义的上下文感知词/词元嵌入。我们对句子嵌入常用的对比损失进行了改进,以促使词嵌入具备这一特性。为验证该方法的效果,我们基于STS-B数据集构建了一个补充了生成文本的新数据集,该任务需要在更大的上下文中找到匹配度最高的转述短语,并报告其与原短语的相似度。我们在该数据集上证明,所提方法无需大幅增加计算量即可取得更优结果。

英文摘要:

Dense vector representations for sentences made significant progress in recent years as can be seen on sentence similarity tasks. Real-world phrase retrieval applications, on the other hand, still encounter challenges for effective use of dense representations. We show that when target phrases reside inside noisy context, representing the full sentence with a single dense vector, is not sufficient for effective phrase retrieval. We therefore look into the notion of representing multiple, sub-sentence, consecutive word spans, each with its own dense vector. We show that this technique is much more effective for phrase mining, yet requires considerable compute to obtain useful span representations. Accordingly, we make an argument for contextualized word/token embeddings that can be aggregated for arbitrary word spans while maintaining the span's semantic meaning. We introduce a modification to the common contrastive loss used for sentence embeddings that encourages word embeddings to have this property. To demonstrate the effect of this method we present a dataset based on the STS-B dataset with additional generated text, that requires finding the best matching paraphrase residing in a larger context and report the degree of similarity to the origin phrase. We demonstrate on this dataset, how our proposed method can achieve better results without significant increase to compute.

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

↑