Deep Archetypal Analysis

Sebastian Mathias Keller, Maxim Samarin, Mario Wieser, Volker Roth

Abstract

Deep Archetypal Analysis (DeepAA) generalizes traditional linear archetypal analysis into a non-linear, generative framework. By leveraging the Deep Variational Information Bottleneck (DVIB), DeepAA identifies "extreme" representatives (archetypes) in complex, high-dimensional datasets. This approach allows for the discovery of interpretable pure types and the generation of new samples through interpolation, guided by side information to ensure task-relevance.

Introduction

Archetypal Analysis (AA) is a classic unsupervised learning technique designed to find the "corners" of a dataset—the extreme, pure examples that can represent the entire population as mixtures. While powerful for interpretability, traditional AA suffers from three primary limitations: it is inherently linear, making it inefficient for data on curved manifolds; it is highly sensitive to feature scaling; and it lacks generative capabilities.

Keller et al. propose Deep Archetypal Analysis (DeepAA) to address these flaws. By combining the geometric intuition of AA with the generative power of Variational Autoencoders (VAEs), DeepAA enables the exploration of complex datasets like molecules or faces through their most extreme representatives.

Methodology: The DeepAA Framework

DeepAA recasts archetypal analysis as a latent space model within a Deep Variational Information Bottleneck (DVIB) framework. The architecture consists of several key components:

  1. Encoder: Maps high-dimensional input $X$ to a lower-dimensional latent space.
  2. Archetypal Constraint: Unlike standard VAEs that use a Gaussian prior, DeepAA constrains the latent representation to be a convex combination of archetypes. These archetypes are fixed as the vertices of a $(k-1)$-simplex in the latent space.
  3. Archetypal Loss ($\ell_{AT}$): A novel loss function ensures that the learned weight matrices ($A$ and $B$) correctly reconstruct archetype positions, maintaining the geometric integrity of the convex hull.
  4. Decoder: Maps the latent representation back to the original data space for reconstruction or predicts side information $Y$.
The DeepAA architecture integrates an encoder-decoder structure with archetypal constraints in the latent space, allowing for both reconstruction and side-information prediction.

By using deep neural networks, the model can "unroll" curved data manifolds into a flat latent space where archetypal constraints are applied effectively. The Information Bottleneck principle allows side information to guide the discovery of features that define the archetypes.

Experimental Results

The authors evaluated DeepAA across artificial, image, and chemical datasets to demonstrate its versatility.

Artificial Data and Curvature

To test the model's ability to handle non-linearity, the authors used an 8D dataset embedded with a curved manifold. While linear AA required five or more archetypes to approximate the shape (and still failed to find the true extremes), DeepAA successfully recovered the three true archetypes by mapping the curved manifold into a flat latent simplex.

Latent space embedding of non-linear artificial data showing how DeepAA maps complex manifolds into a structured simplex defined by latent archetypes.

Generative Capabilities: CelebA

On the CelebA dataset of celebrity faces, DeepAA identified 35 optimal archetypes. The model demonstrated smooth generative interpolation, allowing researchers to synthesize new faces by blending extreme traits, such as transitioning from a "young man" archetype toward an "old man" archetype.

Molecular Design: QM9

Using the QM9 chemical dataset, DeepAA explored "chemical space" using properties like heat capacity as side information. The model identified that low-heat-capacity archetypes are typically small, stable molecules, whereas high-heat-capacity archetypes are complex chains. This "property steering" confirms that the latent space structure adapts to the specific side information provided, making archetypes task-dependent.

Conclusion

DeepAA represents a significant advancement in interpretable machine learning. By overcoming the rigid linearity of traditional AA, it provides a robust framework for finding "pure types" in non-linear data. Future work will focus on refining model selection heuristics and scaling the architecture to even larger, higher-resolution datasets.

Summary based on "Deep Archetypal Analysis" by Keller et al.

Summary updated

BibTeX
@inproceedings{keller2019deep,
  author = {Sebastian Mathias Keller and Maxim Samarin and Mario Wieser and Volker Roth},
  title = {{Deep Archetypal Analysis}},
  booktitle = {GCPR},
  year = {2019},
  doi = {10.1007/978-3-030-33676-9\_12},
}
Figure