Where exactly does contextualization in a PLM happen?

Soniya Vijayakumar, Tanja Bäumel, Simon Ostermann, Josef van Genabith
12/11/2023
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Pre-trained Language Models (PLMs) have shown to be consistently successful in a plethora of NLP tasks due to their ability to learn contextualized representations of words (Ethayarajh, 2019). BERT (Devlin et al., 2018), ELMo (Peters et al., 2018) and other PLMs encode word meaning via textual context, as opposed to static word embeddings, which encode all meanings of a word in a single vector representation. In this work, we present a study that aims to localize where exactly in a PLM word contextualization happens. In order to find the location of this word meaning transformation, we investigate representations of polysemous words in the basic BERT uncased 12 layer architecture (Devlin et al., 2018), a masked language model trained on an additional sentence adjacency objective, using qualitative and quantitative measures.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{vijayakumar2023where,
  title  = {Where exactly does contextualization in a PLM happen?},
  author = {Soniya Vijayakumar and Tanja Bäumel and Simon Ostermann and Josef van Genabith},
  year   = {2023},
  eprint = {2312.06514},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.06514v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.06514.svg)](https://codeofpaper.com/paper/2312.06514)

Discussion