Investigating the Contextualised Word Embedding Dimensions Specified for Contextual and Temporal Semantic Changes

Taichi Aida, Danushka Bollegala
7/3/2024
cs.CL

Official code: LivNLP/svp-dims (1 star, last commit 2024-12-01).

Abstract

The sense-aware contextualised word embeddings (SCWEs) encode semantic changes of words within the contextualised word embedding (CWE) spaces. Despite the superior performance of SCWEs in contextual/temporal semantic change detection (SCD) benchmarks, it remains unclear as to how the meaning changes are encoded in the embedding space. To study this, we compare pre-trained CWEs and their fine-tuned versions on contextual and temporal semantic change benchmarks under Principal Component Analysis (PCA) and Independent Component Analysis (ICA) transformations. Our experimental results reveal (a) although there exist a smaller number of axes that are specific to semantic changes of words in the pre-trained CWE space, this information gets distributed across all dimensions when fine-tuned, and (b) in contrast to prior work studying the geometry of CWEs, we find that PCA to better represent semantic changes than ICA within the top 10% of axes. These findings encourage the development of more efficient SCD methods with a small number of SCD-aware dimensions. Source code is available at https://github.com/LivNLP/svp-dims .

View on arXivView PDF

Code Implementations(1)

LivNLP/svp-dimsOfficial100%

Code for "Investigating the Contextualised Word Embedding Dimensions Responsible for Contextual and Temporal Semantic Changes"

10Python, DockerfileJul 2, 20241 years ago

Similar Papers

Cite this paper

@article{aida2024investigating,
  title  = {Investigating the Contextualised Word Embedding Dimensions Specified for Contextual and Temporal Semantic Changes},
  author = {Taichi Aida and Danushka Bollegala},
  year   = {2024},
  eprint = {2407.02820},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.02820v2}
}

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/2407.02820.svg)](https://codeofpaper.com/paper/2407.02820)

Discussion