<?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-12-01T23:22:11Z</responseDate><request verb="GetRecord" identifier="oai:dr.ntu.edu.sg:10356/216931" metadataPrefix="dim">https://dr.ntu.edu.sg/server/oai/request</request><GetRecord><record><header><identifier>oai:dr.ntu.edu.sg:10356/216931</identifier><datestamp>2026-06-23T11:47:57Z</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">Liu, Siqiu</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-06-23T08:19:23Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="available">2026-06-23T08:19:23Z</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/216931</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="abstract">As large language model deployment in healthcare accelerates, nutrition consultation agents have evolved from information-provision tools into behavioral guidance and risk-bearing entry points. Users may progressively expose psychological risk signals— including suicidal ideation, depressive symptoms, and eating disorder indicators—during sustained conversations, typically manifesting in implicit, distributed, and cross-turn cumulative patterns rather than explicit single-turn expressions. Existing general-purpose guardrails primarily address single-turn content violations and exhibit significant limitations in context-dependent risk identification, clinical risk stratification, and professional-context false positive control, rendering them inadequate for the safety governance demands of high-sensitivity nutrition consultation scenarios.
To address these challenges, this thesis proposes a context-aware dual-layer guardrail framework for nutrition consultation scenarios. The framework incorporates four core mechanisms: first, a heterogeneous complementary architecture integrating an LLM semantic detection layer with a regex rule detection layer, balancing implicit expression identification with explicit crisis signal fallback; second, a PHQ-9 symptom dimension-based equivalent scoring module that upgrades risk determination from binary classification to structured multi-level quantification; third, a sliding-window driven context modeling mechanism that captures progressive risk accumulation signals across multi-turn dialogues; and fourth, a role isolation routing strategy that reduces false positives from professional terminology through differentiated detection paths. These four mechanisms collaborate through a fusion decision layer to achieve an end-to-end risk governance pipeline spanning detection, quantification, stratification, and differentiated intervention response.
Experiments are conducted on an evaluation dataset comprising 55 multi-turn dialogue samples covering five categories: suicide, depression, anorexia, bulimia, and no-risk.
Through main experiments, ablation experiments, and window sensitivity experiments, the study systematically addresses four research questions, validating the complementary advantages of dual-layer detection, the necessity of context modeling, the stratification contribution of PHQ-9-equivalent scoring, and the false positive control effectiveness of role isolation. Ablation experiments reveal that each of the four core modules makes an irreplaceable marginal contribution, collectively constituting the complete support structure for system effectiveness. Results indicate that safety governance for high-sensitivity dialogue scenarios should transcend the single-turn content filtering paradigm, moving toward systematic approaches that integrate context modeling, clinical equivalent quantification, and role awareness</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">Computer and Information Science</dim:field>
   <dim:field mdschema="dc" element="title">Context-aware dual-layer guardrails for nutrition consultation agents: integrating PHQ-9-informed risk quantification and multi-turn dialogue analysis</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-06-23T06:54:27.124Z</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="c7e56035-25d5-4911-ad1f-86c2662cad73">
	&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>Context-aware dual-layer guardrails for nutrition consultation agents: integrating PHQ-9-informed risk quantification and multi-turn dialogue analysis&lt;/Title>
   	&lt;PublishedIn>
    	&lt;Publication>
      	&lt;/Publication>
   	&lt;/PublishedIn>
   	&lt;PublicationDate>2026&lt;/PublicationDate>
   	&lt;Authors>
      	&lt;Author>
        	&lt;DisplayName>Liu, Siqiu&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>As large language model deployment in healthcare accelerates, nutrition consultation agents have evolved from information-provision tools into behavioral guidance and risk-bearing entry points. Users may progressively expose psychological risk signals— including suicidal ideation, depressive symptoms, and eating disorder indicators—during sustained conversations, typically manifesting in implicit, distributed, and cross-turn cumulative patterns rather than explicit single-turn expressions. Existing general-purpose guardrails primarily address single-turn content violations and exhibit significant limitations in context-dependent risk identification, clinical risk stratification, and professional-context false positive control, rendering them inadequate for the safety governance demands of high-sensitivity nutrition consultation scenarios.
To address these challenges, this thesis proposes a context-aware dual-layer guardrail framework for nutrition consultation scenarios. The framework incorporates four core mechanisms: first, a heterogeneous complementary architecture integrating an LLM semantic detection layer with a regex rule detection layer, balancing implicit expression identification with explicit crisis signal fallback; second, a PHQ-9 symptom dimension-based equivalent scoring module that upgrades risk determination from binary classification to structured multi-level quantification; third, a sliding-window driven context modeling mechanism that captures progressive risk accumulation signals across multi-turn dialogues; and fourth, a role isolation routing strategy that reduces false positives from professional terminology through differentiated detection paths. These four mechanisms collaborate through a fusion decision layer to achieve an end-to-end risk governance pipeline spanning detection, quantification, stratification, and differentiated intervention response.
Experiments are conducted on an evaluation dataset comprising 55 multi-turn dialogue samples covering five categories: suicide, depression, anorexia, bulimia, and no-risk.
Through main experiments, ablation experiments, and window sensitivity experiments, the study systematically addresses four research questions, validating the complementary advantages of dual-layer detection, the necessity of context modeling, the stratification contribution of PHQ-9-equivalent scoring, and the false positive control effectiveness of role isolation. Ablation experiments reveal that each of the four core modules makes an irreplaceable marginal contribution, collectively constituting the complete support structure for system effectiveness. Results indicate that safety governance for high-sensitivity dialogue scenarios should transcend the single-turn content filtering paradigm, moving toward systematic approaches that integrate context modeling, clinical equivalent quantification, and role awareness&lt;/Abstract>
	&lt;Access xmlns="http://purl.org/coar/access_right" 
    >
    &lt;/Access>
&lt;/Publication>
</dim:field>
</dim:dim></metadata></record></GetRecord></OAI-PMH>