用语言模型嵌入实现跨域通用离线黑箱优化
Towards Universal Offline Black-Box Optimization via Learning Language Model Embeddings
- 将语言模型嵌入用于统一异构数值空间表示
- 在多源开源数据上训练,实现跨任务优化
- 为通用黑箱优化提供新范式,适合算法研究者
通用黑箱优化(BBO)长期以来是研究目标。然而,与语言、视觉等领域通过结构化数据扩展实现泛化不同,离线BBO因缺乏对异构数值空间的统一表征而进展缓慢,现有方法局限于单任务、固定维度,难以实现跨域通用优化。近年来语言模型(LM)的发展提供了新路径:其嵌入能以统一方式捕捉潜在关系,使跨数据类型通用优化成为可能。本文探讨多种方法,包括基于下一个词预测的端到端学习框架,以及优先学习强表征能力的隐空间。我们从开源学术工作收集离线BBO任务与数据用于训练。实验验证了所提方法的通用性与有效性。结果表明,融合语言模型先验与学习字符串嵌入空间,可突破传统通用BBO的障碍,推动通用优化算法发展。代码见https://github.com/lamda-bbo/universal-offline-bbo。
原文摘要 · Abstract (English)
The pursuit of universal black-box optimization (BBO) algorithms is a longstanding goal. However, unlike domains such as language or vision, where scaling structured data has driven generalization, progress in offline BBO remains hindered by the lack of unified representations for heterogeneous numerical spaces. Thus, existing offline BBO approaches are constrained to single-task and fixed-dimensional settings, failing to achieve cross-domain universal optimization. Recent advances in language models (LMs) offer a promising path forward: their embeddings capture latent relationships in a unifying way, enabling universal optimization across different data types possible. In this paper, we discuss multiple potential approaches, including an end-to-end learning framework in the form of next-token prediction, as well as prioritizing the learning of latent spaces with strong representational capabilities. To validate the effectiveness of these methods, we collect offline BBO tasks and data from open-source academic works for training. Experiments demonstrate the universality and effectiveness of our proposed methods. Our findings suggest that unifying language model priors and learning string embedding space can overcome traditional barriers in universal BBO, paving the way for general-purpose BBO algorithms. The code is provided at https://github.com/lamda-bbo/universal-offline-bbo.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。