Double Perturbation: On the Robustness of Robustness and Counterfactual Bias EvaluationDouble Perturbation: On the Robustness of Robustness and Counterfactual Bias Evaluation
The researchers propose a double perturbation framework: first perturb the test dataset to construct a large number of similar natural sentences, then diagnose the prediction changes caused by word substitution, in order to discover model weaknesses beyond the test set. In robustness experiments on English text, synonym-substitution-based attacks found vulnerable samples that change prediction results with a 96.0%-99.8% success rate on original and robustly trained CNNs and Transformers. In counterfactual bias experiments, by substituting demographic attribute words such as gender and race and measuring the shift in expected predictions across the constructed sentences, hidden model biases not directly reflected in the test dataset can be revealed. Code is open-sourced at https://github.com/chong-z/nlp-second-order-attack。