VMF-SNE: Embedding for spherical data

Mian Wang, Dong Wang

TL;DR

This paper introduces VMF-SNE, a novel algorithm designed to embed high-dimensional spherical data, which is a common but challenging data type for existing methods like t-SNE. By replacing Gaussian distributions with von Mises-Fisher (vMF) distributions, VMF-SNE better captures the inherent structure of spherical data, leading to improved visualization and clustering accuracy.

What Problem Does This Paper Address?

High-dimensional data visualization and embedding are crucial for understanding complex datasets. Traditional methods like t-SNE excel at preserving local neighborhood structures, but they often assume data points are distributed within a Euclidean space and that local proximities can be modeled by Gaussian distributions. This assumption breaks down for data that naturally lies on a sphere, such as topic vectors in document processing or normalized i-vectors in speaker recognition. For these spherical datasets, the Euclidean distance is not an appropriate measure of similarity, and Gaussian distributions fail to capture their inherent structure. This paper addresses this limitation by proposing an embedding method specifically tailored for spherical data.

Methods

The core innovation of VMF-SNE lies in its adaptation of the t-SNE framework. Instead of using Gaussian distributions to model pairwise similarities in the high-dimensional space and Student's t-distributions in the low-dimensional embedding space, VMF-SNE employs the von Mises-Fisher (vMF) distribution for both. The vMF distribution is a natural choice for modeling data on a sphere, and it inherently uses cosine similarity, which is more appropriate for spherical data than Euclidean distance.

The algorithm follows a similar iterative optimization process as t-SNE, minimizing a cost function based on the Kullback-Leibler (KL) divergence between the joint probability distributions in the original and embedded spaces. A key aspect of their approach is the use of a simplified embedding space distribution where the concentration parameter is uniform across all embedded points. This simplification, while maintaining the core idea of preserving pairwise similarities, makes the computation more tractable. The paper also derives the gradient descent update rules for optimizing the embedding.

Datasets

The paper uses a simulated dataset for evaluation. This dataset is generated by sampling points from k clusters on a 50-dimensional sphere. The centers of these clusters are carefully constructed to be well-separated on the sphere. The data generation process involves sampling from vMF distributions with varying concentration parameters (κ) to simulate different degrees of data overlap between clusters. The authors do not introduce a new benchmark dataset but rather create a controlled simulation environment to specifically test the algorithm's performance on spherical data.

Key Insights and Ideas

  • Spherical data needs spherical distributions: The fundamental insight is that the choice of distribution for modeling local similarities is critical and must match the underlying data manifold. Gaussian distributions are ill-suited for spherical data, leading to suboptimal embeddings.
  • vMF distribution is the right tool for spherical data: The von Mises-Fisher distribution, along with cosine similarity, provides a principled way to model proximity on a sphere, directly addressing the limitations of Euclidean distance and Gaussian assumptions.
  • Adapting t-SNE's framework is effective: By retaining the successful iterative optimization and KL divergence minimization strategy of t-SNE, but substituting the distributions, the authors create a powerful new embedding method without reinventing the wheel.
  • Perplexity normalization is still beneficial: Similar to t-SNE, normalizing the data scattering by making the perplexity associated with each data point consistent helps in handling outliers and crowding areas.

Key Results

  • Improved visualization: Qualitative results (Figures 1, 2, and 3) show that VMF-SNE effectively preserves the cluster structure of spherical data, especially when the data has less distinct separation (smaller κ). In contrast, t-SNE struggles to maintain clear boundaries in such cases.
  • Quantitative improvements in clustering: Table I demonstrates that VMF-SNE consistently achieves lower entropy and higher accuracy in clustering tasks compared to t-SNE, particularly when the data exhibits significant overlap (small κ values). For instance, with 4 clusters and κ=10, VMF-SNE achieved 64.13% accuracy compared to t-SNE's 42%.
  • Performance trade-off with large overlaps: While VMF-SNE excels with overlapping spherical data, the paper notes that for a very large number of clusters (16 clusters), t-SNE's long-tail Student's t-distribution might offer advantages in handling crowding, suggesting a potential area for future research.

Limitations and Future Work

  • Crowding problem for many clusters: The authors acknowledge that for scenarios with a very large number of clusters, t-SNE's long-tail distribution might be more effective at handling data crowding. This suggests that VMF-SNE, in its current form, might not be as robust as t-SNE in such extreme cases.
  • Future work on long-tail vMF distributions: To address the crowding issue, the authors propose exploring "long-tail vMF distributions" as a potential avenue for future research. This would involve developing distributions that combine the strengths of vMF for spherical data with the tail properties of Student's t-distribution to better handle overlapping data points.

Summary updated

Abstract

T-SNE is a well-known approach to embedding high-dimensional data. The basic assumption of t-SNE is that the data are non-constrained in the Euclidean space and the local proximity can be modelled by Gaussian distributions. This assumption does not hold for a wide range of data types in practical applications, for instance spherical data for which the local proximity is better modelled by the von Mises-Fisher (vMF) distribution instead of the Gaussian. This paper presents a vMF-SNE embedding algorithm to embed spherical data. An iterative process is derived to produce an efficient embedding. The results on a simulation data set demonstrated that vMF-SNE produces better embeddings than t-SNE for spherical data.
BibTeX
@misc{wang2015vmf,
  author = {Mian Wang and Dong Wang},
  title = {{VMF-SNE: Embedding for spherical data}},
  year = {2015},
  eprint = {1507.08379},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1507.08379},
}
Figure