CLJun 14, 2023

Contrastive Loss is All You Need to Recover Analogies as Parallel Lines

arXiv:2306.08221v1222 citationsh-index: 14
Originality Incremental advance
AI Analysis

This provides insight into the geometric structure of word embeddings for NLP researchers, but is incremental as it builds on known analogy properties.

The paper tackled the problem of understanding why static word embedding models represent linguistic analogies as parallel lines, and found that a simple contrastive loss method performs competitively on analogy recovery tasks with dramatic speedups in training time.

While static word embedding models are known to represent linguistic analogies as parallel lines in high-dimensional space, the underlying mechanism as to why they result in such geometric structures remains obscure. We find that an elementary contrastive-style method employed over distributional information performs competitively with popular word embedding models on analogy recovery tasks, while achieving dramatic speedups in training time. Further, we demonstrate that a contrastive loss is sufficient to create these parallel structures in word embeddings, and establish a precise relationship between the co-occurrence statistics and the geometric structure of the resulting word embeddings.

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