Putting Words in BERT's Mouth: Navigating Contextualized Vector Spaces with Pseudowords
Taelin Karidi, Yichu Zhou, Nathan Schneider, Omri Abend, Vivek Srikumar
Abstract
We present a method for exploring regions around individual points in a contextualized vector space (particularly, BERT space), as a way to investigate how these regions correspond to word senses. By inducing a contextualized "pseudoword" as a stand-in for a static embedding in the input layer, and then performing masked prediction of a word in the sentence, we are able to investigate the geometry of the BERT-space in a controlled manner around individual instances. Using our method on a set of carefully constructed sentences targeting ambiguous English words, we find substantial regularity in the contextualized space, with regions that correspond to distinct word senses; but between these regions there are occasionally "sense voids"-regions that do not correspond to any intelligible sense. 1 1 Our code and dataset are available at https://github. com/tai314159/PWIBM-Putting-Words-in-Bert-s-Mouth 1 BERT(The event is in October.)
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Information-Theoretic Probing with Minimum Description Length cites Information-Theoretic Probing for Linguistic Structure
- Information-Theoretic Probing for Linguistic Structure cites Information-Theoretic Probing with Minimum Description Length
- Asking without Telling: Exploring Latent Ontologies in Contextual Representations cites Information-Theoretic Probing with Minimum Description Length
- Asking without Telling: Exploring Latent Ontologies in Contextual Representations cites Perturbed Masking: Parameter-free Probing for Analyzing and Interpreting BERT
- Asking without Telling: Exploring Latent Ontologies in Contextual Representations cites Information-Theoretic Probing for Linguistic Structure
Cited by top-tier papers2
Builds on8
- Perturbed Masking: Parameter-free Probing for Analyzing and Interpreting BERTZhiyong Wu, Yun Chen, Ben Kao, Qun LiuACL 2020 · 158 citations
- Isotropy in the Contextual Embedding Space: Clusters and ManifoldsXingyu Cai, Jiaji Huang, Yuchen Bian, Kenneth ChurchICLR 2021 · 50 citations
- Information-Theoretic Probing with Minimum Description LengthElena Voita, Ivan TitovEMNLP 2020 · 34 citations
- Information-Theoretic Probing for Linguistic StructureTiago Pimentel, Josef Valvoda, Rowan Hall Maudslay, Ran Zmigrod et al.ACL 2020 · 21 citations
- Asking without Telling: Exploring Latent Ontologies in Contextual RepresentationsJulian Michael, Jan A. Botha, Ian TenneyEMNLP 2020 · 3 citations
Related papers
- Probing BERT in Hyperbolic SpacesBoli Chen, Yao Fu, Guangwei Xu, Pengjun Xie et al.ICLR 2021 · 19 citations
- Using Collostructional Analysis to evaluate BERT's representation of linguistic constructionsTim Veenboer, Jelke BloemACL Findings 2023 · 6 citations
- Patterns of Polysemy and Homonymy in Contextualised Language ModelsJanosch Haber, Massimo PoesioEMNLP Findings 2021 · 15 citations
- OoMMix: Out-of-manifold Regularization in Contextual Embedding Space for Text ClassificationSeonghyeon Lee, Dongha Lee, Hwanjo YuACL 2021
- Positional Artefacts Propagate Through Masked Language Model EmbeddingsZiyang Luo, Artur Kulmizev, Xiaoxi MaoACL 2021
