<?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-02T15:17:56Z</responseDate><request verb="GetRecord" identifier="oai:dr.ntu.edu.sg:10356/159029" metadataPrefix="dim">https://dr.ntu.edu.sg/server/oai/request</request><GetRecord><record><header><identifier>oai:dr.ntu.edu.sg:10356/159029</identifier><datestamp>2026-12-01T20:28:16Z</datestamp><setSpec>com_10356_983</setSpec><setSpec>com_10356_19</setSpec><setSpec>com_10356_11</setSpec><setSpec>col_10356_2142</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" lang="en_US">Dong, Xinshuai</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="supervisor" lang="en_US">Luu Anh Tuan</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="school" lang="en_US" authority="0064fbb7-8b8b-47d3-a556-4cf196429817" confidence="500">School of Computer Science and Engineering</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="supervisoremail" lang="en_US">anhtuan.luu@ntu.edu.sg</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="accessioned">2022-06-05T12:07:47Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="available">2022-06-05T12:07:47Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="issued">2022</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="citation" lang="en_US">Dong,  X. (2022). Adversarial attacks and defenses in natural language processing. Master&amp;apos;s thesis, Nanyang Technological University, Singapore. https://hdl.handle.net/10356/159029</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="uri" lang="en">https://hdl.handle.net/10356/159029</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="doi">10.32657/10356/159029</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="abstract" lang="en_US">Deep neural networks (DNNs) are becoming increasingly successful in many fields. However, DNNs are shown to be strikingly susceptible to adversarial examples. For instance,&#xd;
models pre-trained on very large corpora can still be easily fooled by word substitution&#xd;
attacks using only synonyms. This phenomenon has raised grand security challenges&#xd;
to modern machine learning systems, such as self-driving, spam filtering, and speech&#xd;
recognition, where DNNs are widely deployed.&#xd;
&#xd;
In this thesis, we first give a brief introduction of adversarial attacks and defenses.&#xd;
We focus on Natural Language Processing (NLP) and review some recent advances in&#xd;
attack algorithms and defense methods in Chapter 2. We also give a formalized definition&#xd;
of the research objective in this thesis, i.e., how to improve the adversarial robustness&#xd;
of NLP models. To this end, we propose novel and effective solutions to enhance NLP&#xd;
models towards robustness in the following chapters.&#xd;
&#xd;
In Chapter 3, for the classical NLP models like Long Short-Term Memory (LSTM) and&#xd;
Convolutional Neural Network (CNN), we present a novel adversarial training method,&#xd;
Adversarial Sparse Convex Combination (ASCC) defense, for adversarial robustness&#xd;
against word substitution attacks. To be specific, we model the substitution attack&#xd;
space as a convex hull and employ a regularizer to encourage the modeled perturbation&#xd;
towards an actual substitution. Therefore, we are able to align the modeling better with&#xd;
the discrete textual space. We empirically validate ASCC-defense in our experiments&#xd;
and it surpasses all compared state-of-the-arts on prevailing NLP tasks like sentiment&#xd;
analysis and natural language inference consistently under multiple attacks.&#xd;
&#xd;
To date, pre-trained language models, e.g., Bidirectional Transformers (BERT), are&#xd;
getting increasingly popular and fine-tuning a pre-trained language model for downstream tasks is becoming the new NLP paradigm. As such, how to fine-tune pre-trained language models towards adversarial robustness is of great importance. In Chapter 4,&#xd;
we first demonstrate that the prevalent defense technique, adversarial training, does not&#xd;
directly fit a conventional fine-tuning scenario. The reason lies in that conventional&#xd;
adversarial fine-tuning suffers severely from catastrophic forgetting and the fine-tuned&#xd;
models often fail to retain the generic and robust linguistic features captured during the&#xd;
pre-training stage. To this end, we propose Robust Informative Fine-Tuning (RIFT),&#xd;
a novel adversarial fine-tuning method from an information-theoretical perspective. In&#xd;
particular, RIFT encourages a model to memorize all the useful features learned before&#xd;
throughout the entire fine-tuning process, whereas a conventional fine-tuning framework&#xd;
only uses the weights of the pre-trained model for initialization. In experiments, we&#xd;
demonstrate that RIFT consistently surpasses state-of-the-arts under different attacks&#xd;
across various pre-trained language models.&#xd;
&#xd;
Last, we conclude this thesis in Chapter 5 and discuss some promising future directions&#xd;
for further exploration.</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="degree" lang="en_US">Master of Engineering</dim:field>
   <dim:field mdschema="dc" element="language" qualifier="iso" lang="en_US">en</dim:field>
   <dim:field mdschema="dc" element="publisher" lang="en_US">Nanyang Technological University</dim:field>
   <dim:field mdschema="dc" element="rights" lang="en_US">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" lang="en_US">Engineering::Computer science and engineering</dim:field>
   <dim:field mdschema="dc" element="title" lang="en_US">Adversarial attacks and defenses in natural language processing</dim:field>
   <dim:field mdschema="dc" element="type" lang="en_US">Thesis-Master by Research</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="cris" element="lastimport" qualifier="scopus">2026-12-01T20:28:15Z</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="87123cd3-fe78-42ff-995e-3d337aa97621">
	&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>Adversarial attacks and defenses in natural language processing&lt;/Title>
   	&lt;PublishedIn>
    	&lt;Publication>
      	&lt;/Publication>
   	&lt;/PublishedIn>
   	&lt;PublicationDate>2022&lt;/PublicationDate>
   	&lt;DOI>10.32657/10356/159029&lt;/DOI>
   	&lt;Authors>
      	&lt;Author>
        	&lt;DisplayName>Dong, Xinshuai&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::Computer science and engineering&lt;/Keyword>
   	&lt;Abstract>Deep neural networks (DNNs) are becoming increasingly successful in many fields. However, DNNs are shown to be strikingly susceptible to adversarial examples. For instance,&#xd;
models pre-trained on very large corpora can still be easily fooled by word substitution&#xd;
attacks using only synonyms. This phenomenon has raised grand security challenges&#xd;
to modern machine learning systems, such as self-driving, spam filtering, and speech&#xd;
recognition, where DNNs are widely deployed.&#xd;
&#xd;
In this thesis, we first give a brief introduction of adversarial attacks and defenses.&#xd;
We focus on Natural Language Processing (NLP) and review some recent advances in&#xd;
attack algorithms and defense methods in Chapter 2. We also give a formalized definition&#xd;
of the research objective in this thesis, i.e., how to improve the adversarial robustness&#xd;
of NLP models. To this end, we propose novel and effective solutions to enhance NLP&#xd;
models towards robustness in the following chapters.&#xd;
&#xd;
In Chapter 3, for the classical NLP models like Long Short-Term Memory (LSTM) and&#xd;
Convolutional Neural Network (CNN), we present a novel adversarial training method,&#xd;
Adversarial Sparse Convex Combination (ASCC) defense, for adversarial robustness&#xd;
against word substitution attacks. To be specific, we model the substitution attack&#xd;
space as a convex hull and employ a regularizer to encourage the modeled perturbation&#xd;
towards an actual substitution. Therefore, we are able to align the modeling better with&#xd;
the discrete textual space. We empirically validate ASCC-defense in our experiments&#xd;
and it surpasses all compared state-of-the-arts on prevailing NLP tasks like sentiment&#xd;
analysis and natural language inference consistently under multiple attacks.&#xd;
&#xd;
To date, pre-trained language models, e.g., Bidirectional Transformers (BERT), are&#xd;
getting increasingly popular and fine-tuning a pre-trained language model for downstream tasks is becoming the new NLP paradigm. As such, how to fine-tune pre-trained language models towards adversarial robustness is of great importance. In Chapter 4,&#xd;
we first demonstrate that the prevalent defense technique, adversarial training, does not&#xd;
directly fit a conventional fine-tuning scenario. The reason lies in that conventional&#xd;
adversarial fine-tuning suffers severely from catastrophic forgetting and the fine-tuned&#xd;
models often fail to retain the generic and robust linguistic features captured during the&#xd;
pre-training stage. To this end, we propose Robust Informative Fine-Tuning (RIFT),&#xd;
a novel adversarial fine-tuning method from an information-theoretical perspective. In&#xd;
particular, RIFT encourages a model to memorize all the useful features learned before&#xd;
throughout the entire fine-tuning process, whereas a conventional fine-tuning framework&#xd;
only uses the weights of the pre-trained model for initialization. In experiments, we&#xd;
demonstrate that RIFT consistently surpasses state-of-the-arts under different attacks&#xd;
across various pre-trained language models.&#xd;
&#xd;
Last, we conclude this thesis in Chapter 5 and discuss some promising future directions&#xd;
for further exploration.&lt;/Abstract>
	&lt;Access xmlns="http://purl.org/coar/access_right" 
    >
    &lt;/Access>
&lt;/Publication>
</dim:field>
</dim:dim></metadata></record></GetRecord></OAI-PMH>