不要满足于平均值,追求最大值:模糊集和最大池词向量
Don't Settle for Average, Go for the Max: Fuzzy Sets and Max-Pooled Word Vectors
摘要:
最近的文献表明,在语义文本相似性任务中,平均词向量加上简单的后处理优于许多深度学习方法。此外,当平均词向量在大型释义语料库上进行监督训练时,它们在标准STS基准测试中获得了最先进的结果。受这些见解的启发,我们进一步推动了词嵌入的极限。我们提出了一种新的模糊词袋(FBoW)表示的文本,同时包含所有的词汇,但具有不同程度的成员资格,这是来自词向量之间的相似性。我们发现,最大池词向量是模糊BoW的一个特例,应该通过模糊Jaccard指数,而不是余弦相似性进行比较。最后,我们提出了DynaMax,一个完全无监督和非参数的相似性度量,动态提取和最大池良好的功能,这取决于句子对。这种方法既高效又易于实现,但在STS任务上的表现远远优于当前的基线,甚至可以与经过训练以直接优化余弦相似度的监督词向量竞争。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。