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

NEMO: 通过自主编码代理实现执行感知的优化建模

NEMO: Execution-Aware Optimization Modeling via Autonomous Coding Agents

Language Technologies Institute, School of Computer Science, Carnegie Mellon University, Pittsburgh, PA, USA(语言技术研究所,计算机科学学院,卡内基梅隆大学,匹兹堡,PA,美国)

Yang Song, Anoushka Vyas, Zirui Wei, Sina Khoshfetrat Pakazad, Henrik Ohlsson, Graham Neubig

AI总结:

提出NEMO系统,利用自主编码代理将决策问题的自然语言描述转化为可执行的数学优化实现,通过执行感知的架构和协调模式实现最先进的性能。

摘要:

我们提出NEMO,一个使用自主编码代理(ACA)将决策问题的自然语言描述转化为正式的可执行数学优化实现的系统。现有方法依赖于专门的大语言模型(LLM)或定制的任务特定代理,这些方法通常脆弱且经常生成语法无效或不可执行的代码。NEMO则将ACA视为与基于API的LLM交互类似的一等抽象;其沙盒执行保证代码从结构上可执行,并支持自动验证和修复。我们引入了新颖的协调模式,包括独立生成的优化器和模拟器实现之间的非对称验证循环、用于经验重用的外部记忆,以及通过最小贝叶斯风险(MBR)解码和自一致性增强的鲁棒性。在九个已建立的优化基准测试中,NEMO在大多数任务上取得了最先进的性能,并在多个数据集上大幅领先,展示了执行感知的代理架构在自动化优化建模中的强大能力。

英文摘要:

We present NEMO, a system that translates Natural-language descriptions of decision problems into formal Executable Mathematical Optimization implementations using autonomous coding agents (ACAs). Existing approaches rely on specialized large language models (LLMs) or bespoke task-specific agents that are often brittle and frequently generate syntactically invalid or non-executable code. NEMO instead treats ACAs as a first-class abstraction analogous to API-based interaction with LLMs; their sandboxed execution guarantees code is executable by construction and supports automated validation and repair. We introduce novel coordination patterns including asymmetric validation loops between independently generated optimizer and simulator implementations, external memory for experience reuse, and robustness enhancements via minimum Bayes risk (MBR) decoding and self-consistency. Across nine established optimization benchmarks, NEMO achieves state-of-the-art performance on the majority of tasks with substantial margins on several datasets, demonstrating the power of execution-aware agentic architectures for automated optimization modeling.

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

↑