arXiv:2604.01588cs.AI2026-04

用树状分解法让大模型准确建模非线性优化问题

NED-Tree: Bridging the Semantic Gap with Nonlinear Element Decomposition Tree for LLM Nonlinear Optimization Modeling

  • 通过递归树结构拆分复杂非线性项,提升模型与代码语义对齐
  • 在10个基准上实现72.51%平均准确率,刷新非线性建模新纪录
  • 专为复杂非线性规划设计,适合优化研究者和工业应用者

将运筹学(OR)问题从自然语言自动转化为可执行模型是一项关键挑战。尽管大语言模型(LLMs)在处理线性任务方面表现良好,但在真实世界的非线性场景中因数学公式与求解器代码间存在语义错位,以及信息提取不稳定,导致性能严重下降。本文提出NED-Tree框架,系统性地弥合这一语义鸿沟。该框架采用(a)逐句提取策略,确保参数映射稳健且可追溯;(b)递归树结构,自适应地将复杂非线性项分解为求解器兼容的子元素。此外,我们构建了NEXTOR,一个针对复杂非线性、大规模约束运筹学问题的新基准。在10个基准上的实验表明,NED-Tree以72.51%的平均准确率建立新标杆。NED-Tree是首个通过元素分解引导大模型解决非线性建模难题的框架,实现了建模语义与代码语义的高度对齐。相关代码与数据集可在匿名仓库https://anonymous.4open.science/r/NORA-NEXTOR获取。

原文摘要 · Abstract (English)

Automating the translation of Operations Research (OR) problems from natural language to executable models is a critical challenge. While Large Language Models (LLMs) have shown promise in linear tasks, they suffer from severe performance degradation in real-world nonlinear scenarios due to semantic misalignment between mathematical formulations and solver codes, as well as unstable information extraction. In this study, we introduce NED-Tree, a systematic framework designed to bridge the semantic gap. NED-Tree employs (a) a sentence-by-sentence extraction strategy to ensure robust parameter mapping and traceability; and (b) a recursive tree-based structure that adaptively decomposes complex nonlinear terms into solver-compatible sub-elements. Additionally, we present NEXTOR, a novel benchmark specifically designed for complex nonlinear, extensive-constraint OR problems. Experiments across 10 benchmarks demonstrate that NED-Tree establishes a new state-of-the-art with 72.51% average accuracy, NED-Tree is the first framework that drives LLMs to resolve nonlinear modeling difficulties through element decomposition, achieving alignment between modeling semantics and code semantics. The NED-Tree framework and benchmark are accessible in the anonymous repository https://anonymous.4open.science/r/NORA-NEXTOR.

非线性建模大模型运筹优化语义对齐

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。