Reformulation is All You Need: Addressing Malicious Text Features in DNNs

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Jiang, Yi, Ma, Oubo, Yang, Yong, Zhang, Tong, Ji, Shouling
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916968632680448
author Jiang, Yi
Ma, Oubo
Yang, Yong
Zhang, Tong
Ji, Shouling
author_facet Jiang, Yi
Ma, Oubo
Yang, Yong
Zhang, Tong
Ji, Shouling
contents Human language encompasses a wide range of intricate and diverse implicit features, which attackers can exploit to launch adversarial or backdoor attacks, compromising DNN models for NLP tasks. Existing model-oriented defenses often require substantial computational resources as model size increases, whereas sample-oriented defenses typically focus on specific attack vectors or schemes, rendering them vulnerable to adaptive attacks. We observe that the root cause of both adversarial and backdoor attacks lies in the encoding process of DNN models, where subtle textual features, negligible for human comprehension, are erroneously assigned significant weight by less robust or trojaned models. Based on it we propose a unified and adaptive defense framework that is effective against both adversarial and backdoor attacks. Our approach leverages reformulation modules to address potential malicious features in textual inputs while preserving the original semantic integrity. Extensive experiments demonstrate that our framework outperforms existing sample-oriented defense baselines across a diverse range of malicious textual features.
format Preprint
id arxiv_https___arxiv_org_abs_2502_00652
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Reformulation is All You Need: Addressing Malicious Text Features in DNNs
Jiang, Yi
Ma, Oubo
Yang, Yong
Zhang, Tong
Ji, Shouling
Machine Learning
Computation and Language
Cryptography and Security
Human language encompasses a wide range of intricate and diverse implicit features, which attackers can exploit to launch adversarial or backdoor attacks, compromising DNN models for NLP tasks. Existing model-oriented defenses often require substantial computational resources as model size increases, whereas sample-oriented defenses typically focus on specific attack vectors or schemes, rendering them vulnerable to adaptive attacks. We observe that the root cause of both adversarial and backdoor attacks lies in the encoding process of DNN models, where subtle textual features, negligible for human comprehension, are erroneously assigned significant weight by less robust or trojaned models. Based on it we propose a unified and adaptive defense framework that is effective against both adversarial and backdoor attacks. Our approach leverages reformulation modules to address potential malicious features in textual inputs while preserving the original semantic integrity. Extensive experiments demonstrate that our framework outperforms existing sample-oriented defense baselines across a diverse range of malicious textual features.
title Reformulation is All You Need: Addressing Malicious Text Features in DNNs
topic Machine Learning
Computation and Language
Cryptography and Security
url https://arxiv.org/abs/2502.00652