mlsanityData to 7 Oct 2026

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

arXiv 2504.06006 ↗First posted 8 Apr 2025cs.LG cs.AI cs.NEcited by 21

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  6. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  7. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  8. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  9. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  10. 2016Densely Connected Convolutional Networkscited by 6,691
  11. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  12. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
24 more
  1. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
  2. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  3. 2014Going Deeper with Convolutionscited by 4,231
  4. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  5. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  6. 2016Pointer Sentinel Mixture Modelscited by 2,992
  7. 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,455
  8. 2019LXMERT: Learning Cross-Modality Encoder Representations from Transformerscited by 1,548
  9. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  10. 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,054
  11. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  12. 2023Reasoning with Language Model is Planning with World Modelcited by 846
  13. 2018BOHB: Robust and Efficient Hyperparameter Optimization at Scalecited by 466
  14. 2022A Systematic Evaluation of Large Language Models of Codecited by 360
  15. 2023MathPrompter: Mathematical Reasoning using Large Language Modelscited by 236
  16. 2021Hyperparameter Optimization: Foundations, Algorithms, Best Practices and Open Challengescited by 143
  17. 2016Fast Bayesian Optimization of Machine Learning Hyperparameters on Large Datasetscited by 131
  18. 2024Large Language Models to Enhance Bayesian Optimizationcited by 127
  19. 2018Tunability: Importance of Hyperparameters of Machine Learning Algorithmscited by 98
  20. 2023Using Large Language Models for Hyperparameter Optimizationcited by 71
  21. 2024Large Language Model Agent for Hyper-Parameter Optimizationcited by 62
  22. 2024Sequential Large Language Model-Based Hyper-parameter Optimizationcited by 23
  23. 2023Federated Prompting and Chain-of-Thought Reasoning for Improving LLMs Answeringcited by 14
  24. 2024An investigation on the use of Large Language Models for hyperparameter tuning in Evolutionary Algorithmscited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 9; 2026: 12.

21 papers.

Sort:

By area:

  1. 2025LEMUR Neural Network Dataset: Towards Seamless AutoMLcited by 20
  2. 2025VIST-GPT: Ushering in the Era of Visual Storytelling with LLMs?cited by 11
  3. 2025Preparation of Fractal-Inspired Computational Architectures for Advanced Large Language Model Analysiscited by 11
  4. 2025A Retrieval-Augmented Generation Approach to Extracting Algorithmic Logic from Neural Networkscited by 11
  5. 2025AugmentGest: Can Random Data Cropping Augmentation Boost Gesture Recognition Performance?cited by 10
  6. 2025Enhancing LLM-Based Neural Network Generation: Few-Shot Prompting and Efficient Validation for Automated Architecture Designcited by 10
  7. 2026From Memorization to Creativity: LLM as a Designer of Novel Neural Architecturescited by 10
  8. 2025LLM as a Neural Architect: Controlled Generation of Image Captioning Models Under Strict API Contractscited by 9
  9. 2026From Brute Force to Semantic Insight: Performance-Guided Data Transformation Design with LLMscited by 7
  10. 2026Closed-Loop LLM Discovery of Non-Standard Channel Priors in Vision Modelscited by 6
  11. 2026Delta-Based Neural Architecture Search: LLM Fine-Tuning via Code Diffscited by 3
  12. 2025Small LLMs with Expert Blocks Are Good Enough for Hyperparamter Tuningcited by 2
9 more
  1. 2025SelfAI: A self-directed framework for long-horizon scientific discoverycited by 2
  2. 2026Automating Database-Native Function Code Synthesis with LLMscited by 2
  3. 2026LEMUR 2: Unlocking Neural Network Diversity for AIcited by 2
  4. 2026GRIMIP: A General Framework for Instance-Specific Configuration of MIP Solvers Using LLMscited by 1
  5. 2026Systematic Exploration of 4-Expert Heterogeneous Mixture-of-Experts via Automated Pipeline Searchcited by 1
  6. 2026From Code to Prediction: Fine-Tuning LLMs for Neural Network Performance Classification in NNGPTcited by 0
  7. 2026Towards Robust Training in NNGPT AutoML Pipeline: A Loss-Optimizer Pairing Selection Studycited by 0
  8. 2026Curating Same-Family Neural Networks for LLM-Guided Model Improvement: A Controlled Case Studycited by 0
  9. 2026Systematic Evaluation of Learning Rate Scheduling Strategies Across Heterogeneous Architecturescited by 0