mlsanityData to 7 Oct 2026

LM4OPT: Unveiling the Potential of Large Language Models in Formulating Mathematical Optimization Problems

arXiv 2403.01342 ↗First posted 2 Mar 2024cs.CL cs.IRcited by 18

Not on the map. Why?

Abstract (arXiv)

In the rapidly evolving field of natural language processing, the translation of linguistic descriptions into mathematical formulation of optimization problems presents a formidable challenge, demanding intricate understanding and processing capabilities from Large Language Models (LLMs). This study compares prominent LLMs, including GPT-3.5, GPT-4, and Llama-2-7b, in zero-shot and one-shot settings for this task. Our findings show GPT-4's superior performance, particularly in the one-shot scenario. A central part of this research is the introduction of `LM4OPT,' a progressive fine-tuning framework for Llama-2-7b that utilizes noisy embeddings and specialized datasets. However, this research highlights a notable gap in the contextual understanding capabilities of smaller models such as Llama-2-7b compared to larger counterparts, especially in processing lengthy and complex input contexts. Our empirical investigation, utilizing the NL4Opt dataset, unveils that GPT-4 surpasses the baseline performance established by previous research, achieving an F1-score of 0.63, solely based on the problem description in natural language, and without relying on any additional named entity information. GPT-3.5 follows closely, both outperforming the fine-tuned Llama-2-7b. These findings not only benchmark the current capabilities of LLMs in a novel application area but also lay the groundwork for future improvements in mathematical formulation of optimization problems from natural language input.

Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Builds on 22 of its 32 references that are in the map. First posted on arXiv 2 Mar 2024.

Builds on

22 of 32 references.

References · 22

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  6. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  7. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  8. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  9. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  10. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
  11. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  12. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
10 more
  1. 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 886
  2. 2016Training Deep Nets with Sublinear Memory Costcited by 825
  3. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
  4. 2023The Falcon Series of Open Language Modelscited by 526
  5. 2023Zephyr: Direct Distillation of LM Alignmentcited by 498
  6. 2023NL4Opt Competition: Formulating Optimization Problems Based on Their Natural Language Descriptionscited by 133
  7. 2023NEFTune: Noisy Embeddings Improve Instruction Finetuningcited by 99
  8. 2023Holy Grail 2.0: From Natural Language to Constraint Modelscited by 24
  9. 2021Domain Adaptation with Pre-trained Transformers for Query Focused Abstractive Text Summarizationcited by 21
  10. 2024Artificial Intelligence for Operations Research: Revolutionizing the Operations Research Processcited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 11; 2026: 5.

18 papers.

Sort:

By area:

  1. 2024A Systematic Survey on Large Language Models for Algorithm Designcited by 65
  2. 2025Large Language Models for Combinatorial Optimization: A Systematic Reviewcited by 18
  3. 2025A Survey on Mathematical Reasoning and Optimization with Large Language Modelscited by 12
  4. 2025EquivaMap: Leveraging LLMs for Automatic Equivalence Checking of Optimization Formulationscited by 9
  5. 2025A Systematic Survey on Large Language Models for Evolutionary Optimization: From Modeling to Solvingcited by 9
  6. 2024Generalists vs. Specialists: Evaluating LLMs on Highly-Constrained Biophysical Sequence Optimization Taskscited by 8
  7. 2025EvoCut: Strengthening Integer Programs via Evolution-Guided Language Modelscited by 8
  8. 2025CHORUS: Zero-shot Hierarchical Retrieval and Orchestration for Generating Linear Programming Codecited by 3
  9. 2025Large Language Model-Based Automatic Formulation for Stochastic Optimization Modelscited by 1
  10. 2025Hierarchical Optimization via LLM-Guided Objective Evolution for Mobility-on-Demand Systemscited by 1
  11. 2025Large Language Model-Assisted Planning of Electric Vehicle Charging Infrastructure with Real-World Case Studycited by 1
  12. 2025Optimization Problem Solving Can Transition to Evolutionary Agentic Workflowscited by 0
6 more
  1. 2025LM4Opt-RA: A Multi-Candidate LLM Framework with Structured Ranking for Automating Network Resource Allocationcited by 0
  2. 2026Structure-Aware Commitment Reduction for Network-Constrained Unit Commitment with Solver-Preserving Guaranteescited by 0
  3. 2026HMACE: Heterogeneous Multi-Agent Collaborative Evolution for Combinatorial Optimizationcited by 0
  4. 2026Generating Robust Portfolios of Optimization Models using Large Language Modelscited by 0
  5. 2026StarOR: Synergizing Tree Search and Test-Time Reinforcement Learning for Optimization Modelingcited by 0
  6. 2026Generative Artificial Intelligence (GenAI) to convert images of queuing networks into verifiable simulation models: an open-weight LLM workflow approachcited by 0