Visualizing and Exploring Dynamic High-Dimensional Datasets with LION-tSNE

Andrey Boytsov, François Fouquet, Thomas Hartmann, Yves Le TraonarXiv 2017

Abstract

t-Distributed Stochastic Neighbor Embedding (t-SNE) is a cornerstone of high-dimensional data visualization, yet its non-parametric nature poses significant challenges for dynamic datasets. Adding new data points typically requires recomputing the entire embedding, which is computationally intensive and disrupts visual continuity. We introduce LION-tSNE (Local Interpolation with Outlier coNtrol), a framework designed to "drop" new data into existing t-SNE layouts. By combining local interpolation with a dedicated outlier placement strategy, LION-tSNE maintains visual integrity and provides a robust mechanism for exploring streaming data without the risk of misleading cluster assignments.

Introduction

t-SNE is widely celebrated for its ability to reveal complex cluster structures in high-dimensional data. However, because it does not learn an explicit mapping function $f(x) \to y$, it is inherently static. When new data arrives, researchers are often forced to re-run the algorithm from scratch. This process not only consumes time but also produces a new, rotated, or shifted layout, making it impossible to track the evolution of data over time or compare new samples against a stable baseline.

Figure 1: A standard t-SNE representation of the MNIST dataset, serving as the static baseline for LION-tSNE updates.

Existing solutions, such as parametric t-SNE or global interpolation, often fail when encountering outliers. If a new data point is fundamentally different from the training set, these methods may erroneously force it into the center of a known cluster, leading to false discoveries. LION-tSNE addresses this by prioritizing local structure and explicit outlier management.

The LION-tSNE Framework

LION-tSNE operates through a two-stage process: local interpolation for known data types and a "free cell" search for novelties.

1. Local Interpolation

For any new high-dimensional point $x$, the algorithm identifies existing "training" points within a predefined radius $r_x$. If neighbors are present, LION-tSNE employs a localized version of Inverse Distance Weighting (IDW) to determine the new 2D coordinates. By restricting influence to a local radius, the method prevents distant, unrelated clusters from pulling the new point into an incorrect region of the map.

2. Outlier Detection and Placement

If no neighbors are found within $r_x$, the point is classified as an outlier. Rather than placing these points randomly or at the extreme periphery, LION-tSNE uses a "free cell" search algorithm. The embedded 2D space is partitioned into a grid, and cells containing no training points are identified. Outliers are then mapped to the centers of these empty spaces, ensuring they are visible and distinct from established clusters.

Figure 2: Outlier placement strategy. Red, blue, and green dots indicate 'free cells' where outliers are positioned to avoid overlapping with existing data clusters.

Experimental Evaluation

The authors evaluated LION-tSNE using the MNIST dataset of handwritten digits. Experiments ranged from small-scale tests (2,500 samples) to large-scale applications (60,000 samples in 784-dimensional space). To test outlier robustness, the researchers introduced uniform random noise to simulate "garbage" data, assessing how well the algorithm could distinguish these from actual digits.

Key Results and Insights

  • High Accuracy: In cluster attribution tasks (e.g., placing a new digit "1" near existing "1"s), LION-tSNE achieved 87-90% accuracy, matching or exceeding the performance of more complex neural network approximations.
  • Superior Outlier Robustness: LION-tSNE was the only method tested that consistently achieved 100th percentile separation for noise. While other interpolation methods often placed noise within or near the 50th-80th percentile of cluster distances, LION-tSNE kept them entirely isolated.
  • Computational Efficiency: With a runtime complexity of $O(NK)$ (where $N$ is the number of training points and $K$ is dimensionality), the framework is well-suited for real-time dashboard applications.

Conclusion and Future Directions

LION-tSNE provides a practical solution for the "out-of-sample" problem in t-SNE. By treating outliers as first-class citizens and using local interpolation, it preserves the visual metaphors researchers rely on. Future work will focus on automating parameter tuning and integrating fast nearest-neighbor search algorithms to further enhance scalability for massive datasets.

Summary updated

BibTeX
@misc{boytsov2017visualizing,
  author = {Andrey Boytsov and François Fouquet and Thomas Hartmann and Yves Le Traon},
  title = {{Visualizing and Exploring Dynamic High-Dimensional Datasets with LION-tSNE}},
  year = {2017},
  eprint = {1708.04983},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1708.04983},
}
Figure