• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2022, Vol. 44 ›› Issue (07): 1313-1320.

• Artificial Intelligence and Data Mining • Previous Articles     Next Articles

A text similarity calculation method based on multiple related information interaction

YUAN Ye,LIAO Wei   

  1. (School of Electronic and Electrical Engineering,Shanghai University of Engineering Science,Shanghai 201620,China)
  • Received:2020-12-03 Revised:2021-04-12 Accepted:2022-07-25 Online:2022-07-25 Published:2022-07-25

Abstract: Text similarity calculation is one of  core tasks in natural language processing. Traditional text similarity calculation methods only consider structured features or semantic of the text. The lack of in-depth analysis of multiple text  features leads to low performance. Therefore, a text similarity calcu- lation method based on multiple related information interaction is proposed, which adds cosine correlation characteristics to the text embedding matrix. The self-attention mechanism is used to consider the text relevance of itself and word dependence. Further, the alternate co-attention machanism is used to extract the se-mantic interaction information between texts, so deeper and richer text representations from different perspectives indicate obtained. The experimental results on two datasets show that the F1 values of the proposed method are 0.916 1 and 0.769 5 respectively, and indicate the proposed method outperforms the benchmark method.

Key words: text similarity, information interaction, bi-directional long and short-term memory, self-attention mechanism, co-attention mechanism