arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.04260cs.LG
收藏

在单一模型中建模条件搜索空间的所有响应面

Modeling All Response Surfaces in One for Conditional Search Spaces

JD Explore Academy(京东探索研究院)

Jiaxing Li, Wei Liu, Chao Xue, Yibing Zhan, Xiaoxing Wang, Weifeng Liu, Dacheng Tao

AI总结:

针对条件搜索空间中超参数依赖导致贝叶斯优化困难的问题,提出单一模型方法,通过结构感知嵌入和注意力机制将不同子空间配置投影到统一特征空间,用单个高斯过程建模响应面,提升了优化效率。

摘要:

贝叶斯优化(BO)是一种样本高效的黑盒优化器,通常用于超参数相互独立的搜索空间。然而,在许多实际的AutoML场景中,超参数之间会存在依赖关系,从而形成条件搜索空间,该空间可以被划分为结构上不同的子空间。这些子空间中超参数配置的结构和维度各不相同,给BO的应用带来了挑战。以往的一些BO工作提出了在这些子空间中构建多个高斯过程模型的解决方案。然而,这些方法往往效率低下,因为它们需要大量的观测数据来保证每个GP的性能,并且无法捕捉不同子空间之间超参数的关系。为了解决这些问题,本文提出了一种在单一模型中对所有子空间的响应面进行建模的新方法,该方法可以通过自注意力机制优雅地建模超参数之间的关系。具体而言,我们设计了一种结构感知的超参数嵌入来保留结构信息。然后,我们引入了一个基于注意力的深度特征提取器,能够将来自不同子空间的不同结构的配置投影到统一的特征空间中,在该空间中可以使用单个标准高斯过程来构建响应面。在模拟函数、各种真实世界任务和HPO-B基准上的实证结果表明,我们提出的方法提高了条件搜索空间中BO的有效性和效率。

英文摘要:

Bayesian Optimization (BO) is a sample-efficient black-box optimizer commonly used in search spaces where hyperparameters are independent. However, in many practical AutoML scenarios, there will be dependencies among hyperparameters, forming a conditional search space, which can be partitioned into structurally distinct subspaces. The structure and dimensionality of hyperparameter configurations vary across these subspaces, challenging the application of BO. Some previous BO works have proposed solutions to develop multiple Gaussian Process models in these subspaces. However, these approaches tend to be inefficient as they require a substantial number of observations to guarantee each GP's performance and cannot capture relationships between hyperparameters across different subspaces. To address these issues, this paper proposes a novel approach to model the response surfaces of all subspaces in one, which can model the relationships between hyperparameters elegantly via a self-attention mechanism. Concretely, we design a structure-aware hyperparameter embedding to preserve the structural information. Then, we introduce an attention-based deep feature extractor, capable of projecting configurations with different structures from various subspaces into a unified feature space, where the response surfaces can be formulated using a single standard Gaussian Process. The empirical results on a simulation function, various real-world tasks, and HPO-B benchmark demonstrate that our proposed approach improves the efficacy and efficiency of BO within conditional search spaces.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑