NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Discrete-Continuous Variational Optimization with Local Gradients

Jonathan H Warrell, Francesco Alesiani, Cameron Smith, Anja Mösch, Martin Renqiang MinOPT @ NeurIPS 2024

TL;DR

This paper introduces a novel method to enhance Variational Optimization (VO) by incorporating local gradient information, which is often overlooked by standard VO techniques. This augmentation allows for faster convergence and improved accuracy in optimizing complex, discontinuous, or non-differentiable objective functions, demonstrating its effectiveness on challenging problems like training genetic algorithms and adaptive neural networks.

What Problem Does This Paper Address?

Many real-world optimization problems, particularly in machine learning and scientific modeling, involve objective functions that are not smooth. These functions might have sharp jumps (discontinuities), or their gradients might be impossible or computationally expensive to calculate. Examples include optimizing parameters of simulators, dealing with mixed discrete and continuous variables, and hyperparameter tuning. Standard optimization methods struggle with such "rugged" landscapes. Variational Optimization (VO) offers a way to smooth out these difficulties by introducing a probabilistic distribution over the parameters, effectively blurring the objective function. However, even in these complex scenarios, there might be specific regions or subspaces where local gradient information is available. Standard VO methods ignore this valuable local information, potentially leading to slower convergence and less precise solutions. This paper aims to bridge this gap by developing a method that leverages both the smoothing power of VO and the efficiency of local gradients.

Methods

The core contribution is an augmented Variational Optimization (VO) objective function. The authors build upon existing "smoothing-based VO" approaches, which optimize an expectation of the objective function over a variational distribution (e.g., a Gaussian). The novelty lies in introducing a "local differentiable region selector" ($R(\theta)$). This selector identifies subspaces where the objective function is differentiable. Within these identified regions, a local optimizer (like gradient ascent) is applied to find a better parameter value. This locally optimized value is then used in the VO objective, creating an "augmented" objective that is a tighter lower bound on the true objective.

This augmented objective can be viewed as a multilevel optimization problem. The outer level uses VO to optimize the variational distribution, while the inner level uses the local optimizer to refine the parameters within the identified differentiable regions. The authors formalize this by defining an "augmented variational lower-bound" ($L_{aug}$) that incorporates the results of this local optimization. They then show how to update the variational distribution's parameters (mean and variance) using this augmented objective, similar to how it's done in standard VO, but with the improved objective function.

Datasets

The paper does not use traditional "datasets" in the sense of fixed, pre-collected data for training and evaluation. Instead, it introduces and utilizes synthetic problems designed to mimic real-world challenges:

  • Genetic Algorithm (GA) Simulator: A synthetic problem where the goal is to learn the parameters of a fitness function for a Genetic Algorithm that solves the Traveling Salesman Problem (TSP). The "training data" here is generated by running the GA simulator itself. The objective is to minimize a multilevel Wasserstein distance between the GA's output populations and ground truth.
  • Adaptive Graph Neural Network (aGNN) for Protein Liquid-Liquid Phase Separation: This problem, based on a previous work [2], involves predicting protein phase separation using a GNN. The objective function here is designed to be discontinuous due to the adaptive nature of the graph structure learning.

Key Insights and Ideas

  • Leveraging Local Gradients for Smoothed Objectives: The most significant insight is that even when an overall objective is non-differentiable or discontinuous, local regions of differentiability can be exploited to accelerate optimization. This is a powerful idea for tackling complex, real-world problems.
  • VO as a Multilevel Optimization Framework: The paper elegantly frames the augmented VO approach as a form of multilevel optimization. This perspective provides a deeper understanding of the method's structure and potential connections to other optimization techniques.
  • Tighter Bounds for Improved Optimization: By incorporating local optimization results, the augmented VO objective provides a tighter lower bound on the true objective. This tighter bound directly leads to more accurate solutions and faster convergence.
  • General Applicability: The method is demonstrated on two distinct and challenging problems (GA simulation and aGNN), showcasing its versatility across different domains and types of objective functions.

Key Results

The paper demonstrates the effectiveness of their augmented VO approach through experimental comparisons:

  • Genetic Algorithm (GA) Optimization: The proposed Variational Optimization method achieved significantly better results than the SPSA (Simultaneous Perturbation Stochastic Approximation) method. Specifically, it yielded lower 2-level Wasserstein distances (0.136 ± 0.0607 vs. 0.213 ± 0.0211) and lower Euclidean distances for the TSP solution, indicating more accurate parameter learning for the GA's fitness function.
  • Adaptive Graph Neural Network (aGNN) Optimization: For the aGNN problem, the VO approach achieved a higher AUC (Area Under the Curve) score (0.726 ± 0.022) compared to SGD (Stochastic Gradient Descent) (0.671 ± 0.03) on the test set, suggesting better predictive performance. The paper notes that SPSA was not advantageous for the aGNN problem due to its higher dimensionality.

Limitations and Future Work

  • Defining Local Differentiable Regions: A key challenge, acknowledged by the authors, is the practical implementation of the "local differentiable region selector" ($R(\theta)$). Identifying these regions and the corresponding local optimizer can be problem-specific and may require domain knowledge or additional heuristics.
  • Computational Cost: While the method aims for efficiency, the introduction of a local optimizer within the VO framework could potentially increase computational cost per iteration, especially if the local optimization is complex or requires many steps.
  • Future Directions:
    • Biological Applications: The authors are particularly interested in applying this method to inferring biological evolutionary processes, such as phylogenetics and cancer genomics, where objectives are often discontinuous.
  • Discrete Structure Learning: Investigating applications in learning discrete structures, like graph inference for energy-based models.
  • Integration with Branch-and-Bound: Exploring the combination of their VO approach with branch-and-bound methods, which also deal with discrete and continuous optimization.
  • Implicit Gradients: Investigating the integration of implicit gradient methods to handle multilevel optimization problems more effectively.

Summary updated

BibTeX
@inproceedings{warrell2024discrete,
  author = {Jonathan H Warrell and Francesco Alesiani and Cameron Smith and Anja Mösch and Martin Renqiang Min},
  title = {{Discrete-Continuous Variational Optimization with Local Gradients}},
  booktitle = {OPT @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=MjwQc0jkF3},
}
Figure