Implications of Minimum Description Length for Adversarial Attack in Natural Language Processing
Open Access
Abstract
Investigating causality to establish novel criteria for training robust natural language processing (NLP) models is an active research area. However, current methods face various challenges such as the difficulties in identifying keyword lexicons and obtaining data from multiple labeled environments. In this paper, we study the problem of robust NLP from a complementary but different angle: we treat the behavior of an attack model as a complex causal mechanism and quantify its algorithmic information using the minimum description length (MDL) framework. Specifically, we use masked language modeling (MLM) to measure the “amount of effort” needed to transform from the original text to the altered text. Based on that, we develop techniques for judging whether a specified set of tokens has been altered by the attack, even in the absence of the original text data.Keywords
Funding Information
- National Science Foundation (1946391)
This publication has 35 references indexed in Scilit:
- A Survey of Adversarial Defenses and Robustness in NLPACM Computing Surveys, 2023
- Neural Time-Invariant Causal Discovery from Time Series Data2023
- D’ya Like DAGs? A Survey on Structure Learning and Causal DiscoveryACM Computing Surveys, 2022
- Causal Inference in Natural Language Processing: Estimation, Prediction, Interpretation and BeyondTransactions of the Association for Computational Linguistics, 2022
- CausaLM: Causal Model Explanation Through Counterfactual Language ModelsComputational Linguistics, 2021
- The seven tools of causal inference, with reflections on machine learningCommunications of the ACM, 2019
- Counterfactual Fairness in Text Classification through Robustness2019
- Telling Cause from Effect Using MDL-Based Local and Global Regression2017
- Causal inference in statistics: An overviewStatistics Surveys, 2009
- The minimum description length principle in coding and modelingIEEE Transactions on Information Theory, 1998