Path Integral Optimiser: Global Optimisation via Neural Schrödinger-Föllmer Diffusion

Max McGuinness, Eirik Fladmark, Francisco Vargas

TL;DR

This paper introduces the Path Integral Optimiser (PIO), which reframes global non-convex optimization as a sampling problem over a Boltzmann distribution solved via neural Schrödinger–Föllmer diffusion. By learning the diffusion drift with a neural network (a Fourier MLP), PIO provides rigorous theoretical convergence guarantees and performs well on low-to-medium-dimensional tasks, though it faces severe scaling hurdles as parameter dimensions grow into the tens of thousands.

What Problem Does This Paper Address?

Standard deep learning relies heavily on gradient-based optimizers like SGD, Adam, and Adagrad. While scalable, these algorithms often neglect higher-order geometry and offer weak global convergence guarantees in rugged, non-convex loss landscapes.

Diffusion models and Schrödinger bridges excel at sampling complex, multi-modal distributions, but using them for optimization has historically relied on Monte Carlo estimations that suffer from the curse of dimensionality and severe variance issues. This paper explores whether neural diffusion processes—specifically adapting the Path Integral Sampler (PIS)—can serve as practical, theoretical optimizers for machine learning.

Methods

  • Optimization as Sampling: Optimization of a loss function $V(\phi)$ is recast as sampling from a Boltzmann density $\mathbb{P}(\phi) \propto \exp(-V(\phi)/\sigma)$. As the temperature parameter $\sigma \to 0$, probability mass concentrates entirely on the global minima.
  • Schrödinger–Föllmer Process (SFP): PIO models a finite-horizon diffusion process from a Dirac delta prior $\delta_0$ to target $\mathbb{P}$ while minimizing KL divergence to a Wiener path measure.
  • Neural Drift Approximation: Instead of Monte Carlo integration, the intractable drift term is parameterized using a time-conditioned Fourier Multi-Layer Perceptron (PIS-NN), trained with Adam on the stochastic control path integral loss.
  • PIO-Grad Variant: Adapts the PIS-Grad architecture, injecting score guidance ($\nabla \log \mathbb{P}$) directly into the drift at each step rather than relying entirely on a pure feedforward network.
  • Annealing Routine: The temperature $\sigma$ is decayed logarithmically alongside learning rate step-downs to sharpen the target distribution into global minima.

Datasets

The authors evaluate PIO and its variants against classical optimizers across synthetic and standard ML benchmark datasets:

  • Carrillo Benchmark: A non-convex synthetic 2D optimization landscape ($|\theta| = 2$).
  • Two Moons (Scikit-Learn): Binary classification toy benchmark using an MLP ($|\theta| = 41$).
  • Circles (Scikit-Learn): Synthetic classification dataset ($|\theta| = 64$).
  • Breast Cancer (UCI): Diagnostic classification dataset ($|\theta| = 171$).
  • Covertype (UCI): Multi-class forest cover type prediction dataset ($|\theta| = 1,247$).
  • MNIST: Handwritten digit classification with an MLP ($|\theta| \approx 15,900$).

No new datasets were introduced.

Key Insights and Ideas

  • Convergence via Tripartite Bound: The authors prove (Theorem T4.6 / Corollary T4.7) that the gap to a $\tau$-global minimum decomposes cleanly into three manageable terms:
  • Boltzmann gap (controlled exponentially by temperature $\sigma$).
  • Neural approximation error $\hat{\epsilon}$ (controlled by network capacity).
  • Euler–Maruyama discretization error (controlled by step count $T$).
  • Logarithmic Temperature Decay: To achieve global optimization with probability at least $1 - \sqrt{\delta}$, the temperature parameter must scale as $\sigma \le \mathcal{O}\left(\frac{\tau - \epsilon}{\ln(1/\delta)}\right)$.
  • Free Ensembles: Because PIO trains a stochastic generator rather than a single point parameter vector, sampling multiple terminal trajectory endpoints yields an ensemble of varied model parameters essentially for free.

Key Results

  • Low Dimensions ($d \le 1,247$):
  • On the 2D Carrillo function (Table 1, 64/64 sweep), PIO achieves a lower minimum test loss ($0.404 \pm 0.417$) than Adam ($0.498$), SGD ($0.553$), or Adagrad ($0.647$).
  • On Moons (41 parameters), PIO achieves competitive loss ($0.032 \pm 0.049$) close to Adam ($0.022 \pm 0.010$).
  • In full-batch testing with PIO-Grad (Table 2), it tops performance on Covertype (1,247 parameters) with 81.3% test accuracy, outperforming Adam (77.2%), AdamW (76.6%), and SGD (76.9%).
  • High Dimensions ($d \approx 15.9\text{k}$):
  • On MNIST, PIO completely breaks down, stagnating at a test loss of $\approx 2.42$–$2.46$ (predicting the same class "6" for every digit), whereas standard baselines hit $0.34$–$0.42$.

Limitations and Future Work

  • Dimensional Scalability: The standard neural drift model fails to explore effectively when parameter spaces reach tens of thousands of dimensions (e.g., stuck in initial local minima on MNIST).
  • Computational Cost: Simulating full multi-step SDE trajectories per optimization update makes PIO significantly slower than standard gradient descent; the gradient-guided version (PIO-Grad) is roughly $10\times$ more compute-intensive than vanilla PIO.
  • Future Directions: Scaling drift networks to larger hypernetworks, pre-training the diffusion drift to known parameter priors, trajectory ensembling, and parallelizing SDE trajectory rollouts.

Summary updated

BibTeX
@inproceedings{mcguinness2024path,
  author = {Max McGuinness and Eirik Fladmark and Francisco Vargas},
  title = {{Path Integral Optimiser: Global Optimisation via Neural Schrödinger-Föllmer Diffusion}},
  booktitle = {OPT @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=c6ewu0sufB},
}
Figure