<?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-01T05:18:04Z</responseDate><request verb="GetRecord" identifier="oai:dr.ntu.edu.sg:10356/204726" metadataPrefix="dim">https://dr.ntu.edu.sg/server/oai/request</request><GetRecord><record><header><identifier>oai:dr.ntu.edu.sg:10356/204726</identifier><datestamp>2026-11-27T21:09:23Z</datestamp><setSpec>com_10356_176076</setSpec><setSpec>com_10356_11</setSpec><setSpec>col_10356_176124</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-0000-7161-1421" confidence="-1">Zhao, Yue</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="supervisor">Gao Cong</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="school" authority="abac3a75-4713-490b-a4cd-ee7242ae14cd" confidence="600">College of Computing and Data Science</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="supervisoremail">gaocong@ntu.edu.sg</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="accessioned">2025-11-27T04:49:08Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="available">2025-11-27T04:49:08Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="issued">2025</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="uri" lang="en">https://hdl.handle.net/10356/204726</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="doi">10.32657/10356/204726</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="abstract">Machine learning for database (ML4DB) systems that leverage query plans as input
have demonstrated growing promise in a variety of tasks, including cost estimation,
query optimization and many others. A query plan is a directed acyclic graph
which describe steps to process a query and retrieve the results, and query plan
representation is the procedure which takes an arbitrary query plan as input and
output a vector representation for it, as the input to machine learning models in
a ML4DB system. The vector has to encode the important features, so that the
machine learning model can leverage it to generate insights for the database system
or the database user.

As with many learned systems, the quality of representation learning is crucial to
downstream effectiveness. Yet, we argue that the focus on representation learning
is limited, hindering the potential for the systems. Specifically, the representation
techniques do not systematically encode all important features effectively; there
is lack of comparative nor component analysis; and there is limited support for
transfer learning. To this end, our dissertation focuses on representation learning
for query plans.

In the first study, we ask whether a well-designed query plan representation model
can improve performance across a wide range of ML4DB tasks. We confirm that it
can. We propose QueryFormer, a tree-structured Transformer model that captures
two key properties often underutilized in prior work: (1) statistical properties of
the underlying data, integrated through histogram-aware feature encoding, and
(2) structural dependencies along long paths in the plan tree, modeled through
tree-structured attention flows. QueryFormer is evaluated on four distinct ML4DB
tasks, namely cost estimation, latency prediction, query embedding, and plan clas-
sification. It demonstrates strong generalization across workloads and tasks. These
results establish that careful representation design can serve as a core driver of sys-
tem performance in learned database components.

While this validates the impact of representation quality, it does not answer a
deeper and more practical question: what representation designs work best for
which scenarios? The second study addresses this by systematically analyzing the
relationship between model performance at different task and dataset scenarios
(dependent variable) and design choices (independent variables). We conduct a
comparative evaluation of ten representation methods across three ML4DB tasks:
cost estimation, index selection, and query optimization over a total of nine work-
loads with varied characteristics. In addition to ranking model performance, we
decompose each method into two core components: feature encoding and tree
model, and assess their contributions under different conditions. We find that cer-
tain design assumptions (e.g., the importance of tree models) only hold in specific
settings (e.g., when optimizing for relative error), and that simpler methods some-
times outperform complex ones. Furthermore, we propose task-specific feature
configurations that improve model performance, offering actionable design insights
for practitioners.

In the third study, we address the challenge of adapting learned representations
to new ML4DB tasks with limited labeled data. While transfer learning ap-
pears promising, naive approaches often fail due to model overspecialization, data
scarcity, and distribution shifts between tasks. We propose TATA, an efficient
(TA)sk (T)r(A)nsfer learning framework that combines self-supervised pretrain-
ing with pseudo-labeled data generation to improve task adaptation. We evaluate
TATA in scenarios transferring from cost estimation to index selection and query
optimization across three datasets. Experimental results show that TATA enables
effective transfer with substantially reduced data collection costs—saving up to 25
hours of labeling effort.</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="degree">Doctor of Philosophy</dim:field>
   <dim:field mdschema="dc" element="language" qualifier="iso" lang="en">en</dim:field>
   <dim:field mdschema="dc" element="publisher">Nanyang Technological University</dim:field>
   <dim:field mdschema="dc" element="rights">This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).</dim:field>
   <dim:field mdschema="dc" element="subject">Computer and Information Science</dim:field>
   <dim:field mdschema="dc" element="title">Enhancing learning-based database optimizaers via representation learning</dim:field>
   <dim:field mdschema="dc" element="type">Thesis-Doctor of Philosophy</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">2025-11-25T14:43:07.240Z</dim:field>
   <dim:field mdschema="cris" element="lastimport" qualifier="scopus">2026-11-27T21:09:21Z</dim:field>
   <dim:field mdschema="datacite" element="rights">open.access</dim:field>open.accessopen.access<dim:field mdschema="cerif" element="openaire" authority="" confidence="-1">&lt;Publication xmlns="https://www.openaire.eu/cerif-profile/1.1/" id="d39de5f3-7be5-46c2-9596-7ce5935c5181">
	&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>Enhancing learning-based database optimizaers via representation learning&lt;/Title>
   	&lt;PublishedIn>
    	&lt;Publication>
      	&lt;/Publication>
   	&lt;/PublishedIn>
   	&lt;PublicationDate>2025&lt;/PublicationDate>
   	&lt;DOI>10.32657/10356/204726&lt;/DOI>
   	&lt;Authors>
      	&lt;Author>
        	&lt;DisplayName>Zhao, Yue&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>Machine learning for database (ML4DB) systems that leverage query plans as input
have demonstrated growing promise in a variety of tasks, including cost estimation,
query optimization and many others. A query plan is a directed acyclic graph
which describe steps to process a query and retrieve the results, and query plan
representation is the procedure which takes an arbitrary query plan as input and
output a vector representation for it, as the input to machine learning models in
a ML4DB system. The vector has to encode the important features, so that the
machine learning model can leverage it to generate insights for the database system
or the database user.

As with many learned systems, the quality of representation learning is crucial to
downstream effectiveness. Yet, we argue that the focus on representation learning
is limited, hindering the potential for the systems. Specifically, the representation
techniques do not systematically encode all important features effectively; there
is lack of comparative nor component analysis; and there is limited support for
transfer learning. To this end, our dissertation focuses on representation learning
for query plans.

In the first study, we ask whether a well-designed query plan representation model
can improve performance across a wide range of ML4DB tasks. We confirm that it
can. We propose QueryFormer, a tree-structured Transformer model that captures
two key properties often underutilized in prior work: (1) statistical properties of
the underlying data, integrated through histogram-aware feature encoding, and
(2) structural dependencies along long paths in the plan tree, modeled through
tree-structured attention flows. QueryFormer is evaluated on four distinct ML4DB
tasks, namely cost estimation, latency prediction, query embedding, and plan clas-
sification. It demonstrates strong generalization across workloads and tasks. These
results establish that careful representation design can serve as a core driver of sys-
tem performance in learned database components.

While this validates the impact of representation quality, it does not answer a
deeper and more practical question: what representation designs work best for
which scenarios? The second study addresses this by systematically analyzing the
relationship between model performance at different task and dataset scenarios
(dependent variable) and design choices (independent variables). We conduct a
comparative evaluation of ten representation methods across three ML4DB tasks:
cost estimation, index selection, and query optimization over a total of nine work-
loads with varied characteristics. In addition to ranking model performance, we
decompose each method into two core components: feature encoding and tree
model, and assess their contributions under different conditions. We find that cer-
tain design assumptions (e.g., the importance of tree models) only hold in specific
settings (e.g., when optimizing for relative error), and that simpler methods some-
times outperform complex ones. Furthermore, we propose task-specific feature
configurations that improve model performance, offering actionable design insights
for practitioners.

In the third study, we address the challenge of adapting learned representations
to new ML4DB tasks with limited labeled data. While transfer learning ap-
pears promising, naive approaches often fail due to model overspecialization, data
scarcity, and distribution shifts between tasks. We propose TATA, an efficient
(TA)sk (T)r(A)nsfer learning framework that combines self-supervised pretrain-
ing with pseudo-labeled data generation to improve task adaptation. We evaluate
TATA in scenarios transferring from cost estimation to index selection and query
optimization across three datasets. Experimental results show that TATA enables
effective transfer with substantially reduced data collection costs—saving up to 25
hours of labeling effort.&lt;/Abstract>
	&lt;Access xmlns="http://purl.org/coar/access_right" 
    >
    &lt;/Access>
&lt;/Publication>
</dim:field>
</dim:dim></metadata></record></GetRecord></OAI-PMH>