Manuscript Offprint
arXiv:2609.01811Reinforcement learning to choose optimizers
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
A PREPRINT
Martin van der Schelling
Department of Mechanical Engineering Delft University of Technology, Delft, the Netherlands M.P.vanderSchelling@tudelft.nl
Deepesh Toshniwal
Institute of Applied Mathematics Delft University of Technology, Delft, the Netherlands D.Toshniwal@tudelft.nl
Miguel A. Bessa
School of Engineering Brown University, Providence, RI, USA miguel_bessa@brown.edu
September 3, 2026
ABSTRACT
No single optimization method is uniformly best for all problems, and the most suitable optimizer choice can change during a run. Existing approaches that change optimizer during execution typically predetermine part of the strategy: the portfolio is restricted to one algorithm class, the switch occurs once at a fixed time, or the frequency of decisions is treated as a hyperparameter rather than a learned one. We introduce “Reinforcement Learning to Choose Optimizers”, which formulates the optimization algorithm choice as a sequential decision-making problem. At each decision, a recurrent policy reads the current run state and decides both which optimizer should be used next and for how long. The portfolio includes both gradient-based and derivative-free optimizers, and each switch passes on the current best solution and a representative step size. A context proxy conditions a gating network over expert heads, and training employs a decoupled actor-critic whose return is expressed in the same empirical runtime distribution metric used at evaluation. Training tasks and portfolio are designed jointly so that no optimizer dominates. On unseen problems, the learned policy outperforms every portfolio optimizer at all but the smallest budgets, and it remains robust under distribution shift.
Keywords Algorithm portfolios · Dynamic algorithm configuration · Reinforcement learning
1 Introduction
Optimization is central to data-driven design [1]. Evaluating the objective typically requires a simulation, so the number of loss function evaluations is constrained. The “No Free Lunch” theorem states that no single optimization algorithm outperforms all others on every problem [2], making optimizer selection and hyperparameter tuning a design problem in itself. Meta-optimization answers it from several directions: automatic algorithm selection [3], hyper-heuristics [4, 5] and learning to optimize [6, 7]. Each of these approaches trains a model to conduct this selection, and that model is static once training has finished, fixing in advance how far a run can adapt. The most effective optimizer is specific to the loss landscape and changes as the search progresses, and a well-placed switch between two algorithms can outperform either of them alone [8, 9].
Existing methods that switch optimizers mid-run always predefine some portion of the strategy and learn only the remaining part. One line of work uses a single offline-computed switch from a global to a local method, applied once per problem [10]. Another learns repeated switches but restricts the portfolio to one algorithmic family, keeping the optimizer portfolio narrow [11–13]. A third line switches at every iteration [14]. In all these cases, the interval between decisions is a framework hyperparameter, not controlled by the policy.
Each element of this problem has been solved in isolation. Portfolios combining gradient-based and derivative-free methods have existed for decades, full optimizers have been selected and transferred to new problems, and the refinement effort has been adapted since the earliest memetic algorithms [8, 11, 15–17]. Repeatedly deciding which optimizer takes control, and for how long, must
A PREPRINT
be done over a portfolio whose members do not share internal-state representations. Any policy for this must be deployed over a distribution of problems, precisely where learned meta-optimizers are weakest [18].
Contributions: We introduce “Reinforcement Learning to Choose Optimizers” (RL2CO), which formulates the schedule of an optimization run as a sequential control problem. At each decision point, a recurrent policy observes the run state and selects (i) an optimizer from a fixed portfolio and (ii) how many iterations it may run before revisiting the choice. The portfolio contains both gradient-based and derivative-free methods. A switch passes the new optimizer the best solution obtained so far along with a representative step size, allowing it to continue at the scale the search has already achieved rather than reverting to a global scale. Because the same observation can require different actions on different landscapes, the policy is conditioned on a proxy for the problem context. This proxy feeds a gating network over expert heads. We train with a decoupled actor-critic model. The return it maximizes is denominated in the same empirical runtime distribution metric the evaluation reports. Since a portfolio in which one member dominates would leave no benefit for a learned optimizer selector, the training problems and the portfolio are designed jointly, maximizing the margin an informed per-problem choice holds over the portfolio average. This work extends our earlier study [19], where a single optimizer was chosen from the problem features and switched only once.
To assess the framework we train a policy across 100 tasks drawn from three Black-Box Optimization Benchmarking (BBOB) suites, over a portfolio and task set selected jointly. It is evaluated on 100 held-out problems, against every member of that portfolio and against a random schedule over the same optimizers. The same policy is tested on problem families absent from training, showing robustness to distribution shift. Our code, dataset, and documentation are available according to FAIR principles (Findable, Accessible, Interoperable, and Reusable)¹.
Optimization problems are often categorized by what information the optimizer can access: in black-box settings only function evaluations are available, while in white-box settings the analytical form is known and gradients can be computed [20]. Because our schedule design allows first-order optimizers, we focus on the latter. Our scope, however, is narrower than full analytical transparency. With automatic differentiation, gradients can be computed for any simulation in a differentiable programming environment [21, 22], and in data-driven design the objective is often a trained surrogate model that can be differentiable by construction [1]. We concentrate on differentiable design problems, a class that is both broad and rapidly expanding. The method itself does not rely on this requirement: one could instead use only derivative-free optimizers, which would change the range of applicable problems but not the framework.
2.1 Choosing an Optimizer Before the Run
The algorithm selection problem aims to map each problem instance to the optimizer expected to perform best on it [3, 23, 24]. This requires characterizing optimization problems via features, which in turn rely on function evaluations. Exploratory Landscape Analysis (ELA) computes such features by sampling points from the design space [25]. However, due to the “curse of dimensionality”, this sampling overhead can grow rapidly, even exceeding the cost of directly solving the optimization problem [26], and the resulting features are highly sensitive to the sampling strategy [27].
Both limitations have been mitigated. Trajectory-based methods derive features from the optimizer’s search path instead of a separate exploratory phase [28, 29], and learned descriptors replace hand-crafted features with end-to-end trained representations [30, 31].
2.2 Changing Optimizer During the Run
Although advances in automatic algorithm selection reduce the effort of problem characterization, these models still commit to a single optimizer for the entire run. Prior work shows that the best local search operator is both instance- and time-dependent [8], and that carefully scheduling switches between two algorithms can outperform using either alone [9], even though theoretical guidelines for when and how to switch remain largely absent [32]. The most suitable optimizer depends on both the problem and the current search stage.
Meta-Black-Box Optimization (MetaBBO) models this as a bi-level problem where a meta-policy designs a low-level optimizer [20]. Hyper-heuristics share the bi-level structure [4, 5, 33] but differ in scope and adaptivity: they select or generate heuristics mainly
¹https://github.com/bessagroup/rl2co
A PREPRINT
for combinatorial problems and operate offline in a fixed domain, rather than adapting online across problem classes [20]. The same structure is formalized as dynamic algorithm configuration, in which a policy, conditioned on an algorithm's state, sets its hyperparameters and is trained over a problem distribution [34, 35]. A more radical variant removes the low-level optimizer and lets the meta-policy propose candidate solutions directly [6, 7, 20]. These "learning to optimize" (L2O) methods can express strategies beyond any fixed update rule, but the vast space of update rules makes them hard to train and unreliable out of distribution [36, 37]. Adaptively selecting from a small set of established optimizers instead preserves convergence guarantees. This introduces three questions absent for static choices, posed explicitly by Schröder et al. [10]: to which optimizer to switch, when to switch, and how to switch.
Which optimizer to switch to The optimizer switched to is chosen from a predefined portfolio, and how that portfolio is built limits the potential benefits of switching [9]. When selection is performed during the run, it is usually among very similar algorithms [11–13]. Each of these portfolios is restricted to a single evolutionary family and excludes gradient-based methods. When a portfolio does span multiple families, its composition is fixed in advance rather than adapted during the run [17].
Memetic algorithms combine population-based global search with a local refinement operator, and the survey of Neri and Cotta [16] sets out the design choices this involves. Ong and Keane [15] proposed a meta-learning approach that selects the local search method for each candidate at runtime. The computational effort for local search, termed intensity, concerns how long improvement is attempted and how often the procedure is invoked [8]; these settings are usually fixed offline and only rarely adapted. A third option is to resume the procedure from its previous state, as in local search chains [38]. Two aspects distinguish this from the schedule considered here: the refinement operator is chosen within a fixed evolutionary outer loop rather than as the main optimizer for the entire run [39]; and adaptation occurs within a single run and is discarded for subsequent problems, with no learning transfer over a problem distribution [40].
When to switch Two lines of work address when to switch without controlling it. Trajectory-based selection predicts whether a switch at a given point would help, using features from a sliding search window [41–43]. The window length, the successor's budget, and the number of switches are fixed before the run. Allocation, instead, is modeled as a bandit problem: Gagliolo and Schmidhuber [44] run all candidates in parallel, learn their runtime distributions, and allocate budget to those performing well.
How to switch Whether switching optimizers pays off depends mainly on how much knowledge is transferred between them. Schröder et al. [10] show that the benefit comes from warm-starting the new optimizer from the old one's state; without this "synergy", the second optimizer uses little more than the current iterate and discards progress stored in the parameters. This transfer is designed in advance, however: it targets a specific optimizer pair and a single switch, with a warm start crafted for that pair and stage, and nothing chosen dynamically during the run. Schröder et al. [10] flag as open the challenge of deciding the switch per run, using information from the ongoing trajectory. Such hand-built handovers are not unique to black-box optimization. In a gradient-based setting, Keskar and Socher [45] switch once from Adam to stochastic gradient descent (SGD) and convert Adam's moment estimates into an SGD step size via a closed-form rule tailored to that pair. Even when a policy repeatedly chooses optimizers, the transfer is still fixed: Getzelman and Balaprakash [14] pick among Adam, gradient descent, and random search at each iteration, but reconcile their incompatible states using a predetermined rule. In all these cases, authors decide what is transferred; only which optimizer runs next is left to the run.
Each of these approaches answers one of the three questions and fixes the others. None treats them as a single runtime decision: which optimizer to switch to, how long it keeps the budget before revisiting the choice, and what state it inherits. The duration is typically computed offline or reduced to a single iteration, so no method learns how long to commit. Even when the decision is repeated, the interval between decisions is a framework hyperparameter. Deciding too often breaks the optimizer's integrity; deciding too rarely sacrifices the flexibility that motivates switching in the first place [11].
2.3 Robustness of Learned Policies Under Distribution Shift
Ma et al. [18] evaluate several learned meta-optimization methods on test suites from distributions different from those used in training and find that learned policies fail under this distribution shift, whereas classical algorithms remain robust. Meta-learning is most vulnerable precisely when the underlying problem changes. Learned selectors show the same issue: a per-run selector trained on the BBOB suite [46] did not transfer to the Nevergrad collection [47], which its authors attribute to the low similarity between the two [42].
Wang et al. [48] attribute overfitting to the limited diversity of standard benchmarks and construct a richer training set by embedding problem features in a latent space and reverse-engineering function formulas for sampled points. An alternative strategy avoids any fixed training distribution and instead adapts online to the specific target task [49].
Although broadening the training distribution improves generalization, it does not explain how the policy represents what it learns. In multi-task reinforcement learning (RL), policies use mixtures of state encoders, routed by a gate conditioned on task metadata [50]. This separates two roles often conflated: the mixture prevents interference between task-specific representations,
A PREPRINT

Figure 1: Overview of RL2CO on a single optimization run. The colored bar records the schedule: which optimizer iterates over which part of the total budget. At the decision point, the policy selects the next optimizer and the number of iterations it may run. A decision either switches or continues with the current optimizer. The loss landscape below is summarized by the context proxy that conditions the policy.
and the metadata lets a policy act in novel environments. The closest meta-optimization approach trains a single policy over a modular algorithm design space via multi-task RL [51], adopting the training setup but not the conditioning: one encoder is shared across tasks, and the policy receives no task description. Neither mechanism has been used for robustness in algorithm selection, where the problem is specified before search begins and the trajectory supplies corrective feedback during optimization.
2.4 Knowledge Gap: Constructing the Schedule
The literature provides all the elements of this problem but never unifies them. Hybrid compositions of gradient-based and derivative-free methods have existed for decades, yet remain manually designed [15–17]. Learning to select among full optimizers yields transferable strategies, but only within portfolios from a single algorithmic family [11–13]. Switching between optimizer families has been shown, with the new optimizer warm-started, but the switch happens only once, at a fixed time, using manually engineered knowledge transfer [10, 42]. In works with multiple switches, the decision is instead made at every iteration [14].
The field lacks a method that treats the schedule of an optimization run as a learned, on-the-fly decision. In particular, it lacks a system that:
-
reassesses the optimizer continuously as the search unfolds, rather than only once before or during the run, unlike dynamic selection, which is limited to a single algorithm family;
-
operates over a portfolio spanning both gradient-based and derivative-free methods, repeatedly crossing this boundary in both directions while carrying the progress of the run across each switch, rather than a warm start designed for a single ordered pair (heterogeneous handover);
-
learns how long each optimizer should run before revisiting the choice, allowing budget trade-offs between families with iteration costs differing by orders of magnitude, instead of using a fixed, pre-set schedule;
-
maintains robust performance on problem suites outside the training distribution.
That this combination is a deliberate target rather than an incidental omission is clear from the field's own agenda. Extending their syntactic model of memetic algorithms, Krasnogor and Smith [8] introduce a metascheduler: a component that uses information from previous populations to choose which operators to apply, with parameters that "may now represent complex data structures rather than simple probability distributions" [8, p. 482]. They report no prior instances of such algorithms in the literature. A policy conditioned on run history and carrying a learned recurrent state is one such instance. Ma et al. [20] call for a higher-level framework defining meta-level tasks across multiple optimizers, enabling a single policy to be trained over, and generalize across, a shared design space. When the elements of this space are full optimizers, the schedule is precisely that design space.
A PREPRINT
3 Methods
3.1 Optimizer Selection as a Contextual Markov Decision Process
Section 2 defined an optimization run as a schedule where update rule is applied for iterations. We construct such a schedule with an agent interacting with an environment over discrete time steps [52]. Figure 1 shows that construction over a single run, from the decision points to the schedule they produce.
Most learned optimizers are trained on a single task or closely related tasks [6, 7]. We instead aim for a model that generalizes across many problems, so the environment is a family of decision processes. Each task has a context , which determines the objective to minimize over parameters and with it the agent's dynamics. At each time step , the agent observes , a projection of the environment state , takes an action under a stochastic policy , and receives a scalar reward . This yields a contextual Markov decision process [34, 53], where , and are the state, action, and observation spaces, is the transition function, is the reward function, and is the discount factor. The goal is to maximize the expected discounted return over the context distribution , estimated during training from the available problems.
The transition function is realized by the optimization run itself and is context-dependent: an update rule advances the run by a chosen number of iterations, moving the state from to . The agent does not output candidate solutions directly. Instead, each action comprises two independent choices: selects which optimizer runs next, and , a small fixed set of durations, sets how many iterations it may perform before the next policy query. Sampling from such a set simplifies the policy, while including values over several orders of magnitude preserves the distinction between brief exploration and long commitment. A decision consumes iterations. One decision performs many optimizer iterations, so the discount accumulates over iterations rather than over decisions. If , we switch optimizers, initializing the new one from the previous optimizer's state; see Appendix A.1 for details.
The state has two parts. The first is the runtime state of each portfolio optimizer: its candidate solutions and internal parameters. The second tracks global progress: observed objective values, the number of iterations, and function evaluations used, and the index of the optimizer that produced the latest iteration. The objective is to achieve a low function value with few function evaluations. These two aims are measured jointly by the area under the convergence curve on a logarithmic evaluation axis [54]. The reward is the drop in a potential that prices a state by the area already accrued and the area its current level would still accrue over the budget remaining, normalized for comparability across contexts. Appendix A defines it, together with the rest of the environment configuration.
3.2 Conditioning the Policy on Context
The policy for a run is largely determined by the objective function : irregular, high-dimensional, or noisy landscapes require different update rules and converge differently from smooth, low-dimensional convex ones. The context is informative yet not directly observable, because is only revealed through interaction. Instead, we condition on a proxy that encodes what is known before the run. We use two information sources: (i) descriptors of the loss landscape, such as dimensionality or noise level, and (ii) user-provided information, such as physical system properties or known analytical features of the objective. Since both are available during training and deployment, serves as a stand-in for throughout.
Conditioning on context is essential because the same observation can demand opposite behaviors. An oscillating objective trajectory is expected on a stochastic landscape and requires no intervention, but the same pattern on a smooth convex problem indicates that the update rule is diverging and must be changed. A policy that ignores averages across these regimes and will misinterpret them. Rather than rescaling a single shared policy, drives a gating network that combines multiple expert heads, each specializing in a region of context space [55], as drawn in Fig. 2.
3.3 Training With a Decoupled Actor-Critic
The policy is optimized with a policy-gradient method, training a neural network from the gradient of the expected return [52]. Because return from a state depends strongly on how far the run has progressed and how much budget remains, a Monte Carlo estimate conflates action quality with the run stage. To reduce this variance, we use an actor-critic approach: a separate critic network estimates each state's value, and subtracting this estimate yields an advantage signal for the actor network, which is used to compare the available actions.
A PREPRINT

Figure 2: The conditioning architecture. Each of recurrent experts encodes the trajectory features, and a gating network reads the context descriptors together with the expert outputs to weight the experts by . The weighted sum is concatenated with the context and progress embeddings, then projected to the latent .

Figure 3: The actor and critic networks. The policy and value networks are independent copies of the trunk in Fig. 2 and share no parameters. The policy weights carry the optimizer head, the duration head, and the auxiliary advantage head , which is evaluated only in the policy update, while the value weights carry the critic .
Typical actor-critic architectures share a single learned representation between actor and critic. Yet value estimation and action selection have different objectives: predicting return needs fine-grained, instance-specific environment details, and a policy sharing a representation that encodes them overfits and fails to generalize to new tasks [56]. Because we study this generalization problem, we adopt decoupled advantage actor-critic (DAAC), which trains separate networks for policy and value and adds an auxiliary advantage head to the policy network [56]. Figure 3 shows both networks and the heads each one carries. Advantages are computed with generalized advantage estimation (GAE) [57], and the update uses proximal policy optimization (PPO) [58], enabling multiple epochs of minibatch updates per batch of episodes. Further details of the training procedure are provided in Algorithm 1 in Appendix B.
3.4 Computational Overhead
Training the policy is a one-time offline cost. Once trained, deployment requires only a single forward pass through the policy network per decision, taking milliseconds on a typical CPU. Since the policy acts only at switching points, the number of passes per run is far below the iteration budget, so the dominant cost remains the lower-level optimizer update and objective evaluation.
4 Results
4.1 Constructing the Task Set and Optimizer Portfolio
A learned policy is only as informative as its training problems and as effective as its optimizer portfolio. To generalize to unseen loss landscapes, training tasks must cover diverse characteristics. Together, tasks and portfolio should reflect the “No Free Lunch” theorem: no optimizer should dominate across all tasks, or selection would become trivial [2]. We design the training set and optimizer portfolio jointly and first describe the result of this joint construction before analyzing the policy’s behavior on it.
To obtain problems reflecting diverse landscape characteristics, we use the BBOB suite [46], which provides analytical functions varying in conditioning, modality, and separability. To study stochastic effects, we also include the noisy BBOB suite [59].
We further aim to capture structural properties of over-parameterized neural network loss landscapes. These are high-dimensional but effectively low-rank: gradients concentrate in a low-dimensional subspace [60], and objectives can be optimized within randomly chosen subspaces much smaller than the ambient dimension [61]. Simply increasing the dimension of standard BBOB functions does not reproduce this, since each added dimension carries meaningful signal. We enforce this structure explicitly instead, by embedding a low-dimensional BBOB function into a high-dimensional search space. Appendix C.1 gives full details of the benchmark suites.
We evaluate the three benchmark suites with 52 gradient-based and derivative-free optimizers plus a random-search baseline. Performance is measured by the number of function evaluations needed to reach a specified target objective, rather than by the objective value alone [62]. The empirical runtime distribution (ERTD) aggregates this over independent runs and multiple targets,
A PREPRINT

Figure 4: Empirical runtime distributions over the selected training problems, for the four portfolio members, random search, the virtual best solver (VBS), and three instances of the random schedule, each holding its randomly drawn optimizer for a fixed commitment length .

Figure 5: Empirical runtime distributions on the held-out test set, for the four portfolio members, the learned policy, a random schedule over the same optimizer menu with , random search, and the VBS.
including both successful and unsuccessful trials [54]. Unsuccessful trials are accounted for by simulated restarts, so the budget axis can exceed the maximum evaluations of a single run.
Comparing the ERTD of the virtual best solver (VBS), which selects the best optimizer per task and realization, with that of the single best solver (SBS), the one optimizer with the best overall performance per task, quantifies the potential of algorithm-selection strategies [24]. It also measures how strongly the task set exhibits the conditions of the “No Free Lunch” theorem. We use this VBS–SBS gap as the design criterion for both the training task set and the optimizer portfolio. We search the profiled functions and optimizers for a subset that maximizes this gap, while retaining exactly 100 functions and 4 optimizers, and construct a held-out test set from functions not in the training set.
The resulting portfolio contains the following four optimizers:
-
L-BFGS: a quasi-Newton method with a limited-memory inverse-Hessian approximation and line search along the resulting direction [63].
-
Rprop: a first-order method that ignores gradient magnitude and adapts per-coordinate step sizes from the sign of successive gradients [64].
-
CR-FM-NES: a natural evolution strategy for high-dimensional problems that samples mirrored pairs around an adaptive mean with a rank-one covariance factor [65].
-
MR15-GA: a genetic algorithm with mutation rate adapted by the one-fifth success rule [66].
Appendix C.3 details the resulting selection and search procedure.
Figure 4 shows the ERTDs of the training set. The four selected members separate across the budget range without any one of them leading throughout, while the per-task best lies well above all of them.
The same panel also shows three variants of a random schedule, which picks an optimizer uniformly at random at each decision point. They differ only in the duration of the commitment . Initially, all three fall short of random search: early arbitrary choices rarely match the problem, and the schedule repeatedly pays a switching cost before benefiting from a good choice. At the end of the budget, two schedules surpass the strongest single optimizer in the targets reached, while the shortest commitment, , ends just below it. Shorter commitments create more decision points, and although the handshake transfers some information across switches, most of the loss landscape information is discarded each time. The random schedule is the learned policy's baseline: it matches the portfolio and switching cost, differing only by making each optimizer choice randomly.
A PREPRINT

(a) 2-D loss landscape of the Griewank–Rosenbrock function.
(b) Empirical runtime distributions
(c) Optimizer schedules per realization
Figure 6: The composite Griewank–Rosenbrock function F8F2 [46] in two dimensions.
4.2 Evaluating the Learned Policy
We train the RL2CO model according to the parameters in Table 3 on the training set from Section 4.1. Figure 5 shows the ERTDs on the held-out test set. The trained RL2CO policy reaches a larger fraction of targets than any member of the portfolio, and does so at all but the smallest budgets: only below roughly one evaluation per dimension does L-BFGS lead. Since the portfolio was constructed so that no optimizer dominates, the margin over all four static optimizers is attributable to the schedule. The gap to the random schedule attributes that margin to informed decisions rather than to switching itself. Appendix C.4 partitions the same test set by objective stochasticity and by problem dimensionality (Fig. 14); the leading member differs between the subsets, yet the policy ends ahead within each of them. The advantage is not an artifact of averaging over subsets on which different optimizers lead.
By combining the exploratory tendencies of one optimizer with the exploitative strengths of another, the model can reach the targets faster than the VBS. Figure 6 illustrates this behavior on the two-dimensional Griewank–Rosenbrock function F8F2 [46], whose loss surface (Fig. 6a) contains a wide, shallow basin with numerous local optima. The runtime distributions are provided in Fig. 6b; the schedules for individual realizations are shown in Fig. 6c, where color encodes which optimizer is used across the budget. The learned policy reaches the targets sooner than any single optimizer: it starts with an exploration stage with CR-FM-NES to locate the basin containing the global minimum and then switches to L-BFGS, which converges to the minimum using far fewer evaluations than continued global search would require.
We evaluate the trained policy on three further benchmark suites: the CEC 2005 special session on real-parameter optimization [67] in Fig. 7, the CEC 2017 competition on single-objective real-parameter optimization [68] in Fig. 8, and the CEC 2013 special session on large-scale global optimization [69] in Fig. 9. These suites vary in how much benefit an algorithm-selection policy can extract. For CEC 2005, the VBS–SBS gap is substantial, and the policy takes advantage of it: it finishes ahead of every portfolio constituent, although the separation becomes clear only late along the budget axis. In contrast, for CEC 2017 and CEC 2013 the gap is small and the policy matches the random schedule. When there is little exploitable selection signal, the policy reverts to its baseline behavior, which on both suites continues to be much better than random search and close to the single best solver. In this setting, losing the selection signal removes the edge of the policy over the portfolio, but not its practical value. This is exactly the kind of robustness that a schedule should have under a distribution shift.
4.3 Transfer to Unseen Problem Families
The evaluation in Section 4.2 uses analytic benchmark functions. We assess the learned policy on three sets of tasks from unseen problem families. The first consists of randomly sampled convex quadratic functions shown in Fig. 10a. The second involves training a small neural network on synthetic Gaussian data, as depicted in Fig. 10b. The third considers a meta-optimization task with three parameters matching Adam's hyperparameters, where the objective is the loss obtained by a small classifier after a fixed inner training run in Fig. 10c. Figure 11 shows the optimizer schedules and Appendix D gives the exact definitions of all three tasks.
The three task families differ in whether one optimizer dominates and whether the policy recognizes that dominance. For the quadratics, the objective is convex, L-BFGS clearly wins, and the VBS reduces to that choice. The policy detects this and acts as a static selector. For Gaussian classification, Rprop is fastest early, but CR-FM-NES wins at higher budgets, where low dimensionality favors longer-horizon evolution. The policy settles with MR15-GA initially, but recovers after switching to Rprop and still reaches
A PREPRINT

Figure 7: Empirical runtime distributions on the CEC 2005 functions [67].
Figure 8: Empirical runtime distributions on the CEC 2017 functions [68].
Figure 9: Empirical runtime distributions on the CEC 2013 large-scale global optimization functions [69].

(a) Randomly sampled convex quadratics.
(b) Gaussian classification tasks.
(c) Meta-optimization tasks.
Figure 10: Empirical runtime distributions on the three unseen problem families. Each panel carries the four portfolio optimizers, the learned policy, a random schedule over the same optimizers, random search, and the VBS.

(a) Randomly sampled convex quadratics.

(b) Gaussian classification tasks.

(c) Meta-optimization tasks.
Figure 11: Optimizer schedules the learned policy ran on the three unseen problem families, one row per task and realization, over the same budget axis as their runtime distributions in Fig. 10. Color marks which optimizer the policy used at that point of the budget.
the targets on an unseen family. For meta-optimization, all optimizers hit the targets, but CR-FM-NES is about an order of magnitude faster than the gradient-based methods, matching the irregular inner landscape, and the policy is faster than any single method. Overall, the policy exploits the selection structure when present and otherwise falls back on the behavior of the random schedule, surpassing the performance of the single optimizers given enough budget.
A PREPRINT
5 Conclusion
We introduced RL2CO, which treats the evolution of an optimization run as a sequential decision-making problem. A recurrent policy selects the next optimizer to run and how many iterations it may take. A switching mechanism transfers the current candidate solution and the search-scale information to the incoming optimizer. A context proxy conditions a gating network that routes among multiple experts. We designed the portfolio and training tasks jointly so that no single algorithm is sufficiently strong to act as a default choice. On the unseen benchmark function set, the learned policy achieves a higher target-hit rate, at all but the smallest budgets, than any individual optimizer it coordinates. On a broad collection of test problems, what the policy gains depends on how much an informed choice can still deliver there. Where that margin is wide, the policy finishes ahead of every portfolio member, although the separation becomes visible only late along the budget axis. Where it is narrow, the policy reverts to the behavior of its random baseline, which ends well above a random search and close to the strongest single optimizer.
A switch currently transfers the incumbent solution and a scalar search scale, while the rest of each member's internal state is kept or rebuilt on its own side of the family boundary. Learning a translation between these internal representations could carry the search structure accumulated by one member across that boundary. A commitment's duration is also measured in iterations, yet portfolio members differ by orders of magnitude in the number of evaluations one iteration entails; expressing durations in evaluations, or in wall-clock time, would make that trade-off explicit to the policy. The evaluation so far stays on analytic benchmarks and small learning tasks, and exercising the policy on simulation-based design problems, where every evaluation carries real cost, is the natural next step. A limitation of this model is that the policy generalizes across task distributions but not across portfolios. Because the optimizer choice is a discrete action, portfolio members are fixed during training. Changing or adding optimizers alters the action space and requires retraining the policy from scratch.
Acknowledgments
This work is supported by the TU Delft AI Labs & Talent Programme. The first author acknowledges the use of large language models to edit the text of this manuscript after a complete draft was written.
Appendix A Environment Details
The observation is constructed by concatenating five components from state : (1) the mean loss per iteration, (2) the best loss observed so far, (3) a one-hot encoding of the optimizer used in that iteration, (4) the best loss each optimizer has reached separately, and (5) the fraction of the total function evaluation budget used in that iteration. The loss components are normalized and log-transformed relative to the initial loss and the task-specific global minimum.
Given and , the transition passes control to via an optimizer handshake, described in more detail in Appendix A.1. That optimizer then runs for iterations, and the resulting losses are appended to the history. During training, an episode ends when the iteration budget is exhausted, when the global minimum is reached, or when the decision horizon is spent. At deployment, the policy can be consulted as long as budget remains.
The reward depends on how much the chosen action improves performance and how much of the remaining budget can still be used to exploit that improvement. Let be the number of function evaluations used in state , the total evaluation budget, and the best objective value observed so far, normalized and log-transformed as in . Because anytime performance is measured on a logarithmic evaluation scale, define as the integral of along this axis up to . The potential
is the total the run would be charged if it stalled at and never improved again, and the reward is the normalized decrease of that potential over a decision:
with denoting the state reached after taking the decision. Normalization ensures that the undiscounted total reward over an episode lies in for each task, so every task contributes equally during training.
A.1 The Handshake
Switching to an optimizer different from the one used in the preceding iteration initiates a handshake: data from the outgoing optimization trajectory are converted to initialize the internal state parameters of the new optimizer. Most optimizers implicitly
A PREPRINT
Table 1: Construction of the Transferred Scale .
| Optimizer | State read | Scale |
|---|---|---|
| L-BFGS | last accepted step before one exists, the gradient and the accepted step length | |
| Rprop | per-coordinate step sizes | |
| CR-FM-NES | sampling width and shape fields | |
| MR15-GA | mutation width |
Table 2: The Three Steps of the Handshake.
| Optimizer | Reset | Internal parameters written | Next candidates |
|---|---|---|---|
| L-BFGS | Yes | none | set to |
| Rprop | No | sign memory | set to |
| CR-FM-NES | No | evolution paths , the shape fields kept | generated from the state |
| MR15-GA | No | every elite row , and the fitness stored with it | generated from the state |
follow a convergence schedule: they begin with a wide exploratory search and gradually focus on a promising region of the loss landscape. If a policy switches optimizers mid-run and initializes the new optimizer's state from scratch, the search scale resets to this global level, discarding the fine-grained resolution already achieved. To prevent this, we transfer a scalar across optimizer switches, which acts as a characteristic step size: with the dimension of the problem, is the expected squared distance per iteration. Each optimizer defines a contract to derive from its internal state; the contracts in our optimizer portfolio appear in Table 1.
The state of an incoming optimizer is reconstructed from four quantities: the best candidate found so far , its objective function value , the scale parameter and the dimensionality . The transfer is carried out in three stages. First, the internal state of the incoming optimizer is reset or resumed. Only for L-BFGS is the internal state reset, since the pairs of step and gradient difference it stores approximate the curvature of the loss along the iterates that produced them, and that approximation says nothing about the curvature at . Next, the state is modified by the three properties. Lastly, a new starting point or population is initialized. CR-FM-NES and MR15-GA generate a new population from their modified state. For Rprop and L-BFGS, the best candidate is suggested as a starting point. Table 2 states the procedure for all three steps, for each of the four portfolio optimizers.
Appendix B Training Details
DAAC training proceeds in rounds. In each round, we sample a subset of training problems and run rollouts under the current policy. We then update the policy network with minibatches, while updating the value network every few rounds. Algorithm 1 summarizes the procedure.
The inputs are the training context set , the number of rounds , the number of contexts sampled per round, and the number of independent realizations , so each rollout produces episodes. The hyperparameters are the epochs and per policy and value update, value-update period (in rounds), clipping half-width , and coefficients , and weighting the entropy bonus, auxiliary advantage loss, and load-balancing penalty. and are the discount factor and GAE trace parameter. The learnable parameters are policy-network weights for (including the auxiliary advantage head ) and value-network weights for ; is the Adam learning rate.
In round , we sample a subset of contexts and, for each , run episodes with the current policy. Each trajectory records at every decision step : observation , action , reward , termination flag done, value prediction
A PREPRINT
Algorithm 1 Training the Schedule Policy
Require: training contexts , rounds , contexts and realizations per round
Require:
1: initialize policy and value
2: for do
3: contexts sampled from
4: for in parallel do
5: episodes of on
6: end for
7: pool across contexts
8: for over every do
9: iterations consumed
10:
11:
12: end for
13: over the pooled batch
14:
15: for epochs, minibatch do
16:
17:
18:
19: entropy of both heads
20: if mixture arm then
21: : mean gate weight
22: end if
23:
24: end for
25: if then
26: for epochs, minibatch do
27:
28: end for
29: end if
30: end for
31: return
, and the number of optimizer iterations used by that decision. All episodes are then divided into minibatches .
The backward pass over each trajectory computes the temporal-difference residual , the generalized advantage estimate , and the return target . The advantage estimates are then normalized using the batch mean and standard deviation .
The clipped surrogate objective is the PPO loss: the empirical minibatch mean of the minimum between the unclipped and clipped ratios, where clip constrains to . The auxiliary loss trains the advantage head , which reads the policy latent together with learned embeddings of the taken action, to match the target advantages , and is the policy entropy over both optimizer and duration heads. These three terms together define the overall ascent objective .
In the mixture arm, includes a load-balancing regularizer over the experts, where is the average gate weight for expert over the minibatch. The term attains its minimum value of one when probability mass is distributed uniformly across experts and increases as it concentrates on a single expert. The value function network is trained on the same batch every rounds by minimizing the squared error between and , which decouples the critic from the policy representation.
Because the process is partially observable, the policy depends on the observation history, not just the latest observation. We approximate this history with the hidden state of a recurrent network, carried across decisions and reset between episodes. Recurrence is the standard response to partial observability in model-free reinforcement learning [70], and remains a strong baseline against explicit belief-state methods [71]. In meta-optimization it is already the default way to handle temporal dependence; Gomes et al. [72] use it in a partially observable formulation of learned population-based optimizers. However, recurrent meta-policies
A PREPRINT
Table 3: Network Dimensions and Training Hyperparameters. Layer sizes read input → hidden → output.
| Quantity | Symbol | Value |
|---|---|---|
| Trunk, one untied copy per network | ||
| Experts | 4 | |
| History encoder (long short-term memory) | ||
| Context descriptors | 3 | |
| Descriptor embedding | 4 | |
| Context projection | ||
| Progress embedding | ||
| Latent projection | ||
| Heads | ||
| Optimizer | ||
| Duration | ||
| Advantage | ||
| Critic | ||
| Optimizer embedding | ||
| Duration embedding | ||
| Activation | tanh | |
| Episode | ||
| Decision horizon | 100 | |
| Durations | ||
| Portfolio size | 4 | |
| Training | ||
| Rounds | 100 | |
| Contexts per round | 25 | |
| Realizations per context | 25 | |
| Policy epochs | 10 | |
| Value epochs | 10 | |
| Value-update period | 5 | |
| Minibatches per epoch | 4 | |
| Clipping half-width | 0.25 | |
| Entropy coefficient | 0.01 | |
| Advantage coefficient | 0.25 | |
| Balancing coefficient | 0.01 | |
| Discount per iteration | 0.9999 | |
| GAE trace | 0.9 | |
| Optimizer | Adam | |
| Learning rate | ||
| Learning-rate decay | linear to 0 | |
| Gradient-norm clip | 0.5 | |
train poorly over horizons of hundreds of generations [20]. Here this problem is much reduced: one decision commits many iterations, so an episode spans at most decisions instead of thousands of iterations.
Table 3 gives the dimensions of both networks and the values behind every symbol the algorithm names.
Figures 12 and 13 report the cumulative return during training and the critic loss, respectively.
Appendix C Benchmark Construction
This appendix describes how we produced the profiling pool from which the two task sets in Section 4.1 were drawn.
C.1 Benchmark Functions
We implement the noiseless BBOB suite [46] and its noisy counterpart [59] following their original specifications, except that instance-defining translations and rotations are sampled from a seed instead of read from the original data files. The implementation, written in JAX for direct use with gradient-based optimizers via automatic differentiation, is publicly available².
²https://github.com/bessagroup/bbob-jax [73]
A PREPRINT

Figure 12: Mean cumulative return against policy updates. The training curve is the mean over the tasks sampled in each round; the validation curve is the mean over 100 held-out tasks, evaluated every fifth round and starting from the untrained policy.

Figure 13: Critic loss of the training run against the policy updates, recorded only every rounds.
Table 4: The Benchmark Function Pool, With .
| Family | Functions | Dimensions | Seeds | Instances |
|---|---|---|---|---|
| bbob | 24 | 4 | 576 | |
| bbob-embedded | 24 | 4 | 1728 | |
| bbob-noisy | 30 | 4 | 720 | |
| Total | 3024 |
The high-dimensional function family embeds a -dimensional BBOB function in a -dimensional space with :
for . The matrix has orthonormal rows from the reduced QR factorization of a Gaussian matrix. The optimum of is , and is the width of the box constraints of , ensuring that uniform sampling in the ambient box covers the intended input range. The anchor is a seeded uniform draw from the box. The gradient of lies in the -dimensional row space of , matching the subspace concentration observed for gradient descent on deep networks [60]. The Hessian spectrum includes the eigenvalues of , each scaled by , together with zeros, yielding the bulk-plus-outliers shape reported for such models [74, 75]. Because depends on only through , it is constant along the null space of , and the minimizer is a -dimensional flat manifold rather than a point. Table 4 lists the profiling pool of the three benchmark sets.
Each benchmark function has a region of interest: the part of the domain containing the global minimum and the non-trivial structural features. We rescale all functions so this region matches the unit box. For each instance, we run optimization for up to iterations, capped at 25,000, over 25 independent runs with initial points . Empirical runtime distributions follow Hansen et al. [54] with simulated restarts, except that we replace the original targets with 51 logarithmically spaced values between the third quartile of a random-search baseline and above the global minimum. Using a random-search-based easiest target rather than a fixed absolute error keeps the target scale informative for all functions.
C.2 Candidate Optimizers
The candidate set includes 52 optimizers plus a random-search baseline: 28 gradient-based methods from the optax library [76] and 24 derivative-free methods from the evosax library [77]. Table 5 gives the configuration of the four optimizers named in Section 4.1. For all remaining optimizers, we used the default hyperparameter settings provided by their respective libraries.
C.3 Joint Problem and Portfolio Selection
The procedure jointly selects benchmark problems and a portfolio of optimizers so that algorithm selection is meaningful. A task set is informative only if no single optimizer suffices: portfolio members must be complementary, the best choice must vary by problem, and none should be strong enough to serve as a default. All three depend on the selected problems and optimizers.
A PREPRINT
Table 5: Hyperparameters of the Algorithm Portfolio.
| Optimizer | Parameter | Value |
|---|---|---|
| L-BFGS | memory size | 10 |
| line-search trials | ≤ 20 | |
| Wolfe tolerances | ||
| Rprop | learning rate | |
| step multipliers | 0.5, 1.2 | |
| step-size bounds | ||
| CR-FM-NES | population size | |
| initial standard deviation | 1 | |
| mean, moving-s rates | 1 | |
| MR15-GA | population size | |
| initial standard deviation | 1 | |
| target success rate | 0.2 | |
| s multipliers | 0.5, 2 | |
| elite fraction | 1/2 |
Let be the benchmark problems, the candidate optimizers, and the performance of on . Let encode the selection of problems. For a portfolio of optimizers, define (virtual best solver on ) and (portfolio average on ). The objective is the sum of over the selected problems, measuring the benefit of informed algorithm selection. We constrain the portfolio so that no single optimizer dominates: the best optimizer's mean performance may exceed the portfolio mean by at most . This constraint is what lets the portfolio average stand in for the single best solver of Section 4.1, whose identity depends on the selection itself and would make the objective a maximum over optimizers rather than a per-problem constant. A further constraint ties to all candidates: on the selected problems, the virtual best over must outperform each by at least . With fixed, all quantities are averages over the chosen instances and are linear in , making the optimization problem tractable.
We instantiate the program with instances and a portfolio of optimizers, chosen from the 52 candidates of Appendix C.2. We set . Since (5) is a binary linear program in , we solve the combined problem by enumerating all portfolios. For each portfolio, we first solve its linear relaxation to obtain an upper bound on the integer optimum. We rank the portfolios by this bound and then solve them exactly in descending order, stopping once the bound of the next portfolio is below the best integer solution found so far, discarding all remaining portfolios. The test set is formed by repeating this procedure on the remaining problems.
C.4 ERTD Breakdown
Figure 14a gives the training set's ERTD for reference. Figures 14b–14j resolve the comparison of Section 4.2 by problem dimensionality, one ERTD per group. Figures 14k and 14l split the test set by whether the objective is stochastic or not.
A PREPRINT

(a) Training set
(b) 2-D
(c) 3-D

(d) 5-D
(e) 10-D
(f) 20-D

(g) 40-D
(h) 64-D
(i) 256-D

(j) 1024-D
(k) Deterministic
(l) Stochastic
Figure 14: Empirical runtime distributions over the benchmark function problems. (a) the training set as a whole; (b)–(j) the test set grouped by problem dimensionality d; and (k)–(l) the same test set split by deterministic or stochastic tasks.
A PREPRINT
Appendix D Additional Evaluation Families
D.1 Random Quadratics
Each quadratic problem instance is defined as follows: we draw and with independent standard normal entries, and define
The Hessian is , so the conditioning of each instance depends entirely on its random draw. A square matrix with independent Gaussian entries is nonsingular with probability one, so admits a unique solution and the global minimum is zero. The benchmark has 90 instances, each with its own random seed and dimension uniformly sampled from 10 to 50.
D.2 Gaussian-Blob Classification
Each instance trains a small classifier on a synthetic two-dimensional dataset, following the neural-network benchmark of Li and Malik [7]. The data consist of 100 points from four multivariate Gaussian components, each contributing 25 points. For component , the mean is with , and the covariance is , where is drawn uniformly from . Each component is assigned one of two labels, with both classes present. The classifier is a multilayer perceptron (MLP) with two inputs, ReLU hidden units, and a two-way softmax output. Training uses full-batch cross-entropy loss with regularization of on every weight.
The family independently adjusts the dataset and model, combining 11 random seeds with depths of 2, 3, or 4 hidden layers and widths of 2, 4, or 6 units, yielding problems with 18–158 trainable parameters. For each instance, the global minimum is approximated via three optimization restarts. Each restart keeps the better result from a 1000-step cosine-annealed Adam run and a 300-step L-BFGS run. The first restart uses the original initialization; subsequent restarts use resampled weights. The smallest loss over all restarts defines the reference baseline for all targets.
D.3 Meta-Optimization of Adam
The lower-level problem is a classification instance from Appendix D.2, using the smallest architecture in its grid: an MLP with two inputs, two hidden layers of width two, and two outputs, trained on a similarly generated dataset. The outer optimization tunes three Adam hyperparameters in : the learning rate and momentum terms and .
To evaluate the objective at , we train an initialized MLP with Adam for 20 steps on the lower-level loss: softmax cross-entropy with regularization . One outer evaluation corresponds to a full inner training run, and the outer gradient is obtained by backpropagating through all unrolled steps. With fixed initialization per instance, the objective is deterministic but its global minimum is not analytically tractable. We approximate it using Adam with five independent restarts of 300 outer steps, taking the lowest loss as reference. All targets are defined relative to this empirical best, and the problem family has ten instances differing only by random seed.
References
[1] M. A. Bessa et al., "A framework for data-driven analysis of materials under uncertainty: Countering the curse of dimensionality," Comput. Methods Appl. Mech. Eng., vol. 320, no. April, pp. 633–667, 2017, ISSN: 00457825. DOI: 10.1016/j.cma.2017.03.037.
[2] D. H. Wolpert and W. G. Macready, "No free lunch theorems for optimization," IEEE Trans. Evol. Comput., vol. 1, no. 1, pp. 67–82, 1997, ISSN: 1089778X. DOI: 10.1109/4235.585893.
[3] P. Kerschke, H. H. Hoos, F. Neumann, and H. Trautmann, "Automated algorithm selection: Survey and perspectives," Evol. Comput., vol. 27, no. 1, pp. 3–45, 2018, ISSN: 15309304. DOI: 10.1162/evco_a_00242. arXiv: 1811.11597.
[4] T. Dokeroglu, T. Kucukyilmaz, and E. G. Talbi, "Hyper-heuristics: A survey and taxonomy," Comput. Ind. Eng., vol. 187, no. November 2022, p. 109 815, 2024, ISSN: 03608352. DOI: 10.1016/j.cie.2023.109815.
[5] M. Mısir, "Hyper-heuristics: Autonomous problem solvers," in Automated Design of Machine Learning and Search Algorithms, N. Pillay and R. Qu, Eds., Cham: Springer International Publishing, 2021, pp. 109–131, ISBN: 978-3-030-72068-1 978-3-030-72069-8. DOI: 10.1007/978-3-030-72069-8_7. (visited on 02/19/2024).
[6] M. Andrychowicz et al., "Learning to learn by gradient descent by gradient descent," Adv. Neural Inf. Process. Syst., no. NIPS, pp. 3988–3996, 2016, ISSN: 10495258. arXiv: 1606.04474.
[7] K. Li and J. Malik, "Learning to optimize," 5th Int. Conf. Learn. Represent. ICLR 2017 - Conf. Track Proc., 2017. DOI: 10.1007/978-3-031-06839-3_1. arXiv: 1606.01885.
[8] N. Krasnogor and J. Smith, "A tutorial for competent memetic algorithms: Model, taxonomy, and design issues," IEEE Trans. Evol. Comput., vol. 9, no. 5, pp. 474–488, Oct. 2005, ISSN: 1941-0026. DOI: 10.1109/TEVC.2005.850260. (visited on 08/06/2026).
A PREPRINT
[9] D. Vermetten, H. Wang, T. Back, and C. Doerr, "Towards dynamic algorithm selection for numerical black-box optimization: Investigating BBOB as a use case," GECCO 2020 - Proc. 2020 Genet. Evol. Comput. Conf., pp. 654–662, 2020. DOI: 10.1145/3377930.3390189.
[10] D. Schröder, D. Vermetten, H. Wang, C. Doerr, and T. Bäck, Switching between numerical black-box optimization algorithms with warm-starting policies, Jan. 2023. DOI: 10.48550/arXiv.2204.06539. arXiv: 2204.06539 [cs]. (visited on 05/07/2025).
[11] H. Guo et al., Deep reinforcement learning for dynamic algorithm selection: A proof-of-principle study on differential evolution, Mar. 2024. arXiv: 2403.02131 [cs]. (visited on 11/06/2024).
[12] N. Zhu, F. Zhao, and J. Cao, “A hyperheuristic and reinforcement learning guided meta-heuristic algorithm recommendation,” in 2024 27th International Conference on Computer Supported Cooperative Work in Design (CSCWD), May 2024, pp. 1061–1066. DOI: 10.1109/CSCWD61410.2024.10580058. (visited on 08/06/2026).
[13] F. Tahernezhad-Javazm, D. Rankin, N. D. Bois, A. E. Smith, and D. Coyle, R2 indicator and deep reinforcement learning enhanced adaptive multi-objective evolutionary algorithm, Apr. 2024. DOI: 10.48550/arXiv.2404.08161. arXiv: 2404.08161 [cs.NE]. (visited on 08/06/2026).
[14] G. Getzelman and P. Balaprakash, “Learning to switch optimizers for quadratic programming,” in Proceedings of The 13th Asian Conference on Machine Learning, PMLR, Nov. 2021, pp. 1553–1568. (visited on 01/05/2026).
[15] Y. S. Ong and A. Keane, “Meta-lamarckian learning in memetic algorithms,” IEEE Trans. Evol. Comput., vol. 8, no. 2, pp. 99–110, Apr. 2004, ISSN: 1941-0026. DOI: 10.1109/TEVC.2003.819944. (visited on 08/06/2026).
[16] F. Neri and C. Cotta, “Memetic algorithms and memetic computing optimization: A literature review,” Swarm Evol. Comput., vol. 2, pp. 1–14, Feb. 2012, ISSN: 22106502. DOI: 10.1016/j.swevo.2011.11.003. (visited on 08/06/2026).
[17] L. Meunier et al., Black-box optimization revisited: Improving algorithm selection wizards through massive benchmarking, Feb. 2021. DOI: 10.48550/arXiv.2010.04542. arXiv: 2010.04542 [cs.LG]. (visited on 08/06/2026).
[18] Z. Ma et al., MetaBox-v2: A unified benchmark platform for meta-black-box optimization, Oct. 2025. DOI: 10.48550/arXiv.2505.17745. arXiv: 2505.17745 [cs.LG]. (visited on 08/06/2026).
[19] M. P. van der Schelling, D. Toshiwal, and M. A. Bessa, “Learning to choose optimizers,” in 2026 IEEE Congress on Evolutionary Computation (CEC), Jul. 2026.
[20] Z. Ma, H. Guo, Y.-J. Gong, J. Zhang, and K. C. Tan, Toward automated algorithm design: A survey and practical guide to meta-black-box-optimization, Apr. 2025. DOI: 10.48550/arXiv.2411.00625. arXiv: 2411.00625 [cs]. (visited on 01/05/2026).
[21] J. Bradbury, Jax-ml/jax, jax-ml, Apr. 2018. (visited on 04/20/2026).
[22] M. Blondel et al., “Efficient and modular implicit differentiation,” in Advances in Neural Information Processing Systems, vol. 35, 2022.
[23] J. R. Rice, “The algorithm selection problem*,” in Advances in Computers, M. Rubinoff and M. C. Yovits, Eds., vol. 15, Elsevier, Jan. 1976, pp. 65–118. DOI: 10.1016/S0065-2458(08)60520-3. (visited on 08/06/2026).
[24] B. Bischl, O. Mersmann, H. Trautmann, and M. Preuss, “Algorithm selection based on exploratory landscape analysis and cost-sensitive learning,” GECCO'12 - Proc. 14th Int. Conf. Genet. Evol. Comput., pp. 313–320, 2012. DOI: 10.1145/2330163.2330209.
[25] O. Mersmann, B. Bischl, H. Trautmann, M. Preuss, C. Weihs, and G. Rudolph, “Exploratory landscape analysis,” Genet. Evol. Comput. Conf. GECCO'11, pp. 829–836, 2011. DOI: 10.1145/2001576.2001690.
[26] J. He, C. Reeves, C. Wit, and X. Yao, “A note on problem difficulty measures in black-box optimization: Classification, realizations and predictability,” Evol. Comput., vol. 15, no. 4, pp. 435–443, 2007, ISSN: 10636560. DOI: 10.1162/evco.2007.15.4.435.
[27] Q. Renau, C. Doerr, J. Dreo, and B. Doerr, “Exploratory landscape analysis is strongly sensitive to the sampling strategy,” Lect. Notes Comput. Sci. (incl. Subser. Lect. Notes Artif. Intell. Notes Bioinform.), vol. 12270 LNCS, pp. 139–153, 2020, ISSN: 16113349. DOI: 10.1007/978-3-030-58115-2_10. arXiv: 2006.11135.
[28] A. Jankovic, G. Popovski, T. Eftimov, and C. Doerr, “The impact of hyper-parameter tuning for landscape-aware performance regression and algorithm selection,” GECCO 2021 - Proc. 2021 Genet. Evol. Comput. Conf., pp. 687–696, 2021. DOI: 10.1145/3449639.3459406.
[29] Q. Renau and E. Hart, “On the utility of probing trajectories for algorithm-selection,” no. MI, 2024. arXiv: 2401.12745.
[30] B. van Stein, F. X. Long, M. Frenzel, P. Krause, M. Gitterle, and T. Bäck, “DoE2Vec: Deep-learning based features for exploratory landscape analysis,” GECCO 2023 Companion - Proc. 2023 Genet. Evol. Comput. Conf. Companion, pp. 515–518, 2023. DOI: 10.1145/3583133.3590609. arXiv: 2304.01219.
[31] M. Alissa, K. Sim, and E. Hart, “Algorithm selection using deep learning without feature extraction,” in Proceedings of the Genetic and Evolutionary Computation Conference, Prague Czech Republic: ACM, Jul. 2019, pp. 198–206, ISBN: 978-1-4503-6111-8. DOI: 10.1145/3321707.3321845. (visited on 10/14/2024).
[32] D. Antipov and C. Doerr, When switching algorithms helps: A theoretical study of online algorithm selection, Apr. 2026. DOI: 10.48550/arXiv.2604.07473. arXiv: 2604.07473 [cs.NE]. (visited on 08/06/2026).
[33] E. K. Burke, M. Hyde, G. Kendall, G. Ochoa, E. Özcan, and J. R. Woodward, “A classification of hyper-heuristic approaches,” in Handbook of Metaheuristics, M. Gendreau and J.-Y. Potvin, Eds., vol. 146, Boston, MA: Springer US, 2010, pp. 449–468, ISBN: 978-1-4419-1663-1 978-1-4419-1665-5. DOI: 10.1007/978-1-4419-1665-5_15. (visited on 02/19/2024).
[34] A. Biedenkapp, H. F. Bozkurt, T. Eimer, F. Hutter, and M. Lindauer, “Dynamic algorithm configuration: Foundation of a new meta-algorithmic framework,” pp. 0–8. DOI: 10.3233/FAIA200122.
[35] S. Adriaensen et al., “Automated dynamic algorithm configuration,” J. Artif. Intell. Res., vol. 75, pp. 1633–1699, Dec. 2022, ISSN: 1076-9757. DOI: 10.1613/jair.1.13922. (visited on 10/14/2024).
[36] L. Metz, N. Maheswaranathan, J. Nixon, C. Daniel Freeman, and J. Sohl-Dickstein, “Understanding and correcting pathologies in the training of learned optimizers,” 36th Int. Conf. Mach. Learn. ICML 2019, vol. 2019-June, pp. 8016–8035, 2019. arXiv: 1810.10180.
A PREPRINT
[37] J. Harrison, L. Metz, and J. Sohl-Dickstein, "A closer look at learned optimization: Stability, robustness, and inductive biases," no. NeurIPS, 2022, arXiv: 2209.11208.
[38] D. Molina, M. Lozano, C. García-Martínez, and F. Herrera, “Memetic algorithms for continuous optimisation based on local search chains,” Evol. Comput., vol. 18, no. 1, pp. 27–63, Mar. 2010, ISSN: 1063-6560. DOI: 10.1162/evco.2010.18.1.18102. (visited on 08/06/2026).
[39] Y. Cao, B. Wu, and M. Wen, “Reinforcement learning-controlled differential evolution with L-BFGS refinements,” PLOS One, vol. 21, no. 5, Y. Lou, Ed., e0347860, May 2026, ISSN: 1932-6203. DOI: 10.1371/journal.pone.0347860. (visited on 08/06/2026).
[40] H. Samma, C. P. Lim, and J. Mohamad Saleh, “A new reinforcement learning-based memetic particle swarm optimizer,” Appl. Soft Comput., vol. 43, pp. 276–297, Jun. 2016, ISSN: 15684946. DOI: 10.1016/j.asoc.2016.01.006. (visited on 08/06/2026).
[41] D. Vermetten, H. Wang, K. Sim, and E. Hart, “To switch or not to switch: Predicting the benefit of switching between algorithms based on trajectory features,” Lect. Notes Comput. Sci. (incl. Subser. Lect. Notes Artif. Intell. Lect. Notes Bioinform.), vol. 13989 LNCS, pp. 335–350, 2023, ISSN: 16113349. DOI: 10.1007/978-3-031-30229-9_22. arXiv: 2302.09075.
[42] A. Kostovska et al., “Per-run algorithm selection with warm-starting using trajectory-based features,” Lect. Notes Comput. Sci. (incl. Subser. Lect. Notes Artif. Intell. Lect. Notes Bioinform.), vol. 13398 LNCS, pp. 46–60, 2022, ISSN: 16113349. DOI: 10.1007/978-3-031-14714-2_4. arXiv: 2204.09483.
[43] A. Jankovic, D. Vermetten, A. Kostovska, J. De Nobel, T. Efimov, and C. Doerr, “Trajectory-based algorithm selection with warm-starting,” 2022 IEEE Congr. Evol. Comput. CEC 2022 - Conf. Proc., vol. 952215, no. 952215, 2022. DOI: 10.1109/CEC55065.2022.9870222. arXiv: 2204.06397.
[44] M. Gagliolo and J. Schmidhuber, “Learning dynamic algorithm portfolios,” Ann. Math. Artif. Intell., vol. 47, no. 3-4, pp. 295–328, Feb. 2007, ISSN: 1012-2443, 1573-7470. DOI: 10.1007/s10472-006-9036-z. (visited on 03/17/2026).
[45] N. S. Keskar and R. Socher, Improving generalization performance by switching from ADAM to SGD, 2017. arXiv: 1712.07628.
[46] N. Hansen, S. Finck, R. Ros, and A. Auger, “Real-parameter black-box optimization benchmarking 2009: Noiseless functions definitions,” INRIA, Research Report RR-6829, 2009. (visited on 08/19/2026).
[47] J. Rapin and O. Teytaud, Facebookresearch/nevergrad, Meta Research, 2018. (visited on 08/13/2026).
[48] C. Wang, Y.-J. Gong, Z. Cao, and Z. Ma, “Instance generation for meta-black-box optimization through latent space reverse engineering,” Proc. AAAI Conf. Artif. Intell., vol. 40, no. 43, pp. 37 178–37 186, Mar. 2026, ISSN: 2374-3468. DOI: 10.1609/aaai.v40i43.41048. (visited on 08/06/2026).
[49] C. Wang et al., Task-free adaptive meta black-box optimization, Feb. 2026. DOI: 10.48550/arXiv.2601.21475. arXiv: 2601.21475 [cs.NE]. (visited on 08/06/2026).
[50] S. Sodhani, A. Zhang, and J. Pineau, “Multi-task reinforcement learning with context-based representations,” in Proceedings of the 38th International Conference on Machine Learning, ser. Proceedings of Machine Learning Research, vol. 139, PMLR, 2021.
[51] H. Guo et al., “ConfigX: Modular configuration for evolutionary algorithms via multitask reinforcement learning,” Proc. AAAI Conf. Artif. Intell., vol. 39, no. 25, pp. 26 982–26 990, Apr. 2025, ISSN: 2374-3468. DOI: 10.1609/aaai.v39i25.34904. (visited on 08/13/2026).
[52] R. S. Sutton and A. G. Barto, Reinforcement Learning. 2018, ISBN: 978-0-262-03924-6.
[53] A. Hallak, D. D. Castro, and S. Mannor, Contextual markov decision processes, Feb. 2015. DOI: 10.48550/arXiv.1502.02259. arXiv:1502.02259 [stat.ML]. (visited on 08/17/2026).
[54] N. Hansen, A. Auger, D. Brockhoff, and T. Tusar, “Anytime performance assessment in blackbox optimization benchmarking,” IEEE Trans. Evol. Comput., vol. 26, no. 6, pp. 1293–1305, Dec. 2022, ISSN: 1089-778X, 1089-778X, 1941-0026. DOI: 10.1109/TEVC.2022.3210897. (visited on 04/25/2024).
[55] N. Shazeer et al., Outrageously large neural networks: The sparsely-gated mixture-of-experts layer, Jan. 2017. DOI: 10.48550/arXiv.1701.06538. arXiv: 1701.06538 [cs.LG]. (visited on 08/17/2026).
[56] R. Raileanu and R. Fergus, Decoupling value and policy for generalization in reinforcement learning, Jun. 2021. DOI: 10.48550/arXiv.2102.10330. arXiv: 2102.10330 [cs]. (visited on 05/04/2026).
[57] J. Schulman, P. Moritz, S. Levine, M. Jordan, and P. Abbeel, High-dimensional continuous control using generalized advantage estimation, Oct. 2018. DOI: 10.48550/arXiv.1506.02438. arXiv: 1506.02438 [cs.LG]. (visited on 08/06/2026).
[58] J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov, Proximal policy optimization algorithms, Aug. 2017. DOI: 10.48550/arXiv.1707.06347. arXiv: 1707.06347 [cs.LG]. (visited on 08/06/2026).
[59] N. Hansen, S. Finck, R. Ros, and A. Auger, “Real-parameter black-box optimization benchmarking 2009: Noisy functions definitions,” INRIA, Research Report RR-6869, 2009. (visited on 08/19/2026).
[60] G. Gur-Ari, D. A. Roberts, and E. Dyer, Gradient descent happens in a tiny subspace, Dec. 2018. DOI: 10.48550/arXiv.1812.04754. arXiv: 1812.04754 [cs.LG]. (visited on 08/19/2026).
[61] C. Li, H. Farkhoor, R. Liu, and J. Yosinski, Measuring the intrinsic dimension of objective landscapes, Apr. 2018. DOI: 10.48550/arXiv.1804.08838. arXiv: 1804.08838 [cs.LG]. (visited on 08/19/2026).
[62] J. J. Moré and S. M. Wild, “Benchmarking derivative-free optimization algorithms,” SIAM Journal on Optimization, vol. 20, no. 1, pp. 172–191, 2009. DOI: 10.1137/080724083.
[63] D. C. Liu and J. Nocedal, “On the limited memory BFGS method for large scale optimization,” Math. Program., vol. 45, no. 1, pp. 503–528, Aug. 1989, ISSN: 1436-4646. DOI: 10.1007/BF01589116. (visited on 08/31/2026).
[64] M. Riedmiller and H. Braun, “A direct adaptive method for faster backpropagation learning: The RPROP algorithm,” in IEEE International Conference on Neural Networks, Mar. 1993, 586–591 vol. 1. DOI: 10.1109/ICNN.1993.298623. (visited on 08/19/2026).
[65] M. Nomura and I. Ono, “Fast moving natural evolution strategy for high-dimensional problems,” in 2022 IEEE Congress on Evolutionary Computation (CEC), Jul. 2022, pp. 1–8. DOI: 10.1109/CEC55065.2022.9870206. (visited on 08/06/2026).
A PREPRINT
[66] I. Rechenberg, “Evolution strategy: Nature’s way of optimization,” in Optimization: Methods and Applications, Possibilities and Limitations, H. W. Bergmann, Ed., Berlin, Heidelberg: Springer, 1989, pp. 106–126, ISBN: 978-3-642-83814-9. DOI: 10.1007/978-3-642-83814-9_6.
[67] P. N. Suganthan, N. Hansen, J. J. Liang, and K. Deb, “Problem definitions and evaluation criteria for the CEC 2005 special session on real-parameter optimization,” pp. 1–50,
[68] G. Wu, R. Mallipeddi, and P. N. Suganthan, “Problem definitions and evaluation criteria for the CEC 2017 competition on constrained real-parameter optimization,” pp. 0–16,
[69] X. Li, K. Tang, M. N. Omidvar, Z. Yang, and K. Qin, Benchmark functions for the CEC'2013 special session and competition on large-scale global optimization, Dec. 2013.
[70] M. Hausknecht and P. Stone, “Deep recurrent Q-learning for partially observable MDPs,” pp. 1–9, 2009.
[71] T. Ni, B. Eysenbach, and R. Salakhutdinov, Recurrent model-free RL can be a strong baseline for many POMDPs, Jun. 2022. DOI: 10.48550/arXiv.2110.05038. arXiv: 2110.05038 [cs.LG]. (visited on 08/17/2026).
[72] H. S. Gomes, B. Léger, and C. Gagné, Meta learning black-box population-based optimizers, Mar. 2021. DOI: 10.48550/arXiv.2103.03526. arXiv: 2103.03526 [cs.LG]. (visited on 08/17/2026).
[73] M. P. van der Schelling and M. Bessa, Black-box optimization benchmarking (bbob) problem set for JAX, Zenodo, Nov. 2025. DOI: 10.5281/zenodo.17426894. (visited on 04/01/2026).
[74] L. Sagun, U. Evci, V. U. Guney, Y. Dauphin, and L. Bottou, Empirical analysis of the hessian of over-parametrized neural networks, May 2018. DOI: 10.48550/arXiv.1706.04454. arXiv: 1706.04454 [cs.LG]. (visited on 08/19/2026).
[75] V. Papyan, Measurements of three-level hierarchical structure in the outliers in the spectrum of deepnet hessians, Jan. 2019. DOI: 10.48550/arXiv.1901.08244. arXiv: 1901.08244 [cs.LG]. (visited on 08/19/2026).
[76] Deepmind, I. Babushckin, K. Baumli, and B. Alison, Google-deepmind/optax, Google DeepMind, Jan. 2020. (visited on 04/20/2026).
[77] R. T. Lange, Evosax: JAX-based evolution strategies, Dec. 2022. DOI: 10.48550/arXiv.2212.04180. arXiv: 2212.04180 [cs]. (visited on 04/30/2026).