arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.06006cs.LGcs.AIcs.NE
收藏

Optuna vs Code Llama:LLM 是超参数调优的新范式吗?

Optuna vs Code Llama: Are LLMs a New Paradigm for Hyperparameter Tuning?

Computer Vision Lab, CAIDAS & IFI, University of Würzburg, Germany(计算机视觉实验室,CAIDAS与IFI,乌尔姆大学,德国)

Roman Kochnev, Arash Torabi Goodarzi, Zofia Antonina Bentyn, Dmitry Ignatov, Radu Timofte

AI总结:

通过微调参数高效的 Code Llama 模型,提出基于大语言模型的超参数优化方法,在多种视觉架构上实现与 Optuna 相当或更优的 RMSE 并大幅降低计算开销。

摘要:

最优超参数选择对于最大化计算机视觉中神经网络的性能至关重要,尤其是当架构变得日益复杂时。本文通过使用 LoRA 微调参数高效的 Code Llama 版本,探索了大语言模型在超参数优化中的应用。所得模型在广泛的视觉架构上产生了准确且计算高效的超参数推荐。与依赖资源密集型的试错过程的传统方法(如 Optuna)不同,我们的方法在实现竞争性或更优的均方根误差的同时,大幅降低了计算开销。重要的是,所评估的模型涵盖了以图像为中心的任务,如分类、检测和分割,这些是许多图像处理流程(包括增强、恢复和风格迁移)的基本组成部分。我们的结果表明,基于 LLM 的优化不仅与成熟的贝叶斯方法(如树结构 Parzen 估计器)相媲美,而且加速了需要感知质量和低延迟处理的实际应用的调优。所有生成的配置均公开在 LEMUR 神经网络数据集(https://github.com/ABrain-One/nn-dataset)中,该数据集作为超参数优化研究的开源基准,并为提高图像处理系统中的训练效率提供了实用资源。

英文摘要:

Optimal hyperparameter selection is critical for maximizing the performance of neural networks in computer vision, particularly as architectures become more complex. This work explores the use of large language models (LLMs) for hyperparameter optimization by fine-tuning a parameter-efficient version of Code Llama using LoRA. The resulting model produces accurate and computationally efficient hyperparameter recommendations across a wide range of vision architectures. Unlike traditional methods such as Optuna, which rely on resource-intensive trial-and-error procedures, our approach achieves competitive or superior Root Mean Square Error (RMSE) while substantially reducing computational overhead. Importantly, the models evaluated span image-centric tasks such as classification, detection, and segmentation, fundamental components in many image manipulation pipelines including enhancement, restoration, and style transfer. Our results demonstrate that LLM-based optimization not only rivals established Bayesian methods like Tree-structured Parzen Estimators (TPE), but also accelerates tuning for real-world applications requiring perceptual quality and low-latency processing. All generated configurations are publicly available in the LEMUR Neural Network Dataset (https://github.com/ABrain-One/nn-dataset), which serves as an open source benchmark for hyperparameter optimization research and provides a practical resource to improve training efficiency in image manipulation systems.

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

↑