A Comparison of Approaches for Measuring the Semantic Similarity of Short Texts Based on Word Embeddings
Journal: Journal of Information and Organizational Sciences (JIOS) (Vol.44, No. 2)Publication Date: 2020-12-09
Authors : Karlo Babić; Francesco Guerra; Sanda Martinčić-Ipšić; Ana Meštrović;
Page : 231-246
Keywords : semantic similarity; short texts similarity; word embedding; Word2Vec; FastText; TF-IDF;
Abstract
Measuring the semantic similarity of texts has a vital role in various tasks from the field of natural language processing. In this paper, we describe a set of experiments we carried out to evaluate and compare the performance of different approaches for measuring the semantic similarity of short texts. We perform a comparison of four models based on word embeddings: two variants of Word2Vec (one based on Word2Vec trained on a specific dataset and the second extending it with embeddings of word senses), FastText, and TF-IDF. Since these models provide word vectors, we experiment with various methods that calculate the semantic similarity of short texts based on word vectors. More precisely, for each of these models, we test five methods for aggregating word embeddings into text embedding. We introduced three methods by making variations of two commonly used similarity measures. One method is an extension of the cosine similarity based on centroids, and the other two methods are variations of the Okapi BM25 function. We evaluate all approaches on the two publicly available datasets: SICK and Lee in terms of the Pearson and Spearman correlation. The results indicate that extended methods perform better from the original in most of the cases.
Other Latest Articles
- SUBSURFACE IMAGING USING GROUND PENETRATING RADAR FOR UNDERGROUND OIL AND MINERALS EXPLORATION
- THE EFFECT OF CURRENT RATIO, DEBT TO EQUITY, SALES GROWTH TOWARDS RETURN ON ASSET AT CONSUMER GOOD COMPANIES LISTED IN STOCK EXCHANGE
- THE EFFECT OF CURRENT RATIO, DEBT TO EQUITY, SALES GROWTH TOWARDS RETURN ON ASSET AT CONSUMER GOOD COMPANIES LISTED IN STOCK EXCHANGE
- The Impact of Pair Programming on the Performance of Slow-Paced Students: A Study on Data Structure Courses
- EXPERIMENTAL STUDY OF MEAN DROPLET SIZE FROM PRESSURE SWIRL ATOMIZER
Last modified: 2021-01-08 17:14:39