[Paper Review] Probing Pretrained Language Models for Lexical Semantics
This paper systematically probes pretrained language models (e.g., BERT, RoBERTa) across six typologically diverse languages to extract static, type-level word embeddings for lexical semantic tasks. It finds that monolingual models, in-context encoding, exclusion of special tokens, and averaging over lower Transformer layers yield superior performance, with BERT-based embeddings outperforming traditional fastText vectors, while lexical knowledge is distributed across multiple layers rather than concentrated in few parameters.
The success of large pretrained language models (LMs) such as BERT and RoBERTa has sparked interest in probing their representations, in order to unveil what types of knowledge they implicitly capture. While prior research focused on morphosyntactic, semantic, and world knowledge, it remains unclear to which extent LMs also derive lexical type-level knowledge from words in context. In this work, we present a systematic empirical analysis across six typologically diverse languages and five different lexical tasks, addressing the following questions: 1) How do different lexical knowledge extraction strategies (monolingual versus multilingual source LM, out-of-context versus in-context encoding, inclusion of special tokens, and layer-wise averaging) impact performance? How consistent are the observed effects across tasks and languages? 2) Is lexical knowledge stored in few parameters, or is it scattered throughout the network? 3) How do these representations fare against traditional static word vectors in lexical tasks? 4) Does the lexical information emerging from independently trained monolingual LMs display latent similarities? Our main results indicate patterns and best practices that hold universally, but also point to prominent variations across languages and tasks. Moreover, we validate the claim that lower Transformer layers carry more type-level lexical knowledge, but also show that this knowledge is distributed across multiple layers.
Motivation & Objective
- To investigate how different lexical representation extraction strategies affect performance across multiple languages and tasks.
- To determine whether lexical knowledge in pretrained language models is concentrated in a few parameters or distributed across layers.
- To benchmark BERT-based static word embeddings against traditional static word vectors like fastText.
- To examine whether independently trained monolingual models learn structurally similar representations for translation pairs.
Proposed method
- Systematically evaluates five lexical tasks: lexical semantic similarity (LSIM), word analogy (WA), bilingual lexicon induction (BLI), cross-lingual information retrieval (CLIR), and lexical relation prediction (RELP).
- Extracts static word embeddings by averaging contextualized token representations from specific Transformer layers of monolingual and multilingual LMs.
- Tests various configuration choices: monolingual vs. multilingual source models, in-context vs. out-of-context encoding, inclusion of [CLS] and [SEP] tokens, and layer-wise averaging strategies.
- Uses CKA (Centered Kernel Alignment) similarity to compare representations across languages and model layers, validating structural similarity of translation pairs.
- Employs Spearman’s correlation to link CKA similarity scores with BLI performance, assessing approximate isomorphism.
- Conducts ablation studies to isolate the impact of each configuration component on task performance.
Experimental results
Research questions
- RQ1Do lexical extraction strategies generalize across languages and tasks, or do they require language- and task-specific tuning?
- RQ2Is lexical knowledge concentrated in a few parameters or scattered across multiple layers of the Transformer encoder?
- RQ3How do BERT-based static word embeddings compare to traditional static word embeddings like fastText in lexical tasks?
- RQ4Do monolingual LMs independently trained in different languages learn similar representations for translation pairs, and how does this depend on typological distance?
Key findings
- Monolingual LMs consistently outperform multilingual models like mBERT in lexical tasks, with peak LSIM scores of 0.518 for BERT-Base and 0.531 for BERT-Large.
- Excluding special tokens ([CLS], [SEP]) and using in-context encoding significantly improves performance across all languages and tasks.
- Lower Transformer layers (L≤8) contain the majority of type-level lexical knowledge, and layer-wise averaging over these layers yields superior results compared to single-layer extraction.
- BERT-based static word embeddings surpass fastText in LSIM, WA, and RELP tasks, demonstrating their competitiveness and superiority in lexical semantics.
- True translation pairs exhibit significantly higher CKA similarity than random word pairs, with similarity increasing for more typologically similar language pairs (e.g., EN–DE vs. EN–TR).
- A strong Spearman’s correlation (ρ = 1.0, 0.83, 0.99) between CKA similarity and BLI performance confirms that higher structural similarity in monolingual representations facilitates cross-lingual alignment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.