Stay Tuned: An Empirical Study of the Impact of Hyperparameters on LLM Tuning in Real-World Applications
Not on the map. Why?
Abstract (arXiv)
Fine-tuning Large Language Models (LLMs) is an effective method to enhance their performance on downstream tasks. However, choosing the appropriate setting of tuning hyperparameters (HPs) is a labor-intensive and computationally expensive process. Here, we provide recommended HP configurations for practical use-cases that represent a better starting point for practitioners, when considering two SOTA LLMs and two commonly used tuning methods. We describe Coverage-based Search (CBS), a process for ranking HP configurations based on an offline extensive grid search, such that the top ranked configurations collectively provide a practical robust recommendation for a wide range of datasets and domains. We focus our experiments on Llama-3-8B and Mistral-7B, as well as full fine-tuning and LoRa, conducting a total of > 10,000 tuning experiments. Our results suggest that, in general, Llama-3-8B and LoRA should be preferred, when possible. Moreover, we show that for both models and tuning methods, exploring only a few HP configurations, as recommended by our analysis, can provide excellent results in practice, making this work a valuable resource for practitioners.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 19 of its 30 references that are in the map. First posted on arXiv 25 Jul 2024.
Builds on
19 of 30 references.
References · 19
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
- 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
- 2020Efficient Intent Detection with Dual Sentence Encoderscited by 419
- 2021XL-Sum: Large-Scale Multilingual Abstractive Summarization for 44 Languagescited by 346
- 2021LexGLUE: A Benchmark Dataset for Legal Language Understanding in Englishcited by 302
- 2024When Scaling Meets LLM Finetuning: The Effect of Data, Model and Finetuning Methodcited by 201
- 2019BillSum: A Corpus for Automatic Summarization of US Legislationcited by 117
- 2020Hyper-Parameter Optimization: A Review of Algorithms and Applicationscited by 114
- 2019HEAD-QA: A Healthcare Dataset for Complex Reasoningcited by 100
- 2024LoRA Land: 310 Fine-tuned LLMs that Rival GPT-4, A Technical Reportcited by 47
7 more
- 2020DoQA -- Accessing Domain-Specific FAQs via Conversational QAcited by 42
- 2024CLAPNQ: Cohesive Long-form Answers from Passages in Natural Questions for RAG systemscited by 23
- 2024Unitxt: Flexible, Shareable and Reusable Data Preparation and Evaluation for Generative AIcited by 18
- 2023Specialist or Generalist? Instruction Tuning for Specific NLP Taskscited by 17
- 2023Hyperparameter Optimization for Large Language Model Instruction-Tuningcited by 17
- 2021An Empirical Study on Hyperparameter Optimization for Fine-Tuning Pre-trained Language Modelscited by 12
- 2023On the Hyperparameter Loss Landscapes of Machine Learning Models: An Exploratory Studycited by 4
Built on by
Citing papers per year: 2025: 4; 2026: 2.
6 papers.
- 2025Predictable Scale: Part I, Step Law -- Optimal Hyperparameter Scaling Law in Large Language Model Pretrainingcited by 30
- 2025Autonomous Radiotherapy Treatment Planning Using DOLA: A Privacy-Preserving, LLM-Based Optimization Agentcited by 4
- 2026AutoLLMResearch: Training Research Agents for Automating LLM Experiment Configuration - Learning from Cheap, Optimizing Expensivecited by 4
- 2026A Language-Guided Bayesian Optimization for Efficient LoRA Hyperparameter Searchcited by 2
- 2025A Comparative Study of Task Adaptation Techniques of Large Language Models for Identifying Sustainable Development Goalscited by 0
- 2025PromptTailor: Multi-turn Intent-Aligned Prompt Synthesis for Lightweight LLMscited by 0
- 2026AutoLLMResearch: Training Research Agents for Automating LLM Experiment Configuration - Learning from Cheap, Optimizing Expensive12 May 2026
- 2026A Language-Guided Bayesian Optimization for Efficient LoRA Hyperparameter Search19 Jan 2026
- 2025PromptTailor: Multi-turn Intent-Aligned Prompt Synthesis for Lightweight LLMs20 Nov 2025
- 2025A Comparative Study of Task Adaptation Techniques of Large Language Models for Identifying Sustainable Development Goals18 Jun 2025
- 2025Autonomous Radiotherapy Treatment Planning Using DOLA: A Privacy-Preserving, LLM-Based Optimization Agent21 Mar 2025
- 2025Predictable Scale: Part I, Step Law -- Optimal Hyperparameter Scaling Law in Large Language Model Pretraining6 Mar 2025