LLMOPT: Learning to Define and Solve General Optimization Problems from Scratch

刮擦 计算机科学 程序设计语言
作者
Caigao Jiang,Xiang Shu,Hong Qian,Xiong Lu,Jun Zhou,Aimin Zhou,Yu Yang
出处
期刊:Cornell University - arXiv 被引量:3
标识
DOI:10.48550/arxiv.2410.13213
摘要

Optimization problems are prevalent across various scenarios. Formulating and then solving optimization problems described by natural language often requires highly specialized human expertise, which could block the widespread application of optimization-based decision making. To automate problem formulation and solving, leveraging large language models (LLMs) has emerged as a potential way. However, this kind of approach suffers from the issue of optimization generalization. Namely, the accuracy of most current LLM-based methods and the generality of optimization problem types that they can model are still limited. In this paper, we propose a unified learning-based framework called LLMOPT to boost optimization generalization. Starting from the natural language descriptions of optimization problems and a pre-trained LLM, LLMOPT constructs the introduced five-element formulation as a universal model for learning to define diverse optimization problem types. Then, LLMOPT employs the multi-instruction tuning to enhance both problem formalization and solver code generation accuracy and generality. After that, to prevent hallucinations in LLMs, such as sacrificing solving accuracy to avoid execution errors, the model alignment and self-correction mechanism are adopted in LLMOPT. We evaluate the optimization generalization ability of LLMOPT and compared methods across six real-world datasets covering roughly 20 fields such as health, environment, energy and manufacturing, etc. Extensive experiment results show that LLMOPT is able to model various optimization problem types such as linear/nonlinear programming, mixed integer programming, and combinatorial optimization, and achieves a notable 11.08% average solving accuracy improvement compared with the state-of-the-art methods. The code is available at https://github.com/caigaojiang/LLMOPT.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
宇123发布了新的文献求助10
1秒前
今后应助大黑采纳,获得10
2秒前
3秒前
3秒前
缥缈的清涟完成签到,获得积分10
6秒前
路豐遙完成签到,获得积分10
6秒前
7秒前
哎a完成签到,获得积分10
7秒前
8秒前
huhu关注了科研通微信公众号
11秒前
哎a发布了新的文献求助10
11秒前
PPone1发布了新的文献求助10
11秒前
充电宝应助周同学采纳,获得10
12秒前
13秒前
13秒前
糯米多多发布了新的文献求助10
14秒前
小巧初柔完成签到,获得积分20
16秒前
16秒前
终南成风发布了新的文献求助10
17秒前
无情的凌寒完成签到 ,获得积分10
20秒前
Mashiro应助糯米多多采纳,获得10
22秒前
22秒前
pluto应助甜美梦槐采纳,获得10
23秒前
25秒前
27秒前
小马甲应助山狮子采纳,获得10
29秒前
LILILIAN完成签到 ,获得积分10
29秒前
29秒前
XiaoXiao完成签到 ,获得积分10
30秒前
小黑发布了新的文献求助10
30秒前
糯米多多完成签到,获得积分10
32秒前
33秒前
33秒前
36秒前
ding应助suan采纳,获得10
37秒前
搞怪哑铃发布了新的文献求助10
37秒前
37秒前
思源应助普通人采纳,获得10
37秒前
沉静的友灵完成签到,获得积分10
37秒前
39秒前
高分求助中
液晶指向矢仿真分析数据集 8888
Invited Discussant 63O and 64O 1000
Ideology and Meaning-Making under the Putin Regime 750
Advanced Memory Technology 500
Petrology and Plate Tectonics 500
Writing Systems 500
A Handbook of User Experience Research & Design in Libraries 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 计算机科学 化学工程 生物化学 物理 内科学 复合材料 催化作用 光电子学 物理化学 电极 细胞生物学 基因 遗传学
热门帖子
关注 科研通微信公众号,转发送积分 6865885
求助须知:如何正确求助?哪些是违规求助? 8568611
关于积分的说明 18218476
捐赠科研通 6236011
什么是DOI,文献DOI怎么找? 3049465
关于科研通互助平台的介绍 2051760
邀请新用户注册赠送积分活动 2027258