跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算与语言

arXiv:2005.05909 (cs)
[提交于 2020年4月29日 (v1),最后修订于 2020年7月22日 (此版本, v3)]

标题:TextAttack: A Framework for Adversarial Attacks, Data Augmentation, and Adversarial Training in NLP

作者:John X. Morris, Eli Lifland, Jin Yong Yoo, Jake Grigsby, Di Jin, Yanjun Qi
查看论文《TextAttack: A Framework for Adversarial Attacks, Data Augmentation, and Adversarial Training in NLP》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:While there has been substantial research using adversarial attacks to analyze NLP models, each attack is implemented in its own code repository. It remains challenging to develop NLP attacks and utilize them to improve model performance. This paper introduces TextAttack, a Python framework for adversarial attacks, data augmentation, and adversarial training in NLP. TextAttack builds attacks from four components: a goal function, a set of constraints, a transformation, and a search method. TextAttack's modular design enables researchers to easily construct attacks from combinations of novel and existing components. TextAttack provides implementations of 16 adversarial attacks from the literature and supports a variety of models and datasets, including BERT and other transformers, and all GLUE tasks. TextAttack also includes data augmentation and adversarial training modules for using components of adversarial attacks to improve model accuracy and robustness. TextAttack is democratizing NLP: anyone can try data augmentation and adversarial training on any model or dataset, with just a few lines of code. Code and tutorials are available at https://github.com/QData/TextAttack.
评论: 6 pages. More details are shared at https://github.com/QData/TextAttack
主题: 计算与语言 (cs.CL); 人工智能 (cs.AI); 机器学习 (cs.LG)
引用方式: arXiv:2005.05909 [cs.CL]
  (或者 arXiv:2005.05909v3 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2005.05909

提交历史

来自:John Morris
[v1] 2020年4月29日 星期三 21:33:35 UTC
[v2] 2020年5月13日 星期三 17:37:21 UTC
[v3] 2020年7月22日 星期三 19:33:10 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.AI
< 上一篇   |   下一篇 >
最新 | 近期 | 2020-07
切换浏览方式为:
cs
cs.CL
cs.LG

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站