Proceedings

Context Vectors Are Reflections of Word Vectors in Half the Dimensions (Extended Abstract)

Video Download BibTeX Cite

Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence. Journal track. Pages 5115-5119.

https://doi.org/10.24963/ijcai.2020/718

Abstract

This paper takes a step towards the theoretical analysis of the relationship between word embeddings and context embeddings in models such as word2vec. We start from basic probabilistic assumptions on the nature of word vectors, context vectors, and text generation. These assumptions are supported either empirically or theoretically by the existing literature. Next, we show that under these assumptions the widely-used word-word PMI matrix is approximately a random symmetric Gaussian ensemble. This, in turn, implies that context vectors are reflections of word vectors in approximately half the dimensions. As a direct application of our result, we suggest a theoretically grounded way of tying weights in the SGNS model.

  1. [Allen et al., 2019] Carl Allen, Ivana Balazevic, and Timo- thy Hospedales. What the vec? towards probabilistically grounded embeddings. In Advances in Neural Information Processing Systems, pages 7465-7475, 2019.
  2. [Arora et al., 2016] Sanjeev Arora, Yuanzhi Li, Yingyu Liang, Tengyu Ma, and Andrej Risteski. A latent variable model approach to pmi-based word embeddings. Trans- actions of the Association for Computational Linguistics, 4:385-399, 2016.
  3. [Assylbekov and Takhanov, 2019] Zhenisbek Assylbekov and Rustem Takhanov. Context vectors are reflections of word vectors in half the dimensions. Journal of Artificial Intelligence Research, 66:225-242, 2019.
  4. [Bengio et al., 2001] Yoshua Bengio, Réjean Ducharme, Pascal Vincent, and Christian Jauvin. A neural probabilis- tic language model. 2001.
  5. [Bruni et al., 2012] Elia Bruni, Gemma Boleda, Marco Ba- roni, and Nam-Khanh Tran. Distributional semantics in technicolor. In Proceedings of ACL, pages 136-145. As- sociation for Computational Linguistics, 2012.
  6. [Cancho and Solé, 2001] R Ferrer I Cancho and Ricard V Solé. The small world of human language. Proceedings of the Royal Society B: Biological Sciences, 268(1482):2261, 2001.
  7. [Farkas et al., 2001] Illés J Farkas, Imre Derényi, Albert- László Barabási, and Tamas Vicsek. Spectra of "real- world" graphs: Beyond the semicircle law. Physical Re- view E, 64(2):026704, 2001.
  8. [Finkelstein et al., 2002] Lev Finkelstein, Evgeniy Gabrilovich, Yossi Matias, Ehud Rivlin, Zach Solan, Gadi Wolfman, and Eytan Ruppin. Placing search in context: The concept revisited. ACM Transactions on information systems, 20(1):116-131, 2002.
  9. [Gittens et al., 2017] Alex Gittens, Dimitris Achlioptas, and Michael W Mahoney. Skip-gram-zipf+ uniform= vector additivity. In Proceedings of ACL, volume 1, pages 69-76, 2017.
  10. [Goldberg and Levy, 2014] Yoav Goldberg and Omer Levy. word2vec explained: deriving mikolov et al.'s negative- sampling word-embedding method. arXiv preprint arXiv:1402.3722, 2014.
  11. [Gulordava et al., 2018] Kristina Gulordava, Laura Aina, and Gemma Boleda. How to represent a word and pre- dict it, too: Improving tied architectures for language modelling. In Proceedings of EMNLP, pages 2936-2941, 2018.
  12. [Hashimoto et al., 2016] Tatsunori B Hashimoto, David Alvarez-Melis, and Tommi S Jaakkola. Word embeddings as metric recovery in semantic spaces. Transactions of the Association for Computational Linguistics, 4:273-286, 2016.
  13. [Inan et al., 2017] Hakan Inan, Khashayar Khosravi, and Richard Socher. Tying word vectors and word classifiers: A loss framework for language modeling. In Proceedings of ICLR, 2017.
  14. [Levy and Goldberg, 2014a] Omer Levy and Yoav Gold- berg. Linguistic regularities in sparse and explicit word representations. In Proceedings of CoNLL, pages 171- 180, 2014.
  15. [Levy and Goldberg, 2014b] Omer Levy and Yoav Gold- berg. Neural word embedding as implicit matrix factoriza- tion. In Proceedings of NeurIPS, pages 2177-2185, 2014.
  16. [Levy et al., 2015] Omer Levy, Yoav Goldberg, and Ido Da- gan. Improving distributional similarity with lessons learned from word embeddings. Transactions of the Asso- ciation for Computational Linguistics, 3:211-225, 2015.
  17. [Luong et al., 2013] Thang Luong, Richard Socher, and Christopher Manning. Better word representations with recursive neural networks for morphology. In Proceedings of CoNLL, pages 104-113, 2013.
  18. [Melamud et al., 2017] Oren Melamud, Ido Dagan, and Ja- cob Goldberger. A simple language model based on pmi matrix approximations. In Proceedings of EMNLP, pages 1860-1865, 2017.
  19. [Mikolov et al., 2013] Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. Distributed rep- resentations of words and phrases and their composition- ality. In Proceedings of NeurIPS, pages 3111-3119, 2013.
  20. [Mimno and Thompson, 2017] David Mimno and Laure Thompson. The strange geometry of skip-gram with neg- ative sampling. In Proceedings of EMNLP, pages 2873- 2878, 2017.
  21. [Pennington et al., 2014] Jeffrey Pennington, Richard Socher, and Christopher Manning. Glove: Global vectors for word representation. In Proceedings of EMNLP, pages 1532-1543, 2014.
  22. [Press and Wolf, 2017] Ofir Press and Lior Wolf. Using the output embedding to improve language models. In Pro- ceedings of EACL, volume 2, pages 157-163, 2017.
  23. [Radinsky et al., 2011] Kira Radinsky, Eugene Agichtein, Evgeniy Gabrilovich, and Shaul Markovitch. A word at a time: computing word relatedness using temporal seman- tic analysis. In Proceedings of the 20th international con- ference on World wide web, pages 337-346. ACM, 2011.
  24. [Wigner, 1955] Eugene P Wigner. Characteristic vectors of bordered matrices with infinite dimensions. Annals of Mathematics, pages 548-564, 1955.
  25. [Wigner, 1958] Eugene P Wigner. On the distribution of the roots of certain symmetric matrices. Annals of Mathemat- ics, pages 325-327, 1958.
  26. [Zipf, 1935] GK Zipf. The psycho-biology of language: an introduction to dynamic philology. Houghton Mifflin, 1935.

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

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