SMAB: MAB based word Sensitivity Estimation Framework and its Applications in Adversarial Text Generation

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Pandey, Saurabh Kumar, Vashistha, Sachin, Das, Debrup, Aditya, Somak, Choudhury, Monojit
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910822029066240
author Pandey, Saurabh Kumar
Vashistha, Sachin
Das, Debrup
Aditya, Somak
Choudhury, Monojit
author_facet Pandey, Saurabh Kumar
Vashistha, Sachin
Das, Debrup
Aditya, Somak
Choudhury, Monojit
contents To understand the complexity of sequence classification tasks, Hahn et al. (2021) proposed sensitivity as the number of disjoint subsets of the input sequence that can each be individually changed to change the output. Though effective, calculating sensitivity at scale using this framework is costly because of exponential time complexity. Therefore, we introduce a Sensitivity-based Multi-Armed Bandit framework (SMAB), which provides a scalable approach for calculating word-level local (sentence-level) and global (aggregated) sensitivities concerning an underlying text classifier for any dataset. We establish the effectiveness of our approach through various applications. We perform a case study on CHECKLIST generated sentiment analysis dataset where we show that our algorithm indeed captures intuitively high and low-sensitive words. Through experiments on multiple tasks and languages, we show that sensitivity can serve as a proxy for accuracy in the absence of gold data. Lastly, we show that guiding perturbation prompts using sensitivity values in adversarial example generation improves attack success rate by 15.58%, whereas using sensitivity as an additional reward in adversarial paraphrase generation gives a 12.00% improvement over SOTA approaches. Warning: Contains potentially offensive content.
format Preprint
id arxiv_https___arxiv_org_abs_2502_07101
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SMAB: MAB based word Sensitivity Estimation Framework and its Applications in Adversarial Text Generation
Pandey, Saurabh Kumar
Vashistha, Sachin
Das, Debrup
Aditya, Somak
Choudhury, Monojit
Computation and Language
To understand the complexity of sequence classification tasks, Hahn et al. (2021) proposed sensitivity as the number of disjoint subsets of the input sequence that can each be individually changed to change the output. Though effective, calculating sensitivity at scale using this framework is costly because of exponential time complexity. Therefore, we introduce a Sensitivity-based Multi-Armed Bandit framework (SMAB), which provides a scalable approach for calculating word-level local (sentence-level) and global (aggregated) sensitivities concerning an underlying text classifier for any dataset. We establish the effectiveness of our approach through various applications. We perform a case study on CHECKLIST generated sentiment analysis dataset where we show that our algorithm indeed captures intuitively high and low-sensitive words. Through experiments on multiple tasks and languages, we show that sensitivity can serve as a proxy for accuracy in the absence of gold data. Lastly, we show that guiding perturbation prompts using sensitivity values in adversarial example generation improves attack success rate by 15.58%, whereas using sensitivity as an additional reward in adversarial paraphrase generation gives a 12.00% improvement over SOTA approaches. Warning: Contains potentially offensive content.
title SMAB: MAB based word Sensitivity Estimation Framework and its Applications in Adversarial Text Generation
topic Computation and Language
url https://arxiv.org/abs/2502.07101