Proceedings

Approximating Word Ranking and Negative Sampling for Word Embedding

Download BibTeX Cite

Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence. Main track. Pages 4092-4098.

https://doi.org/10.24963/ijcai.2018/569

Abstract

CBOW (Continuous Bag-Of-Words) is one of the most commonly used

techniques to generate word embeddings in various NLP tasks. However, it fails to reach the optimal performance due to uniform involvements of positive words and a simple sampling distribution of negative words. To resolve these issues, we propose OptRank to optimize word ranking and approximate negative sampling for bettering word embedding. Specifically, we first formalize word embedding as a ranking problem. Then, we weigh the positive words by their ranks such that highly ranked words have more importance, and adopt a dynamic sampling strategy to select informative negative words. In addition, an approximation method is designed to efficiently compute word ranks. Empirical experiments show that OptRank consistently outperforms its counterparts on a benchmark dataset with different sampling scales, especially when the sampled subset is small. The code and datasets can be obtained from https://github.com/ouououououou/OptRank.

  1. [Agirre et al., 2009] Eneko Agirre, Enrique Alfonseca, Kei- th Hall, Jana Kravalova, MariusPasca, and Aitor Soroa. A study on similarity and relatedness using distributional and wordnet-based approaches. In Proceedings of Human Lan- guage Technologies: The 2009 Annual Conference of the North American Chapter of the Association for Compu- tational Linguistics, pages 19-27, Stroudsburg, PA, USA, 2009. Association for Computational Linguistics.
  2. [Bruni et al., 2012] Elia Bruni, Gemma Boleda, Marco Ba- roni, and Nam-Khanh Tran. Distributional semantics in technicolor. In Proceedings of the 50th Annual Meeting of the Association for Computational Linguistics: Long Pa- pers -Volume 1, pages 136-145, Stroudsburg, PA, USA, 2012. Association for Computational Linguistics.
  3. [Chen et al., 2017] Long Chen, Fajie Yuan, Joemon M. Jose, and Weinan Zhang. Improving negative sampling for word representation using self-embedded features. CoRR, ab- s/1710.0980, 2017.
  4. [Finkelstein et al., 2001] Lev Finkelstein, Evgeniy Gabrilovich, Yossi Matias, Ehud Rivlin, Zach Solan, Gadi Wolfman, and Eytan Ruppin. Placing search in context: The concept revisited. In Proceedings of the 10th International Conference on World Wide Web, pages 406-414, New York, NY, USA, 2001. ACM.
  5. [Hill et al., 2015] Felix Hill, Roi Reichart, and Anna Korho- nen. Simlex-999: Evaluating semantic models with (gen- uine) similarity estimation. Computational Linguistics, 41(4):665-695, 2015.
  6. [Ji et al., 2015] Shihao Ji, Hyokun Yun, Pinar Yanardag, Shin Matsushima, and S. V. N. Vishwanathan. Wordrank: Learning word embeddings via robust ranking. CoRR, ab- s/1506.02761, 2015.
  7. [Le and Mikolov, 2014] Quoc Le and Tomas Mikolov. Dis- tributed representations of sentences and documents. In Proceedings of the 31st International Conference on Ma- chine Learning, volume 32, pages 1188-1196, Bejing, China, 22-24 Jun 2014. PMLR.
  8. [Mikolov et al., 2013] Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. Distributed repre- sentations of words and phrases and their compositionali- ty. In Advances in Neural Information Processing Systems 26, pages 3111-3119.
  9. Curran Associates, Inc., 2013.
  10. [Mnih and Hinton, 2009] Andriy Mnih and Geoffrey E Hin- ton. A scalable hierarchical distributed language model. In Advances in Neural Information Processing Systems 21, pages 1081-1088.
  11. Curran Associates, Inc., 2009.
  12. [Pennington et al., 2014] Jeffrey Pennington, Richard Socher, and Christopher D. Manning. Glove: Global vectors for word representation. In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), volume 14, pages 1532 - 1543, 2014.
  13. [Radinsky et al., 2011] Kira Radinsky, Eugene Agichtein, Evgeniy Gabrilovich, and Shaul Markovitch. A word at a time: Computing word relatedness using temporal se- mantic analysis. In Proceedings of the 20th International Conference on World Wide Web, pages 337-346, New Y- ork, NY, USA, 2011. ACM.
  14. [Weston et al., 2010] Jason Weston, Samy Bengio, and Nicolas Usunier. Large scale image annotation: learning to rank with joint word-image embeddings. Machine learn- ing, 81(1):21-35, 2010.
  15. [Xin et al., 2018] xin Xin, Fajie Yuan, Xiangnan He, and Joemon Jose. Batch is not heavy: Learning word embed- dings from all samples. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics, 2018.
  16. [Yuan et al., 2016] Fajie Yuan, Guibing Guo, Joemon M. Jose, Long Chen, Haitao Yu, and Weinan Zhang. Lambdafm: Learning optimal ranking with factorization machines using lambda surrogates. In Proceedings of the 25th ACM International on Conference on Information and Knowledge Management, pages 227-236, New York, NY, USA, 2016. ACM.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards