Skip to main content
QUICK REVIEW

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

В. К. Железняк, Aleksandar Savkov|arXiv (Cornell University)|Apr 30, 2019
Topic ModelingComputer Science24 citations
TL;DR

This paper proposes DynaMax, a novel unsupervised, non-parametric similarity measure that dynamically selects and max-pools relevant word vector features for sentence pairs using fuzzy set theory. It outperforms averaged word vectors with cosine similarity on all STS benchmarks and matches supervised methods trained to optimize cosine similarity, while also introducing the fuzzy Jaccard index as a more appropriate metric for max-pooled vectors than cosine similarity.

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. 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.

Motivation & Objective

  • To improve semantic textual similarity (STS) performance by moving beyond average word vectors and exploring max-pooling as a superior alternative.
  • To formalize max-pooled word vectors as a special case of fuzzy bag-of-words (FBoW) representations using fuzzy set theory.
  • To introduce a new similarity metric, DynaMax, that dynamically extracts and max-pools high-quality features per sentence pair without supervision.
  • To challenge the use of cosine similarity for comparing max-pooled vectors and advocate for the fuzzy Jaccard index as a more appropriate measure.
  • To provide a rigorous statistical evaluation using BCa bootstrap confidence intervals to validate performance differences on STS benchmarks.

Proposed method

  • Proposes a fuzzy bag-of-words (FBoW) representation where each word in the vocabulary has a degree of membership derived from its similarity to the sentence’s word vectors.
  • Shows that max-pooled word vectors are a special case of FBoW, where membership is 1 for the most similar words and 0 otherwise.
  • Introduces DynaMax, an unsupervised, non-parametric method that dynamically identifies and max-pools the most relevant features per sentence pair using fuzzy set operations.
  • Uses the fuzzy Jaccard index as the primary similarity measure between FBoW representations, arguing it is more suitable than cosine similarity for max-pooled vectors.
  • Applies SIF (Smooth Inverse Frequency) weighting to word vectors before max-pooling to improve performance.
  • Employs bias-corrected and accelerated (BCa) bootstrap confidence intervals to conduct rigorous, non-parametric significance testing on performance differences.

Experimental results

Research questions

  • RQ1Can max-pooled word vectors, when treated as a special case of fuzzy bag-of-words, outperform averaged word vectors on semantic textual similarity tasks?
  • RQ2Is the fuzzy Jaccard index a more appropriate similarity measure for max-pooled word vectors than cosine similarity?
  • RQ3Can a completely unsupervised, non-parametric method like DynaMax achieve performance comparable to supervised methods that directly optimize for cosine similarity between paraphrases?
  • RQ4Does the proposed method remain competitive even when compared to state-of-the-art supervised word vectors trained on large paraphrase datasets?
  • RQ5What is the impact of rigorous statistical significance testing on the evaluation of STS benchmark results, and how does it improve upon common practices in the literature?

Key findings

  • DynaMax outperforms averaged word vectors with cosine similarity on every STS benchmark task when using unsupervised word vectors, achieving a mean Pearson correlation of 73.1 on STS15.
  • With PSL word vectors, DynaMax-SIF achieves a mean correlation of 73.3 on STS16, outperforming the avg-SIF+PCA method from Arora et al. (2017) by 1.4 points.
  • DynaMax performs comparably to supervised ParaNMT embeddings trained to optimize cosine similarity, despite being completely unsupervised and unrelated to that objective.
  • The fuzzy Jaccard index is shown to be a more suitable metric than cosine similarity for comparing max-pooled vectors, as it captures the fuzzy set nature of the representation.
  • The study reveals that most prior STS literature uses inappropriate or unspecified parametric tests; DynaMax’s use of BCa bootstrap intervals provides a more reliable significance analysis.
  • Ablation studies in the appendix confirm that each component of DynaMax contributes meaningfully to its overall performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.