Our work is the first attempt to apply Natural Language Processing to automate the development of simulation models of systems vitally important for logistics. We demonstrated that the framework built on top of the fine-tuned GPT-3 Codex, a Transformer-based language model, could produce functionally valid simulations of queuing and inventory control systems given the verbal description. In conducted experiments, GPT-3 Codex demonstrated convincing expertise in Python as well as an understanding of the domain-specific vocabulary. As a result, the language model could produce simulations of a single-product inventory-control system and single-server queuing system given the domain-specific context, a detailed description of the process, and a list of variables with the corresponding values. The demonstrated results, along with the rapid improvement of language models, open the door for significant simplification of the workflow behind the simulation model development, which will allow experts to focus on the high-level consideration of the problem and holistic thinking.
翻译:本文是首次尝试将自然语言处理应用于自动化重要物流系统的模拟模型开发。我们证明了基于经过微调的Transformer模型GPT-3 Codex的框架在给定语言描述的情况下能够生成功能有效的排队和库存控制系统的模拟。在进行的实验中,GPT-3 Codex展现了出色的Python专业技能以及对特定领域词汇的理解。因此,该语言模型可以根据具体领域的上下文,详细的流程描述以及一串变量值列表生成单项产品库存控制系统和单服务器排队系统的模拟。这些结果,加上语言模型的快速进步,为简化模拟模型开发背后的工作流程开辟了新的道路,将使专家能够专注于问题的高层次思考和整体性思维。