Skip to main content
QUICK REVIEW

[Paper Review] Spherical Text Embedding

Meng Yu, Jiaxin Huang|arXiv (Cornell University)|Nov 4, 2019
Topic ModelingComputer Science52 citations
TL;DR

This work learns word and paragraph embeddings directly on the unit sphere using a two-step generative model and Riemannian optimization, achieving state-of-the-art results in word similarity and document clustering.

ABSTRACT

Unsupervised text embedding has shown great power in a wide range of NLP tasks. While text embeddings are typically learned in the Euclidean space, directional similarity is often more effective in tasks such as word similarity and document clustering, which creates a gap between the training stage and usage stage of text embedding. To close this gap, we propose a spherical generative model based on which unsupervised word and paragraph embeddings are jointly learned. To learn text embeddings in the spherical space, we develop an efficient optimization algorithm with convergence guarantee based on Riemannian optimization. Our model enjoys high efficiency and achieves state-of-the-art performances on various text embedding tasks including word similarity and document clustering.

Motivation & Objective

  • Address mismatch between Euclidean training and spherical usage of text embeddings by learning in a spherical space.
  • Jointly learn word and paragraph embeddings via a two-step generative process on the sphere.
  • Develop a scalable optimization algorithm with convergence guarantees for spherical embeddings.
  • Demonstrate state-of-the-art performance on word similarity, document clustering, and document classification tasks.

Proposed method

  • Propose a two-step generative model on the unit sphere: a center word is generated from paragraph semantics, then surrounding context words are generated conditioned on the center word.
  • Model priors with von Mises–Fisher distributions on the sphere to capture center-context and paragraph-word relationships.
  • Use a max-margin loss with negative sampling to optimize p(v,u|d) versus negative samples.
  • Formulate learning as constrained optimization on the sphere and apply Riemannian SGD with projection onto the tangent space and exponential mapping (or a retration variant) for updates.
  • Incorporate cosine similarity as the directional metric on the sphere and derive update rules that preserve unit-norm constraints.

Experimental results

Research questions

  • RQ1Can text embeddings be learned directly in spherical (directional) space to close the gap between training and usage?
  • RQ2Do joint word and paragraph (document) embeddings learned with a spherical generative model outperform Euclidean-based embeddings on similarity and clustering tasks?
  • RQ3Is there a scalable, convergent optimization procedure suitable for training spherical embeddings on large corpora?
  • RQ4Does leveraging word–word and word–paragraph co-occurrence in a spherical space improve downstream tasks like clustering and classification?

Key findings

  • JoSE (Joint Spherical Embedding) achieves higher word similarity scores than Euclidean baselines on WordSim353, MEN and SimLex999.
  • JoSE yields superior document clustering performance on 20 Newsgroups versus several baselines across multiple metrics.
  • JoSE with k-NN classification achieves the best Macro-F1 and Micro-F1 on 20 Newsgroup and Movie Review datasets.
  • JoSE demonstrates favorable training efficiency per iteration on a Wikipedia-scale corpus compared with several baselines.

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.