arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.18026cs.LGcs.AI
收藏

RAPSTuner:基于检索的软提示用于在非平稳环境中具有情境意识的黑盒优化

RASP-Tuner: Retrieval-Augmented Soft Prompts for Context-Aware Black-Box Optimization in Non-Stationary Environments

Department of Computer Science, The University of Hong Kong(香港大学计算机科学系)

Enze Pan

AI总结:

本文提出RAPSTuner,通过检索相似历史情境来识别模式代理,利用混合专家代理预测短期损失,并在低维提示子空间中进行适应,以减少非平稳环境中黑盒优化的累积遗憾。

摘要:

许多部署系统暴露了黑盒目标,其最小化配置随外部观察到的情境变化。当情境重新访问少量潜在模式时,丢弃历史的优化器会重复适应成本;当每一步必须保持经济时,高观测次数下的完整高斯过程(GP)重新拟合难以维持。我们将在线调优视为情境条件的遗憾最小化,并提出RAPSTuner,其通过第一原理启发的分解:(i)通过检索相似的历史情境识别模式代理;(ii)利用混合专家代理预测短期损失,其输入拼接参数、情境和检索到的软提示;(iii)主要在低维提示子空间中适应,仅在标量化误差或分歧激增时触发完整的代理更新。RealErrorComposer通过EMA稳定化的逻辑分数将异质流指标映射到[0,1],提供单一可微训练目标。在九个合成非平稳基准、对抗性情境验证和三个表格型现实流(现实世界实验部分)上,RAPSTuner在七个九个合成任务中优于或匹配GP-UCB和CMA-ES的累积遗憾,同时在相同硬件上记录比滑动窗口GP-UCB低8-12倍的墙钟每步时间。在集群分离、强凸模式模型(RA-GD)中的理想分析提供了动态遗憾有界条件的充分条件;部署的流程违反了其中几个前提,我们阐述了哪些差距仍然开放。

英文摘要:

Many deployed systems expose black-box objectives whose minimizing configuration shifts with an externally observed context. When contexts revisit a small set of latent regimes, an optimizer that discards history pays repeated adaptation cost; when each step must remain inexpensive, full Gaussian-process (GP) refits at high observation counts are difficult to sustain. We cast online tuning as context-conditioned regret minimization and present RASP-Tuner, which instantiates a decomposition motivated by first principles: (i) identify a regime proxy by retrieving similar past contexts; (ii) predict short-horizon loss with a mixture-of-experts surrogate whose input concatenates parameters, context, and a retrieved soft prompt; (iii) adapt chiefly in a low-dimensional prompt subspace, invoking full surrogate updates only when scalarized error or disagreement spikes. A RealErrorComposer maps heterogeneous streaming metrics to [0,1] via EMA-stabilized logistic scores, supplying a single differentiable training target. On nine synthetic non-stationary benchmarks, an adversarial-context sanity check, and three tabular real-world streams (Section on real-world experiments), RASP-Tuner improves or matches cumulative regret relative to our GP-UCB and CMA-ES implementations on seven of nine synthetic tasks under paired tests at horizon T=100, while recording 8-12 times lower wall-clock per step than sliding-window GP-UCB on identical hardware. Idealized analysis in a cluster-separated, strongly convex regime model (RA-GD) supplies sufficient conditions for bounded dynamic regret; the deployed pipeline violates several of these premises, and we articulate which gaps remain open.

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

↑