[论文解读] NL4Opt Competition: Formulating Optimization Problems Based on Their Natural Language Descriptions
NL4Opt 竞赛研究如何从自然语言中提取优化问题含义并生成可求解的 LP 形式,通过两个子任务:实体识别和问题表述生成;它比较基线、获胜方法以及大语言模型的表现。
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.
研究动机与目标
- 研究基于学习的自然语言接口用于优化求解器的可行性。
- 通过标注与优化相关的实体来降低问题描述的歧义性。
- 从检测到的问题实体为 LP 求解器生成规范的数学表示。
- 在一个大型 LP 文字题数据集上评估并比较顶尖方法和大语言模型(LLMs)。
提出的方法
- 两步子任务框架:(i) 从描述中识别优化问题实体(例如约束方向、上限、目标名称、参数、变量);(ii) 从检测到的实体生成 LP 问题的含义表示。
- 创建并标注 NL4Opt LP 文字题数据集(LPWPs),在六个领域提供训练/开发/测试划分;为子任务 1 提供 BIO/Spacy 格式的 NER 标签,为子任务 2 提供地面真值声明。
- 利用基线模型(例如用于子任务 1 的 XLM-RoBERTa-base;用于子任务 2 的基于 BART 的编码-解码器)并与获胜提交进行比较。
- 使用微平均 F1 分数评估子任务 1;使用子任务 2 的声明级准确度(由规范表示定义)评估。
- 与 ChatGPT 进行联合任务比较,以评估零-shot 大语言模型的性能。
实验结果
研究问题
- RQ1机器学习模型是否能够从自然语言描述中准确识别优化模型实体?
- RQ2模型是否能够从已识别的实体生成精确且可供求解的数学表示?
- RQ3在这个用于 LP 文字题的问题管道中,基线、集成和数据增强的效果有何差异?
- RQ4在从自然语言到 LP 表述方面,大语言模型(ChatGPT)与专门提交的比较表现如何?
主要发现
- 子任务 1:顶尖团队使用集成学习和数据增强来提升 NER F1 分数(最高 0.939;基线 0.906)。
- 子任务 2:改进主要来自输入重新设计、数据增强和更大的解码模型;最高准确率 0.899,而基线为 0.610。
- ChatGPT 在组合任务上达到 0.927 的准确度,零-shot 方式超越了子任务 2 的顶级提交。
- 数据集包含来自六个领域的 1101 个带注释的 LP 文字题,训练/开发/测试划分为 713/99/289。
- 有超过 150 个团队注册(大约有 19 个子任务 1 提交和 9 个子任务 2 提交)。
- 论文指出预处理、数据增强和提示设计是性能提升的关键驱动因素。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。