[논문 리뷰] Large Language Models as Evolutionary Optimizers
이 논문은 대형 언어 모델(LLM) 주도적 진화 알고리즘(EA)인 LMEA를 소개한다. 이는 selection, crossover, mutation을 수행하고, 탐색과 착취의 균형을 맞추기 위해 자가 적응 온도(self-adaptive temperature)를 사용하는 제로샷 진화 최적화 프레임워크로, 20노드까지의 TSP 인스턴스에서 평가된다.
Evolutionary algorithms (EAs) have achieved remarkable success in tackling complex combinatorial optimization problems. However, EAs often demand carefully-designed operators with the aid of domain expertise to achieve satisfactory performance. In this work, we present the first study on large language models (LLMs) as evolutionary combinatorial optimizers. The main advantage is that it requires minimal domain knowledge and human efforts, as well as no additional training of the model. This approach is referred to as LLM-driven EA (LMEA). Specifically, in each generation of the evolutionary search, LMEA instructs the LLM to select parent solutions from current population, and perform crossover and mutation to generate offspring solutions. Then, LMEA evaluates these new solutions and include them into the population for the next generation. LMEA is equipped with a self-adaptation mechanism that controls the temperature of the LLM. This enables it to balance between exploration and exploitation and prevents the search from getting stuck in local optima. We investigate the power of LMEA on the classical traveling salesman problems (TSPs) widely used in combinatorial optimization research. Notably, the results show that LMEA performs competitively to traditional heuristics in finding high-quality solutions on TSP instances with up to 20 nodes. Additionally, we also study the effectiveness of LLM-driven crossover/mutation and the self-adaptation mechanism in evolutionary search. In summary, our results reveal the great potentials of LLMs as evolutionary optimizers for solving combinatorial problems. We hope our research shall inspire future explorations on LLM-driven EAs for complex optimization challenges.
연구 동기 및 목표
- 대형 언어 모델이 도메인 전문 지식이 거의 없이도 조합 최적화 문제를 해결하는 진화 연산자로서 작동할 수 있는지 동기 부여 및 탐색
- LMEA를 제로샷 프레임워크로 제안하여 LLM이 부모 선택, 교차, 돌연변이를 EA 루프 내에서 수행하도록 함
- 탐색과 착취의 균형을 맞추기 위해 LLM 온도를 조정하는 자가 적응 메커니즘이 검색 중에 작동하는지 입증
제안 방법
- 각 세대의 EA에서 LLM이 부모를 선택하고 교차 및 변이를 수행해 자손을 생성하는 프롬프트 기반 프레임워크를 구축한다.
- 문제 특성 프롬프트 구성요소를 설명한다: 해답 속성으로서의 문제 설명, 현재 인구로부터의 맥락 예시, 명시적 작업 지시.
- 개선이 K번 연속으로 없으면 LLM 온도를 알파만큼 증가시키는 자가 적응 규칙을 구현한다(alpha=0.1, K=20).
- EUC-2D TSP 인스턴스에서 n을 {10,15,20,25}로 평가하고 NN, FI/NI/RI 삽입 휴리스틱 및 OPRO 베이스라인(유전 연산자 없이 LLM 주도)을 비교한다.
- 고정 인구 크기 N=16 및 세대 수 G=250를 사용; 최적성 격차와 최적 해에 대한 세대 수를 보고한다.
실험 결과
연구 질문
- RQ1제로샷 방식으로 사용된 LLM이 진화 연산자(선택, 교차, 돌연변이)로 작동해 조합 최적화 문제를 효과적으로 해결할 수 있는가?
- RQ2LMEA의 성능이 전통적 휴리스틱 및 LLM 주도 진화 연산자를 사용하지 않는 베이스라인과 비교하여 TSP 인스턴스에서 어떤 차이가 있는가?
- RQ3LMEA에서 LLM 온도의 자가 적응이 수렴 및 해의 질에 어떤 영향을 미치는가?
- RQ4TSP의 문제 규모가 커짐에 따라 LMEA의 확장성 한계는 어떠한가?
주요 결과
- LMEA는 작은 TSP(n=10,15)에서 경쟁력 있는 최적성 격차를 달성하고, 10- 및 15노드 인스턴스에서 많은 경우 최적 해를 지속적으로 발견한다.
- rue-10, rue-15, clu-10 테스트 세트에서 LMEA는 다수의 구성에서 전통적 휴리스틱보다 성능이 우수하고 대부분의 경우 최적 해를 발견한다(예: rue/clu-10/15 인스턴스 중 19/20에서 최적).
- 더 큰 TSP(n=20,25)에서는 LMEA의 성능이 수작업으로 설계된 휴리스틱에 비해 저하되며 확장성의 한계를 시사한다.
- OPRO(진화 연산자 없는 LLM 주도 베이스라인) 대비 LMEA는 일반적으로 더 나은 해와 더 빠른 수렴을 보여준다.
- LMEA의 온도 자가 적응은 비적응 변형(LMEA*)에 비해 성능을 크게 개선한다.
- LLMs는 EA 프레임워크에서 연산자이자 조정자로서 역할을 하여 조합 최적화에 최소한의 도메인 지식으로도 가능하게 한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.