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.
In order to find quantitative stability conditions at the equilibrium (i.e., extremum) point on extremum seeking control (ESC) system, this paper investigates a shape of stability region when the compensator gain and amplitude of perturbation signal are varied both in experiment and simulation. First, by applying ESC that considers integral characteristic of plant to a vibration power generator that changes its resonance frequency by changing the position of mass on the beam to track the vibration source frequency, it is experimentally shown that the stability region in the compensator-gain-and-perturbation-amplitude plane has the boundary of a curve with negative slope. Then, by applying conventional ESC to a plant of which resonance characteristic is simply modeled as a triangle shape, it is shown by simulation that the stability region in the plane has the boundary of an inverse proportional relation.