arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2505.21775cs.LGcs.AImath.OC
收藏

DualSchool:LLMs在优化教育中有多可靠?

DualSchool: How Reliable are LLMs for Optimization Education?

Georgia Institute of Technology(佐治亚理工学院);NSF AI Institute for Advances in Optimization(国家科学基金会人工智能优化研究所)

Michael Klamkin, Arnaud Deza, Sikai Cheng, Haoruo Zhao, Pascal Van Hentenryck

AI总结:

本文提出DualSchool框架,用于生成和验证线性规划原问题到对偶转换(P2DC)实例,实验发现尽管LLMs能背诵转换过程,但无法一致生成正确对偶,揭示了其在优化教育中的局限性。

摘要:

考虑入门优化课程中教授的以下任务,该任务解决了社区在(生成式)AI与OR交叉领域提出的挑战:生成线性规划的对偶问题。LLMs经过网络规模训练,掌握转换过程以及许多原问题到对偶转换(P2DC)的实例。因此,学生可能合理地期望LLMs在P2DC任务上表现良好。为评估这一期望,本文介绍了DualSchool,一个用于生成和验证P2DC实例的综合框架。DualSchool的验证过程使用规范图编辑距离,远超现有的优化模型评估方法,后者应用于P2DC时表现出许多假阳性和假阴性。DualSchool进行的实验揭示了有趣的发现。尽管LLMs能准确背诵转换过程,但最先进的开源LLMs无法一致地生成正确的对偶。即使对于最小的双变量实例以及衍生任务(如正确性、验证和错误分类),这一发现依然成立。本文还讨论了对教育者、学生和大型推理系统开发的影响。

英文摘要:

Consider the following task taught in introductory optimization courses which addresses challenges articulated by the community at the intersection of (generative) AI and OR: generate the dual of a linear program. LLMs, being trained at web-scale, have the conversion process and many instances of Primal to Dual Conversion (P2DC) at their disposal. Students may thus reasonably expect that LLMs would perform well on the P2DC task. To assess this expectation, this paper introduces DualSchool, a comprehensive framework for generating and verifying P2DC instances. The verification procedure of DualSchool uses the Canonical Graph Edit Distance, going well beyond existing evaluation methods for optimization models, which exhibit many false positives and negatives when applied to P2DC. Experiments performed by DualSchool reveal interesting findings. Although LLMs can recite the conversion procedure accurately, state-of-the-art open LLMs fail to consistently produce correct duals. This finding holds even for the smallest two-variable instances and for derivative tasks, such as correctness, verification, and error classification. The paper also discusses the implications for educators, students, and the development of large reasoning systems.

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

↑