TL;DR
This paper introduces "GP-select," a novel method to speed up inference in complex probabilistic models by adaptively learning which latent variables are most important at each step. By using Gaussian Processes to learn this "selection function" automatically, GP-select avoids the need for manual, problem-specific tuning, achieving comparable or better performance with significantly reduced computational cost.
What Problem Does This Paper Address?
Many powerful probabilistic graphical models, especially those with many latent (hidden) variables, suffer from computationally intractable inference. The Expectation-Maximization (EM) algorithm is a common tool for training these models, but its "E-step" (calculating the posterior distribution of latent variables) can become prohibitively expensive when the number of possible latent states grows exponentially. Previous attempts to tackle this, like Expectation Truncation (ET), relied on manually designed "selection functions" to focus the E-step on a smaller, relevant subset of latent states. This approach was effective but required significant domain expertise and effort for each new model, limiting its general applicability. This paper addresses the need for an automated, general-purpose method to accelerate EM inference by learning these crucial selection functions.
Methods
The core innovation is the use of Gaussian Process (GP) regression to learn the selection function adaptively and nonparametrically. Instead of hand-crafting a function to identify relevant latent variables, GP-select trains a GP model on the observed data and the current (approximate) posterior distribution of latent variables from the previous EM iteration. This GP then predicts an "affinity" score for each latent variable, indicating its relevance for a given data point. These affinities are used to define a subset of relevant latent states ($K_n$), effectively truncating the E-step to this smaller subspace. This process is interleaved with the EM algorithm: the GP is updated, then the E-step is performed on the selected subspace, followed by the M-step to update model parameters. This "black-box" approach requires no domain-specific knowledge for designing the selection function.
Datasets
The paper evaluates GP-select on several benchmark datasets and models:
- Sparse coding models: Binary sparse coding, spike-and-slab, and nonlinear spike-and-slab. These models were trained on synthetic data generated for the experiments, with specific configurations for dimensions and latent components.
- Gaussian Mixture Model (GMM): Used to visualize the learned selection function's behavior. Synthetic 2D data was generated from 3 clusters.
- Translation Invariant Occlusive (InvECA) model: Evaluated on the COIL-100 dataset, which consists of images of objects with varying occlusions and positions.
Key Insights and Ideas
- Automated Variable Selection: The most significant insight is that learning the selection function adaptively using GPs is a viable and effective alternative to manual design. This democratizes the use of efficient inference techniques.
- Flexibility of GPs: Gaussian Processes prove to be a powerful and flexible tool for learning these relevance functions, capable of capturing complex, nonlinear relationships between observed data and latent variables.
- Performance Equivalence: GP-select achieves performance comparable to, and sometimes better than, hand-crafted selection functions, even in challenging scenarios like object localization with occlusion.
- Computational Efficiency: The primary benefit is a dramatic reduction in computational cost, making inference feasible for models that were previously intractable.
- Composition Kernel Power: The "composition kernel" for GPs, which combines multiple kernel types, demonstrated strong adaptability, suggesting it's a robust choice for general use.
Key Results
- Speedup: In the InvECA model, GP-select achieved inference in 22.1 seconds on a single CPU core, compared to 1830.9 seconds for the hand-crafted function. Even with approximations like incomplete Cholesky decomposition, GP-select maintained high accuracy while offering significant speedups (e.g., 100x speedup over a non-approximated GP version).
- Accuracy: Across various experiments (sparse coding, GMM, InvECA), GP-select consistently matched or exceeded the performance of hand-crafted selection functions, often converging to ground-truth parameters.
- Model Complexity: GP-select proved effective for complex hierarchical models and demonstrated that nonlinear selection functions are crucial even for seemingly simple models like GMMs.
Limitations and Future Work
- Computational Cost of GPs: While GP-select significantly speeds up EM, GPs themselves have a cubic scaling with the number of training data points ($N$). The paper mentions approximations like incomplete Cholesky decomposition to mitigate this for large $N$.
- Hyperparameter Tuning: Although the selection function is learned, the GP's kernel hyperparameters still need to be optimized, which adds computational overhead. The paper suggests that perfect optimization isn't always necessary for good variable selection.
- Future Work: The authors highlight improving computational performance for very large-scale problems as a key area for future research. This includes exploring parallelization, GPU acceleration, sparse GP approximations, and mini-batch learning strategies for GP fitting. They also suggest that the learned selection functions could be used for other purposes beyond EM acceleration.
Summary updated