由专家知识引导的基于LLM的MILP建模引擎用于员工排班
An LLM-powered MILP modelling engine for workforce scheduling guided by expert knowledge
AI总结:
提出SMILO框架,结合专家知识与LLMs,通过三阶段架构生成混合整数线性规划模型,在员工排班问题中正确率达90%,比基线高35%以上。
摘要:
从现实决策问题中构建数学模型是运筹学的核心任务,但这通常需要大量的人类专业知识和精力,限制了其实际应用。大型语言模型(LLMs)的最新进展激发了人们从自然语言描述中自动化这一过程的兴趣。然而,建模专业知识有限、对大规模训练数据的依赖以及幻觉等挑战,影响了LLMs在优化建模中的可靠应用。为了应对这些挑战,我们提出了SMILO,这是一个由专家知识驱动的框架,它将优化建模专业知识与LLMs相结合,以生成混合整数线性规划模型。SMILO使用建立在可重用建模图和相关资源之上的三阶段架构:识别相关建模组件、使用LLMs提取实例特定信息,以及通过专家定义的模板构建模型。这种模块化架构将信息提取与公式生成分离开来,提高了建模的准确性、透明度和可重复性。我们以涵盖制造、物流和服务运营的员工排班问题为例,展示了我们建模框架的实现。实验表明,在五次试验中,SMILO在90%的测试实例中持续生成正确的模型,比一步LLM基线高出至少35%。这项工作提供了一个将LLMs与专家知识整合到各种决策环境中的可推广范式,推进了优化建模的自动化。
英文摘要:
Formulating mathematical models from real-world decision problems is a core task in Operational Research, yet it typically requires considerable human expertise and effort, limiting practical application. Recent advances in large language models (LLMs) have sparked interest in automating this process from natural language descriptions. However, challenges including limited modelling expertise, dependence on large-scale training data, and hallucination affect the reliable application of LLMs in optimisation modelling. To address these challenges, we propose SMILO, an expert-knowledge-driven framework that integrates optimisation modelling expertise with LLMs to generate mixed-integer linear programming models. SMILO uses a three-stage architecture built on reusable modelling graphs and associated resources: identifying relevant modelling components, extracting instance-specific information using LLMs, and constructing models through expert-defined templates. This modular architecture separates information extraction from formula generation, enhancing modelling accuracy, transparency, and reproducibility. We demonstrate the implementation of our modelling framework using workforce scheduling problems spanning manufacturing, logistic, and service operations as illustrative cases. Experiments show that SMILO consistently generates correct models in 90% of test instances across five trials, outperforming one-step LLM baselines by at least 35%. This work offers a generalisable paradigm for integrating LLMs with expert knowledge across diverse decision-making contexts, advancing automation in optimisation modelling.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。