RPD: A Distance Function Between Word Embeddings

Xuhui Zhou,Zaixiang Zheng,Shujian Huang
DOI: https://doi.org/10.48550/arXiv.2005.08113
2020-05-17
Abstract:It is well-understood that different algorithms, training processes, and corpora produce different word embeddings. However, less is known about the relation between different embedding spaces, i.e. how far different sets of embeddings deviate from each other. In this paper, we propose a novel metric called Relative pairwise inner Product Distance (RPD) to quantify the distance between different sets of word embeddings. This metric has a unified scale for comparing different sets of word embeddings. Based on the properties of RPD, we study the relations of word embeddings of different algorithms systematically and investigate the influence of different training processes and corpora. The results shed light on the poorly understood word embeddings and justify RPD as a measure of the distance of embedding spaces.
Computation and Language
What problem does this paper attempt to address?