Abstract
Prototypical examples that best summarizes and compactly represents an underlying complex data distribution communicate meaningful insights to humans in domains where simple explanations are hard to extract. In this paper we present algorithms with strong theoretical guarantees to mine these data sets and select prototypes a.k.a. representatives that optimally describes them. Our work notably generalizes the recent work by Kim et al. (2016) where in addition to selecting prototypes, we also associate non-negative weights which are indicative of their importance. This extension provides a single coherent framework under which both prototypes and criticisms (i.e. outliers) can be found. Furthermore, our framework works for any symmetric positive definite kernel thus addressing one of the key open questions laid out in Kim et al. (2016). By establishing that our objective function enjoys a key property of that of weak submodularity, we present a fast ProtoDash algorithm and also derive approximation guarantees for the same. We demonstrate the efficacy of our method on diverse domains such as retail, digit recognition (MNIST) and on publicly available 40 health questionnaires obtained from the Center for Disease Control (CDC) website maintained by the US Dept. of Health. We validate the results quantitatively as well as qualitatively based on expert feedback and recently published scientific studies on public health, thus showcasing the power of our technique in providing actionability (for retail), utility (for MNIST) and insight (on CDC datasets) which arguably are the hallmarks of an effective data mining method.
Introduction
As machine learning models grow more complex, the need for human-interpretable summaries of data becomes critical. One effective way to explain a dataset is through prototypes—actual data points that represent the underlying distribution. ProtoDash is a fast, theoretically grounded algorithm for selecting these representative prototypes and assigning them importance weights. By leveraging the property of weak submodularity, it provides a single framework to summarize data, identify outliers, and handle distribution shifts—all while being orders of magnitude faster than previous state-of-the-art methods.
Existing methods like "Learn to Criticize" (L2C) often lack nuance by treating all prototypes as equally important and suffer from rigid kernel constraints and high computational costs. ProtoDash addresses these gaps by introducing a flexible, efficient, and weighted approach to prototype selection.
Methodology
The researchers frame prototype selection as a set optimization problem, aiming to minimize the Maximum Mean Discrepancy (MMD)—a measure of the distance between two distributions—between the original data and a weighted combination of selected prototypes.
Key Innovations
- Importance Weights: Unlike previous work, ProtoDash associates a non-negative weight with each prototype. This makes the summary more interpretable (e.g., "this point represents 20% of the data's character").
- ProtoDash vs. ProtoGreedy: The authors introduce two algorithms. ProtoGreedy is a standard greedy approach that is accurate but slow. ProtoDash is an optimized version that selects the next prototype based on the gradient of the objective function, significantly improving speed.
- Weak Submodularity: The authors prove that their objective function satisfies "weak submodularity," a mathematical property guaranteeing that fast, greedy selection results in a solution close to the theoretical optimum.
- Kernel Flexibility: ProtoDash works with any symmetric positive definite kernel, solving a major open question in the field.
Experimental Evaluation
The researchers evaluated ProtoDash across three distinct domains:
- Retail Data: A massive proprietary E-commerce dataset (~80 million customers) used to predict customer expenditure and loyalty.
- MNIST: The classic handwritten digit dataset, used to test adaptation to skewed target distributions.
- CDC Health Questionnaires: 40 datasets from the US Center for Disease Control (CDC) containing health and demographic data for nearly 6,000 individuals.
Key Results
Predictive Power and Efficiency
In the retail case study, models trained on prototypes selected by ProtoDash achieved lower Root Mean Squared Error (RMSE) in predicting expenditure than models trained on the full dataset or random samples. Crucially, ProtoDash achieved a complexity of $O(m^2)$ compared to the $O(m^3)$ of previous greedy methods, resulting in a speedup of two orders of magnitude.
Adaptability and Scientific Insight
On MNIST, when the target set was skewed to 100% of a single digit, ProtoDash adapted swiftly, picking almost exclusively that digit from the source set, whereas competitors like K-Medoids failed. In the CDC data, ProtoDash identified "Early Childhood" and "Occupation" as the most representative factors for "Income," aligning with independent social science studies on social mobility.
Conclusion
ProtoDash offers a powerful combination of actionability, utility, and insight. While its theoretical approximation guarantees are slightly looser than the slower ProtoGreedy, they perform almost identically in practice. Future work may explore "convex combinations" of weights and broader applications in lifelong learning, where models must efficiently summarize past experiences to learn new tasks without forgetting.
Summary updated