Cross-Lingual BERT Contextual Embedding Space Mapping with Isotropic and Isometric Conditions

Haoran Xu, Philipp Koehn
7/19/2021
cs.CL

Official code: fe1ixxu/Contextual_Mapping (4 stars, Python, last commit 2020-11-10).

Abstract

Typically, a linearly orthogonal transformation mapping is learned by aligning static type-level embeddings to build a shared semantic space. In view of the analysis that contextual embeddings contain richer semantic features, we investigate a context-aware and dictionary-free mapping approach by leveraging parallel corpora.

Show full abstract

We illustrate that our contextual embedding space mapping significantly outperforms previous multilingual word embedding methods on the bilingual dictionary induction (BDI) task by providing a higher degree of isomorphism. To improve the quality of mapping, we also explore sense-level embeddings that are split from type-level representations, which can align spaces in a finer resolution and yield more precise mapping. Moreover, we reveal that contextual embedding spaces suffer from their natural properties -- anisotropy and anisometry. To mitigate these two problems, we introduce the iterative normalization algorithm as an imperative preprocessing step. Our findings unfold the tight relationship between isotropy, isometry, and isomorphism in normalized contextual embedding spaces.

View on arXivView PDF

Code Implementations(1)

42Python, ShellOct 18, 20206 years ago

Similar Papers

Cite this paper

@article{xu2021crosslingual,
  title  = {Cross-Lingual BERT Contextual Embedding Space Mapping with Isotropic and Isometric Conditions},
  author = {Haoran Xu and Philipp Koehn},
  year   = {2021},
  eprint = {2107.09186},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.09186}
}

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

Discussion