Improving Paragraph Similarity by Sentence Interaction With BERT

IF 2.3 4区 计算机科学 Q2 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE Expert Systems Pub Date : 2025-02-05 DOI:10.1111/exsy.70003
Xi Jin
{"title":"Improving Paragraph Similarity by Sentence Interaction With BERT","authors":"Xi Jin","doi":"10.1111/exsy.70003","DOIUrl":null,"url":null,"abstract":"<div>\n \n <p>Research on semantic similarity between relatively short texts, for example, at word- and sentence-level, has progressed significantly in recent years. However, paragraph-level similarity has not been researched in as much detail owing to the challenges associated with embedding representations, despite its utility in numerous applications. A rudimentary approach to paragraph-level similarity involves treating each paragraph as an elongated sentence, thereby encoding the entire paragraph into a single vector. However, this results in the loss of long-distance dependency information, ignoring interactions between sentences belonging to different paragraphs. In this paper, we propose a simple yet efficient method for estimating paragraph similarity. Given two paragraphs, it first obtains a vector for each sentence by leveraging advanced sentence-embedding techniques. Next, the similarity between each sentence in the first paragraph and the second paragraph is estimated as the maximum cosine similarity value between the sentence and each sentence in the second paragraph. This process is repeated for all sentences in the first paragraph to determine the maximum similarity of each sentence with the second paragraph. Finally, overall paragraph similarity is computed by averaging the maximum cosine similarity values. This method alleviates long-range dependency by embedding sentences individually. In addition, it accounts for sentence-level interactions between the two paragraphs. Experiments conducted on two benchmark data sets demonstrate that the proposed method outperforms the baseline approach that encodes entire paragraphs into single vectors.</p>\n </div>","PeriodicalId":51053,"journal":{"name":"Expert Systems","volume":"42 3","pages":""},"PeriodicalIF":2.3000,"publicationDate":"2025-02-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Expert Systems","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1111/exsy.70003","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

Research on semantic similarity between relatively short texts, for example, at word- and sentence-level, has progressed significantly in recent years. However, paragraph-level similarity has not been researched in as much detail owing to the challenges associated with embedding representations, despite its utility in numerous applications. A rudimentary approach to paragraph-level similarity involves treating each paragraph as an elongated sentence, thereby encoding the entire paragraph into a single vector. However, this results in the loss of long-distance dependency information, ignoring interactions between sentences belonging to different paragraphs. In this paper, we propose a simple yet efficient method for estimating paragraph similarity. Given two paragraphs, it first obtains a vector for each sentence by leveraging advanced sentence-embedding techniques. Next, the similarity between each sentence in the first paragraph and the second paragraph is estimated as the maximum cosine similarity value between the sentence and each sentence in the second paragraph. This process is repeated for all sentences in the first paragraph to determine the maximum similarity of each sentence with the second paragraph. Finally, overall paragraph similarity is computed by averaging the maximum cosine similarity values. This method alleviates long-range dependency by embedding sentences individually. In addition, it accounts for sentence-level interactions between the two paragraphs. Experiments conducted on two benchmark data sets demonstrate that the proposed method outperforms the baseline approach that encodes entire paragraphs into single vectors.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于BERT的句子交互提高段落相似度
近年来,对相对较短文本之间语义相似性的研究取得了显著进展,例如在词和句子层面。然而,尽管段落级相似度在许多应用中都很有用,但由于嵌入表示相关的挑战,段落级相似度尚未得到如此详细的研究。段落级相似性的基本方法包括将每个段落视为一个拉长的句子,从而将整个段落编码为单个向量。然而,这导致了长距离依赖信息的丢失,忽略了属于不同段落的句子之间的相互作用。在本文中,我们提出了一个简单而有效的估计段落相似度的方法。给定两个段落,它首先利用先进的句子嵌入技术为每个句子获得一个向量。接下来,将第一段中每个句子与第二段中的每个句子之间的相似度估计为该句子与第二段中每个句子之间的最大余弦相似值。对第一段中的所有句子重复此过程,以确定每个句子与第二段的最大相似度。最后,通过平均最大余弦相似值来计算整体段落的相似度。该方法通过单独嵌入句子来减轻远程依赖。此外,它还解释了两段之间的句子级互动。在两个基准数据集上进行的实验表明,该方法优于将整个段落编码为单个向量的基线方法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Expert Systems
Expert Systems 工程技术-计算机:理论方法
CiteScore
7.40
自引率
6.10%
发文量
266
审稿时长
24 months
期刊介绍: Expert Systems: The Journal of Knowledge Engineering publishes papers dealing with all aspects of knowledge engineering, including individual methods and techniques in knowledge acquisition and representation, and their application in the construction of systems – including expert systems – based thereon. Detailed scientific evaluation is an essential part of any paper. As well as traditional application areas, such as Software and Requirements Engineering, Human-Computer Interaction, and Artificial Intelligence, we are aiming at the new and growing markets for these technologies, such as Business, Economy, Market Research, and Medical and Health Care. The shift towards this new focus will be marked by a series of special issues covering hot and emergent topics.
期刊最新文献
Correction to ‘An Improved Reinforcement Learning Approach for Sustainable 6G UAV Communications’ Nested Interior–Exterior Optimisation for Explainable Autonomous Complex Systems Modelling Using Cross-Clustered Migration and Cooperative Learning An Enhanced Graph Attention Aggregation Network With Multi-Level Syntactic and Semantic Prompts for Aspect-Based Sentiment Triple Extraction A Novel Multistage Attention-Enhanced Mixture of Experts Model for Alzheimer's Disease Diagnosis Spatial-Frequency Feature Fusion Based Deepfake Detection With Mask Supervision
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1