Skip to main content
QUICK REVIEW

[논문 리뷰] Language Models for Business Optimisation with a Real World Case Study in Production Scheduling

Pivithuru Thejan Amarasinghe, Su Nguyen|arXiv (Cornell University)|2023. 09. 22.
Business Process Modeling and AnalysisBusiness, Management and Accounting인용 수 3
한 줄 요약

이 논문은 생산 스케줄링 분야에서 특히 복잡한 비즈니스 최적화 문제 설정을 자동화하기 위해 미세튜닝된 코드 생성 대규모 언어 모델(LLM)을 활용하는 AI-Copilot 프레임워크를 제안한다. 토큰 제한을 극복하기 위해 프롬프트 엔지니어링과 모듈화 기법을 사용함으로써, 자연어 기반 기술서에서 정확하고 실행 가능한 최적화 모델을 생성하며, 전문가의 입력을 최소화한 채 높은 품질의 설정을 달성한다.

ABSTRACT

Business optimisation has been used extensively to determine optimal solutions for challenging business operations. Problem formulation is an important part of business optimisation as it influences both the validity of solutions and the efficiency of the optimisation process. While different optimisation modelling languages have been developed, problem formulation is still not a trivial task and usually requires optimisation expertise and problem-domain knowledge. Recently, Large Language Models (LLMs) have demonstrated outstanding performance across different language-related tasks. Since problem formulation can be viewed as a translation task, there is a potential to leverage LLMs to automate problem formulation. However, developing an LLM for problem formulation is challenging, due to limited training data, and the complexity of real-world optimisation problems. Several prompt engineering methods have been proposed in the literature to automate problem formulation with LLMs. While the initial results are encouraging, the accuracy of formulations generated by these methods can still be significantly improved. In this paper, we present an LLM-based framework for automating problem formulation in business optimization. Our approach introduces a method for fine-tuning cost-efficient LLMs specifically tailored to specialized business optimization challenges. The experiment results demonstrate that our framework can generate accurate formulations for conventional and real-world business optimisation problems in production scheduling. Extensive analyses show the effectiveness and the convergence of the proposed fine-tuning method. The proposed method also shows very competitive performance when compared with the state-of-the-art prompt engineering methods in the literature when tested on general linear programming problems.

연구 동기 및 목표

  • 복잡한 비즈니스 최적화 문제 설정 시 전문가 지식 의존도를 낮추기 위해.
  • 대규모 최적화 모델을 생성할 때 LLM의 토큰 제한 문제를 해결하기 위해.
  • LLM이 생성한 문제 설정의 품질을 평가하기 위한 맞춤형 평가 지표를 개발하기 위해.
  • 실제 비즈니스 시나리오(예: 생산 스케줄링)에서 LLM을 활용한 엔드 투 엔드 문제 설정의 가능성을 입증하기 위해.
  • 최적화 전문 지식이 없는 사용자도 깊이 있는 최적화 전문 지식 없이도 정확하고 실행 가능한 최적화 모델을 생성할 수 있도록 하기 위해.

제안 방법

  • 문제 기술서와 해당 실행 가능한 설정을 포함한 소규모 정제된 데이터셋에 기반해 사전 학습된 코드 생성 LLM을 미세튜닝하는 것.
  • 복잡한 설정을 토큰 제약 조건을 충족하는 구성 요소로 나누기 위해 모듈화와 프롬프트 엔지니어링을 적용하는 것.
  • 생성된 설정의 정확성, 완전성, 구조적 품질을 평가하기 위해 맞춤형 평가 지표를 설계하는 것.
  • 미세튜닝된 LLM의 인코더 및 디코더 임베딩의 의미적 군집을 분석하고 시각화하기 위해 주성분 분석(PCA)을 사용하는 것.
  • 제약 프로그래밍 솔버를 사용해 생성된 문제 설정을 실행하여 정확성과 출력 품질을 검증하는 것.
  • 두 단계 프로세스를 활용하는 것: (1) LLM이 자연어 입력 기반으로 모듈화된 코드를 생성하고, (2) 모듈을 조합하여 완전하고 실행 가능한 모델을 구성하는 것.
Figure 1: Solution overview
Figure 1: Solution overview

실험 결과

연구 질문

  • RQ1미세튜닝된 LLM은 자연어 기반 기술서로부터 생산 스케줄링 문제에 대한 정확하고 실행 가능한 최적화 설정을 생성할 수 있는가?
  • RQ2대규모 최적화 모델을 생성할 때 LLM의 토큰 제한을 효과적으로 완화할 수 있는 방법은 무엇인가?
  • RQ3LLM이 생성한 최적화 문제 설정의 품질을 평가하기에 가장 적합한 평가 지표는 무엇인가?
  • RQ4LLM에서 학습된 임베딩은 문제 기술서와 설정 간의 의미적 구조를 얼마나 잘 반영하고 있는가?
  • RQ5제안된 프레임워크는 생산 스케줄링 외의 다른 유형의 비즈니스 최적화 문제에 일반화될 수 있는가?

주요 결과

  • AI-Copilot는 자연어 입력 기반으로 복잡하고 대규모의 생산 스케줄링 모델을 성공적으로 생성하였으며, 랜덤한 작업 경로와 소요 시간을 고려한 마이크스팬 최소화 문제도 포함하였다.
  • 모듈화와 프롬프트 엔지니어링 기법이 효과적으로 토큰 제한을 극복하여, LLM의 컨텍스트 윈도우 제약 조건 내에서 다중 구성 요소로 이루어진 설정을 생성할 수 있었다.
  • 임베딩 분석 결과, 디코더 임베딩이 기능 모듈(예: 제약 조건, 결과 출력 등)에 해당하는 의미적 군집을 형성함으로써 코드 구조에 대한 의미적 이해를 보여주었다.
  • 테스트 케이스에서 성공적인 실행과 출력 생성을 통해 검증된 바, 프레임워크는 높은 정확도로 정확한 문제 설정을 생성하였다.
  • 이 작업에 특화된 평가 지표는 정확성, 완전성, 구조적 일관성 등 설정 품질을 효과적으로 측정하였다.
  • 모델은 일반화 가능성을 보였으며, 라우팅 및 할당 문제와 같은 다른 최적화 문제 유형에도 프레임워크가 적용 가능한 것으로 나타났다.
(a) CodeRL does not create a complete problem formulation due to token limitation
(a) CodeRL does not create a complete problem formulation due to token limitation

더 나은 연구,지금 바로 시작하세요

논문 읽기부터 검토까지, 연구 시간을 획기적으로 줄여보세요.

카드 등록 없음 · 무료 플랜 제공

이 리뷰는 AI가 만들고, 인간 에디터가 검토했습니다.