Self-supervised Post-processing Method to Enrich Pretrained Word Vectors

Hwiyeol JoEMNLP 2023

Introduction

While large language models (LLMs) dominate contemporary NLP, static word vectors like GloVe and fastText remain essential for tasks requiring high computational efficiency or operating with limited context. To enhance these vectors, researchers traditionally employ "retrofitting," which injects external semantic knowledge from human-curated databases like WordNet. However, this approach suffers from a dependency on high-quality lexicons—often unavailable for low-resource languages—and a tendency toward "over-specialization," where vectors lose general semantic utility in favor of task-specific performance.

This paper introduces Self-supervised Extrofitting (SelfExtro), a post-processing technique that enriches word vectors by discovering internal relationships within the vector space itself, eliminating the need for external dictionaries.

Methodology

The proposed method allows word vectors to "teach themselves" through a three-step self-supervised process:

  1. Latent Semantic Analysis (LSA): Singular Value Decomposition (SVD) is applied to the embedding matrix to project words into a $k$-dimensional latent space, filtering noise and highlighting underlying semantic structures.
  2. Self-Discovery of Relations: Instead of external lookups, semantic relations are identified by calculating cosine similarity in the latent space. Words exceeding a high similarity threshold (e.g., 0.9) are grouped as semantically related.
  3. Extrofitting Framework: The original embeddings are modified to minimize variance within discovered groups (pulling related words together) while maximizing variance between different groups (pushing unrelated words apart).

Experimental Results

Word Similarity Benchmarks

Self-supervised Extrofitting was evaluated across six English datasets and Multi-SimLex for eight additional languages. As shown in the results below, SelfExtro consistently outperforms vanilla GloVe and fastText. Notably, it often exceeds the performance of "vanilla" extrofitting that relies on human-curated WordNet data, demonstrating the robustness of self-discovered relations.

Word similarity performance across English benchmarks for GloVe and fastText.

Dialogue State Tracking (DST)

On the Wizard-of-Oz (WOZ) 2.0 dataset, SelfExtro achieved a Joint Goal Accuracy (JGA) of 0.825. This significantly outperforms vanilla GloVe (0.798) and specialized methods like Attract-Repel (0.675), which often distort the vector space too much for effective downstream application.

Joint Goal Accuracy on the WOZ 2.0 dialogue dataset comparing various post-processing methods.

Text Classification

In text classification tasks across five benchmarks (DBpedia, Yahoo! Answers, etc.), SelfExtro maintained high accuracy even with "frozen" vectors. While other methods like Retrofitting saw significant performance drops (up to 30-40% on specific tasks), SelfExtro acted as a "rising tide," enriching the vectors generally without degrading their utility for broad downstream tasks.

Discussion and Key Insights

  • The Power of "Pushing": Unlike traditional retrofitting that focuses solely on pulling synonyms together, the extrofitting mechanism clarifies cluster boundaries by pushing "out-domain" instances apart. This makes the resulting representations more robust even if self-discovered pairs are not perfect synonyms.
  • Generalization over Specialization: SelfExtro avoids the pitfalls of task-specific specialization seen in methods like Counter-fitting. By maintaining the integrity of the original vector space while refining its internal structure, it ensures broad applicability.
  • Utility in Lexicon-Scarce Scenarios: Being entirely data-driven, the method provides significant performance boosts for languages like Welsh and Estonian, where comprehensive semantic lexicons are unavailable.

Limitations and Future Work

The current method relies on linear projections, which may not capture the full complexity of high-dimensional word relationships. Additionally, while it handles synonyms well, it does not explicitly model antonyms, which often share semantic categories (e.g., "love" and "hate"). Future research will explore applying similar self-supervised enrichment to the internal representations of contextualized models like BERT or GPT.

Summary updated

BibTeX
@inproceedings{jo2023self,
  author = {Hwiyeol Jo},
  title = {{Self-supervised Post-processing Method to Enrich Pretrained Word Vectors}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.54},
}
Figure