IEEE/ACM Transactions on Audio Speech and Language Processing · 2022 · 18 citations · 44 references
ComputingComputer ScienceComputational LinguisticsNatural Language ProcessingSemanticsLanguage ModelingLanguage ModelsNatural Language UnderstandingWord EmbeddingsCo-occurrence Matrix FactorizationCo-occurrence ModelingContextual Word EmbeddingsMasked Language ModelingSemantic DistanceSemantic RelatednessStatic Word Embeddings
GloVe learns word embeddings by leveraging statistical information from word co-occurrence matrices. However, word pairs in the matrices are extracted from a predefined local context window, which might lead to limited word pairs and potentially semantic irrelevant word pairs. In this paper, we propose <i>SemGloVe</i>, which distills <i>semantic co-occurrences</i> from BERT into static GloVe word embeddings. Particularly, we propose two models to extract co-occurrence statistics based on either the masked language model or the multi-head attention weights of BERT. Our methods can extract word pairs limited by the local window assumption, and can define the co-occurrence weights by directly considering the semantic distance between word pairs. Experiments on several word similarity datasets and external tasks show that SemGloVe can outperform GloVe.
44
Laurens van der Maaten, Geoffrey E. Hinton · Journal of Machine Learning Research · 2008 · 35.7K citations
Distributed Representations of Words and Phrases and their Compositionality
Tomáš Mikolov, Ilya Sutskever, Kai Chen et al. · arXiv (Cornell University) · 2013 · 18.1K citations · Full text