<?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-01T14:26:27Z</responseDate><request verb="GetRecord" identifier="oai:dr.ntu.edu.sg:10356/205542" metadataPrefix="dim">https://dr.ntu.edu.sg/server/oai/request</request><GetRecord><record><header><identifier>oai:dr.ntu.edu.sg:10356/205542</identifier><datestamp>2026-01-26T12:09:42Z</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">Wei, Minyi</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="supervisor">Kim Tae Hyoung</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">THKIM@ntu.edu.sg</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="accessioned">2026-01-26T01:49:29Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="available">2026-01-26T01:49:29Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="issued">2025</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="uri">https://hdl.handle.net/10356/205542</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="abstract">In the core inference chain of Large Language Models (LLM), long-context attention computation is a key module determining the model’s understanding and generation
capabilities. However, in the computation of self-attention mechanisms, the computational cost and clock cycles required for softmax normalization make it a heavy
burden for LLM training or inference. As the input context length 𝐿 increases, the size of the attention matrix also grows quadratically with L, while the exponential and normalization operations in the softmax function need to be performed element-wise, directly causing the computational cost to increase quadratically with the context length.
Furthermore, the global reduction operation results in a linear relationship between the number of computation cycles and the number of input tokens. This computational
explosion and the gap between hardware computing power and storage resources are even more pronounced on resource-constrained hardware.

Our algorithmic approach employs a multi-scale exponential fitting technique based on coordinate descent. By optimizing for sparse coefficients specifically within the FP8
(E4M3) format, we approximate the exponential function using a sparse polynomial (𝑤1 · 2𝑥 + 𝑤2 · 22𝑥 + . . . ). This method replaces complex mathematical multipliers with simple shift operations. 

Architecturally, we exploit the bit-level isomorphism between FP8 and Mitchell logarithmic approximation to design a “zero DSP” arithmetic core. This converts floating-point
multiplication and division into low-cost integer addition and subtraction. We also integrate an optimized online normalization scheme to ensure efficient safe-softmax computation.

Implementation on the Xilinx ZYNQ XC7Z020 shows that MSE-Softmax eliminates the need for DSP48E1 resources entirely and cuts LUT consumption by 62% compared to
traditional MBS designs, all while keeping Top-1 accuracy loss under 0.5%. Achieving a max frequency of 285 MHz and 11.4 GOP/s/W efficiency, the design proves highly effective for low-power edge AI inference.</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">Engineering</dim:field>
   <dim:field mdschema="dc" element="subject" qualifier="keywords">Softmax accelerator</dim:field>
   <dim:field mdschema="dc" element="title">MSE-Softmax: a zero-DSP FP8 accelerator for efficient transformer inference</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-01-21T13:53:50.617Z</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="845fe9fa-46d1-41ca-8e07-4714f5787920">
	&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>MSE-Softmax: a zero-DSP FP8 accelerator for efficient transformer inference&lt;/Title>
   	&lt;PublishedIn>
    	&lt;Publication>
      	&lt;/Publication>
   	&lt;/PublishedIn>
   	&lt;PublicationDate>2025&lt;/PublicationDate>
   	&lt;Authors>
      	&lt;Author>
        	&lt;DisplayName>Wei, Minyi&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>In the core inference chain of Large Language Models (LLM), long-context attention computation is a key module determining the model’s understanding and generation
capabilities. However, in the computation of self-attention mechanisms, the computational cost and clock cycles required for softmax normalization make it a heavy
burden for LLM training or inference. As the input context length 𝐿 increases, the size of the attention matrix also grows quadratically with L, while the exponential and normalization operations in the softmax function need to be performed element-wise, directly causing the computational cost to increase quadratically with the context length.
Furthermore, the global reduction operation results in a linear relationship between the number of computation cycles and the number of input tokens. This computational
explosion and the gap between hardware computing power and storage resources are even more pronounced on resource-constrained hardware.

Our algorithmic approach employs a multi-scale exponential fitting technique based on coordinate descent. By optimizing for sparse coefficients specifically within the FP8
(E4M3) format, we approximate the exponential function using a sparse polynomial (𝑤1 · 2𝑥 + 𝑤2 · 22𝑥 + . . . ). This method replaces complex mathematical multipliers with simple shift operations. 

Architecturally, we exploit the bit-level isomorphism between FP8 and Mitchell logarithmic approximation to design a “zero DSP” arithmetic core. This converts floating-point
multiplication and division into low-cost integer addition and subtraction. We also integrate an optimized online normalization scheme to ensure efficient safe-softmax computation.

Implementation on the Xilinx ZYNQ XC7Z020 shows that MSE-Softmax eliminates the need for DSP48E1 resources entirely and cuts LUT consumption by 62% compared to
traditional MBS designs, all while keeping Top-1 accuracy loss under 0.5%. Achieving a max frequency of 285 MHz and 11.4 GOP/s/W efficiency, the design proves highly effective for low-power edge AI inference.&lt;/Abstract>
	&lt;Access xmlns="http://purl.org/coar/access_right" 
    >
    &lt;/Access>
&lt;/Publication>
</dim:field>
</dim:dim></metadata></record></GetRecord></OAI-PMH>