Source-linked AI summary

A consensus-based global optimization method for high dimensional machine learning problems

José A. Carrillo, Shi Jin, Lei Li, Yuhua Zhu

arXiv:1909.09249v2math.OC

TL;DR

The paper addresses limitations of gradient-based optimization for noisy, non-differentiable, multimodal, and high-dimensional problems. It modifies consensus-based optimization with component-wise geometric Brownian motion and random mini-batches, then analyzes its mean-field limits. The resulting convergence guarantees are exponential with parameter constraints independent of dimensionality, while numerical tests report high-dimensional performance and improved success rates.

  • Problem

    Gradient-based methods can struggle with noisy, non-differentiable, multimodal, and high-dimensional machine-learning objectives, motivating improved gradient-free optimization.

  • Method

    The method replaces isotropic geometric Brownian motion with a component-wise version and uses random mini-batches to reduce weighted-average computation.

  • Results

    The mean-field convergence guarantees are exponential in time with parameter constraints independent of dimensionality; on MNIST, a 7290-dimensional problem reached 82% accuracy using 100 particles.

  • Takeaways & Limitations

    The modified consensus-based optimizer is more feasible for high-dimensional problems and has a higher Rastrigin global-minimum success rate than the practical original implementation.

  • Takeaways & Limitations

    The approximation depends on β and initialization: performance can be poor when the initial particles rarely approach the minimizer.

Abstract

from arXiv · show

We improve recently introduced consensus-based optimization method, proposed in [R. Pinnau, C. Totzeck, O. Tse and S. Martin, Math. Models Methods Appl. Sci., 27(01):183--204, 2017], which is a gradient-free optimization method for general non-convex functions. We first replace the isotropic geometric Brownian motion by the component-wise one, thus removing the dimensionality dependence of the drift rate, making the method more competitive for high dimensional optimization problems. Secondly, we utilize the random mini-batch ideas to reduce the computational cost of calculating the weighted average which the individual particles tend to relax toward. For its mean-field limit--a nonlinear Fokker-Planck equation--we prove, in both time continuous and semi-discrete settings, that the convergence of the method, which is exponential in time, is guaranteed with parameter constraints {\it independent} of the dimensionality. We also conduct numerical tests to high dimensional problems to check the success rate of the method.

1 Introduction

The paper develops a gradient-free consensus-based optimization method for non-convex, high-dimensional problems. It replaces dimension-sensitive diffusion with component-wise noise and adds random mini-batches to reduce computation while preserving exponential convergence guarantees.

  • Motivation: Gradient-free optimization is motivated by noisy, non-differentiable, multi-modal, and discrete or mixed discrete-continuous objectives that challenge gradient-based methods.Deep networks can also exhibit exploding or vanishing gradients as depth increases.
  • Existing method: Consensus-based optimization uses interacting particles that relax toward a weighted average while undergoing multiplicative fluctuation.The weighted average is formed from particle positions using Gibbs-type weights based on the objective.
  • Existing method: For a unique minimizer, the normalized Gibbs measure concentrates near the global minimum as β becomes large, so its first moment estimates the optimizer.The method is reported to converge exponentially in time, but the original drift-rate condition depends on dimension.
  • Contributions: The paper replaces isotropic Brownian noise with component-wise noise and proves dimension-independent constraints on the drift rate for the mean-field model.The result is established in both continuous-time and semi-discrete settings.
  • Contributions: Random mini-batches reduce weighted-average computation from O(N) to O(1), or from O(nN) to O(1) for data-dependent objectives.The random selection also introduces stochasticity that can help particles escape local equilibrium.

2 A new Consensus Based Optimization Method

The new method combines component-wise geometric Brownian motion with random batching. These choices remove dimensionality dependence from concentration conditions and make weighted-average updates more computationally efficient, while retaining tunable stochastic exploration.

  • Component-wise diffusion: Component-wise geometric Brownian motion changes the consensus condition to 2λ > σ^2, independent of dimension.The corresponding particle concentration restriction is described as dimension-insensitive.
  • Component-wise diffusion: The modified model omits the Heaviside cutoff and replaces the original noise with component-wise geometric Brownian motion.The weighted consensus point remains the same as the paper’s earlier definition.
  • Random batching: Random batching addresses the high cost of recomputing the weighted average at every time step, especially for big-data objectives.The strategy uses subsets of particles and, for machine-learning losses, subsets of training data.
  • Stochasticity and exploration: Mini-batch stochasticity can accelerate convergence to the optimizer, while additional geometric Brownian noise may be unnecessary for some machine-learning problems.For other optimization problems, the geometric Brownian noise may help avoid local minima.
  • Variants and caveats: An alternative consensus update performed as well numerically as the penalized average, but its theoretical proof is left for future work.The paper also notes that some parameter choices require numerical stability conditions.

3 Analysis of the mean-field limit models

The paper analyzes continuous and semi-discrete mean-field limits of the consensus-based optimization method, proving exponential concentration under parameter conditions and examining how the optimizer approximation depends on β and initialization. The analysis also identifies restrictive assumptions and an unresolved difficulty for fully discretized schemes.

  • Mean-field formulation: The mean-field analysis uses nonlinear stochastic differential and Fokker–Planck models because directly analyzing the interacting particle system is difficult.The rigorous mean-field limit itself remains open because of the multiplicative noise term.
  • Time-continuous model: Under suitable assumptions on β, λ, σ, and the initial distribution, the continuous model’s variance and optimizer estimate converge exponentially fast.The theorem states that V(t) → 0 and that both the weighted average and EX converge exponentially to a limiting point.
  • Time-continuous model: The limiting point approximates the global minimum through the Laplace principle, with approximation quality improving as β increases.The paper denotes the residual approximation quality by r(β), which tends to zero as β → ∞, while also noting dimension-dependent error terms.
  • Limitations: The approximation can be poor when the initial distribution places little probability near the minimizer, and fully discretized analysis is left for future work.The proof assumptions are described as restrictive, and controlling the first term in the discrete case remains difficult.
  • Dimension dependence: The component-wise geometric Brownian motion removes dimensionality dependence from the convergence parameter constraints, making the method more suitable for high-dimensional optimization.The paper states that the convergence-rate result is dimension-independent, although one error term has linear dependence on d.
  • Semi-discrete model: The semi-discrete model admits convergence results with less restrictive parameter choices, but boundedness of the reference sequence and an additional condition remain assumed.Under these conditions, the law of X converges weakly to a Dirac measure after the variance diminishes to zero.

4 Numerical Performance

The numerical experiments evaluate the method against SGD, test Rastrigin optimization in dimension 20, and assess parameter and computational choices on MNIST. Results show strong global-minimum performance, substantial mini-batch savings, and competitive accuracy with SGD in some settings.

  • Comparison with stochastic gradient descent (SGD) method: The method significantly outperforms SGD on a multimodal test function, although its computational time is slightly longer.The experiment uses 20 interacting particles per step, reducing the interaction cost.
  • The Rastrigin function in d = 20: On the Rastrigin experiments, the method performs better and more efficiently in finding the global minimizer, despite a violated convergence condition.The reported success rate worsens for N = 200, while larger N is generally better but more computationally expensive.
  • Experiments on MNIST data sets: Using an estimated objective with batch size m = 50 saves 99.5% of objective-calculation cost and improves accuracy more than the full batch.The paper reports this comparison for the MNIST neural-network experiment.
  • Experiments on MNIST data sets: Using M = 10 interacting particles saves 40% of computing time relative to M = 100, while larger M improves overall performance.The paper also reports good accuracy with 100 total particles and 10 interacting particles per step.
  • Experiments on MNIST data sets: Larger β accelerates convergence and improves accuracy faster, but excessively large β can make the weighted average numerically infinite.The paper also reports similar performance with or without the diffusion term in the MNIST setting.
  • Experiments on MNIST data sets: With equal computational cost, 1000 particles are slightly better than the best of 1000 SGD simulations, while N = 10^4 reaches around 90% test accuracy.The authors conclude that comparable accuracy with SGD is possible in some settings.

5 Conclusion

The paper improves a gradient-free optimization method for high-dimensional problems and reports stronger empirical performance in selected tests. It also identifies unresolved theoretical and parameter-selection questions.

  • Contributions: The improved method targets high-dimensional optimization through component-wise geometric Brownian motion, with convergence parameters independent of dimensionality.The paper also reports a 7290-dimensional MNIST problem reaching 82% accuracy with 100 particles.
  • Comparisons: The conclusion compares the new CBO algorithm with its variants and with SGD.
  • Numerical performance: The method has a significantly higher success rate on the Rastrigin function than the practical implementation of the original method.
  • Open problems: The theoretical analysis does not yet include the effects of random batches on particles or data sets.Their effect on finding the global minimum is left for future study.
  • Open problems: Stability conditions and criteria for choosing M, N, β, σ, and γ remain unresolved.

A Proof of Theorem 3.1

The proof establishes convergence properties by controlling moments and variance through Itô-calculus estimates and auxiliary inequalities. These bounds yield exponential concentration and convergence of the mean-field dynamics.

  • Moment estimates: The proof introduces auxiliary quantities and inequalities to control the evolution of the mean and variance.The argument proceeds through lemmas and differential inequalities before applying the resulting estimates.
  • Moment estimates: Itô-calculus estimates derive differential relations for the process variance and second moments.The proof uses identities involving d|X−EX|^2 and Jensen’s inequality.
  • Global validity: The proof establishes global-in-time validity by ruling out a finite stopping time through contradiction.
  • Convergence: The mean converges to a limiting point with exponential rate while the variance tends to zero.
  • Convergence: The limiting cost is identified through convergence of the weighted moment to e^−βL(˜x).

B Proof of Proposition 3.1

The proposition proof controls the discrete-time mean and variance using boundedness and stability estimates. Under the stated condition on γ, the variance vanishes and the mean approaches the global minimizer.

  • Boundedness: The discrete-time mean remains bounded when the relevant weighted minimizers are bounded.
  • Boundedness: A compact set can be obtained from uniform bounds on the discrete-time mean and variance.
  • Convergence: If γ satisfies condition (3.9), the discrete-time variance tends to zero and the mean approaches x∗.
  • Probability control: The proof uses Chebyshev’s inequality to control the probability outside a sufficiently large region.
  • Proof structure: The discrete-time estimates are obtained by applying arguments analogous to the continuous-time case.
Loading 1909.09249v2…