Abstract
Archetypes are typical population representatives in an extremal sense, where typicality is understood as the most extreme manifestation of a trait or feature. In linear feature space, archetypes approximate the data convex hull allowing all data points to be expressed as convex mixtures of archetypes. However, it might not always be possible to identify meaningful archetypes in a given feature space. Learning an appropriate feature space and identifying suitable archetypes simultaneously addresses this problem. This paper introduces a generative formulation of the linear archetype model, parameterized by neural networks. By introducing the distance-dependent archetype loss, the linear archetype model can be integrated into the latent space of a variational autoencoder, and an optimal representation with respect to the unknown archetypes can be learned end-to-end. The reformulation of linear Archetypal Analysis as deep variational information bottleneck, allows the incorporation of arbitrarily complex side information during training. Furthermore, an alternative prior, based on a modified Dirichlet distribution, is proposed. The real-world applicability of the proposed method is demonstrated by exploring archetypes of female facial expressions while using multi-rater based emotion scores of these expressions as side information. A second application illustrates the exploration of the chemical space of small organic molecules. In this experiment, it is demonstrated that exchanging the side information but keeping the same set of molecules, e. g. using as side information the heat capacity of each molecule instead of the band gap energy, will result in the identification of different archetypes. As an application, these learned representations of chemical space might reveal distinct starting points for de novo molecular design.
Introduction
In data science, the search for representative data points often focuses on "prototypes"—average representatives like the centroids in k-means clustering. However, in fields such as biology or chemistry, the most informative points are often the archetypes: the extreme manifestations of specific traits. Classical Archetypal Analysis (AA) identifies these extremes by approximating the data's convex hull, allowing every point to be described as a mixture of these "corners."
A significant limitation of classical AA is its strictly linear nature. Real-world data often resides on curved manifolds where linear approximations fail. Furthermore, standard AA is unsupervised and lacks a mechanism to prioritize specific features when defining "extremity." This paper proposes Deep Archetypal Analysis (Deep AA) to overcome these hurdles by embedding archetypal analysis within a Deep Variational Information Bottleneck (DVIB).
Methodology
Deep AA merges archetypal analysis with generative modeling. The architecture maps input data into a latent space using a neural network encoder. Within this latent space, an archetypal structure is enforced by fixing $k$ archetypes at the vertices of a $(k-1)$-simplex.
Key components of the method include:
- Non-linear Embedding: An encoder maps data into a latent space, allowing the model to handle non-linear manifolds.
- Archetype Loss: A novel distance-dependent loss ($\ell_{AT}$) encourages latent representations to be well-approximated as convex combinations of the fixed archetypes.
- Side Information: By utilizing the DVIB framework, the model incorporates side information $Y$ (e.g., physical properties or labels) to guide the encoder toward a latent space where the identified extremes are relevant to the task at hand.
- Generative Modeling: Built on a Variational Autoencoder (VAE) backbone, the model can generate new data points by sampling from the latent simplex, facilitating smooth interpolation between archetypes.
Experimental Evaluation
The proposed method was evaluated across three distinct domains:
- Synthetic Data: A non-linear 8D dataset designed to test the recovery of archetypes on curved manifolds.
- JAFFE (Japanese Female Facial Expression): 213 images of facial expressions rated by 60 subjects across 6 emotion categories, used to identify archetypal expressions.
- QM9: A dataset of 134,000 small organic molecules, where properties like heat capacity and band gap energy served as side information to explore chemical space.
Results and Discussion
Deep AA successfully identified ground-truth archetypes in synthetic data where linear AA was mathematically incapable of doing so. This demonstrates the power of learning the representation and the archetypes simultaneously.
In the JAFFE dataset, the model identified primary archetypes for Happiness, Anger, and Surprise, revealing that other emotions like Sadness and Disgust are perceived as mixtures of these extremes. In the chemical domain (QM9), the model identified 20 molecular archetypes. Crucially, the archetypes changed based on the side information used, proving that "typicality" and "extremity" are context-dependent. For instance, molecules with low heat capacity were characterized by short chains and double bonds, while high heat capacity archetypes were larger and more complex.
Conclusion
Deep Archetypal Analysis evolves classical AA by enabling the discovery of extreme representatives in non-linear datasets. While the current implementation ties latent dimensionality to the number of archetypes and shows sensitivity to prior selection, it offers a robust framework for exploring complex data. Future applications, particularly in de novo molecular design, could leverage these learned archetypes as optimal starting points for generating new materials with specific extreme properties.
Summary updated