Skip to main content

ETHNOS_APP

Home • Search • Journals • List 0

Defensive Dual Masking for Robust Adversarial Defense

Bibliographic Data

ID12155993
AuthorsWangli Yang (School of Computing and Information Technology, University of Wollongong. [email protected], corresponding author), Jie Yang (0000-0001-6912-4966, School of Computing and Information Technology, University of Wollongong. [email protected]), Yi Guo (0000-0001-8622-2314, School of Computer, Data and Mathematical Sciences, Western Sydney University. [email protected]), Johan Barthélemy (0000-0002-7800-5309, NVIDIA. [email protected])
Year2025
Pages1-40
Publication date2025-10-03
Open AccessYes
TypeARTICLE
VenueComputational Linguistics (JOURNAL)
Journal identifiersISSN: 0891-2017 • E-ISSN: 1530-9312
PublisherAssociation for Computational Linguistics (PUBLISHER • US)
DOI10.1162/coli.a.574
OpenAlexW4414788354
LanguageEN

Adversarial defenses for textual data have gained considerable attention in recent years due to the increasing vulnerability of Natural Language Processing (NLP) models to adversarial attacks. These attacks exploit subtle perturbations in input text to deceive models, posing significant challenges to model robustness and reliability. This article introduces Defensive Dual Masking (DDM), a simple yet effective algorithm that uses two unique masking strategies to mitigate adversarial threats. Specifically, during training, [MASK] tokens are directly inserted into input samples to prepare the model for handling perturbed inputs. At inference time, suspicious tokens are identified and strategically replaced with [MASK] tokens, effectively neutralizing perturbations while preserving core semantics of the input text. The theoretical foundation of DDM demonstrates how the proposed masking strategies enhance the model capacity to mitigate adversarial attacks. Empirical evaluations based on four benchmark datasets and four adversarial attacks consistently demonstrate that DDM outperforms state-of-the-art defense techniques, achieving superior robustness and substantial improvements in model accuracy. Furthermore, DDM seamlessly integrates with Large Language Models, enhancing their resilience to adversarial attacks and providing a scalable defense solution for large-scale NLP applications

Adversarial system · Exploit · Inference · Masking (illustration · Robustness (evolution · Scalability · Subspace topology · Adversarial Robustness in Machine Learning · Physical Unclonable Functions (PUFs) and Hardware Security

Highly citedNo

Tools

Open DOIOpen Access
Ethnos_APP • Open Source Project • MIT License • Frontend v2.0.0 • Privacy and Cookies • API Documentation: api.ethnos.app/docs • API Source Code: GitHub • DOI: 10.5281/zenodo.17049435 • Frontend Source Code: GitHub • DOI: 10.5281/zenodo.17050053 • cruz.rio.br • Expectantes Misericordiae