arXiv:2608.22862cs.NEAug 2026

Manuscript Offprint

arXiv:2608.22862

JANUS: Online Jacobian-Aligned Infill for Black-Box Optimization

Hongyuan Yu, Pufan Xu, Jiaojiao Yi, Yiding Tian, Mingrui Sun, Jiayuan Lu, Changyuan Wen

ABSTRACT

Population optimizers such as CMA-ES, DE, and multi-objective evolutionary algorithms drive search mainly through selection signals that are scalar or rank based: such a signal indicates that one candidate outperforms another, but not the local direction responsible for the improvement. JANUS (Jacobian-Aligned Newton-Unified Search) is a plug-and-play infill module that extracts this missing local geometric signal without replacing the host optimizer. It estimates a local Jacobian from the recent evaluation trace; the same Jacobian yields both a damped Gauss–Newton exploitation candidate and a trace-preserving exploration metric, reserving a fraction of the host’s per-generation candidate slots for geometry-guided infill rather than spending evaluations on top of the host’s budget. Unlike MetaBBO methods, JANUS needs no offline training or task distribution, estimating this geometry on the fly from the current run alone, while the host keeps full control of selection, survival, covariance adaptation, and step-size control. Under same-protocol comparisons, JANUS improves the CMA-ES host on 11–15/16 BBOB functions across d∈{30,100,500}d \in \{30, 100, 500\}. It also attains the best mean error on 13 of the 16 functions at d=500d=500 in the complete NN-BBO/MetaBBO baseline comparison, with no training cost, and yields a 936×936 \times geometric-mean improvement over the host on a d=1000d=1000 BBOB subset. On structured and multi-objective tasks, JANUS gives the best mean cost on 1135-dimensional UAV path planning ( −12.8%-12.8\% vs. the strongest baseline), and it improves SMS-EMOA/AGE-MOEA2 hosts on 12/38 multi-objective tasks with zero significant regressions. Code is available at https://github.com/hongyuanyu/JANUS.

1 INTRODUCTION

Black-box optimization (BBO) appears in hyperparameter tuning, simulation calibration, controller design, and scientific workflows where gradients are unavailable or unreliable (Bergstra & Bengio, 2012; Hansen, 2016; Ma et al., 2023). Population optimizers are successful partly because they avoid brittle modeling assumptions: they rank candidates by scalar fitness and adapt from selection statistics. Yet scalar rankings are a deliberately thin interface. A ranking indicates that one sample is better, but it does not reveal the local direction responsible for the improvement, nor how the next generation of samples should be shaped. We test this gap across scalar BBOB, structured UAV planning, and multi-objective optimization (Fig. 1).

Population hosts leave local geometry unused. We identify a rank-geometry gap between two families of derivative-free methods. On one side, population hosts (e.g., CMA-ES, DE) adapt search distributions using selection signals that are scalar or rank based. They are sample-efficient and robust, but they discard the local residual geometry that classical trust-region methods exploit. On the other side, derivative-free trust-region methods (NEWUOA, BOBYQA, DFO-LS) build local quadratic or least-squares models from the trace. These methods replace the host optimizer entirely, however, and

∗^{*}Corresponding author.

Figure

Figure 1: JANUS at a glance. Headline BBOB, UAV, and MOO results.

spend a large fraction of the budget on model maintenance. Restricted-covariance variants such as LM-CMA (Loshchilov, 2014) and VkD-CMA (Akimoto & Hansen, 2016) partially address scalability by learning a restricted covariance basis, but they still learn this basis from host selection statistics rather than from the local residual Jacobian itself. We show (Prop. 1) that a covariance basis fixed independently of the local residual Jacobian J cannot, in general, align its exploration metric with the inverse Hessian T=(J⊤J+λI)−1T = (J^{\top} J + \lambda I)^{-1} of the local residual model.

Closing the gap with one Jacobian, two uses. JANUS turns the recent search trace into residual coordinates and estimates a local Jacobian J. If evaluations expose components, for example

f(x)=1m∑i=1mri(x),(1)f(x)=\frac{1}{m}\sum_{i=1}^{m}r_{i}(x), \tag{1}

we use normalized residual coordinates such as si(x)=ri(x)s_i(x) = \sqrt{r_i(x)}; if only scalar values are observed, JANUS instead derives residual coordinates from local linear or quadratic fits on the recent window. Explicit components are useful but not required: what matters is a local residual map s(x)s(x) whose Jacobian summarizes how recent changes in xx affect the local objective model.

The central observation is that the same J answers two questions usually handled separately: no prior method derives both a bounded exploitation candidate and a trace-preserving exploration metric from the same online computation. Earlier per-component arg min assembly can be viewed as a block-diagonal special case restricted to exploitation: it assembles the best fragment from each component, but discards the coupling across coordinates and says nothing about population spread. JANUS keeps the full J⊤JJ^{\top}J and reuses it for both exploitation and exploration.

JANUS is implemented as infill, not a replacement optimizer: it asks the host for native candidates, adds a few bounded Jacobian-aligned candidates, evaluates the union, and lets the host perform its usual selection, survival, covariance, and step-size updates. Because JANUS only contributes candidates, it can augment many population-based search algorithms without meta-training or task-specific tuning, while preserving the host optimizer's safeguards.

On-instance, not meta-learning. JANUS estimates the residual Jacobian online from the current black-box problem and discards it after the run: there is no training distribution, no learned policy, and no parameter transfer between problems. This trade-off is deliberate. MetaBBO methods (Ma et al., 2023; Lange et al., 2023; Chen et al., 2024; Li et al., 2025) can outperform on-instance methods when the test task matches the training distribution, but they introduce a generalization axis and require offline meta-training; JANUS occupies the complementary regime, working on any single task without prior training. Whether JANUS's local-geometry signal could be augmented with a learned prior over residual structures is left for future work. We validate this across three problem classes, four host optimizers, and one industrial deployment. Our contributions are:

  1. We show (Prop. 1) that restricted-covariance variants (LM-CMA, VkD-CMA) cannot, in general, align a host-fixed covariance basis with the local curvature induced by a residual Jacobian.

  2. We introduce online construction of residual coordinates to extract reusable local geometry from black-box search traces, using either observed components or coordinates from a local linear or quadratic fit; from one estimated Jacobian, we derive two bounded infill mechanisms: a damped Gauss–Newton exploitation candidate and a trace-preserving inverse Hessian exploration distribution.

  3. Under same-protocol comparisons, JANUS variants improve over the CMA-ES host on 11–15/16 BBOB functions across d∈{30,100,500}d \in \{30, 100, 500\} (Table 11, Table 3) and achieve the best mean cost on 28-terrain UAV path planning ( −12.8%-12.8\% vs the strongest baseline). The same mechanism improves both SMS-EMOA and AGE-MOEA2 hosts on 12/38 multi-objective tasks with zero significant regressions, and transfers to a DE host (86–96% win rate).

References (30)