2018
Implementation Notes for the Soft Cosine Measure
NOVOTNÝ, VítZákladní údaje
Originální název
Implementation Notes for the Soft Cosine Measure
Autoři
NOVOTNÝ, Vít (203 Česká republika, garant, domácí)
Vydání
Torino, Italy, Proceedings of the 27th ACM International Conference on Information and Knowledge Management (CIKM '18), od s. 1639-1642, 4 s. 2018
Nakladatel
Association for Computing Machinery
Další údaje
Jazyk
angličtina
Typ výsledku
Stať ve sborníku
Obor
10201 Computer sciences, information science, bioinformatics
Stát vydavatele
Itálie
Utajení
není předmětem státního či obchodního tajemství
Forma vydání
elektronická verze "online"
Kód RIV
RIV/00216224:14330/18:00101853
Organizační jednotka
Fakulta informatiky
ISBN
978-1-4503-6014-2
UT WoS
000455712300190
Klíčová slova anglicky
Vector Space Model; computational complexity; similarity measure
Štítky
Příznaky
Mezinárodní význam, Recenzováno
Změněno: 25. 4. 2022 04:56, RNDr. Pavel Šmerk, Ph.D.
Anotace
V originále
The standard bag-of-words vector space model (VSM) is efficient, and ubiquitous in information retrieval, but it underestimates the similarity of documents with the same meaning, but different terminology. To overcome this limitation, Sidorov et al. proposed the Soft Cosine Measure (SCM) that incorporates term similarity relations. Charlet and Damnati showed that the SCM is highly effective in question answering (QA) systems. However, the orthonormalization algorithm proposed by Sidorov et al. has an impractical time complexity of O(n^4), where n is the size of the vocabulary. In this paper, we prove a tighter lower worst-case time complexity bound of O(n^3). We also present an algorithm for computing the similarity between documents and we show that its worst-case time complexity is O(1) given realistic conditions. Lastly, we describe implementation in general-purpose vector databases such as Annoy, and Faiss and in the inverted indices of text search engines such as Apache Lucene, and ElasticSearch. Our results enable the deployment of the SCM in real-world information retrieval systems.
Návaznosti
MUNI/A/1038/2017, interní kód MU |
| ||
MUNI/A/1213/2017, interní kód MU |
| ||
TD03000295, projekt VaV |
|