<?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-01T12:50:09Z</responseDate><request verb="GetRecord" identifier="oai:dr.ntu.edu.sg:10356/235122" metadataPrefix="dim">https://dr.ntu.edu.sg/server/oai/request</request><GetRecord><record><header><identifier>oai:dr.ntu.edu.sg:10356/235122</identifier><datestamp>2026-11-02T11:48:10Z</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">Jiao, Feiyang</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-11-02T05:14:30Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="available">2026-11-02T05:14:30Z</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/235122</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="abstract">With the increasing demand for personalized diets, food recommendation systems based on large language models can generate personalized recommendations by combining users&amp;apos; health conditions, dietary preferences, and location requirements. However, a larger number of candidate dishes will increase the processing burden of the language model and lead to an increase in system response latency. This study examines the WABI text-based food recommendation system, analyzes stage-level latency in its recommendation process, and proposes a hybrid pre-filtering method.
This method combines rule pre-filtering and nutrition semantic matching. Rule pre-filtering removes candidate dishes that do not meet the conditions based on users&amp;apos; health conditions, dietary preferences, and food exclusion requirements. Nutrition semantic matching uses all-MiniLM-L6-v2 to convert dish names into semantic vectors and retrieves relevant nutritional records through Milvus. After screening, the system retains a maximum of five candidate dishes, and then passes the results to the Gemini recommendation module for analysis and sorting.
This study uses 100 test cases to compare the original recommendation process and the hybrid pre-filtering process. The test cases cover five types of user scenarios and twenty location conditions. The experiments record the end-to-end latency and use Recall@5 and Accuracy to evaluate the recommendation quality of the candidate dishes. The results show that the average end-to-end latency of the original process is 221.63 s, and the average latency of the hybrid pre-filtering process is 81.29 s. The average latency is reduced by 140.35 s, and the overall decrease ratio is 63.32%. The macro average value of Recall@5 increases from 72.79% to 73.12%, and the macro average value of Accuracy increases from 77.70% to 78.10%. In case-level comparisons, both indicators remain unchanged in 80 cases, improved in 12 cases, and decreased in 8 cases.
The results show that hybrid pre-filtering substantially reduces the latency of the large language model food recommendation process. Although the recommendation quality of different cases varies to some extent, the overall results of both quality indicators have improved. This dissertation presents a feasible approach to optimizing personalized food recommendation systems through candidate control and nutrition semantic matching.</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">Engineering</dim:field>
   <dim:field mdschema="dc" element="title">Performance analysis and hybrid pre-filtering optimization for an LLM-based food recommendation pipeline</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-11-02T02:46:59.175Z</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="924fefc1-4cf1-48f5-9c4c-4059d1657743">
	&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>Performance analysis and hybrid pre-filtering optimization for an LLM-based food recommendation pipeline&lt;/Title>
   	&lt;PublishedIn>
    	&lt;Publication>
      	&lt;/Publication>
   	&lt;/PublishedIn>
   	&lt;PublicationDate>2026&lt;/PublicationDate>
   	&lt;Authors>
      	&lt;Author>
        	&lt;DisplayName>Jiao, Feiyang&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>With the increasing demand for personalized diets, food recommendation systems based on large language models can generate personalized recommendations by combining users&amp;apos; health conditions, dietary preferences, and location requirements. However, a larger number of candidate dishes will increase the processing burden of the language model and lead to an increase in system response latency. This study examines the WABI text-based food recommendation system, analyzes stage-level latency in its recommendation process, and proposes a hybrid pre-filtering method.
This method combines rule pre-filtering and nutrition semantic matching. Rule pre-filtering removes candidate dishes that do not meet the conditions based on users&amp;apos; health conditions, dietary preferences, and food exclusion requirements. Nutrition semantic matching uses all-MiniLM-L6-v2 to convert dish names into semantic vectors and retrieves relevant nutritional records through Milvus. After screening, the system retains a maximum of five candidate dishes, and then passes the results to the Gemini recommendation module for analysis and sorting.
This study uses 100 test cases to compare the original recommendation process and the hybrid pre-filtering process. The test cases cover five types of user scenarios and twenty location conditions. The experiments record the end-to-end latency and use Recall@5 and Accuracy to evaluate the recommendation quality of the candidate dishes. The results show that the average end-to-end latency of the original process is 221.63 s, and the average latency of the hybrid pre-filtering process is 81.29 s. The average latency is reduced by 140.35 s, and the overall decrease ratio is 63.32%. The macro average value of Recall@5 increases from 72.79% to 73.12%, and the macro average value of Accuracy increases from 77.70% to 78.10%. In case-level comparisons, both indicators remain unchanged in 80 cases, improved in 12 cases, and decreased in 8 cases.
The results show that hybrid pre-filtering substantially reduces the latency of the large language model food recommendation process. Although the recommendation quality of different cases varies to some extent, the overall results of both quality indicators have improved. This dissertation presents a feasible approach to optimizing personalized food recommendation systems through candidate control and nutrition semantic matching.&lt;/Abstract>
	&lt;Access xmlns="http://purl.org/coar/access_right" 
    >
    &lt;/Access>
&lt;/Publication>
</dim:field>
</dim:dim></metadata></record></GetRecord></OAI-PMH>