paper-with-me

홈 › Papers

Semantics or spelling? Probing contextual word embeddings with orthographic noise

2024-08-08 · Jacob A. Matthews, John R. Starr, Marten Van Schijndel

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 word at input, the more sensitive its corresponding CWE. This suggests that CWEs capture information unrelated to word-level meaning and can be manipulated through trivial modifications of input data. We conclude that these PLM-derived CWEs may not be reliable semantic proxies, and that caution is warranted when interpreting representational similarity

📄 PDF Abstract BibTeX arXiv:2408.04162

Code (1)

jam963/semantics-or-spelling 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingSemantic SimilaritySemantic Textual SimilarityWord Embeddings

Similar Papers 제목 키워드 기반

Spying on your neighbors: Fine-grained probing of contextual embeddings for information about surrounding words

2020-05-04 · ACL 2020 6 · Josef Klafka, Allyson Ettinger

Although models using contextual word embeddings have achieved state-of-the-art results on a host of NLP tasks, little is known about exactly what information these embeddings encode about the context words that they are…

Word Embeddings

Do Word Embeddings Capture Spelling Variation?

2020-12-01 · COLING 2020 8 · Dong Nguyen, Jack Grieve

Analyses of word embeddings have primarily focused on semantic and syntactic properties. However, word embeddings have the potential to encode other properties as well. In this paper, we propose a new perspective on the …

Word Embeddings

Misspelling Correction with Pre-trained Contextual Language Model

2021-01-08 · Yifei Hu, Xiaonan Jing, Youlim Ko, Julia Taylor Rayz

Spelling irregularities, known now as spelling mistakes, have been found for several centuries. As humans, we are able to understand most of the misspelled words based on their location in the sentence, perceived pronunc…

Language ModelingLanguage ModellingSentenceSpelling Correction+1

Conditional probing: measuring usable information beyond a baseline

2021-09-19 · EMNLP 2021 11 · John Hewitt, Kawin Ethayarajh, Percy Liang, Christopher D. Manning

Probing experiments investigate the extent to which neural representations make properties -- like part-of-speech -- predictable. One suggests that a representation encodes a property if probing that representation produ…

Word Embeddings

Misspelling Oblivious Word Embeddings

2019-05-23 · NAACL 2019 6 · Bora Edizel, Aleksandra Piktus, Piotr Bojanowski, Rui Ferreira 외

In this paper we present a method to learn word embeddings that are resilient to misspellings. Existing word embeddings have limited applicability to malformed texts, which contain a non-negligible amount of out-of-vocab…

Word Embeddings