mlsanityData to 7 Oct 2026

Unveiling the Secret Recipe: A Guide For Supervised Fine-Tuning Small LLMs

arXiv 2412.13337 ↗First posted 17 Dec 2024cs.LG cs.AI stat.MLcited by 39

Not on the map. Why?

Abstract (arXiv)

The rise of large language models (LLMs) has created a significant disparity: industrial research labs with their computational resources, expert teams, and advanced infrastructures, can effectively fine-tune LLMs, while individual developers and small organizations face barriers due to limited resources. In this paper, we aim to bridge this gap by presenting a comprehensive study on supervised fine-tuning of LLMs using instruction-tuning datasets spanning diverse knowledge domains and skills. We focus on small-sized LLMs (3B to 7B parameters) for their cost-efficiency and accessibility. We explore various training configurations and strategies across four open-source pre-trained models. We provide detailed documentation of these configurations, revealing findings that challenge several common training practices, including hyperparameter recommendations from TULU and phased training recommended by Orca. Key insights from our work include: (i) larger batch sizes paired with lower learning rates lead to improved model performance on benchmarks such as MMLU, MTBench, and Open LLM Leaderboard; (ii) early-stage training dynamics, such as lower gradient norms and higher loss values, are strong indicators of better final model performance, enabling early termination of sub-optimal runs and significant computational savings; (iii) through a thorough exploration of hyperparameters like warmup steps and learning rate schedules, we provide guidance for practitioners and find that certain simplifications do not compromise performance; and (iv) we observed no significant difference in performance between phased and stacked training strategies, but stacked training is simpler and more sample efficient. With these findings holding robustly across datasets and models, we hope this study serves as a guide for practitioners fine-tuning small LLMs and promotes a more inclusive environment for LLM research.

Key facts. Cited by 39 papers in the map (data through 7 Oct 2026). Builds on 62 of its 77 references that are in the map. First posted on arXiv 17 Dec 2024.

Builds on

62 of 77 references.

References · 62

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2024The Llama 3 Herd of Modelscited by 14,192
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  7. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  8. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  9. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  10. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  11. 2020Scaling Laws for Neural Language Modelscited by 6,411
  12. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
38 more
  1. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  2. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  3. 2023Mistral 7Bcited by 3,065
  4. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
  5. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  6. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  7. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
  8. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
  9. 2024Mixtral of Expertscited by 1,785
  10. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
  11. 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,758
  12. 2016Understanding deep learning requires rethinking generalizationcited by 1,657
  13. 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
  14. 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
  15. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
  16. 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 825
  17. 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 734
  18. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 694
  19. 2023Instruction Tuning with GPT-4cited by 676
  20. 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 641
  21. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
  22. 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermismcited by 621
  23. 2023Textbooks Are All You Needcited by 561
  24. 2019Fantastic Generalization Measures and Where to Find Themcited by 507
  25. 2022ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detectioncited by 419
  26. 2023How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resourcescited by 405
  27. 2022Unnatural Instructions: Tuning Language Models with (Almost) No Human Laborcited by 395
  28. 2023Orca: Progressive Learning from Complex Explanation Traces of GPT-4cited by 369
  29. 2023What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuningcited by 354
  30. 2017Don't Decay the Learning Rate, Increase the Batch Sizecited by 313
  31. 2023From Quantity to Quality: Boosting LLM Performance with Self-Guided Data Selection for Instruction Tuningcited by 301
  32. 2017Train longer, generalize better: closing the generalization gap in large batch training of neural networkscited by 278
  33. 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 272
  34. 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 264
  35. 2023Camels in a Changing Climate: Enhancing LM Adaptation with Tulu 2cited by 227
  36. 2019A Constructive Prediction of the Generalization Error Across Scalescited by 202
  37. 2024Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durationscited by 160
  38. 2023Beyond Chinchilla-Optimal: Accounting for Inference in Language Model Scaling Lawscited by 155

50 most cited of 62 All 62 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 24; 2026: 15.

39 papers.

Sort:

By area:

  1. 2025A Survey on Test-Time Scaling in Large Language Models: What, How, Where, and How Well?cited by 215
  2. 2026Fast and Effective On-policy Distillation from Reasoning Prefixescited by 43
  3. 2026Doc-to-LoRA: Learning to Instantly Internalize Contextscited by 36
  4. 2025R-Bench: Graduate-level Multi-disciplinary Benchmarks for LLM & MLLM Complex Reasoning Evaluationcited by 32
  5. 2025Activation-Informed Merging of Large Language Modelscited by 29
  6. 2025SFT Doesn't Always Hurt General Capabilities: Revisiting Domain-Specific Fine-Tuning in LLMscited by 23
  7. 2025Infusing Theory of Mind into Socially Intelligent LLM Agentscited by 7
  8. 2025All Code, No Thought: Current Language Models Struggle to Reason in Ciphered Languagecited by 7
  9. 2025Large Language Models Are Unreliable for Cyber Threat Intelligencecited by 5
  10. 2025Towards Alignment-Centric Paradigm: A Survey of Instruction Tuning in Large Language Modelscited by 5
  11. 2026KOCO-BENCH: Can Large Language Models Leverage Domain Knowledge in Software Development?cited by 5
  12. 2025Too Big to Think: Capacity, Memorization, and Generalization in Pre-Trained Transformerscited by 4
27 more
  1. 2025Forgetting: A New Mechanism Towards Better Large Language Model Fine-tuningcited by 4
  2. 2025Intrinsically Interpretable Attention via Sparse Post-Trainingcited by 4
  3. 2026(How) Learning Rates Regulate Catastrophic Overtrainingcited by 4
  4. 2025Towards EnergyGPT: A Large Language Model Specialized for the Energy Sectorcited by 3
  5. 2026Beware of the Batch Size: Hyperparameter Bias in Evaluating LoRAcited by 3
  6. 2026Multi-Agent Dialectical Refinement for Enhanced Argument Classificationcited by 3
  7. 2025System Message Generation for User Preferences using Open-Source Modelscited by 1
  8. 2025A Scaling Law for Token Efficiency in LLM Fine-Tuning Under Fixed Compute Budgetscited by 1
  9. 2025Efficient Detection of Intermittent Job Failures Using Few-Shot Learningcited by 1
  10. 2025Multi-Model Synthetic Training for Mission-Critical Small Language Modelscited by 1
  11. 2025Seeing is Believing (and Predicting): Context-Aware Multi-Human Behavior Prediction with Vision Language Modelscited by 1
  12. 2026Netflix Artwork Personalization via LLM Post-trainingcited by 1
  13. 2026STRUCTUREDAGENT: Planning with AND/OR Trees for Long-Horizon Web Taskscited by 1
  14. 2026Pioneer Agent: Continual Improvement of Small Language Models in Productioncited by 1
  15. 2026Stabilizing LLM Supervised Fine-Tuning via Explicit Distributional Controlcited by 1
  16. 2025Data Diversification Methods In Alignment Enhance Math Performance In LLMscited by 0
  17. 2025How Reliable are LLMs for Reasoning on the Re-ranking task?cited by 0
  18. 2025Answering Students' Questions on Course Forums Using Multiple Chain-of-Thought Reasoning and Finetuning RAG-Enabled LLMcited by 0
  19. 2025A Scalable NorthPole System with End-to-End Vertical Integration for Low-Latency and Energy-Efficient LLM Inferencecited by 0
  20. 2025Mitigating hallucinations and omissions in LLMs for invertible problems: An application to hardware logic design automationcited by 0
  21. 2025CourtPressGER: A German Court Decision to Press Release Summarization Datasetcited by 0
  22. 2025When Actions Teach You to Think: Reasoning-Action Synergy via Reinforcement Learning in Conversational Agentscited by 0
  23. 2026From Exposure to Internalization: Dual-Stream Calibration for In-context Clinical Reasoningcited by 0
  24. 2026Unifying Data, Memory, and Compute Efficiency in LLM training: A Surveycited by 0
  25. 2026Probabilistic Concept-Aware Steering for Trustworthy LLM Inferencecited by 0
  26. 2026Token Utility Is Selection-Conditioned: Coupled Selection of Prompt Context and Response Supervision for Efficient Instruction Tuningcited by 0
  27. 2026A Benchmark for LLM's Understanding of Middle School and High School Science Topicscited by 0