Proceedings

Modelling General Properties of Nouns by Selectively Averaging Contextualised Embeddings

Download BibTeX Cite

Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence. Main Track. Pages 3850-3856.

https://doi.org/10.24963/ijcai.2021/530

Abstract

While the success of pre-trained language models has largely eliminated the need for high-quality static word vectors in many NLP applications, static word vectors continue to play an important role in tasks where word meaning needs to be modelled in the absence of linguistic context. In this paper, we explore how the contextualised embeddings predicted by BERT can be used to produce high-quality word vectors for such domains, in particular related to knowledge base completion, where our focus is on capturing the semantic properties of nouns. We find that a simple strategy of averaging the contextualised embeddings of masked word mentions leads to vectors that outperform the static word vectors learned by BERT, as well as those from standard word embedding models, in property induction tasks. We notice in particular that masking target words is critical to achieve this strong performance, as the resulting vectors focus less on idiosyncratic properties and more on general semantic properties. Inspired by this view, we propose a filtering strategy which is aimed at removing the most idiosyncratic mention vectors, allowing us to obtain further performance gains in property induction.

  1. Top quartile gold pairs ranked in bottom quartile SimLex (right, justice), (adult, guardian), (bird, turkey), (bub- ble, suds), (crowd, bunch), (flower, violet), (alcohol, cocktail), (evening, dusk), (wisdom, intelligence), (mar- ijuana, herb), (intelligence, logic), (sofa, chair), (com- munication, language), (violin, instrument), (politician, president), (rabbi, minister)
  2. SemEval (cell, lock-up), (can, bottle), (coca-cola, coke), (obama, clinton), (renaissance, renascence), (amazon, forest), (english, american), (mercury, jupiter), (mercedes, opel), (plato, aristotle), (orion, constellation), (playsta- tion, wii), (nike, adidas), (backgammon, go), (kfc, mc- donald's), (guardian, times), (paint, photoshop), (jpeg, pdf), (bible, gospel), (gauss, scientist), (chart, graph) WordSim (mexico, brazil), (dollar, buck), (harvard, yale), (cell, phone) Bottom quartile gold pairs ranked in top quartile SimLex (meat, bread), (winter, summer), (dog, cat), (floor, ceil- ing), (south, north), (absence, presence), (chocolate, pie), (bread, cheese), (river, valley), (sunset, sunrise), (dog, horse), (cat, rabbit), (lawyer, banker), (wife, hus- band), (bottom, top), (mouse, cat), (sun, sky)
  3. SemEval (gravity, meteor), (wood, blanket) WordSim (lad, wizard) References
  4. [Agirre et al., 2009] Eneko Agirre, Enrique Alfonseca, Keith Hall, Jana Kravalova, Marius Pas ¸ca, and Aitor Soroa. A study on similarity and relatedness using distributional and WordNet-based approaches. In Proceedings of NAACL, pages 19-27, 2009.
  5. [Amrami and Goldberg, 2019] Asaf Amrami and Yoav Goldberg. Towards better substitution-based word sense induction. arXiv:1905.12598, 2019.
  6. [Bommasani et al., 2020] Rishi Bommasani, Kelly Davis, and Claire Cardie. Interpreting pretrained contextualized representations via reductions to static embeddings. In Proceedings ACL, pages 4758-4781, 2020.
  7. [Bruni et al., 2014] Elia Bruni, Nam-Khanh Tran, and Marco Baroni. Multimodal distributional semantics. J. Artif. In- tell. Res., 49(1-47), 2014.
  8. [Camacho-Collados and Navigli, 2017] Jose Camacho- Collados and Roberto Navigli. BabelDomains: Large- scale domain labeling of lexical resources. In Proc. EACL, pages 223-228, 2017.
  9. [Camacho-Collados et al., 2017] Jose Camacho-Collados, Mohammad Taher Pilehvar, Nigel Collier, and Roberto Navigli. SemEval-2017 task 2: Multilingual and cross- lingual semantic word similarity. In Proc. SemEval, pages 15-26, 2017.
  10. [Ciaramita and Johnson, 2003] Massimiliano Ciaramita and Mark Johnson. Supersense tagging of unknown nouns in WordNet. In Proc. EMNLP, pages 168-175, 2003.
  11. [Das et al., 2015] Rajarshi Das, Manzil Zaheer, and Chris Dyer. Gaussian LDA for topic models with word embed- dings. In Proc. ACL, pages 795-804, 2015.
  12. [Devlin et al., 2019] Jacob Devlin, Ming-Wei Chang, Ken- ton Lee, and Kristina Toutanova. BERT: pre-training of deep bidirectional transformers for language understand- ing. In Proc. NAACL-HLT, 2019.
  13. [Ethayarajh, 2019] Kawin Ethayarajh. How contextual are contextualized word representations? comparing the ge- ometry of BERT, ELMo, and GPT-2 embeddings. In Proc. EMNLP, pages 55-65, 2019.
  14. [Finkelstein et al., 2002] Lev Finkelstein, Gabrilovich Ev- genly, Matias Yossi, Rivlin Ehud, Solan Zach, Wolfman Gadi, and Ruppin Eytan. Placing search in context: The concept revisited. ACM Transactions on Information Sys- tems, 20(1):116-131, 2002.
  15. [Forbes et al., 2019] Maxwell Forbes, Ari Holtzman, and Yejin Choi. Do neural language representations learn physical commonsense? Proc. CogSci, 2019.
  16. [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.
  17. [Kolyvakis et al., 2018] Prodromos Kolyvakis, Alexandros Kalousis, and Dimitris Kiritsis. Deepalignment: Unsuper- vised ontology matching with refined word vectors. In Proc. NAACL-HLT, pages 787-798, 2018.
  18. [Li et al., 2019] Na Li, Zied Bouraoui, and Steven Schock- aert. Ontology completion using graph convolutional net- works. In Proc. ISWC, pages 435-452, 2019.
  19. [Liu et al., 2019] Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. RoBERTa: A robustly optimized BERT pretraining ap- proach. CoRR, abs/1907.11692, 2019.
  20. [Ma et al., 2016] Yukun Ma, Erik Cambria, and Sa Gao. La- bel embedding for zero-shot fine-grained named entity typing. In Proc. COLING, pages 171-180, 2016.
  21. [McRae et al., 2005] Ken McRae et al. Semantic feature pro- duction norms for a large set of living and nonliving things. Behavior research methods, 37:547-559, 2005.
  22. [Mickus et al., 2019] Timothee Mickus, Denis Paperno, Mathieu Constant, and Kees van Deemeter. What do you mean, BERT? assessing BERT as a distributional seman- tics model. arXiv:1911.05758, 2019.
  23. [Mikolov et al., 2013] Tomas Mikolov, Kai Chen, Greg Cor- rado, and Jeffrey Dean. Efficient estimation of word rep- resentations in vector space. In Proc. ICLR, 2013.
  24. [Morrow and Duffy, 2005] Lorna I Morrow and M Frances Duffy. The representation of ontological category concepts as affected by healthy aging: Normative data and theoret- ical implications. Behavior research methods, 37(4):608- 625, 2005.
  25. [Onal et al., 2018] Kezban Dilek Onal, Ye Zhang, Is- mail Sengor Altingovde, Md Mustafizur Rahman, Pinar Karagoz, Alex Braylan, Brandon Dang, Heng-Lu Chang, Henna Kim, Quinten McNamara, et al. Neural informa- tion retrieval: At the end of the early years. Information Retrieval Journal, 21(2-3):111-182, 2018.
  26. [Pennington et al., 2014] Jeffrey Pennington, Richard Socher, and Christopher D. Manning. GloVe: Global vectors for word representation. In Proc. EMNLP, pages 1532-1543, 2014.
  27. [Rubenstein and Goodenough, 1965] Herbert Rubenstein and John B. Goodenough. Contextual correlates of synonymy. Communications of the ACM, 8(10):627-633, 1965.
  28. [Socher et al., 2013] Richard Socher, Milind Ganjoo, Christopher D Manning, and Andrew Ng. Zero-shot learning through cross-modal transfer. In Proc. NIPS, pages 935-943, 2013.
  29. [Vimercati et al., 2019] Manuel Vimercati, Federico Bianchi, Mauricio Soto, and Matteo Palmonari. Mapping lexical knowledge to distributed models for ontology concept invention. In Proc. IA*AI, pages 572-587, 2019.
  30. [Vulic et al., 2020] Ivan Vulic, Edoardo Maria Ponti, Robert Litschko, Goran Glavas, and Anna Korhonen. Probing pre- trained language models for lexical semantics. In Proceed- ings EMNLP, pages 7222-7240, 2020.
  31. [Weir et al., 2020] Nathaniel Weir, Adam Poliak, and Ben- jamin Van Durme. On the existence of tacit assumptions in contextualized language models. arXiv:2004.04877, 2020.

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

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