Disentangled Information Bottleneck for Adversarial Text Defense
Yidan Xu, Xinghao Yang, Wei Liu, Bao-di Liu, Weifeng Liu
摘要
Adversarial text defense is a significant strategy to protect modern NLP models from being attacked. Typical text defense methods usually enhance the model's robustness by model retraining or equipping it with a data preprocessing step, aiming to eliminate the non-robust features and preserve the robust ones. Although some efforts have been made to recognize the robust features, e.g., by the information bottleneck (IB) technique, how to fully disentangle the robust and non-robust representation remains a big challenge. To alleviate this problem, we propose a novel text defense method, named Disentangled Information Bottleneck (DisIB), with two major merits. Firstly, we separate the robust features and non-robust features with a disentangled two-line framework rather than the one-line compression network in IB. This prevents the loss of robust features caused by information compression and produces complete robust features. Secondly, we design a discriminator network to approximate the minimum mutual information of the two lines, which sufficiently disentangles robust and non-robust features. To validate the effectiveness of our DisIB, we conduct a total of 96 defense experiments on four datasets by defending four popular attack methods. Experimental results elaborate that our method significantly outperforms six baselines, with accuracy improvements ranging from 3.8% to 20.7%.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- InfoBERT: Improving Robustness of Language Models from An Information Theoretic Perspective 引用了 FreeLB: Enhanced Adversarial Training for Natural Language Understanding
- InfoBERT: Improving Robustness of Language Models from An Information Theoretic Perspective 引用了 TextBugger: Generating Adversarial Text Against Real-world Applications
- InfoBERT: Improving Robustness of Language Models from An Information Theoretic Perspective 引用了 Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment
- Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment 引用了 TextBugger: Generating Adversarial Text Against Real-world Applications
它引用的 Paper17
- Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and EntailmentDi Jin, Zhijing Jin, Joey Tianyi Zhou, Peter SzolovitsAAAI 2020 · 1,333 次引用
- TextBugger: Generating Adversarial Text Against Real-world ApplicationsJinfeng Li, Shouling Ji, Tianyu Du, Bo Li 等NDSS 2019 · 876 次引用
- FreeLB: Enhanced Adversarial Training for Natural Language UnderstandingChen Zhu, Yu Cheng, Zhe Gan, Siqi Sun 等ICLR 2020 · 502 次引用
- InfoBERT: Improving Robustness of Language Models from An Information Theoretic PerspectiveBoxin Wang, Shuohang Wang, Yu Cheng, Zhe Gan 等ICLR 2021 · 132 次引用
- Robustness Verification for TransformersZhouxing Shi, Huan Zhang, Kai-Wei Chang, Minlie Huang 等ICLR 2020 · 131 次引用
相关 Paper
- Improving the Adversarial Robustness of NLP Models by Information BottleneckCenyuan Zhang, Xiang Zhou, Yixin Wan, Xiaoqing Zheng 等ACL Findings 2022 · 22 次引用
- Searching for an Effective Defender: Benchmarking Defense against Adversarial Word SubstitutionZongyi Li, Jianhan Xu, Jiehang Zeng, Linyang Li 等EMNLP 2021 · 46 次引用
- Textual Manifold-based Defense Against Natural Language Adversarial ExamplesDang Minh Nguyen, Anh Tuan LuuEMNLP 2022 · 13 次引用
- Fooling the Textual Fooler via Randomizing Latent RepresentationsDuy C. Hoang, Nguyen Hung-Quang, Saurav Manchanda, Minlong Peng 等ACL Findings 2024 · 1 次引用
- Protecting Your LLMs with Information BottleneckZichuan Liu, Zefan Wang, Linjie Xu, Jinyu Wang 等NeurIPS 2024 · 43 次引用
