Abstract
Gradient-based optimization and Markov Chain Monte Carlo (MCMC) sampling are fundamental to modern machine learning. However, in high-dimensional settings, these methods often suffer from slow mixing and inefficient convergence due to complex parameter landscapes. AdaGeo is a framework designed to mitigate these issues by "learning" the hidden, low-dimensional shape of a high-dimensional parameter space. By utilizing Gaussian Process Latent Variable Models (GP-LVM), AdaGeo automatically discovers a Riemannian manifold for the parameters, enabling algorithms to take more efficient steps toward convergence.
Introduction
In machine learning, we frequently navigate high-dimensional landscapes, whether optimizing neural network weights or sampling from complex posterior distributions. These landscapes are rarely "flat"; they are often plagued by non-convexity, multimodality, and strong correlations between parameters. Standard tools like Stochastic Gradient Descent (SGD) or Langevin Dynamics often struggle in these environments, leading to inefficient "zig-zagging" or stagnation.
While preconditioning—scaling steps for different variables—can help, finding the optimal preconditioner typically requires deep domain knowledge or complex analytical derivations, such as calculating the Fisher Information Matrix. AdaGeo addresses this by asking: Can we learn the underlying geometry of the parameter space on the fly and use it to guide our updates?
The AdaGeo Framework
AdaGeo treats the history of an optimization or sampling process as data to be modeled. The framework consists of three core components:
- Dimensionality Reduction via GP-LVM: The algorithm uses a Gaussian Process Latent Variable Model to map high-dimensional parameters ($\theta$) into a much lower-dimensional latent space ($\Omega$). This approach assumes that while the parameter space is vast, the significant dynamics occur on a lower-dimensional manifold.
- Learning the Manifold: Because Gaussian Processes provide smooth and differentiable mappings, the Jacobian (the matrix of first-order partial derivatives) can be computed analytically. This Jacobian serves as a bridge between the latent and original spaces.
- Adaptive Preconditioning:
- AdaGeo-SGD: The algorithm alternates between standard SGD steps and "latent" steps. It trains the GP-LVM on recent samples, performs updates in the latent space to exploit its simpler structure, and then maps the results back to the original parameter space.
- AdaGeo-Sampling: The framework uses the GP-LVM to recover a Riemannian metric tensor. This provides a "local map" of the space, allowing the sampler to adjust its step size and direction based on local curvature without requiring a manually derived geometric formula.
Experimental Evaluation
The authors evaluated AdaGeo across three distinct tasks to demonstrate its versatility in both optimization and sampling.
High-dimensional Sampling
On a synthetic 50-dimensional "Banana" distribution—where only two dimensions have a complex shape and 48 are Gaussian noise—standard samplers often struggle to distinguish signal from noise. AdaGeo-SGLD successfully identified the 2D manifold, providing significantly better coverage of the distribution with fewer samples compared to traditional Metropolis-Hastings (MH) samplers.
Neural Network Optimization
Using the MNIST dataset, the authors trained a logistic regression model (7,850 weights). AdaGeo-SGD demonstrated superior efficiency, reaching a local optimum nearly two epochs faster than vanilla SGD. This highlights the framework's ability to find more direct paths to convergence in high-dimensional weight spaces.
Hyperparameter Optimization
When optimizing nine hyperparameters for a complex Gaussian Process model on the Concrete Compressive Strength dataset, AdaGeo-Gradient Descent significantly outperformed standard Gradient Descent, achieving lower negative log-likelihood values in fewer iterations.
Key Insights and Future Work
AdaGeo shifts the paradigm from defining geometry to discovering it. Traditional Riemannian methods require analytical metric tensors (like Fisher Information), whereas AdaGeo discovers this metric empirically from the optimizer's path. A critical practical insight is the use of alternating phases: standard updates explore the space, while AdaGeo updates exploit the learned geometry.
Despite its success, the framework faces challenges. Training a GP-LVM introduces computational overhead, and the selection of latent dimensionality currently remains empirical. Future research may focus on automating latent dimension selection and integrating AdaGeo with more advanced algorithms like Hamiltonian Monte Carlo (HMC) or Variational Inference.
Summary updated