Skip to main content
QUICK REVIEW

[Paper Review] NL4Opt Competition: Formulating Optimization Problems Based on Their Natural Language Descriptions

Rindranirina Ramamonjison, Timothy T. Yu|arXiv (Cornell University)|Mar 14, 2023
Topic ModelingComputer Science11 citations
TL;DR

The NL4Opt competition investigates methods to extract optimization problem meaning from natural language and generate a solvable LP formulation, via two subtasks: entity recognition and problem formulation generation; it compares baselines, winning approaches, and large language model performance.

ABSTRACT

The Natural Language for Optimization (NL4Opt) Competition was created to investigate methods of extracting the meaning and formulation of an optimization problem based on its text description. Specifically, the goal of the competition is to increase the accessibility and usability of optimization solvers by allowing non-experts to interface with them using natural language. We separate this challenging goal into two sub-tasks: (1) recognize and label the semantic entities that correspond to the components of the optimization problem; (2) generate a meaning representation (i.e., a logical form) of the problem from its detected problem entities. The first task aims to reduce ambiguity by detecting and tagging the entities of the optimization problems. The second task creates an intermediate representation of the linear programming (LP) problem that is converted into a format that can be used by commercial solvers. In this report, we present the LP word problem dataset and shared tasks for the NeurIPS 2022 competition. Furthermore, we investigate and compare the performance of the ChatGPT large language model against the winning solutions. Through this competition, we hope to bring interest towards the development of novel machine learning applications and datasets for optimization modeling.

Motivation & Objective

  • Investigate feasibility of learning-based natural language interfaces for optimization solvers.
  • Reduce ambiguity in problem descriptions by tagging optimization-relevant entities.
  • Generate a canonical mathematical representation from detected problem entities for LP solvers.
  • Evaluate and compare top approaches and LLMs on a large LP word problem dataset.

Proposed method

  • Two-subtask framework: (i) recognize optimization problem entities (e.g., constraint direction, limit, objective name, parameters, variables) from descriptions; (ii) generate a meaning representation of the LP problem from the detected entities.
  • Create and annotate the NL4Opt LP word problem dataset (LPWPs) with training/dev/test splits across six domains; provide BIO/Spacy-formatted NER labels for sub-task 1 and ground-truth declarations for sub-task 2.
  • Utilize baseline models (e.g., XLM-RoBERTa-base for sub-task 1; BART-based encoder-decoder for sub-task 2) and compare to winning submissions.
  • Evaluate sub-task 1 with micro-averaged F1 score; evaluate sub-task 2 with declaration-level accuracy as defined by the canonical representation.
  • Compare with ChatGPT on a combined task to assess zero-shot large-language-model performance.

Experimental results

Research questions

  • RQ1Can a machine-learning model accurately identify optimization model entities from natural language descriptions?
  • RQ2Can a model generate a precise and solver-ready mathematical formulation from recognized entities?
  • RQ3How do baselines, ensembles, and data augmentation compare in this two-task pipeline for LP word problems?
  • RQ4What is the comparative performance of a large language model (ChatGPT) vs specialized submissions on LP formulation from natural language?

Key findings

  • Sub-task 1: top teams used ensemble learning and augmentation to boost NER F1 scores (highest 0.939; baseline 0.906).
  • Sub-task 2: improvements mainly from input redesign, data augmentation, and larger decoding models; top accuracy 0.899 vs baseline 0.610.
  • ChatGPT achieved 0.927 accuracy on the combined task, outperforming the top sub-task 2 submission in zero-shot fashion.
  • The dataset comprises 1101 annotated LP word problems across 6 domains, with train/dev/test splits (713/99/289).
  • Over 150 teams registered (roughly 19 sub-task 1 and 9 sub-task 2 submissions).
  • The paper highlights that preprocessing, data augmentation, and prompt design are key drivers of performance gains.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.