<?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-30T22:40:52Z</responseDate><request verb="GetRecord" identifier="oai:dr.ntu.edu.sg:10356/235050" metadataPrefix="dim">https://dr.ntu.edu.sg/server/oai/request</request><GetRecord><record><header><identifier>oai:dr.ntu.edu.sg:10356/235050</identifier><datestamp>2026-10-28T11:14:08Z</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" authority="will be referenced::ORCID::0009-0008-1695-1085" confidence="-1">Song, Linhan</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="supervisor">Andy Khong W H</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">andykhong@ntu.edu.sg</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="accessioned">2026-10-28T05:28:05Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="available">2026-10-28T05:28:05Z</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/235050</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="abstract">When conversational AI systems carry out a transition from text-only interfaces toward rich, multimodal, and agent-driven interactions, the work of performing real-time dynamic generation for visual interfaces to accompany agent-generated responses turns into a critical but not fully explored challenge. In conversational systems that are oriented toward healthcare, where users can go to query nutritional information, request food image analysis, or seek personalized health recommendations, using charts, gauges, comparison tables, and structured cards to visually present the reasoned outputs plays a very central role for user understanding and involvement. However, the existing approaches for automated GUI generation have not been able to at the same time address three requirements that depend on each other: the first is a low-latency reactivity that is suitable for real-time messaging, the second is the guarantees of textual and visual safety which are essential inside healthcare contexts, and the third is the deterministic engineering robustness that is needed for production deployment.

This dissertation conducts an introduction for a system named SPUR (Schema-guided Plan-driven UI Renderer), which is a structured backend pipeline designed for the purpose of UI rendering and is integrated inside an agent orchestration environment based on LangGraph. The SPUR system relies on an architecture made of three parts to go process these three challenges. First, an intermediate representation that is guided by a schema places a restriction on the role of the LLM, and it changes it from a full-stack code compiler to a structured data annotator. This process only needs a compact and validated JSON plan, after which a deterministic component builder will compile the plan into a complete HTML document with a consistent style, and the builder itself includes 21 visual component types as well as an embedded CSS design token system. Second, a dual-track visual safety architecture, with help from a template bypass mechanism based on a state-graph, makes a hard separation between adaptive generative rendering and safety-critical static rendering be realized. This mechanism is able to, without needing to make a call to the LLM, provide pre-validated and clinically reviewed static HTML for high-risk intents. Third, an optional lightweight visual self-check module makes use of CSS-only corrective overrides inside a bounded retry loop, in order to resolve rendering defects at the layout level, while at the same time preserving the semantics that are about content and colour.

The evaluation of the framework is conducted by means of a systematic experimental study, which makes use of a 100-query test corpus that includes four health and nutrition intent categories. Performance benchmarking that was carried out for three SPUR generation modes and three comparative baselines (zero-shot, few-shot, and chain-of-thought HTML generation) indicates that the plan-based mode of SPUR allows for the achievement of an end-to-end latency (4,721 ms) that is competitive with direct generation baselines (a 4.2–5.4 s range), while it concurrently delivers interfaces of substantially higher visual quality than unconstrained LLM generation, as demonstrated through direct side-by-side comparison, while all SPUR modes achieved 100% render success rates across 300 rendering attempts.</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="degree">Master&amp;apos;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">Computer and Information Science</dim:field>
   <dim:field mdschema="dc" element="subject" qualifier="keywords">UI generation</dim:field>
   <dim:field mdschema="dc" element="subject" qualifier="keywords">Large language models</dim:field>
   <dim:field mdschema="dc" element="subject" qualifier="keywords">Healthcare conversational agents</dim:field>
   <dim:field mdschema="dc" element="subject" qualifier="keywords">System design</dim:field>
   <dim:field mdschema="dc" element="title">SPUR: schema-guided plan-driven UI renderer</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-10-28T03:14:02.064Z</dim:field>
   <dim:field mdschema="dspace" element="workflow" qualifier="startDateTime">2026-10-28T04:25:32.579Z</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="12c36a68-ace9-455c-9051-8a5fb8889090">
	&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>SPUR: schema-guided plan-driven UI renderer&lt;/Title>
   	&lt;PublishedIn>
    	&lt;Publication>
      	&lt;/Publication>
   	&lt;/PublishedIn>
   	&lt;PublicationDate>2026&lt;/PublicationDate>
   	&lt;Authors>
      	&lt;Author>
        	&lt;DisplayName>Song, Linhan&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>When conversational AI systems carry out a transition from text-only interfaces toward rich, multimodal, and agent-driven interactions, the work of performing real-time dynamic generation for visual interfaces to accompany agent-generated responses turns into a critical but not fully explored challenge. In conversational systems that are oriented toward healthcare, where users can go to query nutritional information, request food image analysis, or seek personalized health recommendations, using charts, gauges, comparison tables, and structured cards to visually present the reasoned outputs plays a very central role for user understanding and involvement. However, the existing approaches for automated GUI generation have not been able to at the same time address three requirements that depend on each other: the first is a low-latency reactivity that is suitable for real-time messaging, the second is the guarantees of textual and visual safety which are essential inside healthcare contexts, and the third is the deterministic engineering robustness that is needed for production deployment.

This dissertation conducts an introduction for a system named SPUR (Schema-guided Plan-driven UI Renderer), which is a structured backend pipeline designed for the purpose of UI rendering and is integrated inside an agent orchestration environment based on LangGraph. The SPUR system relies on an architecture made of three parts to go process these three challenges. First, an intermediate representation that is guided by a schema places a restriction on the role of the LLM, and it changes it from a full-stack code compiler to a structured data annotator. This process only needs a compact and validated JSON plan, after which a deterministic component builder will compile the plan into a complete HTML document with a consistent style, and the builder itself includes 21 visual component types as well as an embedded CSS design token system. Second, a dual-track visual safety architecture, with help from a template bypass mechanism based on a state-graph, makes a hard separation between adaptive generative rendering and safety-critical static rendering be realized. This mechanism is able to, without needing to make a call to the LLM, provide pre-validated and clinically reviewed static HTML for high-risk intents. Third, an optional lightweight visual self-check module makes use of CSS-only corrective overrides inside a bounded retry loop, in order to resolve rendering defects at the layout level, while at the same time preserving the semantics that are about content and colour.

The evaluation of the framework is conducted by means of a systematic experimental study, which makes use of a 100-query test corpus that includes four health and nutrition intent categories. Performance benchmarking that was carried out for three SPUR generation modes and three comparative baselines (zero-shot, few-shot, and chain-of-thought HTML generation) indicates that the plan-based mode of SPUR allows for the achievement of an end-to-end latency (4,721 ms) that is competitive with direct generation baselines (a 4.2–5.4 s range), while it concurrently delivers interfaces of substantially higher visual quality than unconstrained LLM generation, as demonstrated through direct side-by-side comparison, while all SPUR modes achieved 100% render success rates across 300 rendering attempts.&lt;/Abstract>
	&lt;Access xmlns="http://purl.org/coar/access_right" 
    >
    &lt;/Access>
&lt;/Publication>
</dim:field>
</dim:dim></metadata></record></GetRecord></OAI-PMH>