Semantics or spelling? Probing contextual word embeddings with orthographic noise
Jacob A. Matthews, John R. Starr, Marten van Schijndel

TL;DR
This paper investigates whether contextual word embeddings from pretrained language models truly encode semantic information by testing their sensitivity to orthographic noise, revealing they are more affected by input modifications than expected.
Contribution
The study demonstrates that CWEs are highly sensitive to orthographic noise and subword tokenization, challenging their reliability as semantic representations.
Findings
CWEs are sensitive to minimal orthographic changes.
Sensitivity is related to subword tokenization.
CWEs may encode information beyond word meaning.
Abstract
Pretrained language model (PLM) hidden states are frequently employed as contextual word embeddings (CWE): high-dimensional representations that encode semantic information given linguistic context. Across many areas of computational linguistics research, similarity between CWEs is interpreted as semantic similarity. However, it remains unclear exactly what information is encoded in PLM hidden states. We investigate this practice by probing PLM representations using minimal orthographic noise. We expect that if CWEs primarily encode semantic information, a single character swap in the input word will not drastically affect the resulting representation,given sufficient linguistic context. Surprisingly, we find that CWEs generated by popular PLMs are highly sensitive to noise in input data, and that this sensitivity is related to subword tokenization: the fewer tokens used to represent a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling · Speech Recognition and Synthesis
