Holy Grail 2.0:从自然语言到约束模型
Holy Grail 2.0: From Natural Language to Constraint Models
AI总结:
本文提出利用预训练大型语言模型从文本描述中提取约束模型,受NL4OPT启发,展示了基于分解提示方法在GPT模型上的早期成果,旨在降低CP建模门槛。
摘要:
27年前,E. Freuder强调“约束编程代表了计算机科学迄今为止最接近编程圣杯的方法:用户陈述问题,计算机解决它”。如今,CP(约束编程)用户拥有出色的建模工具(如Minizinc和CPMpy),使他们能够表述问题并让求解器完成其余工作,从而更接近上述目标。然而,这仍然要求CP用户了解并遵守形式化规则。另一个重大挑战在于有效建模组合问题所需的专业知识。所有这些都限制了CP的更广泛采用。在这篇立场论文中,我们研究了一种利用预训练大型语言模型从文本问题描述中提取模型的可能方法。更具体地说,我们从Natural Language Processing for Optimization (NL4OPT)挑战赛中汲取灵感,并展示了使用基于分解的提示方法在GPT模型上的早期结果。
英文摘要:
Twenty-seven years ago, E. Freuder highlighted that "Constraint programming represents one of the closest approaches computer science has yet made to the Holy Grail of programming: the user states the problem, the computer solves it". Nowadays, CP users have great modeling tools available (like Minizinc and CPMpy), allowing them to formulate the problem and then let a solver do the rest of the job, getting closer to the stated goal. However, this still requires the CP user to know the formalism and respect it. Another significant challenge lies in the expertise required to effectively model combinatorial problems. All this limits the wider adoption of CP. In this position paper, we investigate a possible approach to leverage pre-trained Large Language Models to extract models from textual problem descriptions. More specifically, we take inspiration from the Natural Language Processing for Optimization (NL4OPT) challenge and present early results with a decomposition-based prompting approach to GPT Models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。