yul091 / DGSlow

Codebase for the ACL 2023 paper: White-Box Multi-Objective Adversarial Attack on Dialogue Generation.
15 stars 0 forks source link
adversarial-attacks dialogue-generation natural-language-processing

DGSlow

Codebase for the ACL 2023 paper: "White-Box Multi-Objective Adversarial Attack on Dialogue Generation" (PDF).

Quickstart

Setup Environment

Train and evaluate a model on a specific task(s)

Attack a pre-trained model

Transfer attack

Citation

Please cite the paper in your publications if you find this repo useful:

@inproceedings{li2023white,
  title={White-Box Multi-Objective Adversarial Attack on Dialogue Generation},
  author={Li, Yufei and Li, Zexin and Gao, Yingfan and Liu, Cong},
  booktitle={Annual Meeting of the Association for Computational Linguistics (ACL)},
  year={2023}
}

Acknowledgement

Our implementation is based on OpenAttack. We would like to thank the authors for their open source code.