Abstract
MirrorCBO is a novel gradient-free optimization framework that merges the global search capabilities of Consensus-Based Optimization (CBO) with the geometric flexibility of mirror descent. By evolving a swarm of particles in a "dual space" and mapping them to a "primal space" through a mirror map, the algorithm effectively navigates complex constraints and structural requirements, such as sparsity, which often pose significant challenges for standard global optimizers.
Introduction
Optimizing non-convex and non-differentiable functions globally is a formidable task, particularly when solutions must adhere to specific constraints (e.g., manifold constraints) or exhibit particular structures (e.g., sparsity). While Consensus-Based Optimization (CBO) offers a robust gradient-free approach for global search in Euclidean spaces, it lacks inherent mechanisms to handle non-Euclidean geometries. Conversely, Mirror Descent excels at constrained optimization by leveraging the geometry of the problem but typically relies on gradient information, limiting its use in "black-box" or non-smooth scenarios.
MirrorCBO bridges this gap, providing a method that inherits the gradient-free global search of CBO and the geometric adaptability of Mirror Descent.
Methodology: The Primal-Dual Dance
The fundamental innovation of MirrorCBO lies in its dual-space dynamics. Instead of moving directly in the primal space where the objective function is defined, the particle swarm evolves in a dual space.
The algorithm follows a four-step cycle:
- Dual Space Dynamics: Particles $y_k^{(i)}$ evolve in the dual space according to a stochastic differential equation (SDE) that incorporates drift and diffusion.
- The Mirror Map: To evaluate the objective function, dual particles are mapped to the Primal Space using the gradient of a convex conjugate function, $x_k^{(i)} = \nabla \phi^*(y_k^{(i)})$.
- Consensus in Primal Space: A "consensus point" $m_\alpha$ is calculated as a weighted average of the primal positions, where weights are determined by the objective function values (Gibbs distribution).
- Feedback: The dual particles are then pulled toward this primal consensus point, effectively guiding the swarm toward the global minimum while respecting the underlying geometry defined by the distance-generating function $\phi$.
By selecting appropriate functions for $\phi$, MirrorCBO can be tailored to specific domains. For instance, a log-entropy function naturally enforces simplex constraints, while an elastic net function promotes sparsity.
Experimental Evaluation
The authors validated MirrorCBO across several challenging benchmarks:
- Sparse Deconvolution: In tasks aimed at recovering sparse signals from noisy measurements, MirrorCBO achieved a 90% success rate. In contrast, standard CBO failed completely (0% success) as it could not effectively navigate the sparse axes.
- Neural Network Pruning: Applied to the MNIST dataset, MirrorCBO trained a sparse neural network reaching 71.2% sparsity with 86.4% accuracy. This demonstrates the method's potential for "green AI" by performing model pruning during the training phase without gradients.
- Manifold Optimization: MirrorCBO was tested on functions constrained to spheres, hyperplanes, and Stiefel manifolds. It matched the performance of specialized state-of-the-art manifold optimizers while maintaining a simpler algorithmic structure by using projections as mirror maps.
Key Insights
- Geometry-Awareness: MirrorCBO "feels" constraints. While dual particles move freely, the mirror map ensures primal counterparts remain within the feasible region (e.g., the unit simplex).
- Natural Sparsity: Using $L_1$-promoting mirror maps leads to "exact regularization," where primal particles are "glued" to axes, producing truly sparse solutions.
- The "Lazy" Advantage: MirrorCBO adopts the "lazy" mirror descent (Nesterov’s dual averaging) philosophy, which enhances numerical stability and simplifies analysis compared to "active" versions.
Limitations and Future Work
Despite its strengths, MirrorCBO faces challenges common to particle-based methods, such as sensitivity to the "inverse temperature" parameter $\alpha$. Improper tuning can lead to either lack of convergence or premature swarm collapse. Additionally, while the method performs well on non-convex manifolds, rigorous convergence proofs currently exist primarily for strongly convex mirror maps. Future research aims to bridge these theoretical gaps and explore more complex preconditioning strategies within the CBO framework.
Summary updated