arXiv:2610.22889cs.CLOct 2026

Manuscript Offprint

arXiv:2610.22889

NLData2Opt: Benchmarking Parameter Derivation and Prediction for Modeling Optimization Problems from Natural Language and Data

Lijia Liu, Kyohei Atarashi, Jiyi Li, Koh Takeuchi, Shunji Umetani, Hisashi Kashima

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Formulating optimization problems from raw inputs of problem descriptions and data is time-consuming and costly. While Large Language Models (LLMs) offer a promising way to automate this process, existing benchmarks overestimate their capabilities by relying on idealized inputs where all data is relevant and complete. This diverges from reality, where data-centric reasoning is required to extract, compute, and predict parameters from noisy sources. To address this, we introduce NLData2Opt, a benchmark to evaluate LLMs on the multi-stage reasoning inherent in practical optimization workflows. NLData2Opt decomposes problems into problem descriptions and data, and requires models to (1) extract relevant parameters from data containing misleading attributes, (2) compute missing parameters derived by transforming existing data attributes, and (3) predict unavailable future values from historical observations. Evaluation results show substantial performance decline relative to existing benchmarks, indicating that benchmark progress does not directly translate to formulation accuracy in practical optimization workflows. NLData2Opt is available at https://github.com/sumarivyn/NLData2Opt.

1 Introduction

Modeling real world problems through mathematical optimization to find optimal solutions has many applications, such as task scheduling (Cheng et al., 2024; Pallagani et al., 2024), vehicle routing (Baty et al., 2024; Luo et al., 2025), and healthcare planning (Tripathi et al., 2024; Tang et al., 2024a). Recent works explore using Large Language Models (LLMs) to automatically translate natural language inputs into optimization models, making the time-consuming and costly formulation process more accessible. In this setting, the natural language input generally consists of two components that summarize the optimization problem: a problem description and its corresponding data. The problem description defines the objective and constraints, and data provides the concrete parameters required to formulate the problem. A parameter denotes a known attribute specified in the data, while a variable denotes a decision quantity whose value is determined by solving the optimization problem.

Current benchmarks designed to evaluate LLMs on optimization modeling generally assume clean and well-structured inputs. Specifically, they assume complete and relevant problem descriptions and data are provided. For example, NL4Opt (Ramamonjison et al., 2023), Mamo (Huang et al., 2024), OptiGuide (Li et al., 2023a) and OPT-Engine (Chen et al., 2026) assume a single unified natural language input can be directly converted into an optimization model, and explicitly provide all parameters required for the formulation within the problem description. NLP4LP (AhmadiTeshnizi et al., 2023), ComplexOR (Wang et al., 2025) and ORThought (Yang et al., 2026) introduce problems with significantly longer natural language descriptions. Advanced benchmarks like IndustryOR (Tang et al., 2024b) shift towards problems from different industrial sectors, while OptiVerse (Zhang et al., 2026) covers complex domains such as stochastic programming. Optibench (Yang et al., 2025a) embed linear and nonlinear tabular data in the problem description to measure LLMs' end-to-end problem solving abilities.

However, despite recent progress, current benchmarks have two fundamental limitations. Firstly, data is directly embedded in the problem description, and the model's task is to locate and map them into an optimization formulation. This diverges from real-world modeling, in which the construction of the objective and constraints is usually a separate process from data collection, due to the scale and independent storage of the data. Secondly, it is assumed that every parameter is provided in the data in a ready-to-use form. This is rarely guaranteed with noisy and incomplete real-

Figure

Figure 1: An optimization task in NLData2Opt with its components.

world data (Bengio et al., 2021). Since raw data typically contains several pieces of contextually related information, we have to identify through parameter extraction what information is actually necessary to solve the problem (Shi et al., 2023). Analysts must also frequently perform parameter derivation, which involves transforming multiple existing data attributes into a single usable value, such as calculating net profit from revenue and expenses. In cases such as demand forecasting or production scheduling, a predict-then-optimize pipeline is commonly adopted, where parameter prediction estimates unavailable future data from historical trends, and the predicted values are subsequently used in deterministic planning models (El-machtoub and Grigas, 2022; Mandi et al., 2024). Due to these two limitations, it is difficult to evaluate LLMs' optimization modeling capabilities in real-world applications with existing benchmarks.

To address this, we introduce NLData2Opt, a novel benchmark that incorporates multi-stage reasoning through controlled and systematic tasks, as illustrated in Figure 1. Tasks are decomposed into two structurally separate components: a natural language problem description and a collection of CSV-style data tables. Noisy and incomplete data is reflected in the need to extract, compute, and predict parameters. Under the NLData2Opt framework, an LLM needs to fulfill three challenges to complete the optimization formulation: (1) extract relevant parameters from data containing misleading attributes, (2) compute missing parameters derived by transforming existing data attributes, and (3) predict unavailable future values from historical observations. We comprehensively evaluate state-of-the-art methods and ten open-weight and proprietary LLMs. Results show that current LLMs perform competitively in simplified tasks but achieve limited success on NLData2Opt.

Contributions. We make three contributions: (1) We introduce NLData2Opt, a benchmark that evaluates whether LLMs can perform multi-stage reasoning for optimization formulation, including model–data separation, information retrieval, implicit derivation, and future-value prediction. (2) We propose an automatic construction pipeline that transforms NLP4LP and Mamo tasks while preserving the feasible region and optimal objective value. (3) We provide comprehensive evaluations of prompting, agent-based, and fine-tuned baselines, which reveal substantial gaps between structural correctness and functional executability.

References (20)