MSDT: Masked Language Model Scoring Defense in Text Domain

Jaechul Roh, Minhao Cheng, Yajun Fang
11/10/2022
cs.CL

Official code: jrohsc/MSDT (3 stars, Python, last commit 2022-12-20).

Abstract

Pre-trained language models allowed us to process downstream tasks with the help of fine-tuning, which aids the model to achieve fairly high accuracy in various Natural Language Processing (NLP) tasks. Such easily-downloaded language models from various websites empowered the public users as well as some major institutions to give a momentum to their real-life application.

Show full abstract

However, it was recently proven that models become extremely vulnerable when they are backdoor attacked with trigger-inserted poisoned datasets by malicious users. The attackers then redistribute the victim models to the public to attract other users to use them, where the models tend to misclassify when certain triggers are detected within the training sample. In this paper, we will introduce a novel improved textual backdoor defense method, named MSDT, that outperforms the current existing defensive algorithms in specific datasets. The experimental results illustrate that our method can be effective and constructive in terms of defending against backdoor attack in text domain. Code is available at https://github.com/jcroh0508/MSDT.

View on arXivView PDF

Code Implementations(1)

jrohsc/MSDTOfficial100%

Code of the IEEE UV2022 accepted paper "MSDT: Masked Language Model Scoring Defense in Text Domain"

30Python, ShellApr 12, 20223 years agoNOASSERTION
adversarial-machine-learningbackdoor-attacksbertnlprobustness

Similar Papers

Cite this paper

@article{roh2022msdt,
  title  = {MSDT: Masked Language Model Scoring Defense in Text Domain},
  author = {Jaechul Roh and Minhao Cheng and Yajun Fang},
  year   = {2022},
  eprint = {2211.05371},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.05371}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.05371.svg)](https://codeofpaper.com/paper/2211.05371)

Discussion