arXiv(opens in a new tab)cs.AISep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.35328

Hyper Algorithm Design Agent: Evolving Learnable Optimizer from Zero

Zipei Yu, Yue-Jiao Gong, Zeyuan Ma, Yuncheng Jiang, Zhiguang Cao

ABSTRACT

Meta-Black-Box Optimization (MetaBBO) is one of the highlights in the recent AI for Optimization trend. This paradigm's bi-level workflow leverages the learnable algorithm design policy at meta level to ensure the performance and generalization improvement on the low-level optimization task. While MetaBBO helps advance the performance lower bound of the resulted optimization system, it is currently handcrafted and customized case by case to adapt different optimization problems, which inevitably introduces inherent subjectivity and hence restricts the performance upper bound and usability in practice. In this paper, we address this issue by regarding MetaBBO's design loop as coding task, where we could introduce open-endedness into MetaBBO with recursive self-improvement capability of advanced coding agents. Specifically, we propose a dual-agent framework: i) a task agent continuously refines the codebase of a target MetaBBO approach through code evolution; ii) a hyper agent progressively modifies the task agent and itself to provide open-ended design behavior; iii) the evolved MetaBBO codebase is evaluated and all in-execution information is fed back to the agents for recursive self-referential improvement. As a result, given a naive MetaBBO template, our framework automates a design evolution and finds novel variants superior to up-to-date human-made MetaBBO baselines. Surprisingly, the experimental results also demonstrate that our framework supports fast adaption across different optimization domains. Solid interpretation analysis further reveals interesting design principles emerge in such open-ended process. This work serves as the first exploration on automating design of complex learning-assisted optimization algorithms.

1 INTRODUCTION

Automated Algorithm Design (AAD) has long been discussed in the optimization community (Hoos, 2012b; Stützle & López-Ibáñez, 2018; Zhao et al., 2024), and has recently attracted growing attention with the emergence of novel paradigms such as Meta-Black-Box Optimization (MetaBBO) (Ma et al., 2025b; Yang et al., 2025) and Large Language Model for Algorithm Design (LLM4AD) (Chauhan et al., 2027; Liu et al., 2026a). Despite diverse implementations, these paradigms share the same spirit: by introducing data-driven learning capabilities (reinforcement learning (Guo et al., 2024; Ma et al., 2024), self-supervised learning (Li et al., 2024; Wang et al., 2026a), in-context learning (Liu et al., 2024c; Van Stein & Bäck, 2024), etc.) into algorithm design, the resulting optimizers achieve robust performance gains and, more importantly, generalization across problems. This paper focuses on MetaBBO. MetaBBO adopts a bi-level learning-to-optimize architecture, where a neural network-based design policy (e.g., a reinforcement learning agent (Sutton et al., 1998)) at the meta level dictates online design choices for the low-level optimizer. With performance-centric meta-learning over a problem distribution, the learned system appears to challenge the no-free-lunch (NFL) theorem (Wolpert et al., 1995; Wolpert & Macready, 1997).

However, is this true? Admittedly, MetaBBO reduces human reliance compared to traditional expert-driven design (e.g., dynamic algorithm configuration (Xue et al., 2022; Nguyen et al., 2026),

∗^{*}Corresponding Author

Figure

Figure 1: Left: The general workflow of our proposed HADA framework, which allows coordination between hyper agent and task agent for automatic MetaBBO design. Right: Essential differences between human-based design in BBO/MetaBBO and fully automated design in HADA.

algorithm selection (Nieć et al., 2026; Shao et al., 2026), and algorithm generation (Guo et al., 2026)). Yet, as shown in the right part of Fig. 1, the MetaBBO system itself still depends heavily on human experience: selecting the low-level optimizer requires expertise in algorithm-problem performance analysis, and the meta-level pipeline introduces further hand-crafted designs (e.g., decision features, policy networks). Can we really resolve the NFL issue in MetaBBO? It motivates our work.

Our solution is to introduce openendedness (Schmidhuber, 1987)—algorithmic systems pursuing never-ending innovation (Stanley, 2019; Lehman et al., 2023)—into MetaBBO. At its core lies a self-referential, continual self-improvement mechanism, exemplified by Gödel machines (Schmidhuber, 2003) and later extended to self-reflective interpreters (Steunebrink & Schmidhuber, 2012) and LLM-assisted generative approaches (Zhang et al., 2026a;b).

Following this lead, we propose HADA (Hyper Algorithm Design Agent), the first framework to reduce MetaBBO's reliance on human expertise. As shown in Fig. 1, HADA runs a search loop over the MetaBBO algorithm space. This poses two main challenges: how to represent the vast algorithmic space, and how to achieve open-ended and effective search. To address the first, we treat each MetaBBO algorithm as a sourcecodes project, reducing algorithm design to coding tasks that advanced coding agents (Bai et al., 2023; Liu et al., 2024a; Team et al., 2023) can readily operate on. For the second, we propose a closed-loop search paradigm based on a bi-agent system: a Task Agent designs better MetaBBO algorithms by editing the corresponding sourcecodes, while a Hyper Agent controls the Task Agent's reasoning logic by editing Task Agent's prompt file, and moreover, itself. This yields an open-ended, self-improving algorithm evolution process. Additionally, a tree-based editing history balances exploration and exploitation via weighted parent sampling, and unified in-execution information makes HADA domain-agnostic. With these designs, HADA autonomously discovers novel MetaBBO algorithms. We summarize our major contributions as follows:

• Paradigm Innovation: As shown in the right side of Fig. 1, HADA introduces significant paradigm shift: the bi-agent open-ended self-improvement paradigm prevents MetaBBO from being stuck with labor-intensive meta/lower level design.

• Coherent Methodology: We have carefully designed each part in HADA. This includes but not limited to the proposed open-ended bi-agent union, the code level recursive evolution pipeline, the tree-based history maintenance etc. The overall methodology holds both simplicity and exceptional capability.

• Performance Breakthrough: Given a naive MetaBBO baseline (a “zero” one) as the start point, HADA successfully evolved high-performance MetaBBO variants for three optimization domain: single-objective, constrained, multi-objective problems, achieving 121.7%, 114.7% and 104.3% performance leap compared to existing state-of-the-art baselines respectively. With the open-endedness, HADA also supports cold-start adaption either for cross-domain scenario or from off-the-shelf baselines in practice.

• Clear Reproducibility: We opensource HADA's codebase, the sourcecodes and neural parameters of the discovered MetaBBO algorithms at https://github.com/MetaEvo/HADA-AAD, for the ease of future users.

References (1)

  • [TRAIN] Run X failed: