Evolutionary Acquisition of Prompts for Language Models through Genetic Algorithms

In recent years, the advancement of Large Language Models (LLMs) has garnered significant attention in the field of artificial intelligence (AI). However, despite the high generality of LLMs, there exists a problem in controlling them to produce the desired output for each task. Fine-tuning is a conventional approach to improve performance for specific tasks, but due to the vast number of parameters in LLMs, it is computationally expensive. On the other hand, prompt engineering, which involves designing inputs to elicit desired outputs from LLMs, is an effective approach, and various methods and performance improvements have been reported. However, manual design of prompts is labor-intensive, which has increased interest in the automation of prompt engineering. In this study, we propose a method to automate prompt engineering utilizing genetic algorithms with novel genetic operators for prompts. Through experiments conducted to explore instructional prompts for solving Japanese multiple-choice questions, the efficacy of the proposed method was confirmed.

Authors

Institutions

Publication Details

Journal
Transactions of the Institute of Systems Control and Information Engineers
Published
2025-02-15
DOI
https://doi.org/10.5687/iscie.38.19
Primary Topic
Speech and dialogue systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Evolutionary Acquisition of Prompts for Language Models through Genetic Algorithms

Naoki Mori, Hiroto Tanaka
Transactions of the Institute of Systems Control and Information Engineers
Speech and dialogue systems
article

Evolutionary Acquisition of Prompts for Language Models through Genetic Algorithms

Naoki Mori, Hiroto Tanaka
article en

Abstract

In recent years, the advancement of Large Language Models (LLMs) has garnered significant attention in the field of artificial intelligence (AI). However, despite the high generality of LLMs, there exists a problem in controlling them to produce the desired output for each task. Fine-tuning is a conventional approach to improve performance for specific tasks, but due to the vast number of parameters in LLMs, it is computationally expensive. On the other hand, prompt engineering, which involves designing inputs to elicit desired outputs from LLMs, is an effective approach, and various methods and performance improvements have been reported. However, manual design of prompts is labor-intensive, which has increased interest in the automation of prompt engineering. In this study, we propose a method to automate prompt engineering utilizing genetic algorithms with novel genetic operators for prompts. Through experiments conducted to explore instructional prompts for solving Japanese multiple-choice questions, the efficacy of the proposed method was confirmed.

Transactions of the Institute of Systems Control and Information EngineersVol. 38(2)
Osaka Metropolitan University (JP)
Openalex Percentile: Top 95%
Speech and dialogue systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.