スケッチとスケール:地理分散型 tSNE と UMAP
Sketch and Scale: Geo-distributed tSNE and UMAP
Sketch and Scale: Geo-distributed tSNE and UMAP
@misc{wei2020sketch,
title = {Sketch and Scale: Geo-distributed tSNE and UMAP},
author = {Viska Wei and Nikita Ivkin and Vladimir Braverman and Alexander Szalay},
year = {2020},
eprint = {2011.06103},
archivePrefix = {arXiv},
primaryClass = {cs.DC},
url = {https://arxiv.org/abs/2011.06103}
}
Wei, V., Ivkin, N., Braverman, V., & Szalay, A. (2020). Sketch and Scale: Geo-distributed tSNE and UMAP [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.06103
WEI V, IVKIN N, BRAVERMAN V, et al. Sketch and Scale: Geo-distributed tSNE and UMAP[EB/OL]. (2020-11-11)[2026-11-29]. https://arxiv.org/abs/2011.06103.
要旨
地理的に分散したデータセット上で機械学習解析を実行することは、プライバシーとデータセキュリティを確保するデータ管理政策の文脈で急速に重要性を増している課題である。t-分布確率的な近傍埋め込み(tSNE)や一様多様体近似と投影(UMAP)などのツールを用いて高次元データを可視化することは、データサイエンティストの間で一般的になった。しかし、両方のツールは時間とメモリにおいてスケーリング性能が低く、最近の最適化により 1 万点のデータ点の処理が成功したものの、百万点を超える規模でのスケーリングは依然として困難である。本研究では、新しいフレームワークである Sketch and Scale(SnS)を導入する。SnS は、エッジノード上で Count Sketch データ構造を用いてデータを圧縮し、マスタノードで縮小されたスケッチを集約し、集約されたスケッチから抽出された密度の高い領域を要約として用いて、標準的な tSNE や UMAP を実行する。本手法は完全に並列であり、時間、メモリ、通信において線形スケーリングを示すことを示す。これにより、世界中の複数のデータセンターに分散した、数百万点から潜在的に十億点のデータ点を含むデータセットの解析が可能となる。本手法の能力は、複数の腫瘍生検画像から得られた 5200 万画素(35 バンド)を持つがんデータと、Sloan Digital Sky Survey(SDSS)から得られた多色光度観測を持つ 1 億個の星を持つ天文学データという 2 つの中規模データセットを用いて実証された。
Running machine learning analytics over geographically distributed datasets is a rapidly arising problem in the world of data management policies ensuring privacy and data security. Visualizing high dimensional data using tools such as t-distributed Stochastic Neighbor Embedding (tSNE) and Uniform Manifold Approximation and Projection (UMAP) became common practice for data scientists. Both tools scale poorly in time and memory. While recent optimizations showed successful handling of 10,000 data points, scaling beyond million points is still challenging. We introduce a novel framework: Sketch and Scale (SnS). It leverages a Count Sketch data structure to compress the data on the edge nodes, aggregates the reduced size sketches on the master node, and runs vanilla tSNE or UMAP on the summary, representing the densest areas, extracted from the aggregated sketch. We show this technique to be fully parallel, scale linearly in time, logarithmically in memory, and communication, making it possible to analyze datasets with many millions, potentially billions of data points, spread across several data centers around the globe. We demonstrate the power of our method on two mid-size datasets: cancer data with 52 million 35-band pixels from multiple images of tumor biopsies; and astrophysics data of 100 million stars with multi-color photometry from the Sloan Digital Sky Survey (SDSS).