OCAICLLGNESEMar 2, 2024

LLaMoCo: Instruction Tuning of Large Language Models for Optimization Code Generation

arXiv:2403.01131v254 citationsh-index: 12IEEE Trans Evol Comput
Originality Incremental advance
AI Analysis

This addresses inefficiencies and prompt sensitivity in LLM-based optimization for researchers and practitioners, though it is incremental as it builds on existing instruction-tuning methods.

The paper tackles the problem of using large language models for optimization by introducing LLaMoCo, an instruction-tuning framework that adapts LLMs to generate optimization code, resulting in a fine-tuned CodeGen (350M) model outperforming GPT-4 Turbo and other competitors on synthetic and realistic problem sets.

Recent research explores optimization using large language models (LLMs) by either iteratively seeking next-step solutions from LLMs or directly prompting LLMs for an optimizer. However, these approaches exhibit inherent limitations, including low operational efficiency, high sensitivity to prompt design, and a lack of domain-specific knowledge. We introduce LLaMoCo, the first instruction-tuning framework designed to adapt LLMs for solving optimization problems in a code-to-code manner. Specifically, we establish a comprehensive instruction set containing well-described problem prompts and effective optimization codes. We then develop a novel two-phase learning strategy that incorporates a contrastive learning-based warm-up procedure before the instruction-tuning phase to enhance the convergence behavior during model fine-tuning. The experiment results demonstrate that a CodeGen (350M) model fine-tuned by our LLaMoCo achieves superior optimization performance compared to GPT-4 Turbo and the other competitors across both synthetic and realistic problem sets. The fine-tuned model and the usage instructions are available at https://anonymous.4open.science/r/LLaMoCo-722A.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes