Skip to main content
QUICK REVIEW

[Paper Review] Cross-Lingual BERT Contextual Embedding Space Mapping with Isotropic and Isometric Conditions

Haoran Xu, Philipp Koehn|arXiv (Cornell University)|Jul 19, 2021
Topic ModelingComputer Science29 references5 citations
TL;DR

This paper proposes a context-aware, dictionary-free cross-lingual mapping method using BERT-based contextual embeddings, leveraging parallel corpora to learn linear transformations that improve isomorphism between language spaces. By introducing iterative normalization to enforce isotropy and isometry, and by splitting type-level embeddings into sense-level representations, the method achieves state-of-the-art performance on the bilingual dictionary induction (BDI) task, outperforming prior multilingual word embedding methods by up to 1% accuracy.

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. 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.

Motivation & Objective

  • To develop a supervised, linear mapping method for cross-lingual contextual embeddings without relying on gold bilingual dictionaries.
  • To investigate how contextual embeddings from multilingual BERT can be aligned across languages using parallel corpora to improve isomorphism in embedding spaces.
  • To address inherent issues in contextual embeddings—specifically anisotropy and anisometry—that degrade mapping quality.
  • To explore sense-level embeddings as a finer-grained alternative to type-level representations for reducing representation bias in cross-lingual alignment.
  • To evaluate the impact of isotropy and isometry on the quality of cross-lingual space mapping and demonstrate their importance through normalization techniques.

Proposed method

  • Leverages parallel monolingual corpora to extract silver-standard word translation pairs for training mapping matrices.
  • Constructs type-level contextual embeddings by averaging BERT representations across all occurrences of aligned word pairs in parallel sentences.
  • Adaptively splits type-level embeddings into sense-level representations using clustering or attention mechanisms to capture polysemy.
  • Applies iterative normalization (IN) to reduce anisotropy and improve isometry across language spaces, ensuring balanced vector distribution.
  • Trains a linear transformation matrix W via Frobenius norm minimization: $\hat{W} = \arg\min_W \|WX - Y\|_F$, where X and Y are embedding matrices of aligned word pairs.
  • Uses the CSLS metric to compute P@1 and P@5 scores for evaluation on the BDI benchmark.

Experimental results

Research questions

  • RQ1Can context-aware, dictionary-free mapping of multilingual BERT embeddings outperform static multilingual word embedding methods on the bilingual dictionary induction (BDI) task?
  • RQ2Does splitting type-level embeddings into sense-level representations improve the isomorphism and accuracy of cross-lingual mapping?
  • RQ3To what extent do anisotropy and anisometry in contextual embedding spaces degrade mapping performance, and can they be mitigated?
  • RQ4How does enforcing isotropy and isometry through iterative normalization affect the quality of cross-lingual embedding alignment?
  • RQ5Is there a measurable relationship between isomorphism, isotropy, and isometry in normalized contextual embedding spaces?

Key findings

  • The proposed method achieves a 1% improvement in BDI accuracy over type-level embeddings by using sense-level representations, which exhibit a higher degree of isomorphism.
  • Iterative normalization significantly reduces anisotropy (isotropy scores drop near to 0) and improves isometry, leading to better mapping quality across languages.
  • After iterative normalization, the RS (relative similarity) scores for isomorphism increase, correlating with improved P@1 and P@5 results on the BDI task.
  • Sense-level embeddings outperform type-level embeddings in mapping accuracy, as shown by higher cosine similarities between mapped vectors and their correct German translations (e.g., 0.6891 vs. 0.6868 for 'bank' → 'bank').
  • The method demonstrates that isotropy and isometry are critical factors in cross-lingual mapping, and their optimization via iterative normalization leads to a more consistent and accurate alignment of embedding spaces.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.