CLAIDec 18, 2022

On Isotropy, Contextualization and Learning Dynamics of Contrastive-based Sentence Representation Learning

arXiv:2212.09170v2231 citationsh-index: 23
Originality Synthesis-oriented
AI Analysis

This provides insights for designing better sentence representation learning methods, though it is incremental as it analyzes existing techniques rather than introducing new ones.

The paper investigates why contrastive learning improves sentence representation learning by analyzing isotropy, contextualization, and learning dynamics, finding that it enhances isotropy and intra-sentence similarity while mitigating spurious contextualization for meaningful tokens.

Incorporating contrastive learning objectives in sentence representation learning (SRL) has yielded significant improvements on many sentence-level NLP tasks. However, it is not well understood why contrastive learning works for learning sentence-level semantics. In this paper, we aim to help guide future designs of sentence representation learning methods by taking a closer look at contrastive SRL through the lens of isotropy, contextualization and learning dynamics. We interpret its successes through the geometry of the representation shifts and show that contrastive learning brings isotropy, and drives high intra-sentence similarity: when in the same sentence, tokens converge to similar positions in the semantic space. We also find that what we formalize as "spurious contextualization" is mitigated for semantically meaningful tokens, while augmented for functional ones. We find that the embedding space is directed towards the origin during training, with more areas now better defined. We ablate these findings by observing the learning dynamics with different training temperatures, batch sizes and pooling methods.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes