IEEE Transactions on Visualization and Computer Graphics

GPGPU Linear Complexity t-SNE Optimization

Nicola Pezzotti, Julian Thijssen, Alexander Mordvintsev, Thomas Höllt, Baldur van Lew, Boudewijn P. F. Lelieveldt, Elmar Eisemann, and Anna Vilanova

In recent years the t-distributed Stochastic Neighbor Embedding (t-SNE) algorithm has become one of the most used and insightful techniques for exploratory data analysis of high-dimensional data. It reveals clusters of high-dimensional data points at different scales while only requiring minimal tuning of its parameters. However, the computational complexity of the algorithm limits its application to relatively small datasets. To address this problem, several evolutions of t-SNE have been developed in recent years, mainly focusing on the scalability of the similarity computations between data points. However, these contributions are insufficient to achieve interactive rates when visualizing the evolution of the t-SNE embedding for large datasets. In this work, we present a novel approach to the minimization of the t-SNE objective function that heavily relies on graphics hardware and has linear computational complexity. Our technique decreases the computational cost of running t-SNE on datasets by orders of magnitude and retains or improves on the accuracy of past approximated techniques. We propose to approximate the repulsive forces between data points by splatting kernel textures for each data point. This approximation allows us to reformulate the t-SNE minimization problem as a series of tensor operations that can be efficiently executed on the graphics card. An efficient implementation of our technique is integrated and available for use in the widely used Google TensorFlow.js, and an open-source C++ library.


More Information

Citation

Nicola Pezzotti, Julian Thijssen, Alexander Mordvintsev, Thomas Höllt, Baldur van Lew, Boudewijn P. F. Lelieveldt, Elmar Eisemann, and Anna Vilanova, GPGPU Linear Complexity t-SNE Optimization, IEEE Transactions on Visualization and Computer Graphics, 26, pp. 1172–1181, 2020.

BibTex

@article{bib:pezzotti:2020,
    author       = { Pezzotti, Nicola and Thijssen, Julian and Mordvintsev, Alexander and Höllt, Thomas and van Lew, Baldur and Lelieveldt, Boudewijn P. F. and Eisemann, Elmar and Vilanova, Anna },    
    title        = { GPGPU Linear Complexity t-SNE Optimization },
    journal      = { IEEE Transactions on Visualization and Computer Graphics },
    volume       = { 26 },
    year         = { 2020 },
    pages        = { 1172--1181 },
    doi          = { 10.1109/TVCG.2019.2934307 },
    pubmedid     = { 31449023 },
    dblp         = { journals/tvcg/PezzottiTMHLLEV20 },
    url          = { https://publications.graphics.tudelft.nl/papers/152 },
}