Don't Settle for Average, Go for the Max: Fuzzy Sets and Max-Pooled Word Vectors

Vitalii Zhelezniak, Aleksandar Savkov, April Shen, Francesco Moramarco, Jack Flann +1 more
4/30/2019
42 citations
cs.CLcs.LG

Official code: babylonhealth/fuzzymax (43 stars, Python, Apache-2.0, last commit 2022-07-14).

Abstract

Recent literature suggests that averaged word vectors followed by simple post-processing outperform many deep learning methods on semantic textual similarity tasks. Furthermore, when averaged word vectors are trained supervised on large corpora of paraphrases, they achieve state-of-the-art results on standard STS benchmarks.

Show full abstract

Inspired by these insights, we push the limits of word embeddings even further. We propose a novel fuzzy bag-of-words (FBoW) representation for text that contains all the words in the vocabulary simultaneously but with different degrees of membership, which are derived from similarities between word vectors. We show that max-pooled word vectors are only a special case of fuzzy BoW and should be compared via fuzzy Jaccard index rather than cosine similarity. Finally, we propose DynaMax, a completely unsupervised and non-parametric similarity measure that dynamically extracts and max-pools good features depending on the sentence pair. This method is both efficient and easy to implement, yet outperforms current baselines on STS tasks by a large margin and is even competitive with supervised word vectors trained to directly optimise cosine similarity.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code for the paper: Don't Settle for Average, Go for the Max: Fuzzy Sets and Max-Pooled Word Vectors, ICLR 2019.

435Python, ShellJan 10, 20194 years agoApache-2.0
machine-learningnatural-language-processingresearch-papersimilarity-measuresword-embeddings+1 more

Similar Papers

Cite this paper

@article{zhelezniak2019dont,
  title  = {Don't Settle for Average, Go for the Max: Fuzzy Sets and Max-Pooled Word Vectors},
  author = {Vitalii Zhelezniak and Aleksandar Savkov and April Shen and Francesco Moramarco and Jack Flann and Nils Y. Hammerla},
  year   = {2019},
  eprint = {1904.13264},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.13264}
}

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/1904.13264.svg)](https://codeofpaper.com/paper/1904.13264)

Discussion