Abstract
Archetypal analysis is a matrix factorization method with convexity constraints. Due to local minima, a good initialization is essential, but frequently used initialization methods yield either sub-optimal starting points or are prone to get stuck in poor local minima. In this paper, we propose archetypal analysis++ (AA++), a probabilistic initialization strategy for archetypal analysis that sequentially samples points based on their influence on the objective function, similar to $k$-means++. In fact, we argue that $k$-means++ already approximates the proposed initialization method. Furthermore, we suggest to adapt an efficient Monte Carlo approximation of $k$-means++ to AA++. In an extensive empirical evaluation of 15 real-world data sets of varying sizes and dimensionalities and considering two pre-processing strategies, we show that AA++ almost always outperforms all baselines, including the most frequently used ones.
Introduction
Archetypal Analysis (AA) is a powerful matrix factorization technique for finding "extreme" representatives in data. Unlike k-means clustering, which identifies central "average" cluster centers, AA seeks to represent data points as convex combinations of archetypes—points that typically lie on the boundary of the data's convex hull. This makes AA particularly useful for identifying the "corners" or extremes that define the overall shape of a dataset.
However, the optimization problem for AA is biconvex, meaning it is highly prone to getting stuck in local minima. Consequently, the quality of the final solution depends heavily on the initialization strategy. Most practitioners currently rely on either simple random sampling (Uniform) or a heuristic called FurthestSum. These methods are often sub-optimal: random sampling frequently misses the boundary, and FurthestSum can select redundant points or trap the model in poor local minima, especially when data is standardized.
Methods: The AA++ Initialization Strategy
We propose Archetypal Analysis++ (AA++), a probabilistic initialization strategy inspired by the k-means++ algorithm. The core idea is to prioritize points that are far from the current set of archetypes, thereby expanding the represented space toward the data's true boundaries.
Probabilistic Sampling
AA++ starts by picking one point at random and then sequentially selects the remaining $k-1$ archetypes. The probability of selecting a new point is proportional to its squared Euclidean distance to the convex hull of the archetypes already selected. This approach naturally pushes the archetypes toward the data's extremes.
Computational Efficiency
Calculating the exact distance to a convex hull requires solving a Quadratic Program (QP) for every data point, which can be computationally prohibitive. To address this, we suggest two approximations:
- Distance Approximation: Using the distance to the closest archetype (exactly like k-means++) as a fast proxy. We demonstrate that k-means++ is a surprisingly effective approximation for finding the "corners" of a dataset.
- AA++MC: A Monte Carlo approach using a Markov Chain to sample archetypes in sublinear time, making the method scalable to massive datasets.
Empirical Evaluation and Results
We evaluated AA++ on 15 real-world datasets spanning various domains, including large-scale sets like Covertype (581k points) and high-dimensional sets like FMA (518 dimensions).
Performance Comparison
In almost every scenario, AA++ (or its MCMC variant) yielded the best results in terms of Mean Squared Error (MSE). For $k=100$, AA++ provided the best initialization in 14 out of 15 datasets. Furthermore, AA++ proved robust to data pre-processing, maintaining high performance regardless of whether the data was standardized or simply centered—a significant advantage over the FurthestSum baseline.
Scalability
The AA++MC variant demonstrated that high-quality initializations can be achieved by looking at only a small fraction (1% to 20%) of the data in the Markov Chain. While AA++ requires more computation upfront than random sampling, it often leads to a better starting point that requires fewer optimization iterations to reach a high-quality solution.
Conclusion
AA++ rethinking the initialization strategy for Archetypal Analysis by introducing a probabilistic sampling method that prioritizes the data's extremes. By outperforming traditional heuristics across diverse datasets and remaining robust to pre-processing, AA++ establishes a new standard for initializing archetypal models. Future work will focus on deriving theoretical approximation guarantees for AA++ similar to those existing for k-means++.
Summary updated