arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.27415cs.AIstat.CO
收藏

贪婪是一种强大的默认选择:智能体作为迭代优化器

Greedy Is a Strong Default: Agents as Iterative Optimizers

Yitao Li

AI总结:

本文探讨了在智能体替代随机提议生成器的情况下,经典优化方法的有效性。通过四个任务验证,发现贪心爬山法在多个搜索空间中表现优异,且生成的规则具有可解释性。

摘要:

经典优化算法--如爬山法、模拟退火和群体方法--通过随机扰动生成候选解。我们用LLM智能体替代随机提议生成器,使其根据评估诊断提出有信息的候选解,并探讨:当提议者不再随机时,经典优化方法是否仍然有效?我们在四个任务上进行了评估,涵盖离散、混合和连续搜索空间(所有任务均在3个独立运行中重复):基于规则的乳腺癌分类(测试准确率86.0%到96.5%)、MobileNetV3-Small混合超参数优化(STL-10,84.5%到85.8%,零灾难性失败 vs. 随机搜索的60%)、Qwen2.5-0.5B的LoRA微调(SST-2,89.5%到92.7%,匹配Optuna TPE的2倍效率)以及XGBoost在Adult Census上的应用(AUC 0.9297到0.9317,与CMA-ES持平但评估次数少3倍)。实证结果显示,在这些任务中:跨任务消融分析显示,模拟退火、并行调查者,甚至第二个LLM模型(OpenAI Codex)在贪心爬山法上没有优势,且需要2-3倍的评估。在我们的设置中,LLM的学得先验似乎足够强大,使得接受规则的复杂性影响有限--第一轮本身提供了大部分的改进,且变体在不同策略中收敛到相似的配置。实际意义是令人惊讶的简单性:贪心爬山法加早停是强大的默认选择。除了准确性,该框架生成的人可解释的成果--发现的乳腺癌分类规则独立地复现了已建立的细胞病理学原则。

英文摘要:

Classical optimization algorithms--hill climbing, simulated annealing, population-based methods--generate candidate solutions via random perturbations. We replace the random proposal generator with an LLM agent that reasons about evaluation diagnostics to propose informed candidates, and ask: does the classical optimization machinery still help when the proposer is no longer random? We evaluate on four tasks spanning discrete, mixed, and continuous search spaces (all replicated across 3 independent runs): rule-based classification on Breast Cancer (test accuracy 86.0% to 96.5%), mixed hyperparameter optimization for MobileNetV3-Small on STL-10 (84.5% to 85.8%, zero catastrophic failures vs. 60% for random search), LoRA fine-tuning of Qwen2.5-0.5B on SST-2 (89.5% to 92.7%, matching Optuna TPE with 2x efficiency), and XGBoost on Adult Census (AUC 0.9297 to 0.9317, tying CMA-ES with 3x fewer evaluations). Empirically, on these tasks: a cross-task ablation shows that simulated annealing, parallel investigators, and even a second LLM model (OpenAI Codex) provide no benefit over greedy hill climbing while requiring 2-3x more evaluations. In our setting, the LLM's learned prior appears strong enough that acceptance-rule sophistication has limited impact--round 1 alone delivers the majority of improvement, and variants converge to similar configurations across strategies. The practical implication is surprising simplicity: greedy hill climbing with early stopping is a strong default. Beyond accuracy, the framework produces human-interpretable artifacts--the discovered cancer classification rules independently recapitulate established cytopathology principles.

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

↑