SpectralNet: Spectral Clustering using Deep Neural Networks

Uri Shaham, Kelly Stanton, Henry Li, Boaz Nadler, Ronen Basri +1 more
1/4/2018
stat.MLcs.LG

Official code: KlugerLab/SpectralNet (330 stars, MIT, last commit 2023-02-23).

Abstract

Spectral clustering is a leading and popular technique in unsupervised data analysis. Two of its major limitations are scalability and generalization of the spectral embedding (i.e., out-of-sample-extension). In this paper we introduce a deep learning approach to spectral clustering that overcomes the above shortcomings. Our network, which we call SpectralNet, learns a map that embeds input data points into the eigenspace of their associated graph Laplacian matrix and subsequently clusters them. We train SpectralNet using a procedure that involves constrained stochastic optimization. Stochastic optimization allows it to scale to large datasets, while the constraints, which are implemented using a special-purpose output layer, allow us to keep the network output orthogonal. Moreover, the map learned by SpectralNet naturally generalizes the spectral embedding to unseen data points. To further improve the quality of the clustering, we replace the standard pairwise Gaussian affinities with affinities leaned from unlabeled data using a Siamese network. Additional improvement can be achieved by applying the network to code representations produced, e.g., by standard autoencoders. Our end-to-end learning procedure is fully unsupervised. In addition, we apply VC dimension theory to derive a lower bound on the size of SpectralNet. State-of-the-art clustering results are reported on the Reuters dataset. Our implementation is publicly available at https://github.com/kstant0725/SpectralNet .

View on arXivView PDF

Code Implementations(1)

MIT

Deep network that performs spectral clustering

330103Shell, CythonNov 17, 20173 years agoMIT

Cite this paper

@article{shaham2018spectralnet,
  title  = {SpectralNet: Spectral Clustering using Deep Neural Networks},
  author = {Uri Shaham and Kelly Stanton and Henry Li and Boaz Nadler and Ronen Basri and Yuval Kluger},
  year   = {2018},
  eprint = {1801.01587},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1801.01587}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1801.01587.svg)](https://codeofpaper.com/paper/1801.01587)

Discussion