神经符号框架验证 LLM 生成的优化模型,准确率最高提升 18.2 个百分点
Neuro-Symbolic Verification and Refinement for LLM-Based Optimisation Modelling
做运筹优化建模的朋友可以看看这篇:用求解器当裁判来审 LLM 写的数学模型,反例直接喂回去改,两个基准上分别拉到 96.8% 和 49.1%,比四种现有反馈方法都强。不用标准答案也能验,实际业务建模用得上。
一篇 arXiv 论文提出神经符号验证与精炼框架,用于检查 LLM 生成的数学优化模型的正确性。该框架先把问题描述抽取为人类可核验的文本规则,再转成符号规则,用可满足性求解器逐一比对数学模型。规则被违反时,求解器定位语义不一致并返回反例,反例引导 LLM 迭代修正模型。
在两个基准数据集上,模型准确率分别从 82.3% 提升到 96.8%,从 30.9% 提升到 49.1%,且在两个数据集上都优于四种已有的基于反馈的精炼方法。该方法不依赖真实模型或最优目标值,避免了传统自动验证在真实场景中不可用的问题。
对需要用 LLM 自动建模的运筹与决策优化场景,这提供了一条不依赖人工专家逐条核查的验证路径,反例驱动的修正机制也可迁移到其他结构化输出校验任务。
Neuro-Symbolic Verification and Refinement for LLM-Based Optimisation Modelling
Optimisation supports decision-making across diverse domains, yet translating real-world problems into mathematical models remains expertise-intensive. Large language models (LLMs) offer opportunities to automate this process, but verifying model correctness remains challenging. Manually verifying an entire mathematical model requires significant optimisation expertise, while automated verification often relies on ground-truth models or optimal objective values, which are typically unavailable for real-world problems. Here we propose a neuro-symbolic framework for verifying and refining LLM-generated mathematical models. Problem-specific requirements are extracted as simple textual rules that a human can easily verify, and then transformed into symbolic rules. Each symbolic rule is then checked against the mathematical model using a satisfiability solver. When a rule is violated, the solver identifies the semantic inconsistency and returns a counterexample, which guides the LLM in refining the model iteratively. Experiments on two benchmark datasets show that the framework identifies semantic modelling errors and increases the accuracy of generated models from 82.3% to 96.8% and from 30.9% to 49.1%. Furthermore, the framework also outperforms four existing feedback-based refinement methods on both datasets.
本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:LLM、运筹优化、神经符号、SMT求解器,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「arXiv cs.AI」(@Pivithuru Thejan Amarasinghe, Su Nguyen, Yuan Sun, Damminda Alahakoon),经 AITOP 多维评分管线结构化提炼。