[Paper Review] Stochastic Neighbor Embedding under f-divergences
This paper extends t-SNE by generalizing its objective from Kullback-Leibler divergence to a broader class of f-divergences, enabling better capture of diverse data structures such as manifolds, clusters, and hierarchies. It introduces a variational lower bound optimization method that outperforms standard gradient descent, yielding higher-quality embeddings across multiple divergences and datasets.
The t-distributed Stochastic Neighbor Embedding (t-SNE) is a powerful and popular method for visualizing high-dimensional data. It minimizes the Kullback-Leibler (KL) divergence between the original and embedded data distributions. In this work, we propose extending this method to other f-divergences. We analytically and empirically evaluate the types of latent structure-manifold, cluster, and hierarchical-that are well-captured using both the original KL-divergence as well as the proposed f-divergence generalization, and find that different divergences perform better for different types of structure. A common concern with $t$-SNE criterion is that it is optimized using gradient descent, and can become stuck in poor local minima. We propose optimizing the f-divergence based loss criteria by minimizing a variational bound. This typically performs better than optimizing the primal form, and our experiments show that it can improve upon the embedding results obtained from the original $t$-SNE criterion as well.
Motivation & Objective
- To investigate how different f-divergences affect the ability of t-SNE to reveal intrinsic data structures such as clusters, manifolds, and hierarchies.
- To address the limitation of t-SNE's KL-divergence objective, which favors recall over precision and performs poorly on non-clustered structures.
- To propose a variational lower bound optimization method that improves convergence and solution quality for f-divergence-based t-SNE.
- To provide a flexible, open-source framework (ft-SNE) supporting multiple f-divergences and custom divergence definitions.
- To empirically compare primal and dual (variational) forms of f-divergence optimization in t-SNE.
Proposed method
- Generalizes t-SNE by replacing KL divergence with any f-divergence, using the f-divergence's convex conjugate to define a new objective.
- Proposes optimizing a variational lower bound of the f-divergence, derived from the convex conjugate, to improve optimization stability and convergence.
- Employs a neural network-based discriminator to model the dual form, enabling end-to-end training with gradient descent.
- Uses a two-stream optimization scheme: update embedding weights and discriminator weights in alternating steps with hyperparameters J:K.
- Supports five standard f-divergences (KL, Chi-square, Reverse-KL, JS, Hellinger) and allows user-defined f-divergences via the framework.
- Employs neighborhood-centric precision-recall analysis to evaluate structure preservation across different divergences.
Experimental results
Research questions
- RQ1Which f-divergences are most effective at preserving manifold, cluster, and hierarchical structures in low-dimensional embeddings?
- RQ2How does the variational dual form of f-divergence optimization compare to the primal form in terms of convergence and solution quality?
- RQ3Does optimizing the variational bound lead to better t-SNE embeddings than standard gradient descent on the primal objective?
- RQ4How do hyperparameters like perplexity, network depth, and update ratio (J:K) affect the performance of the variational f-t-SNE method?
- RQ5Can the proposed framework be generalized to support arbitrary f-divergences beyond the standard set?
Key findings
- The variational dual form (vft-SNE) consistently achieves lower primal f-divergence loss than the standard primal form (ft-SNE), even for KL divergence, indicating better local minima.
- For small perplexities, vft-SNE significantly outperforms ft-SNE in loss reduction, with the gap diminishing as perplexity increases.
- Optimizing the variational form leads to faster convergence and more stable training across all f-divergences, including KL, Chi-square, and Jensen-Shannon.
- Different f-divergences emphasize different types of structure: KL and Chi-square favor local structure (clusters), while Reverse-KL emphasizes global structure.
- JS and Hellinger divergences balance precision and recall, effectively capturing both local and global relationships, making them suitable for complex, multi-scale data.
- Network architecture (depth and width) has minimal impact on performance, indicating robustness of the variational optimization scheme.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.