DOI QR코드

DOI QR Code

트랜스포머 인코더와 시암넷 결합한 시맨틱 유사도 알고리즘

Semantic Similarity Calculation based on Siamese TRAT

  • 육성잠 (한양대학교 컴퓨터소프트웨어학과) ;
  • 조인휘 (한양대학교 컴퓨터소프트웨어학과)
  • Lu, Xing-Cen (Dept. of Computer Science, Hanyang University) ;
  • Joe, Inwhee (Dept. of Computer Science, Hanyang University)
  • 발행 : 2021.05.12

초록

To solve the problem that existing computing methods cannot adequately represent the semantic features of sentences, Siamese TRAT, a semantic feature extraction model based on Transformer encoder is proposed. The transformer model is used to fully extract the semantic information within sentences and carry out deep semantic coding for sentences. In addition, the interactive attention mechanism is introduced to extract the similar features of the association between two sentences, which makes the model better at capturing the important semantic information inside the sentence. As a result, it improves the semantic understanding and generalization ability of the model. The experimental results show that the proposed model can improve the accuracy significantly for the semantic similarity calculation task of English and Chinese, and is more effective than the existing methods.

키워드