mlsanityData to 14 Oct 2026

Large Language Model Enhanced Particle Swarm Optimization for Hyperparameter Tuning for Deep Learning Models

arXiv 2504.14126 ↗First posted 19 Apr 2025cs.AI cs.CL cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Determining the ideal architecture for deep learning models, such as the number of layers and neurons, is a difficult and resource-intensive process that frequently relies on human tuning or computationally costly optimization approaches. While Particle Swarm Optimization (PSO) and Large Language Models (LLMs) have been individually applied in optimization and deep learning, their combined use for enhancing convergence in numerical optimization tasks remains underexplored. Our work addresses this gap by integrating LLMs into PSO to reduce model evaluations and improve convergence for deep learning hyperparameter tuning. The proposed LLM-enhanced PSO method addresses the difficulties of efficiency and convergence by using LLMs (particularly ChatGPT-3.5 and Llama3) to improve PSO performance, allowing for faster achievement of target objectives. Our method speeds up search space exploration by substituting underperforming particle placements with best suggestions offered by LLMs. Comprehensive experiments across three scenarios -- (1) optimizing the Rastrigin function, (2) using Long Short-Term Memory (LSTM) networks for time series regression, and (3) using Convolutional Neural Networks (CNNs) for material classification -- show that the method significantly improves convergence rates and lowers computational costs. Depending on the application, computational complexity is lowered by 20% to 60% compared to traditional PSO methods. Llama3 achieved a 20% to 40% reduction in model calls for regression tasks, whereas ChatGPT-3.5 reduced model calls by 60% for both regression and classification tasks, all while preserving accuracy and error rates. This groundbreaking methodology offers a very efficient and effective solution for optimizing deep learning models, leading to substantial computational performance improvements across a wide range of applications.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 10 of its 41 references that are in the map. First posted on arXiv 19 Apr 2025.

Builds on

10 of 41 references.

References · 10

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
  4. 2023Large Language Models as Optimizerscited by 864
  5. 2023Using Large Language Models for Hyperparameter Optimizationcited by 71
  6. 2024Large Language Model Agent for Hyper-Parameter Optimizationcited by 64
  7. 2024Are Large Language Models Good Prompt Optimizers?cited by 37
  8. 2020Particle Swarm Optimized Federated Learning For Industrial IoT and Smart City Servicescited by 18
  9. 2014Genetic Algorithms in Wireless Networking: Techniques, Applications, and Issuescited by 1
  10. 2023Optimized Three Deep Learning Models Based-PSO Hyperparameters for Beijing PM2.5 Predictioncited by 1

Built on by

Not cited yet.