<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="static/style.xsl"?><OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"><responseDate>2026-11-29T09:36:55Z</responseDate><request verb="GetRecord" identifier="oai:dr.ntu.edu.sg:10356/214399" metadataPrefix="dim">https://dr.ntu.edu.sg/server/oai/request</request><GetRecord><record><header><identifier>oai:dr.ntu.edu.sg:10356/214399</identifier><datestamp>2026-04-27T11:17:52Z</datestamp><setSpec>com_10356_984</setSpec><setSpec>com_10356_19</setSpec><setSpec>com_10356_11</setSpec><setSpec>col_10356_2206</setSpec></header><metadata><dim:dim xmlns:dim="http://www.dspace.org/xmlns/dspace/dim" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:doc="http://www.lyncode.com/xoai" xsi:schemaLocation="http://www.dspace.org/xmlns/dspace/dim http://www.dspace.org/schema/dim.xsd">
   <dim:field mdschema="dc" element="contributor" qualifier="author">Cai, Hongtian</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="supervisor">Mao Kezhi</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="school" authority="85c7c066-467c-42e1-86e3-b953777526f2" confidence="500">School of Electrical and Electronic Engineering</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="supervisoremail">EKZMao@ntu.edu.sg</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="accessioned">2026-04-27T01:04:41Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="available">2026-04-27T01:04:41Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="issued">2025</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="uri">https://hdl.handle.net/10356/214399</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="abstract">Large language models are increasingly deployed in practical systems, yet their performance often depends heavily on the quality of the prompts used to guide them. In many applications, a prompt must do more than improve task accuracy: it must also preserve output structure, satisfy explicit constraints, and remain stable under stochastic decoding. This makes prompt design a difficult optimization problem. Existing prompt optimization methods can improve performance, but they often treat prompts as unstructured text and therefore struggle to maintain consistency when tasks require multiple instructions or strict output conditions.

This dissertation studies prompt optimization from the perspective of structured search. It proposes ECPS, a constrained prompt-program optimization framework that represents a prompt as a modular program composed of typed instruction blocks. Instead of rewriting the whole prompt as a free-form string, the method performs local typed mutations on individual components, allowing the search process to improve one part of a prompt while preserving others. To make the optimization more reliable, the framework further introduces a holdout certification mechanism for feasibility validation and a basin-aware parent selection strategy that favors prompts whose local neighborhoods produce more certified offspring. Together, these components aim to balance utility improvement with structural robustness.

The proposed method is evaluated on six benchmarks covering multi-hop question answering, fact verification, instruction following, structured-output generation, and mathematical reasoning, using two frozen model backends, GPT-4.1 Mini and Qwen3-8B. The results show that ECPS consistently achieves the strongest aggregate performance among the compared prompt optimization baselines. In particular, it delivers larger gains on tasks with strong structural or instruction-following constraints, while remaining competitive on reasoning-dominant benchmarks. Ablation studies further show that typed mutation, holdout certification, and basin-aware selection each contribute to the final performance, with structured mutation having the largest direct effect.

These findings suggest that prompt optimization benefits from treating prompts as structured programs rather than flat text strings. More broadly, the dissertation shows that combining evolutionary search with feasibility-aware control can improve both effectiveness and stability in automated prompt engineering for frozen large language models.</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="degree">Master's degree</dim:field>
   <dim:field mdschema="dc" element="language" qualifier="iso">en</dim:field>
   <dim:field mdschema="dc" element="publisher">Nanyang Technological University</dim:field>
   <dim:field mdschema="dc" element="relation">ISM-DISS-06461</dim:field>
   <dim:field mdschema="dc" element="subject">Computer and Information Science</dim:field>
   <dim:field mdschema="dc" element="subject" qualifier="keywords">Genetic Algorithm</dim:field>
   <dim:field mdschema="dc" element="subject" qualifier="keywords">Structured Prompt Optimization</dim:field>
   <dim:field mdschema="dc" element="subject" qualifier="keywords">Constrained Generation</dim:field>
   <dim:field mdschema="dc" element="subject" qualifier="keywords">Feasibility Certification</dim:field>
   <dim:field mdschema="dc" element="title">Genetic algorithms for automated and adaptive prompt engineering in large language model</dim:field>
   <dim:field mdschema="dc" element="type">Thesis-Master by Coursework</dim:field>
   <dim:field mdschema="dc" element="format" qualifier="mimetype">application/pdf</dim:field>
   <dim:field mdschema="dspace" element="entity" qualifier="type">Publication</dim:field>
   <dim:field mdschema="dspace" element="workflow" qualifier="startDateTime">2026-04-24T08:47:38.932Z</dim:field>
   <dim:field mdschema="datacite" element="rights">restricted</dim:field>restrictedrestricted<dim:field mdschema="cerif" element="openaire" authority="" confidence="-1">&lt;Publication xmlns="https://www.openaire.eu/cerif-profile/1.1/" id="24abf099-3e46-4c2c-8a0a-19c95982b593">
	&lt;Type xmlns="https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types">http://purl.org/coar/resource_type/c_1843&lt;/Type>
	&lt;Language>en&lt;/Language>
   	&lt;Title>Genetic algorithms for automated and adaptive prompt engineering in large language model&lt;/Title>
   	&lt;PublishedIn>
    	&lt;Publication>
      	&lt;/Publication>
   	&lt;/PublishedIn>
   	&lt;PublicationDate>2025&lt;/PublicationDate>
   	&lt;Authors>
      	&lt;Author>
        	&lt;DisplayName>Cai, Hongtian&lt;/DisplayName>
         	&lt;Affiliation>
         		&lt;OrgUnit>
         		&lt;/OrgUnit>
         	&lt;/Affiliation>
      	&lt;/Author>
	&lt;/Authors>
   	&lt;Editors>
	&lt;/Editors>
    &lt;Publishers>
        &lt;Publisher>
            &lt;DisplayName>Nanyang Technological University&lt;/DisplayName>
            &lt;OrgUnit />
        &lt;/Publisher>
    &lt;/Publishers>
    &lt;Keyword>Computer and Information Science&lt;/Keyword>
   	&lt;Abstract>Large language models are increasingly deployed in practical systems, yet their performance often depends heavily on the quality of the prompts used to guide them. In many applications, a prompt must do more than improve task accuracy: it must also preserve output structure, satisfy explicit constraints, and remain stable under stochastic decoding. This makes prompt design a difficult optimization problem. Existing prompt optimization methods can improve performance, but they often treat prompts as unstructured text and therefore struggle to maintain consistency when tasks require multiple instructions or strict output conditions.

This dissertation studies prompt optimization from the perspective of structured search. It proposes ECPS, a constrained prompt-program optimization framework that represents a prompt as a modular program composed of typed instruction blocks. Instead of rewriting the whole prompt as a free-form string, the method performs local typed mutations on individual components, allowing the search process to improve one part of a prompt while preserving others. To make the optimization more reliable, the framework further introduces a holdout certification mechanism for feasibility validation and a basin-aware parent selection strategy that favors prompts whose local neighborhoods produce more certified offspring. Together, these components aim to balance utility improvement with structural robustness.

The proposed method is evaluated on six benchmarks covering multi-hop question answering, fact verification, instruction following, structured-output generation, and mathematical reasoning, using two frozen model backends, GPT-4.1 Mini and Qwen3-8B. The results show that ECPS consistently achieves the strongest aggregate performance among the compared prompt optimization baselines. In particular, it delivers larger gains on tasks with strong structural or instruction-following constraints, while remaining competitive on reasoning-dominant benchmarks. Ablation studies further show that typed mutation, holdout certification, and basin-aware selection each contribute to the final performance, with structured mutation having the largest direct effect.

These findings suggest that prompt optimization benefits from treating prompts as structured programs rather than flat text strings. More broadly, the dissertation shows that combining evolutionary search with feasibility-aware control can improve both effectiveness and stability in automated prompt engineering for frozen large language models.&lt;/Abstract>
	&lt;Access xmlns="http://purl.org/coar/access_right" 
    >
    &lt;/Access>
&lt;/Publication>
</dim:field>
</dim:dim></metadata></record></GetRecord></OAI-PMH>