<?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-30T02:13:39Z</responseDate><request verb="GetRecord" identifier="oai:dr.ntu.edu.sg:10356/216757" metadataPrefix="dim">https://dr.ntu.edu.sg/server/oai/request</request><GetRecord><record><header><identifier>oai:dr.ntu.edu.sg:10356/216757</identifier><datestamp>2026-11-27T20:24:29Z</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">Koca, Nazim Altar</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="supervisor">Chang Chip Hong</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="school" authority="85c7c066-467c-42e1-86e3-b953777526f2" confidence="600">School of Electrical and Electronic Engineering</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="research" authority="d6f68bbe-f408-49a0-ba27-c3a817a1744e" confidence="600">VIRTUS IC Design Centre of Excellence</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="supervisoremail">ECHChang@ntu.edu.sg</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="accessioned">2026-06-15T04:57:58Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="available">2026-06-15T04:57:58Z</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/216757</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="doi">10.32657/10356/216757</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="abstract">Transformer neural networks have emerged as powerful models dominating various machine learning tasks. However, the extensive computational and power demands of Transformer networks present significant challenges for their deployment in resource-constrained environments. This thesis proposes efficient and innovative hardware solutions to accelerate critical nonlinear layers, specifically the softmax function and layer normalization of the Transformer. These layers are crucial for model accuracy and efficiency, but can become bottlenecks as model complexity and data size increase. The proposed solutions reduce hardware implementation overheads without compromising inference performance. 
While Transformer models are originally designed for natural language processing, they have become popular in various domains due to their ability to capture long range dependencies in data with the attention mechanism. Combining transformers with federated learning (FL) allows for training powerful, privacy-preserving, and robust models that can be adapted to different modalities and tasks. A fundamental challenge in FL frameworks is secure data aggregation. Privacy-preserving data aggregation is commonly achieved with computationally intensive homomorphic encryption schemes. Instead of accelerating the Paillier cryptosystem that is widely used for aggregating model updates in FL, we explore hardware acceleration techniques for Fast Additive Homomorphic Encryption (FAHE) to achieve an order-of-magnitude faster encryption and decryption than Paillier, while maintaining additive homomorphism for privacy-preserving aggregation in FL. 
RISC-V has been widely adopted for AI workloads due to its open and modular architecture, which allows for rapid development and architectural adaptation to optimize performance and energy efficiency for specific tasks. Like all modern processors, RISC-V implementations are highly vulnerable to physical memory errors, which disproportionally impact Transformer models due to their reliance on attention mechanisms and the large amount of memory used to store and process input sequences. The final contribution of this thesis addresses the reliability and protection of RISC-V memory in transformer neural network implementation. Specifically, the smaller feature sizes and lower operating voltage of RISC-V make it more susceptible to single-event upsets (SEUs). Recognizing the sensitivity of transformer model performance on weights and program execution corruption by SEUs, we rigorously investigate and comparatively analyze three prominent memory protection techniques: Error Correction Codes (ECC), Triple Modular Redundancy (TMR), and Dual Modular Redundancy (DMR) combined with ECC. 
Collectively, these contributions enhance the practical application of Transformer neural networks by improving their efficiency, broader applicability, and robustness, ultimately enabling their deployment in various real-world scenarios.</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="degree">Doctor of Philosophy</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="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">Engineering</dim:field>
   <dim:field mdschema="dc" element="title">Transformer performance enhancement via hardware acceleration, partially homomorphic federated learning and memory protection</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">2026-06-13T15:32:14.656Z</dim:field>
   <dim:field mdschema="cris" element="lastimport" qualifier="scopus">2026-11-27T20:24:28Z</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="6947fb76-a0de-4595-bdc8-c902edc71aef">
	&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>Transformer performance enhancement via hardware acceleration, partially homomorphic federated learning and memory protection&lt;/Title>
   	&lt;PublishedIn>
    	&lt;Publication>
      	&lt;/Publication>
   	&lt;/PublishedIn>
   	&lt;PublicationDate>2026&lt;/PublicationDate>
   	&lt;DOI>10.32657/10356/216757&lt;/DOI>
   	&lt;Authors>
      	&lt;Author>
        	&lt;DisplayName>Koca, Nazim Altar&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>Transformer neural networks have emerged as powerful models dominating various machine learning tasks. However, the extensive computational and power demands of Transformer networks present significant challenges for their deployment in resource-constrained environments. This thesis proposes efficient and innovative hardware solutions to accelerate critical nonlinear layers, specifically the softmax function and layer normalization of the Transformer. These layers are crucial for model accuracy and efficiency, but can become bottlenecks as model complexity and data size increase. The proposed solutions reduce hardware implementation overheads without compromising inference performance. 
While Transformer models are originally designed for natural language processing, they have become popular in various domains due to their ability to capture long range dependencies in data with the attention mechanism. Combining transformers with federated learning (FL) allows for training powerful, privacy-preserving, and robust models that can be adapted to different modalities and tasks. A fundamental challenge in FL frameworks is secure data aggregation. Privacy-preserving data aggregation is commonly achieved with computationally intensive homomorphic encryption schemes. Instead of accelerating the Paillier cryptosystem that is widely used for aggregating model updates in FL, we explore hardware acceleration techniques for Fast Additive Homomorphic Encryption (FAHE) to achieve an order-of-magnitude faster encryption and decryption than Paillier, while maintaining additive homomorphism for privacy-preserving aggregation in FL. 
RISC-V has been widely adopted for AI workloads due to its open and modular architecture, which allows for rapid development and architectural adaptation to optimize performance and energy efficiency for specific tasks. Like all modern processors, RISC-V implementations are highly vulnerable to physical memory errors, which disproportionally impact Transformer models due to their reliance on attention mechanisms and the large amount of memory used to store and process input sequences. The final contribution of this thesis addresses the reliability and protection of RISC-V memory in transformer neural network implementation. Specifically, the smaller feature sizes and lower operating voltage of RISC-V make it more susceptible to single-event upsets (SEUs). Recognizing the sensitivity of transformer model performance on weights and program execution corruption by SEUs, we rigorously investigate and comparatively analyze three prominent memory protection techniques: Error Correction Codes (ECC), Triple Modular Redundancy (TMR), and Dual Modular Redundancy (DMR) combined with ECC. 
Collectively, these contributions enhance the practical application of Transformer neural networks by improving their efficiency, broader applicability, and robustness, ultimately enabling their deployment in various real-world scenarios.&lt;/Abstract>
	&lt;Access xmlns="http://purl.org/coar/access_right" 
    >
    &lt;/Access>
&lt;/Publication>
</dim:field>
</dim:dim></metadata></record></GetRecord></OAI-PMH>