Optuna vs Code Llama: Are LLMs a New Paradigm for Hyperparameter Tuning?
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). Builds on 36 of its 70 references that are in the map. First posted on arXiv 8 Apr 2025.
Builds on
36 of 70 references.
References · 36
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
24 more
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2014Going Deeper with Convolutionscited by 4,231
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,455
- 2019LXMERT: Learning Cross-Modality Encoder Representations from Transformerscited by 1,548
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,054
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2023Reasoning with Language Model is Planning with World Modelcited by 846
- 2018BOHB: Robust and Efficient Hyperparameter Optimization at Scalecited by 466
- 2022A Systematic Evaluation of Large Language Models of Codecited by 360
- 2023MathPrompter: Mathematical Reasoning using Large Language Modelscited by 236
- 2021Hyperparameter Optimization: Foundations, Algorithms, Best Practices and Open Challengescited by 143
- 2016Fast Bayesian Optimization of Machine Learning Hyperparameters on Large Datasetscited by 131
- 2024Large Language Models to Enhance Bayesian Optimizationcited by 127
- 2018Tunability: Importance of Hyperparameters of Machine Learning Algorithmscited by 98
- 2023Using Large Language Models for Hyperparameter Optimizationcited by 71
- 2024Large Language Model Agent for Hyper-Parameter Optimizationcited by 62
- 2024Sequential Large Language Model-Based Hyper-parameter Optimizationcited by 23
- 2023Federated Prompting and Chain-of-Thought Reasoning for Improving LLMs Answeringcited by 14
- 2024An investigation on the use of Large Language Models for hyperparameter tuning in Evolutionary Algorithmscited by 6
Built on by
Citing papers per year: 2025: 9; 2026: 12.
21 papers.
Sort:
By area:
- 2025LEMUR Neural Network Dataset: Towards Seamless AutoMLcited by 20
- 2025VIST-GPT: Ushering in the Era of Visual Storytelling with LLMs?cited by 11
- 2025Preparation of Fractal-Inspired Computational Architectures for Advanced Large Language Model Analysiscited by 11
- 2025A Retrieval-Augmented Generation Approach to Extracting Algorithmic Logic from Neural Networkscited by 11
- 2025AugmentGest: Can Random Data Cropping Augmentation Boost Gesture Recognition Performance?cited by 10
- 2025Enhancing LLM-Based Neural Network Generation: Few-Shot Prompting and Efficient Validation for Automated Architecture Designcited by 10
- 2026From Memorization to Creativity: LLM as a Designer of Novel Neural Architecturescited by 10
- 2025LLM as a Neural Architect: Controlled Generation of Image Captioning Models Under Strict API Contractscited by 9
- 2026From Brute Force to Semantic Insight: Performance-Guided Data Transformation Design with LLMscited by 7
- 2026Closed-Loop LLM Discovery of Non-Standard Channel Priors in Vision Modelscited by 6
- 2026Delta-Based Neural Architecture Search: LLM Fine-Tuning via Code Diffscited by 3
- 2025Small LLMs with Expert Blocks Are Good Enough for Hyperparamter Tuningcited by 2
9 more
- 2025SelfAI: A self-directed framework for long-horizon scientific discoverycited by 2
- 2026Automating Database-Native Function Code Synthesis with LLMscited by 2
- 2026LEMUR 2: Unlocking Neural Network Diversity for AIcited by 2
- 2026GRIMIP: A General Framework for Instance-Specific Configuration of MIP Solvers Using LLMscited by 1
- 2026Systematic Exploration of 4-Expert Heterogeneous Mixture-of-Experts via Automated Pipeline Searchcited by 1
- 2026From Code to Prediction: Fine-Tuning LLMs for Neural Network Performance Classification in NNGPTcited by 0
- 2026Towards Robust Training in NNGPT AutoML Pipeline: A Loss-Optimizer Pairing Selection Studycited by 0
- 2026Curating Same-Family Neural Networks for LLM-Guided Model Improvement: A Controlled Case Studycited by 0
- 2026Systematic Evaluation of Learning Rate Scheduling Strategies Across Heterogeneous Architecturescited by 0
- 2026Systematic Evaluation of Learning Rate Scheduling Strategies Across Heterogeneous Architectures9 Jul 2026
- 2026LEMUR 2: Unlocking Neural Network Diversity for AI7 Jul 2026
- 2026Curating Same-Family Neural Networks for LLM-Guided Model Improvement: A Controlled Case Study6 Jul 2026
- 2026GRIMIP: A General Framework for Instance-Specific Configuration of MIP Solvers Using LLMs22 Jun 2026
- 2026Systematic Exploration of 4-Expert Heterogeneous Mixture-of-Experts via Automated Pipeline Search21 Jun 2026
- 2026Towards Robust Training in NNGPT AutoML Pipeline: A Loss-Optimizer Pairing Selection Study18 Jun 2026
- 2026Delta-Based Neural Architecture Search: LLM Fine-Tuning via Code Diffs6 May 2026
- 2026From Code to Prediction: Fine-Tuning LLMs for Neural Network Performance Classification in NNGPT5 May 2026
- 2026Automating Database-Native Function Code Synthesis with LLMs2 Apr 2026
- 2026Closed-Loop LLM Discovery of Non-Standard Channel Priors in Vision Models13 Jan 2026
- 2026From Brute Force to Semantic Insight: Performance-Guided Data Transformation Design with LLMs7 Jan 2026
- 2026From Memorization to Creativity: LLM as a Designer of Novel Neural Architectures6 Jan 2026
9 more
- 2025Enhancing LLM-Based Neural Network Generation: Few-Shot Prompting and Efficient Validation for Automated Architecture Design30 Dec 2025
- 2025LLM as a Neural Architect: Controlled Generation of Image Captioning Models Under Strict API Contracts7 Dec 2025
- 2025A Retrieval-Augmented Generation Approach to Extracting Algorithmic Logic from Neural Networks3 Dec 2025
- 2025SelfAI: A self-directed framework for long-horizon scientific discovery29 Nov 2025
- 2025Preparation of Fractal-Inspired Computational Architectures for Advanced Large Language Model Analysis10 Nov 2025
- 2025Small LLMs with Expert Blocks Are Good Enough for Hyperparamter Tuning19 Sep 2025
- 2025AugmentGest: Can Random Data Cropping Augmentation Boost Gesture Recognition Performance?8 Jun 2025
- 2025VIST-GPT: Ushering in the Era of Visual Storytelling with LLMs?27 Apr 2025
- 2025LEMUR Neural Network Dataset: Towards Seamless AutoML14 Apr 2025
- 2025LEMUR Neural Network Dataset: Towards Seamless AutoMLcited by 20
- 2025VIST-GPT: Ushering in the Era of Visual Storytelling with LLMs?cited by 11
- 2025Preparation of Fractal-Inspired Computational Architectures for Advanced Large Language Model Analysiscited by 11
- 2025AugmentGest: Can Random Data Cropping Augmentation Boost Gesture Recognition Performance?cited by 10
- 2025Enhancing LLM-Based Neural Network Generation: Few-Shot Prompting and Efficient Validation for Automated Architecture Designcited by 10
- 2026From Memorization to Creativity: LLM as a Designer of Novel Neural Architecturescited by 10
- 2025LLM as a Neural Architect: Controlled Generation of Image Captioning Models Under Strict API Contractscited by 9
- 2026From Brute Force to Semantic Insight: Performance-Guided Data Transformation Design with LLMscited by 7
- 2026Closed-Loop LLM Discovery of Non-Standard Channel Priors in Vision Modelscited by 6
- 2026Delta-Based Neural Architecture Search: LLM Fine-Tuning via Code Diffscited by 3
- 2025Small LLMs with Expert Blocks Are Good Enough for Hyperparamter Tuningcited by 2
- 2025SelfAI: A self-directed framework for long-horizon scientific discoverycited by 2
12 most cited of 19 All 19 (JSON)
- 2026Systematic Evaluation of Learning Rate Scheduling Strategies Across Heterogeneous Architectures9 Jul 2026
- 2026LEMUR 2: Unlocking Neural Network Diversity for AI7 Jul 2026
- 2026Curating Same-Family Neural Networks for LLM-Guided Model Improvement: A Controlled Case Study6 Jul 2026
- 2026GRIMIP: A General Framework for Instance-Specific Configuration of MIP Solvers Using LLMs22 Jun 2026
- 2026Towards Robust Training in NNGPT AutoML Pipeline: A Loss-Optimizer Pairing Selection Study18 Jun 2026
- 2026Delta-Based Neural Architecture Search: LLM Fine-Tuning via Code Diffs6 May 2026
- 2026From Code to Prediction: Fine-Tuning LLMs for Neural Network Performance Classification in NNGPT5 May 2026
- 2026Automating Database-Native Function Code Synthesis with LLMs2 Apr 2026
- 2026Closed-Loop LLM Discovery of Non-Standard Channel Priors in Vision Models13 Jan 2026
- 2026From Brute Force to Semantic Insight: Performance-Guided Data Transformation Design with LLMs7 Jan 2026
- 2026From Memorization to Creativity: LLM as a Designer of Novel Neural Architectures6 Jan 2026
- 2025Enhancing LLM-Based Neural Network Generation: Few-Shot Prompting and Efficient Validation for Automated Architecture Design30 Dec 2025
12 newest of 19 All 19 (JSON)