SemGloVe: Semantic Co-occurrences for GloVe from BERT
Gan, Leilei, Teng, Zhiyang, Zhang, Yue, Zhu, Linchao, Wu, Fei, Yang, Yi
–arXiv.org Artificial Intelligence
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 SemGloVe, which distills semantic co-occurrences 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 without limiting 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 four external tasks show that SemGloVe can outperform GloVe.
arXiv.org Artificial Intelligence
Dec-30-2020
- Country:
- North America > United States
- California > Santa Clara County > Palo Alto (0.04)
- Asia
- China > Hong Kong (0.04)
- South Korea (0.04)
- Africa > Middle East
- Egypt (0.04)
- North America > United States
- Genre:
- Research Report (0.64)
- Technology: