On Extending NLP Techniques from the Categorical to the Latent Space: KL Divergence, Zipf's Law, and Similarity Search

arXiv:2012.01941 First posted 2020-12-02 v1 13 pages, 6 figures
Cite this paper ×
BibTeX
@misc{hare2020on,
  title = {On Extending NLP Techniques from the Categorical to the Latent Space: KL Divergence, Zipf's Law, and Similarity Search},
  author = {Adam Hare and Yu Chen and Yinan Liu and Zhenming Liu and Christopher G. Brinton},
  year = {2020},
  eprint = {2012.01941},
  archivePrefix = {arXiv},
  primaryClass = {cs.CL},
  url = {https://arxiv.org/abs/2012.01941}
}
APA 7
Hare, A., Chen, Y., Liu, Y., Liu, Z., & Brinton, C. G. (2020). On Extending NLP Techniques from the Categorical to the Latent Space: KL Divergence, Zipf's Law, and Similarity Search [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2012.01941
GB/T 7714
HARE A, CHEN Y, LIU Y, et al. On Extending NLP Techniques from the Categorical to the Latent Space: KL Divergence, Zipf's Law, and Similarity Search[EB/OL]. (2020-12-02)[2026-11-30]. https://arxiv.org/abs/2012.01941.

Abstract

Despite the recent successes of deep learning in natural language processing (NLP), there remains widespread usage of and demand for techniques that do not rely on machine learning. The advantage of these techniques is their interpretability and low cost when compared to frequently opaque and expensive machine learning models. Although they may not be be as performant in all cases, they are often sufficient for common and relatively simple problems. In this paper, we aim to modernize these older methods while retaining their advantages by extending approaches from categorical or bag-of-words representations to word embeddings representations in the latent space. First, we show that entropy and Kullback-Leibler divergence can be efficiently estimated using word embeddings and use this estimation to compare text across several categories. Next, we recast the heavy-tailed distribution known as Zipf's law that is frequently observed in the categorical space to the latent space. Finally, we look to improve the Jaccard similarity measure for sentence suggestion by introducing a new method of identifying similar sentences based on the set cover problem. We compare the performance of this algorithm against several baselines including Word Mover's Distance and the Levenshtein distance.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!