Implementation Notes for the Soft Cosine Measure
V\'it Novotn\'y (1) ((1) Faculty of Informatics, Masaryk University,, Brno, Czech Republic)

TL;DR
This paper improves the computational efficiency of the Soft Cosine Measure, enabling its practical deployment in real-world information retrieval systems by providing tighter complexity bounds and implementation strategies.
Contribution
It proves a lower bound of O(n^3) for the orthonormalization algorithm and presents an efficient algorithm with near-constant worst-case complexity under realistic conditions.
Findings
Tighter lower bound of O(n^3) for the orthonormalization algorithm
An efficient similarity computation algorithm with O(1) worst-case complexity under realistic conditions
Implementation strategies for vector databases and search engines
Abstract
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 , where n is the size of the vocabulary. In this paper, we prove a tighter lower worst-case time complexity bound of . We also present an algorithm for computing the similarity between documents and we show that its worst-case time complexity is given realistic conditions. Lastly, we describe implementation…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
