TL;DR
When optimizing physical designs, neural network activations, or robot policies, we usually chop continuous curves into a handful of fixed parameters—inadvertently throwing away the best, most creative solutions before we even start. This paper introduces $L^0$ Manifold Optimization (L0MO), a way to run Bayesian Optimization directly over infinite-dimensional function spaces without getting lost in the mathematical void. By dynamically placing where basis functions live alongside how much they weigh, L0MO finds clean, sparse, high-performing functions across everything from classical physics puzzles to robotic control.
What Problem Does This Paper Address?
Bayesian Optimization (BO) is the gold standard for minimizing expensive black-box functions—like tuning hyperparameters or testing material recipes—when you only have a small budget of evaluations. Classically, BO expects a finite list of numbers (say, 10 or 20 parameters).
Frequently, though, what we really want to optimize is a continuous function: the aerodynamic profile of an airplane wing, a robot's joint trajectory over time, or a custom activation function. To make standard BO work, domain experts manually discretize these curves into fixed parameterizations. Unfortunately, that locks the optimizer into a human-conceived box, ruling out radically different functional shapes.
Functional Bayesian Optimization (FBO) tries to search the infinite-dimensional function space directly. Previous attempts either restricted the search to random fixed subspaces or tried to take gradient steps in function space—which caused candidate functions to accumulate messy basis points from every past observation, requiring clumsy post-hoc pruning (like solving an integer program by rounding a continuous relaxation).
Methods
The authors model candidate functions inside a Reproducing Kernel Hilbert Space (RKHS)—essentially building curves as weighted sums of smooth kernel "bumps": $u(\cdot) = \sum_{i=1}^m \alpha_i k(\cdot, x_i)$.
While standard FBO methods fix the bump locations ($x_i$) and only tune the heights ($\alpha_i$), L0MO directly searches the set of functions with at most $m$ bumps (sparse $L^0$ representations) by jointly optimizing both the coefficients $\alpha_i$ and the support locations $x_i$.
Key technical ingredients include:
- Stratified Manifolds: Rather than a flat linear subspace, functions with at most $m$ movable kernels form nested, connected manifolds ($\mathcal{M}^1 \subset \mathcal{M}^2 \subset \dots$). Because $x_i$ can slide continuously, standard finite-dimensional optimizers (like multi-start L-BFGS-B) can navigate this space smoothly.
- Pullback Natural Gradients: Taking a step in parameter space $(\alpha, x)$ doesn't map evenly to actual change in function shape. The authors derive the pullback metric tensor via automatic differentiation so the optimizer respects the true geometry of the function space.
- Bounded Parameterization: To easily enforce physical limits (like maximum robot torque), L0MO optionally parameterizes candidates by their target values $y_i \in [y_{\min}, y_{\max}]$ at the support points and solves a tiny regularized linear system to get $\alpha$.
Datasets
Because FBO lacks standard testbeds, the authors built an open-source JAX library featuring 48+ functional benchmarks alongside several physical and machine learning tasks:
- Toy Projections: Approximating a multi-dimensional
sincfunction in $d \in \{1, \dots, 5\}$ dimensions. - Functional Ridge Benchmarks (New): A systematic way to lift classic scalar BO benchmarks (GramacyLee, Ackley, Hartmann, Rosenbrock, Michalewicz) into infinite dimensions by integrating candidate functions against random trigonometric weight functions.
- Physics & ML: The classical Brachistochrone problem (finding the fastest-descent curve under gravity) and learning an offset to the ReLU activation function for an MLP trained on MNIST.
- Robotics Control: Optimizing torque policies for OpenAI Gym's Pendulum, plus desired joint trajectories for two hybrid, contact-rich tasks with discontinuous gradients: a robotic arm spinning a Pinwheel and a single-leg Hopper maximizing jump height.
Key Insights and Ideas
- Unifying Prior FBO Work: The authors prove mathematically that a prominent prior "direct functional gradient descent" method (Vien et al.) is actually just natural gradient descent in a finite-dimensional parameter space with frozen support points.
- Sparsity in Function Space is Connected: For standard vectors, $\ell^0$ sparsity constraints create disconnected coordinate axes (a combinatorial nightmare). In an RKHS, because kernel locations $x_i$ move continuously, any two $m$-sparse functions are connected by a continuous path—making gradient-based search surprisingly practical.
- Optimize Sparse Directly, Don't Prune Later: Keeping candidates strictly $m$-sparse during acquisition optimization avoids the mismatch of finding a dense optimum andcompressing it afterward.
Key Results
Across 110 evaluations (10 initial designs + 100 acquisitions, growing $m$ from 1 to 10), L0MO achieves the best or tied-best median performance on the vast majority of benchmarks:
- Ridge Benchmarks: L0MO sweeps all five problems, crushing competitors on Rosenbrock (final median regret of 0.20 vs. 4.42 for the next best method, Shilton) and Ackley (0.09 vs. 1.15).
- Robotics Control: L0MO achieves the best performance on all three control tasks, including Pinwheel (final regret 0.12 vs. 1.23 random / 1.47 Kundu) and Hopper (reaching a jump height of 2.96m vs. 2.53m for the closest competitor).
- Physics & MNIST: On MNIST, L0MO discovers a smooth negative dip near zero (resembling GELU/SiLU) reaching 2.06% test error. On Brachistochrone, L0MO has the best average regret (4.71), closely approximating the analytical cycloid curve, though Shilton edges it out on final regret (0.87 vs. 1.02).
Limitations and Future Work
- No Global Guarantees: Jointly optimizing $(\alpha, x)$ creates a highly non-convex acquisition landscape; multi-start L-BFGS-B works well empirically, but isn't guaranteed to find the global optimum.
- Dense Optima: When the true optimal function is globally smooth and non-sparse (like the Brachistochrone cycloid), methods using dense GP samples can refine the solution slightly better late in the run.
- Computational Scaling: Like standard GP-based BO, kernel matrix costs grow quadratically with observations and support points, restricting L0MO to moderate evaluation budgets.
- Future Directions: The authors suggest making the sparsity schedule $m$ data-adaptive rather than fixed, warm-starting acquisition searches from previous candidates, and designing custom parameterizations to enforce shape priors like monotonicity or periodicity.
Summary updated