Re-evaluating Word Mover's Distance

Ryoma Sato, Makoto Yamada, Hisashi Kashima
5/30/2021
cs.LGcs.CLcs.IR

Official code: joisino/reeval-wmd (40 stars, Python, MIT, last commit 2022-06-15).

Abstract

The word mover's distance (WMD) is a fundamental technique for measuring the similarity of two documents. As the crux of WMD, it can take advantage of the underlying geometry of the word space by employing an optimal transport formulation.

Show full abstract

The original study on WMD reported that WMD outperforms classical baselines such as bag-of-words (BOW) and TF-IDF by significant margins in various datasets. In this paper, we point out that the evaluation in the original study could be misleading. We re-evaluate the performances of WMD and the classical baselines and find that the classical baselines are competitive with WMD if we employ an appropriate preprocessing, i.e., L1 normalization. In addition, we introduce an analogy between WMD and L1-normalized BOW and find that not only the performance of WMD but also the distance values resemble those of BOW in high dimensional spaces.

View on arXivView PDF

Code Implementations(1)

joisino/reeval-wmdOfficial100%
MIT

Code for "Re-evaluating Word Mover’s Distance" (ICML 2022)

406Python, ShellMay 30, 20214 years agoMIT
machine-learningnatural-language-processing

Similar Papers

Cite this paper

@article{sato2021reevaluating,
  title  = {Re-evaluating Word Mover's Distance},
  author = {Ryoma Sato and Makoto Yamada and Hisashi Kashima},
  year   = {2021},
  eprint = {2105.14403},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.14403}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.14403.svg)](https://codeofpaper.com/paper/2105.14403)

Discussion