<?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-28T13:23:19Z</responseDate><request verb="GetRecord" identifier="oai:dr.ntu.edu.sg:10356/218874" metadataPrefix="dim">https://dr.ntu.edu.sg/server/oai/request</request><GetRecord><record><header><identifier>oai:dr.ntu.edu.sg:10356/218874</identifier><datestamp>2026-07-21T13:54: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">Zhao, Weijie</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="supervisor">Lihui Chen</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">ELHCHEN@ntu.edu.sg</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="accessioned">2026-07-10T07:09:38Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="available">2026-07-10T07:09:38Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="issued">2026</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="uri">https://hdl.handle.net/10356/218874</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="abstract">Large Language Models (LLMs) often struggle to generate strictly structured outputs, suffering from format illusions and semantic drift. In order to solve this problem, I have proposed a Dual-Optimization Structured Generation (DOSG) framework, which seamlessly integrates prompt engineering with deterministic reasoning constraints. DOSG consists of two core modules: a task-specific S-CoT prompt template adapted from the Structured Chain-of-Thought framework proposed by Li et al. (2025), and a Constraint Enforcement Module (CEM) that compiles target JSON schemas into Finite-State Machines (FSMs) for real-time logit masking. The original contribution of this study lies in adapting S-CoT to schema-constrained structured extraction and integrating it with CEM within a unified DOSG framework. Format illusions and semantic drift are mitigated through the collaboration between these two modules.
The comparative experiment includes two datasets - Customer Review Dataset and Financial News Dataset - and two models – Llama-3-8B and GPT-4o. The results show that DOSG has achieved 100% syntactic compliance rate and 97% token efficiency. For the smaller open-weights model, the F1-score rises by a 25 percentage from 0.51 to 0.76. These results show that DOSG provides a structured solution for integrating LLMs into existing workflows.</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="subject">Engineering</dim:field>
   <dim:field mdschema="dc" element="title">Bridging logic and syntax: a dual-optimization framework for reliable structured generation in large language models</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-07-10T02:49:58.206Z</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="e367610e-7e8e-4c31-a641-408b9ad03adf">
	&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>Bridging logic and syntax: a dual-optimization framework for reliable structured generation in large language models&lt;/Title>
   	&lt;PublishedIn>
    	&lt;Publication>
      	&lt;/Publication>
   	&lt;/PublishedIn>
   	&lt;PublicationDate>2026&lt;/PublicationDate>
   	&lt;Authors>
      	&lt;Author>
        	&lt;DisplayName>Zhao, Weijie&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>Engineering&lt;/Keyword>
   	&lt;Abstract>Large Language Models (LLMs) often struggle to generate strictly structured outputs, suffering from format illusions and semantic drift. In order to solve this problem, I have proposed a Dual-Optimization Structured Generation (DOSG) framework, which seamlessly integrates prompt engineering with deterministic reasoning constraints. DOSG consists of two core modules: a task-specific S-CoT prompt template adapted from the Structured Chain-of-Thought framework proposed by Li et al. (2025), and a Constraint Enforcement Module (CEM) that compiles target JSON schemas into Finite-State Machines (FSMs) for real-time logit masking. The original contribution of this study lies in adapting S-CoT to schema-constrained structured extraction and integrating it with CEM within a unified DOSG framework. Format illusions and semantic drift are mitigated through the collaboration between these two modules.
The comparative experiment includes two datasets - Customer Review Dataset and Financial News Dataset - and two models – Llama-3-8B and GPT-4o. The results show that DOSG has achieved 100% syntactic compliance rate and 97% token efficiency. For the smaller open-weights model, the F1-score rises by a 25 percentage from 0.51 to 0.76. These results show that DOSG provides a structured solution for integrating LLMs into existing workflows.&lt;/Abstract>
	&lt;Access xmlns="http://purl.org/coar/access_right" 
    >
    &lt;/Access>
&lt;/Publication>
</dim:field>
</dim:dim></metadata></record></GetRecord></OAI-PMH>