[Paper Review] Conditional t-SNE: Complementary t-SNE embeddings through factoring out prior information
This paper introduces conditional t-SNE (ct-SNE), a novel dimensionality reduction method that factors out prior knowledge—such as known cluster structures or labels—during embedding to reveal complementary, previously obscured data structures. By modifying the t-SNE objective to condition on prior information, ct-SNE produces 2D visualizations that highlight new, non-redundant patterns in high-dimensional data, with efficient optimization via a Barnes-Hut-based algorithm that scales to hundreds of thousands of points.
Dimensionality reduction and manifold learning methods such as t-Distributed Stochastic Neighbor Embedding (t-SNE) are routinely used to map high-dimensional data into a 2-dimensional space to visualize and explore the data. However, two dimensions are typically insufficient to capture all structure in the data, the salient structure is often already known, and it is not obvious how to extract the remaining information in a similarly effective manner. To fill this gap, we introduce \emph{conditional t-SNE} (ct-SNE), a generalization of t-SNE that discounts prior information from the embedding in the form of labels. To achieve this, we propose a conditioned version of the t-SNE objective, obtaining a single, integrated, and elegant method. ct-SNE has one extra parameter over t-SNE; we investigate its effects and show how to efficiently optimize the objective. Factoring out prior knowledge allows complementary structure to be captured in the embedding, providing new insights. Qualitative and quantitative empirical results on synthetic and (large) real data show ct-SNE is effective and achieves its goal.
Motivation & Objective
- To address the limitation of standard t-SNE, which captures all data structure—including known or dominant factors—making it difficult to discover new, complementary patterns.
- To develop a method that actively removes known or prior information from the embedding process, enabling visualization of residual, previously masked structure.
- To provide a single, integrated, and efficient method that generalizes t-SNE by incorporating prior knowledge as a conditioning factor in the objective function.
- To enable iterative and interactive data analysis by allowing users to successively factor out different known structures and explore what remains.
- To demonstrate that ct-SNE outperforms alternative baselines such as CCA and AAE in preserving structure and requiring fewer hyperparameters.
Proposed method
- ct-SNE modifies the t-SNE objective by conditioning the pairwise proximity distribution on prior knowledge (e.g., cluster labels), so that the embedding focuses on structure not explained by the prior.
- The method introduces a new objective function that computes the conditional probability of similarity between points given whether they are expected to be close based on prior information.
- A Barnes-Hut tree-based approximation is used to efficiently optimize the ct-SNE objective, reducing computational complexity from O(n²) to O(n log n), enabling scalability to large datasets.
- The prior knowledge is encoded as a binary label or cluster assignment per data point, which is used to condition the probability distribution in the input space.
- The embedding is optimized via gradient descent to minimize the Kullback-Leibler divergence between the conditional probability distributions in the input and embedding spaces.
- The method introduces a single additional hyperparameter, β′ (or α′), which controls the strength of the conditioning effect, with small values (e.g., β′ = 0.01) shown to be effective.
Experimental results
Research questions
- RQ1Can we design a dimensionality reduction method that actively removes known or prior structure from the embedding to reveal new, complementary patterns?
- RQ2How does the performance of ct-SNE compare to standard t-SNE and alternative baselines (e.g., CCA, AAE) in revealing hidden clusters after removing dominant factors?
- RQ3What is the impact of the hyperparameter β′ on the quality of the embedding and its ability to preserve residual structure?
- RQ4Can ct-SNE be efficiently scaled to large datasets (e.g., hundreds of thousands of points) while maintaining visualization fidelity?
- RQ5Is ct-SNE applicable beyond t-SNE, and can the conditioning principle be generalized to other non-linear DR methods like UMAP or LargeVis?
Key findings
- ct-SNE successfully reveals previously hidden clusters in synthetic data, such as four distinct clusters in dimensions 5–6 that are obscured in standard t-SNE due to dominant clusters in dimensions 1–4.
- On real-world datasets, such as the Flickr dataset, ct-SNE isolates clusters based on cultural interests even after removing geographic clustering, making these patterns more salient and interpretable.
- Quantitative evaluation shows that ct-SNE achieves lower Kullback-Leibler divergence than t-SNE when the prior knowledge is correctly factored out, indicating better approximation of the true data structure.
- The hyperparameter β′ has a measurable effect on embedding quality, with β′ = 0.01 yielding optimal results in terms of structure preservation and visualization clarity.
- ct-SNE outperforms CCA-based and AAE-based baselines in both visualization quality and ease of use, as the latter require complex tuning and are limited in applicability.
- The Barnes-Hut approximation enables ct-SNE to scale efficiently to datasets with up to hundreds of thousands of points, maintaining high-quality visualizations with minimal performance loss.
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.