mlsanityData to 14 Oct 2026

Fine-tuning Large Language Model for Automated Algorithm Design

arXiv 2507.10614 ↗First posted 13 Jul 2025cs.LG cs.AIcited by 6

Not on the map. Why?

Abstract (arXiv)

The integration of large language models (LLMs) into automated algorithm design has shown promising potential. A prevalent approach embeds LLMs within search routines to iteratively generate and refine candidate algorithms. However, most existing methods rely on off-the-shelf LLMs trained for general coding tasks, leaving a key question open: Do we need LLMs specifically tailored for algorithm design? If so, how can such LLMs be effectively obtained and how well can they generalize across different algorithm design tasks? In this paper, we take a preliminary step toward answering these questions by exploring fine-tuning of LLMs for algorithm design. We introduce a Diversity-Aware Rank-based (DAR) sampling strategy to balance training data diversity and quality, then we leverage direct preference optimization to efficiently align LLM outputs with task objectives. Our experiments are primarily conducted on Llama-3.2-1B-Instruct and Llama-3.1-8BInstruct across three distinct algorithm design tasks, with openPangu-Embedded models additionally included as auxiliary comparisons on the admissible set problem. Results suggest that fine-tuned LLMs can significantly outperform their off-the-shelf counterparts with the smaller Llama-3.2-1B-Instruct and match the larger Llama-3.1-8B-Instruct on the admissible set problem. Moreover, we observe promising generalization: LLMs fine-tuned on specific algorithm design tasks also improve performance on related tasks with varying settings. These findings highlight the value of task-specific adaptation for LLMs in algorithm design and open new avenues for future research. Our code is publicly available at https://github.com/RayZhhh/dpo-aad.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 26 of its 36 references that are in the map. First posted on arXiv 13 Jul 2025.

Builds on

26 of 36 references.

References · 26

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2017Proximal Policy Optimization Algorithmscited by 15,215
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  4. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  5. 2015Pointer Networkscited by 895
  6. 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 867
  7. 2024A Survey on Large Language Models for Code Generationcited by 658
  8. 2018Machine Learning for Combinatorial Optimization: a Methodological Tour d'Horizoncited by 623
  9. 2024Large Language Models for Mathematical Reasoning: Progresses and Challengescited by 284
  10. 2024ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolutioncited by 276
  11. 2024Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Modelcited by 268
  12. 2021Learning to Optimize: A Primer and A Benchmarkcited by 208
14 more
  1. 2024ORLM: A Customizable Framework in Training Large Models for Automated Optimization Modelingcited by 124
  2. 2024LLaMEA: A Large Language Model Evolutionary Algorithm for Automatically Generating Metaheuristicscited by 97
  3. 2023RL4CO: an Extensive Reinforcement Learning for Combinatorial Optimization Benchmarkcited by 71
  4. 2024A Systematic Survey on Large Language Models for Algorithm Designcited by 69
  5. 2025Pangu Embedded: An Efficient Dual-system LLM Reasoner with Metacognitioncited by 62
  6. 2024Multi-objective Evolution of Heuristic Using Large Language Modelcited by 54
  7. 2023Algorithm Evolution Using Large Language Modelcited by 53
  8. 2024Multi-Task Learning for Routing Problem with Cross-Problem Zero-Shot Generalizationcited by 50
  9. 2025Algorithm Discovery With LLMs: Evolutionary Search Meets Reinforcement Learningcited by 46
  10. 2024LLM4AD: A Platform for Algorithm Design with Large Language Modelcited by 33
  11. 2025CALM: Co-evolution of Algorithms and Language Model for Automatic Heuristic Designcited by 29
  12. 2024Toward Automated Algorithm Design: A Survey and Practical Guide to Meta-Black-Box-Optimizationcited by 24
  13. 2024Understanding the Importance of Evolutionary Search in Automated Heuristic Design with Large Language Modelscited by 22
  14. 2024Evolve Cost-aware Acquisition Functions Using Large Language Modelscited by 17

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 4.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026FrontierOR: Benchmarking LLMs' Capacity for Efficient Algorithm Design in Large-Scale Optimization
  2. 2024The Ultimate Guide to Fine-Tuning LLMs from Basics to Breakthroughs: An Exhaustive Review of Technologies, Research, Best Practices, Applied Research Challenges and Opportunities
  3. 2024Designing Algorithms Empowered by Language Models: An Analytical Framework, Case Studies, and Insights
  4. 2025Behavior and Representation in Open-Weight Large Language Models for Combinatorial Optimization: From Feature Extraction to Algorithm Selection
  5. 2025Combinatorial Optimization for All: Using LLMs to Aid Non-Experts in Improving Optimization Algorithms
  6. 2024Fine-tuning large language models for domain adaptation: Exploration of training strategies, scaling, model merging and synergistic capabilities
  7. 2025LLM-ProS: Analyzing Large Language Models' Performance in Competitive Problem Solving
  8. 2025From Large to Super-Tiny: End-to-End Optimization for Cost-Efficient LLMs