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
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Feb-10-2025
- Country:
- Asia
- China > Hong Kong (0.04)
- India > West Bengal
- Kharagpur (0.04)
- Japan > Honshū
- Kansai > Osaka Prefecture > Osaka (0.04)
- Europe
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Middle East > Malta
- Eastern Region > Northern Harbour District > St. Julian's (0.04)
- Switzerland > Basel-City
- Basel (0.04)
- Belgium > Brussels-Capital Region
- North America
- Dominican Republic (0.04)
- Mexico (0.04)
- United States
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Massachusetts > Hampshire County
- Amherst (0.04)
- Michigan (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.04)
- New York > New York County
- New York City (0.04)
- Louisiana > Orleans Parish
- Oceania > Australia
- Asia
- Genre:
- Research Report (0.64)
- Technology: