arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.08406cs.HCcs.CLcs.LGmath.OC
收藏

OptiChat:用大语言模型连接优化模型与实践者

OptiChat: Bridging Optimization Models and Practitioners with Large Language Models

Davidson School of Chemical Engineering(大卫逊化学工程学院);Purdue University(普渡大学)

Hao Chen, Gonzalo Esteban Constante-Flores, Krishna Sri Ipsit Mantri, Sai Madhukiran Kompalli, Akshdeep Singh Ahluwalia, Can Li

AI总结:

OptiChat 是一个基于大语言模型的自然语言对话系统,通过功能调用和代码生成帮助非专家实践者解释、诊断、分析和修改优化模型,实验证明其能提供自主、准确且即时的响应。

摘要:

优化模型已被用于解决各种各样的决策问题。这些模型通常由优化专家开发,但由各应用领域中不具备优化专业知识的实践者使用。因此,实践者往往难以独立地与优化模型交互并从中得出有用的结论。为了填补这一空白,我们提出了 OptiChat,一个自然语言对话系统,旨在帮助实践者解释模型公式、诊断不可行性、分析敏感性、检索信息、评估修改并提供反事实解释。通过为优化模型量身定制功能调用和代码生成来增强大语言模型(LLMs),我们在 OptiChat 中实现了无缝交互,并最大限度地降低了产生幻觉的风险。我们开发了一个新数据集来评估 OptiChat 在解释优化模型方面的性能。实验表明,OptiChat 有效地弥合了优化模型与实践者之间的差距,提供自主、准确且即时的响应。

英文摘要:

Optimization models have been applied to solve a wide variety of decision-making problems. These models are usually developed by optimization experts but are used by practitioners without optimization expertise in various application domains. As a result, practitioners often struggle to interact with and draw useful conclusions from optimization models independently. To fill this gap, we introduce OptiChat, a natural language dialogue system designed to help practitioners interpret model formulation, diagnose infeasibility, analyze sensitivity, retrieve information, evaluate modifications, and provide counterfactual explanations. By augmenting large language models (LLMs) with functional calls and code generation tailored for optimization models, we enable seamless interaction and minimize the risk of hallucinations in OptiChat. We develop a new dataset to evaluate OptiChat's performance in explaining optimization models. Experiments demonstrate that OptiChat effectively bridges the gap between optimization models and practitioners, delivering autonomous, accurate, and instant responses.

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

↑