Large Language Models (LLMs) have demonstrated great promise in generating code, especially when used inside an evolutionary computation framework to iteratively optimize the generated algorithms. However, in some cases they fail to generate competitive algorithms or the code optimization stalls, and we are left with no recourse because of a lack of understanding of the generation process and generated codes. We present a novel approach to mitigate this problem by enabling users to analyze the generated codes inside the evolutionary process and how they evolve over repeated prompting of the LLM. We show results for three benchmark problem classes and demonstrate novel insights. In particular, LLMs tend to generate more complex code with repeated prompting, but additional complexity can hurt algorithmic performance in some cases. Different LLMs have different coding ``styles'' and generated code tends to be dissimilar to other LLMs. These two findings suggest that using different LLMs inside the code evolution frameworks might produce higher performing code than using only one LLM.
Code Evolution for Control: Synthesizing Policies via LLM-Driven Evolutionary Search
Shenzhen Yuyi Tech. Co. Ltd.(深圳优衣科技有限公司);City University of Hong Kong(香港城市大学);Shenzhen University(深圳大学);University of Electronic Science and Technology of China(电子科技大学)
SeriesBench: A Benchmark for Narrative-Driven Drama Series Understanding
State Key Laboratory of Virtual Reality Technology and Systems, Beihang University(虚拟现实技术与系统国家重点实验室,北京航空航天大学);School of Computer Science and Engineering, Beihang University(北京航空航天大学计算机科学与工程学院);Hangzhou Innovation Institute, Beihang University(杭州创新研究院);Kuaishou Technology(快手科技)
RWTH Aachen University(亚琛工业大学);University Hospital RWTH Aachen(亚琛工业大学附属医院);Trier University of Applied Sciences(特里尔应用科学大学);University of Trento(特伦托大学);Vrije Universiteit Amsterdam(阿姆斯特丹自由大学)
Large Language Model-Driven Full-Component Evolution of Adaptive Large Neighborhood Search
Nanjing University of Science and Technology(南京理工大学);Université Paris-Saclay, CentraleSupélec(巴黎萨克雷大学、中央理工-高等电力学院);EM Normandie Business School(法国诺曼底商学院)