Skip to main content
QUICK REVIEW

[论文解读] B2Opt: Learning to Optimize Black-box Optimization with Little Budget

Xiaobin Li, Kai Wu|arXiv (Cornell University)|Apr 24, 2023
Metaheuristic Optimization Algorithms ResearchComputer Science被引用 3
一句话总结

B2Opt 提出了一种可学习的优化框架,该框架基于基于 Transformer 的、受遗传算法启发的架构,能够以极少的函数评估次数自动学习高效的黑箱优化策略。通过在堆叠的模块中使用自注意力交叉、前馈突变和残差选择模块,B2Opt 在性能上实现了相对于 SOTA 域基线的多个数量级提升,即使在低保真度代理函数上进行训练也表现优异。

ABSTRACT

The core challenge of high-dimensional and expensive black-box optimization (BBO) is how to obtain better performance faster with little function evaluation cost. The essence of the problem is how to design an efficient optimization strategy tailored to the target task. This paper designs a powerful optimization framework to automatically learn the optimization strategies from the target or cheap surrogate task without human intervention. However, current methods are weak for this due to poor representation of optimization strategy. To achieve this, 1) drawing on the mechanism of genetic algorithm, we propose a deep neural network framework called B2Opt, which has a stronger representation of optimization strategies based on survival of the fittest; 2) B2Opt can utilize the cheap surrogate functions of the target task to guide the design of the efficient optimization strategies. Compared to the state-of-the-art BBO baselines, B2Opt can achieve multiple orders of magnitude performance improvement with less function evaluation cost. We validate our proposal on high-dimensional synthetic functions and two real-world applications. We also find that deep B2Opt performs better than shallow ones.

研究动机与目标

  • 解决在函数评估次数有限的情况下,高维、昂贵的黑箱优化挑战。
  • 设计一种自动化优化策略学习框架,以减少对人工设计超参数的依赖。
  • 超越固定或浅层模型,改进优化策略的表征能力。
  • 通过利用廉价代理函数,降低在昂贵黑箱函数上的训练成本。
  • 通过从代理任务进行迁移学习,实现对未见过的优化任务的强大泛化能力。

提出的方法

  • B2Opt 采用一种新颖的 B2Opt 块(OB),由三个核心模块组成:基于自注意力的交叉(SAC)、基于前馈网络的突变(FM)和残差与选择模块(RSSM)。
  • SAC 模块使用多头自注意力机制,根据个体适应度动态分配交叉权重,实现自适应重组。
  • FM 模块应用学习到的非均匀突变操作,引导种群向有希望的区域收敛,从而提升收敛速度。
  • RSSM 通过成对适应度比较选择最适应的个体,模拟进化策略中的‘适者生存’机制。
  • 多个 OB 块被堆叠,以模拟迭代优化过程,形成深层、端到端可训练的优化策略。
  • B2Opt 使用一组廉价、可微分的代理函数进行训练,这些函数模仿目标任务的特性,从而在不查询昂贵目标函数的情况下实现基于梯度的优化。
Figure 1: Overall architecture of B2Opt and OB. $Nx$ stands for B2Opt is composed of $Nx$ stacked OBs. These OBs can be set to share weights with each other or not share weights with each other.
Figure 1: Overall architecture of B2Opt and OB. $Nx$ stands for B2Opt is composed of $Nx$ stacked OBs. These OBs can be set to share weights with each other or not share weights with each other.

实验结果

研究问题

  • RQ1深度可学习优化框架是否能在函数评估次数极少的情况下,超越人工设计的优化方法以及现有的‘学习优化’方法,在高维黑箱优化中表现更优?
  • RQ2与传统进化算法相比,基于 Transformer 的架构在表征复杂、自适应优化策略方面有多高效?
  • RQ3当在低保真度代理函数上进行训练时,B2Opt 在未见过的黑箱优化任务上的泛化能力有多强?
  • RQ4B2Opt 的各个组件(SAC、FM、RSSM)对整体性能的贡献如何?它们的相对重要性是什么?
  • RQ5增加模型深度(OB 数量)并使用参数共享是否能提升优化性能和泛化能力?

主要发现

  • B2Opt 在性能上实现了相对于 SOTA 域基线(包括进化算法、贝叶斯优化和 L2O 方法)的多个数量级提升,且函数评估次数显著减少。
  • 在高维合成函数(F1–F9,维度 d=100)上,B2Opt 将 F4 的最终目标值降低至 3.03±5.82,优于 Not FM(23.3±6.68)和 Not RSSM(271±346)。
  • 消融研究显示,移除任意一个核心模块(SAC、FM、RSSM 或 RC)均导致性能下降,其中 FM 的影响略弱于其他模块,表明所有组件均不可或缺。
  • 可视化结果表明,B2Opt 的突变策略将解集中在最优值附近的高潜力区域,同时保持多样性,而多项式突变则使解更均匀分布。
  • 随着训练数据集增大,模型性能持续提升,证实了代理函数与目标函数之间的相似性对泛化能力具有关键影响。
  • 更深的 B2Opt 模型(如使用参数共享的 5 个 OB)优于浅层模型,证明了增强表征能力的优势。
Figure 2: Planar Mechanical Arm.
Figure 2: Planar Mechanical Arm.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。