Learning Word Representations by Jointly Modeling Syntagmatic and Paradigmatic Relations

Fei Sun, Jiafeng Guo, Yanyan Lan, Jun Xu, Xueqi Cheng

TL;DR

This research introduces PDC and HDC, two models that learn word embeddings by simultaneously capturing syntagmatic (co-occurrence) and paradigmatic (substitutability) relationships. By training on both local context and global document information, these models produce balanced representations that outperform standard baselines like Word2Vec and GloVe.

The Core Challenge: Syntagmatic vs. Paradigmatic Relations

In Natural Language Processing, word embeddings are the foundation of machine understanding. Historically, models have prioritized one of two linguistic relationships:

  1. Syntagmatic Relations: These involve words that appear together in the same context. For instance, "wolf" and "fierce" are syntagmatically related because they often co-occur in the same sentence.
  2. Paradigmatic Relations: These involve words that can replace each other in similar contexts. "Wolf" and "tiger" are paradigmatically related because they share similar roles (e.g., both are animals described with similar adjectives).
Syntagmatic and paradigmatic relations illustrated through sentence structure.

The authors argue that focusing on only one type of relation limits the model. Since these relations are complementary, a joint learning approach should yield more robust and "balanced" representations.

Proposed Methods: PDC and HDC

The authors extend the Word2Vec framework by adding a "document branch" to capture global syntagmatic information alongside local paradigmatic context.

  • Parallel Document Context (PDC): An extension of Continuous Bag-of-Words (CBOW). It predicts a target word using both its immediate neighbors and the identity of the document it belongs to.
  • Hierarchical Document Context (HDC): An extension of Skip-gram (SG). It uses a hierarchical approach: the document predicts a target word (syntagmatic), and that word then predicts its neighbors (paradigmatic).

Both models utilize negative sampling and Stochastic Gradient Descent (SGD) for efficiency, allowing them to scale to massive datasets like Wikipedia.

Key Insights: The "Deep" Analogy

A major insight is the "Mutual Enhancement" effect: learning global document context helps refine local word-to-word relationships. A compelling example is the "Deep" analogy. While standard CBOW might fail the analogy "big : bigger :: deep : ?", often suggesting "shallower," the PDC model correctly identifies "deeper."

Comparison of vector space organization between CBOW and PDC for the word 'deep'.

As shown in the visualization, the joint modeling in PDC forces the vector space to respect both grammatical transformations and semantic categories more effectively than local-only models. This results in a more logical geometric structure where related concepts are grouped appropriately.

Evaluation and Results

The models were trained on a 1-billion-token Wikipedia dump and evaluated on word analogy and similarity benchmarks (WordSim-353, SCWS, RW).

  • Superior Performance: PDC and HDC consistently outperformed GloVe, CBOW, and Skip-gram across almost all tasks.
  • Efficiency in Low Dimensions: The models showed a significant advantage in low-dimensional spaces (e.g., 50D), suggesting they pack more meaning into less space.
  • Rare Word Mastery: On the Rare Word (RW) dataset, the joint models showed a substantial performance jump, as global document context provides a "safety net" for words with sparse local data.
  • Analogy Accuracy: PDC achieved 74.76% accuracy on the 300D analogy task, surpassing Skip-gram (71.88%) and GloVe (71.7%).

Limitations and Future Directions

While powerful, the models currently treat document-level and word-level predictions with equal weight; exploring dynamic weighting could yield further gains. Additionally, like Word2Vec, these models assign a single vector per word, leaving the challenge of polysemy (words with multiple meanings) for future "multi-prototype" research.

Summary updated

BibTeX
@inproceedings{sun2015learning,
  author = {Fei Sun and Jiafeng Guo and Yanyan Lan and Jun Xu and Xueqi Cheng},
  title = {{Learning Word Representations by Jointly Modeling Syntagmatic and Paradigmatic Relations}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2015},
  doi = {10.3115/v1/p15-1014},
}
Figure