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

An interacting particle consensus method for constrained global optimization

José A. Carrillo, Shi Jin, Haoyu Zhang, Yuhua Zhu · DOI

Abstract

This paper presents a particle-based optimization method designed for addressing minimization problems with equality constraints, particularly in cases where the loss function exhibits non-differentiability or non-convexity. The proposed method combines components from consensus-based optimization algorithm with a newly introduced forcing term directed at the constraint set. A rigorous mean-field limit of the particle system is derived, and the convergence of the mean-field limit to the constrained minimizer is established. Additionally, we introduce a stable discretized algorithm and conduct various numerical experiments to demonstrate the performance of the proposed method.

Introduction

Global optimization is a cornerstone of modern computational science, yet it remains notoriously difficult when the objective function is "ugly"—characterized by non-convexity (multiple local minima) or non-differentiability. The challenge intensifies when equality constraints are introduced, requiring the solution to lie on a specific manifold or curve.

Traditional approaches like Lagrange Multipliers or the Alternating Direction Method of Multipliers (ADMM) frequently struggle with local minima in non-convex landscapes. While Consensus-Based Optimization (CBO) has emerged as a powerful gradient-free swarm intelligence framework for unconstrained problems, existing adaptations for constrained optimization often rely on complex projections or penalty functions. Projection-based methods can be mathematically intractable for intricate geometries, while penalty methods often distort the objective function, leading to numerical instability and reduced accuracy. This research proposes a middle ground: a robust, particle-based framework that is easy to implement for complex constraints while maintaining the global search efficacy of CBO.

The Proposed Method

The core of the proposed method is an interacting particle system where the movement of each particle is governed by three distinct forces:

  1. Consensus Drift: Particles are pulled toward a "consensus point"—a weighted average of the entire swarm where the objective function value is lowest. This mechanism is rooted in the Laplace Principle, which connects the global minimum of a function to a Gibbs distribution.
  2. Anisotropic Diffusion: This component introduces random noise, enabling particles to explore the search space effectively. The anisotropic nature of the noise is specifically designed to mitigate the "curse of dimensionality."
  3. Constraint Forcing Term: This is the primary innovation. Rather than projecting particles onto the constraint set, the algorithm applies a gradient descent step on an auxiliary function representing the sum of squared constraints. This acts as a gravitational pull, steering particles toward the feasible region.

The authors provide a rigorous theoretical foundation by deriving the mean-field limit—describing the swarm's behavior as the number of particles approaches infinity—and proving that this system converges to the true constrained global minimizer. To ensure practical utility, they also introduce a stable discretization scheme that handles the potentially "stiff" constraint forcing term using a semi-implicit update, allowing for larger, more efficient time steps.

Experimental Evaluation

The method's performance was evaluated using high-dimensional benchmark functions and complex geometric constraints. A key test case is the Ackley Function, a classic non-convex benchmark known for its treacherous landscape of local minima.

The Ackley function, a standard non-convex benchmark with numerous local minima used to test the algorithm's global search capabilities.

Beyond standard benchmarks, the researchers applied the algorithm to Thomson’s Problem, a physics-based challenge of finding the minimum energy configuration of electrons on a sphere. They also tested various manifold constraints, including circles, parabolic curves, and high-dimensional spheres.

Key Results and Insights

The proposed method demonstrated significant advantages over traditional CBO variants:

  • Robustness and Accuracy: On the 2D Ackley function with circular and parabolic constraints, the method achieved a 100% success rate in finding the global minimizer, significantly outperforming Penalized CBO.
  • Scalability: The algorithm successfully tackled Thomson’s problem with up to 1,410 variables and 470 constraints, maintaining a success rate above 90% in these high-dimensional settings.
  • Superior Convergence: Comparative analysis shows that the "forcing term" approach reaches the minimizer faster and with greater stability than projection-based methods, particularly when the constraint geometry is complex.
Comparison of convergence rates for the proposed method versus projected and penalized CBO variants on a sphere-constrained problem where the constrained minimizer differs from the unconstrained one.

A critical insight from this work is the balance of forces. The method is "hybrid" in the sense that it is gradient-free regarding the objective function (which may be non-differentiable) but utilizes the gradient of the constraints. Since constraints are often defined by known physical or geometric equations, their gradients are typically easy to compute. Unlike penalty methods, which require parameters to approach infinity—often causing numerical breakdown—this approach enforces constraints through the dynamics themselves.

Conclusion and Future Work

This paper introduces a versatile and theoretically grounded framework for constrained global optimization. By replacing rigid projections or unstable penalties with a dynamic forcing term, the authors have created a method that is both robust and scalable.

Future research will focus on extending this framework to handle inequality constraints, which would significantly broaden its applicability to industrial and engineering problems. Additionally, addressing potential traps where the constraint function itself has local minima remains an area for further refinement.

Summary updated

BibTeX
@misc{carrillo2024interacting,
  author = {José A. Carrillo and Shi Jin and Haoyu Zhang and Yuhua Zhu},
  title = {{An interacting particle consensus method for constrained global optimization}},
  year = {2024},
  eprint = {2405.00891},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.00891},
}
Figure