Abstract
Standard generative mixture models often fail in high-dimensional settings where irrelevant features overwhelm the signal necessary for specific downstream prediction tasks. This paper introduces Prediction-Focused (pf) Mixtures, specifically pf-GMM and pf-HMM, which incorporate a latent "switch" variable to automatically filter out noise. By shunting irrelevant features to a shared background distribution, these models maintain high predictive power and interpretability even with a limited number of clusters. Experimental results on synthetic and real-world clinical datasets demonstrate that pf-models significantly outperform standard and supervised baselines in both accuracy and computational efficiency.
Introduction
In domains such as precision medicine, researchers frequently employ mixture models to identify latent subtypes within complex datasets. For instance, clustering electronic health records (EHRs) can reveal distinct patient profiles for diseases like HIV or Major Depressive Disorder. However, EHRs often contain thousands of features, many of which—such as administrative data or unrelated symptoms—are irrelevant to the specific clinical outcome of interest.
Traditional generative models attempt to explain the total variance of the dataset. In "underspecified" settings, where the number of clusters is intentionally kept small for human interpretability, these models may waste their capacity on high-variance noise rather than task-relevant signals. The challenge lies in forcing the model to ignore irrelevant dimensions and cluster exclusively on features that inform a specific prediction task.
Methods: Prediction-Focused Mixtures
The authors propose a graphical modeling approach called Prediction-Focused (pf) Mixtures. The core innovation is the introduction of a latent switch variable ($S_d$) for every dimension $d$ of the data.
The Switch Mechanism
The variable $S_d$ determines the generative process for each feature:
- Relevant Features ($S_d = 1$): The feature is modeled by the mixture components (latent states $Z$) and contributes to the prediction of the target variable $Y$.
- Irrelevant Features ($S_d = 0$): The feature is treated as noise and modeled by a simple, shared background distribution, effectively "backgrounding" the noise so it does not influence the clustering process.
Optimization and Tuning
A single hyperparameter, $p$ (the prior probability that a dimension is relevant), allows users to tune the balance between generative accuracy and discriminative power. Unlike previous "prediction-constrained" methods that require complex, unstable optimization, pf-models are valid graphical models. This allows for stable and efficient training using standard algorithms like Variational Expectation-Maximization (EM).
Experimental Evaluation
The models were evaluated across diverse datasets, including synthetic benchmarks, the Swiss Bank Notes dataset, and two high-stakes medical datasets: the EuResist HIV Therapy dataset (53,236 patients) and Psychiatric Medical Records (16,653 patients).
Key Results
- Predictive Superiority: On the psychiatric dataset, pf-GMM achieved an AUROC of 0.75, significantly outperforming standard GMMs (0.60) and supervised GMMs (0.62).
- Computational Efficiency: pf-GMM was orders of magnitude faster than the leading "prediction-constrained" baseline (pc-GMM). For example, pf-GMM completed tasks in ~300 seconds while pc-GMM took nearly 7,000 seconds.
- Clinical Relevance: In the HIV study, the model automatically identified specific genetic mutations (like K65R and M184V) as relevant features. These are well-known in medical literature to be associated with drug resistance, validating that the model discovered real biological signals without explicit feature engineering.
Conclusion
Prediction-Focused Mixture Models provide a robust framework for task-specific clustering in the presence of significant noise. By explicitly modeling the relevance of each feature through a latent switch, pf-GMM and pf-HMM offer a path toward simpler, more interpretable models that do not sacrifice predictive accuracy. Future work includes extending the framework to continuous or multi-class targets and exploring advanced initialization strategies to further enhance the stability of feature selection.
Summary updated