@article{yang-etal-2026-defensive,
title = "Defensive Dual Masking for Robust Adversarial Defense",
author = "Yang, Wangli and
Yang, Jie and
Guo, Yi and
Barthelemy, Johan",
journal = "Computational Linguistics",
volume = "52",
number = "1",
month = mar,
year = "2026",
address = "Cambridge, MA",
publisher = "MIT Press",
url = "https://preview.aclanthology.org/ingest-latest-mitpress-cl-tacl/2026.cl-1.5/",
doi = "10.1162/coli.a.574",
pages = "151--190",
abstract = "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."
}Markdown (Informal)
[Defensive Dual Masking for Robust Adversarial Defense](https://preview.aclanthology.org/ingest-latest-mitpress-cl-tacl/2026.cl-1.5/) (Yang et al., CL 2026)
ACL