arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.25207cs.LGcs.AIcs.CL
收藏

ASAP: 面向ML实验的以挂钟时间为中心的自动HPO研究的智能体-系统协同设计

ASAP: Agent-System Co-Design for Wall-Clock-Centered Auto HPO Research for ML Experiments

University of Notre Dame(圣母大学)

Taicheng Guo, Haomin Zhuang, Kehan Guo, Yujun Zhou, Nitesh V. Chawla, Olaf Wiest, Xiangliang Zhang

AI总结:

提出ASAP框架,通过智能体集成多种优化器并利用系统级优化(前缀稳定提示、推测并行、自适应调优)减少端到端挂钟时间,在多样HPO任务中优于基线。

摘要:

超参数优化(HPO)对于最大化机器学习模型性能至关重要,其核心挑战是样本效率:在有限预算内找到强配置。由于每个HPO工具都依赖于引入自身归纳偏置的替代先验,当问题变得足够多样并偏离这些先验时,单个工具就会陷入困境。受LLM推理和泛化能力的启发,最近的工作探索了使用LLM进行HPO,并报告了每轮迭代性能的提升。然而,这些方法有两个共同起源的局限性:它们将LLM作为由迭代次数评估的单一工具替代品。(i) 部署在先前工具的位置上,LLM本身受其预训练目标的约束,只能提供一族具有归纳偏置的提案;这种单一来源的设置仍然无法处理问题的全部多样性。(ii) 每轮迭代评估忽略了在实际运行中,LLM推理或工具执行是在每轮模型评估之上串行支付的,因此迭代次数的提升并不能转化为端到端的挂钟时间收益。我们提出了ASAP,一种智能体-系统协同设计,解决了这两个局限性。在智能体方面,ASAP利用LLM集成多样化的具有归纳偏置的优化器池,并在每轮中选择它们的提案。在系统方面,ASAP重新架构循环以减少端到端挂钟时间,同时保持遗憾质量:前缀稳定提示最大化跨轮次的KV缓存重用;推测并行通过相对误差接受测试将剩余的LLM和工具延迟隐藏在模型评估之下;以及自调优器从执行日志中自适应调整非关键路径上的推测阈值。在多样化的现代HPO任务上的大量实验表明,ASAP持续优于基线,突显了工具集成和智能体-系统协同设计的价值。

英文摘要:

Hyperparameter Optimization (HPO) is essential for maximizing machine learning model performance, and its core challenge is sample efficiency: finding strong configurations within a limited budget. Because every HPO tool relies on a surrogate prior that imparts its own inductive bias, individual tools struggle once problems become sufficiently diverse and drift from these priors. Motivated by the reasoning and generalization capabilities of LLMs, recent work has explored using LLMs for HPO and reports improved per-iteration performance. Yet these methods share two limitations with a common origin: they use the LLM as a single-tool replacement evaluated by iteration count. (i) Deployed in place of prior tools, the LLM is itself constrained by its pretraining objective to one family of inductive-biased proposals; this single-source setup still fails to handle the full diversity of problems. (ii) Per-iteration evaluation ignores that, in real runs, LLM inference or tool execution is paid serially on top of model evaluation every round, so iteration-count gains do not translate into end-to-end wall-clock gains. We present ASAP, an agent-system co-design that addresses both limitations. On the agent side, ASAP uses the LLM to integrate a diverse pool of inductive-biased optimizers and to select among their proposals each round. On the system side, ASAP re-architects the loop to reduce end-to-end wall-clock while preserving regret quality: a prefix-stable prompt maximizes KV-cache reuse across rounds; speculation parallelism hides the remaining LLM and tool latency under model evaluation via a relative-error accept test; and a Self-Tuner adapts the speculation threshold from execution logs off the critical path. Extensive experiments on diverse modern HPO tasks show that ASAP consistently outperforms baselines, underscoring the value of tool integration and agent-system co-design.

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

↑