Fast Extraction of Word Embedding from Q-contexts
Kong, Junsheng, Li, Weizhao, Liu, Zeyi, Liao, Ben, Qiu, Jiezhong, Hsieh, Chang-Yu, Cai, Yi, Zhang, Shengyu
–arXiv.org Artificial Intelligence
The notion of word embedding plays a fundamental role in natural language processing (NLP). However, pre-training word embedding for very large-scale vocabulary is computationally challenging for most existing methods. In this work, we show that with merely a small fraction of contexts (Q-contexts)which are typical in the whole corpus (and their mutual information with words), one can construct high-quality word embedding with negligible errors. Mutual information between contexts and words can be encoded canonically as a sampling state, thus, Q-contexts can be fast constructed. Furthermore, we present an efficient and effective WEQ method, which is capable of extracting word embedding directly from these typical contexts. In practical scenarios, our algorithm runs 11$\sim$13 times faster than well-established methods. By comparing with well-known methods such as matrix factorization, word2vec, GloVeand fasttext, we demonstrate that our method achieves comparable performance on a variety of downstream NLP tasks, and in the meanwhile maintains run-time and resource advantages over all these baselines.
arXiv.org Artificial Intelligence
Sep-15-2021
- Country:
- Oceania > Australia
- North America > United States
- New York > New York County
- New York City (0.04)
- New Mexico > Santa Fe County
- Santa Fe (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- New York > New York County
- Europe
- United Kingdom > England
- Cambridgeshire > Cambridge (0.04)
- Spain
- Catalonia > Barcelona Province
- Barcelona (0.04)
- Andalusia > Granada Province
- Granada (0.04)
- Catalonia > Barcelona Province
- Italy > Tuscany
- Florence (0.04)
- United Kingdom > England
- Asia > China
- Guangdong Province (0.04)
- Genre:
- Research Report (0.82)
- Technology: