Skip to main content
bioRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search
New Results

VAE-SNE: a deep generative model for simultaneous dimensionality reduction and clustering

View ORCID ProfileJacob M. Graving, View ORCID ProfileIain D. Couzin
doi: https://doi.org/10.1101/2020.07.17.207993
Jacob M. Graving
1Department of Collective Behaviour, Max Planck Institute of Animal Behavior, 78464 Konstanz, Germany
2Centre for the Advanced Study of Collective Behaviour, University of Konstanz, 78464 Konstanz, Germany
3Department of Biology, University of Konstanz, 78464 Konstanz, Germany
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Jacob M. Graving
  • For correspondence: [email protected]
Iain D. Couzin
1Department of Collective Behaviour, Max Planck Institute of Animal Behavior, 78464 Konstanz, Germany
2Centre for the Advanced Study of Collective Behaviour, University of Konstanz, 78464 Konstanz, Germany
3Department of Biology, University of Konstanz, 78464 Konstanz, Germany
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Iain D. Couzin
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Data/Code
  • Preview PDF
Loading

Abstract

Scientific datasets are growing rapidly in scale and complexity. Consequently, the task of understanding these data to answer scientific questions increasingly requires the use of compression algorithms that reduce dimensionality by combining correlated features and cluster similar observations to summarize large datasets. Here we introduce a method for both dimension reduction and clustering called VAE-SNE (variational autoencoder stochastic neighbor embedding). Our model combines elements from deep learning, probabilistic inference, and manifold learning to produce interpretable compressed representations while also readily scaling to tens-of-millions of observations. Unlike existing methods, VAE-SNE simultaneously compresses high-dimensional data and automatically learns a distribution of clusters within the data — without the need to manually select the number of clusters. This naturally creates a multi-scale representation, which makes it straightforward to generate coarse-grained descriptions for large subsets of related observations and select specific regions of interest for further analysis. VAE-SNE can also quickly and easily embed new samples, detect outliers, and can be optimized with small batches of data, which makes it possible to compress datasets that are otherwise too large to fit into memory. We evaluate VAE-SNE as a general purpose method for dimensionality reduction by applying it to multiple real-world datasets and by comparing its performance with existing methods for dimensionality reduction. We find that VAE-SNE produces high-quality compressed representations with results that are on par with existing nonlinear dimensionality reduction algorithms. As a practical example, we demonstrate how the cluster distribution learned by VAE-SNE can be used for unsupervised action recognition to detect and classify repeated motifs of stereotyped behavior in high-dimensional timeseries data. Finally, we also introduce variants of VAE-SNE for embedding data in polar (spherical) coordinates and for embedding image data from raw pixels. VAE-SNE is a robust, feature-rich, and scalable method with broad applicability to a range of datasets in the life sciences and beyond.

Competing Interest Statement

The authors have declared no competing interest.

Footnotes

  • ↵* e-mail: icouzin{at}ab.mpg.de

  • https://github.com/jgraving/vaesne

Copyright 
The copyright holder for this preprint is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY 4.0 International license.
Back to top
PreviousNext
Posted July 17, 2020.
Download PDF
Data/Code
Email

Thank you for your interest in spreading the word about bioRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
VAE-SNE: a deep generative model for simultaneous dimensionality reduction and clustering
(Your Name) has forwarded a page to you from bioRxiv
(Your Name) thought you would like to see this page from the bioRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
VAE-SNE: a deep generative model for simultaneous dimensionality reduction and clustering
Jacob M. Graving, Iain D. Couzin
bioRxiv 2020.07.17.207993; doi: https://doi.org/10.1101/2020.07.17.207993
Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
VAE-SNE: a deep generative model for simultaneous dimensionality reduction and clustering
Jacob M. Graving, Iain D. Couzin
bioRxiv 2020.07.17.207993; doi: https://doi.org/10.1101/2020.07.17.207993

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Animal Behavior and Cognition
Subject Areas
All Articles
  • Animal Behavior and Cognition (6022)
  • Biochemistry (13704)
  • Bioengineering (10432)
  • Bioinformatics (33143)
  • Biophysics (17099)
  • Cancer Biology (14172)
  • Cell Biology (20106)
  • Clinical Trials (138)
  • Developmental Biology (10866)
  • Ecology (16011)
  • Epidemiology (2067)
  • Evolutionary Biology (20337)
  • Genetics (13393)
  • Genomics (18630)
  • Immunology (13746)
  • Microbiology (32163)
  • Molecular Biology (13386)
  • Neuroscience (70049)
  • Paleontology (526)
  • Pathology (2188)
  • Pharmacology and Toxicology (3741)
  • Physiology (5861)
  • Plant Biology (12020)
  • Scientific Communication and Education (1814)
  • Synthetic Biology (3367)
  • Systems Biology (8163)
  • Zoology (1841)