English

Certified Robustness to Programmable Transformations in LSTMs

Machine Learning 2021-09-08 v2

Abstract

Deep neural networks for natural language processing are fragile in the face of adversarial examples -- small input perturbations, like synonym substitution or word duplication, which cause a neural network to change its prediction. We present an approach to certifying the robustness of LSTMs (and extensions of LSTMs) and training models that can be efficiently certified. Our approach can certify robustness to intractably large perturbation spaces defined programmatically in a language of string transformations. Our evaluation shows that (1) our approach can train models that are more robust to combinations of string transformations than those produced using existing techniques; (2) our approach can show high certification accuracy of the resulting models.

Keywords

Cite

@article{arxiv.2102.07818,
  title  = {Certified Robustness to Programmable Transformations in LSTMs},
  author = {Yuhao Zhang and Aws Albarghouthi and Loris D'Antoni},
  journal= {arXiv preprint arXiv:2102.07818},
  year   = {2021}
}

Comments

EMNLP 2021

R2 v1 2026-06-23T23:11:19.967Z