A Curious Case of Searching for the Correlation between Training Data and Adversarial Robustness of Transformer Textual Models
Existing works have shown that fine-tuned textual transformer models achieve state-of-the-art prediction performances but are also vulnerable to adversarial text perturbations. Traditional adversarial evaluation is often done \textit{only after} fine-tuning the models and ignoring the training data. In this paper, we want to prove that there is also a strong correlation between training data and model robustness. To this end, we extract 13 different features representing a wide range of input fine-tuning corpora properties and use them to predict the adversarial robustness of the fine-tuned models. Focusing mostly on encoder-only transformer models BERT and RoBERTa with additional results for BART, ELECTRA, and GPT2, we provide diverse evidence to support our argument. First, empirical analyses show that (a) extracted features can be used with a lightweight classifier such as Random Forest to predict the attack success rate effectively, and (b) features with the most influence on the model robustness have a clear correlation with the robustness. Second, our framework can be used as a fast and effective additional tool for robustness evaluation since it (a) saves 30x-193x runtime compared to the traditional technique, (b) is transferable across models, (c) can be used under adversarial training, and (d) robust to statistical randomness. Our code is publicly available at \url{https://github.com/CaptainCuong/RobustText_ACL2024}.
Code (1)
Tasks
Adversarial RobustnessAdversarial TextMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
The growth and form of knowledge networks by kinesthetic curiosity
Throughout life, we might seek a calling, companions, skills, entertainment, truth, self-knowledge, beauty, and edification. The practice of curiosity can be viewed as an extended and open-ended search for valuable infor…
FormModel-based Reinforcement LearningPhilosophyThe Curious Case of Metonymic Verbs: A Distributional Characterization
Word Embeddings vs Word Types for Sequence Labeling: the Curious Case of CV Parsing
Leakage of Dataset Properties in Multi-Party Machine Learning
Secure multi-party machine learning allows several parties to build a model on their pooled data to increase utility while not explicitly sharing data with each other. We show that such multi-party computation can cause …
AttributeBIG-bench Machine LearningEfficient Beamforming for Mobile mmWave Networks
We design a lightweight beam-searching algorithm for mobile millimeter-wave systems. We construct and maintain a set of path skeletons, i.e., potential paths between a user and the serving base station to substantially e…