arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.12955cs.AI
收藏

Text2Model: 用于文本到模型翻译的建模副驾驶

Text2Model: Modeling Copilots for Text-to-Model Translation

AI Center of Excellence, Fidelity Investments(富达投资人工智能卓越中心);Department of Computer Science, Brown University(布朗大学计算机科学系)

Serdar Kadioglu, Karthik Uppuluri, Akash Singirikonda

AI总结:

本文提出Text2Model和Text2Zinc,通过统一架构和数据集、求解器无关的方式,利用多种LLM策略实现文本到组合优化与满足问题的模型翻译,并开源副驾驶和排行榜以缩小性能差距。

摘要:

利用大型语言模型(LLM)进行文本到模型翻译和优化任务的研究兴趣日益增长。本文通过引入\textsc{Text2Model}和\textsc{Text2Zinc}来推进这一研究方向。\textsc{Text2Model}是一套基于多种LLM策略(复杂度各异)的副驾驶,并附带在线排行榜。\textsc{Text2Zinc}是一个跨领域数据集,用于捕捉自然语言指定的优化和满足问题,并附带内置AI助手的交互式编辑器。虽然已有新兴文献使用LLM将组合问题翻译为形式化模型,但我们的工作是首次尝试将满足问题和优化问题集成在\textit{统一架构}和\textit{数据集}中。此外,我们的方法是\textit{求解器无关的},不同于现有专注于翻译为特定求解器模型的工作。为此,我们利用\textsc{MiniZinc}的求解器和范式无关的建模能力来表述组合问题。我们进行了全面实验,比较了多种单次和多次调用策略的执行和解准确率,包括:零样本提示、思维链推理、通过知识图谱的中间表示、基于语法的语法编码,以及将模型分解为顺序子任务的代理方法。我们的副驾驶策略具有竞争力,并在部分方面改进了该领域的最新研究。我们的发现表明,虽然LLM有前景,但尚未成为组合建模的一键式技术。我们开源了\textsc{Text2Model}副驾驶和排行榜,以及\textsc{Text2Zinc}和交互式编辑器,以支持缩小这一性能差距。

英文摘要:

There is growing interest in leveraging large language models (LLMs) for text-to-model translation and optimization tasks. This paper aims to advance this line of research by introducing \textsc{Text2Model} and \textsc{Text2Zinc}. \textsc{Text2Model} is a suite of copilots based on several LLM strategies with varying complexity, along with an online leaderboard. \textsc{Text2Zinc} is a cross-domain dataset for capturing optimization and satisfaction problems specified in natural language, along with an interactive editor with built-in AI assistant. While there is an emerging literature on using LLMs for translating combinatorial problems into formal models, our work is the first attempt to integrate \textit{both} satisfaction and optimization problems within a \textit{unified architecture} and \textit{dataset}. Moreover, our approach is \textit{solver-agnostic} unlike existing work that focuses on translation to a solver-specific model. To achieve this, we leverage \textsc{MiniZinc}'s solver-and-paradigm-agnostic modeling capabilities to formulate combinatorial problems. We conduct comprehensive experiments to compare execution and solution accuracy across several single- and multi-call strategies, including; zero-shot prompting, chain-of-thought reasoning, intermediate representations via knowledge-graphs, grammar-based syntax encoding, and agentic approaches that decompose the model into sequential sub-tasks. Our copilot strategies are competitive, and in parts improve, recent research in this domain. Our findings indicate that while LLMs are promising they are not yet a push-button technology for combinatorial modeling. We contribute \textsc{Text2Model} copilots and leaderboard, and \textsc{Text2Zinc} and interactive editor to open-source to support closing this performance gap.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑