Proceedings

Logically Consistent Adversarial Attacks for Soft Theorem Provers

Video #1 Video #2 Download BibTeX Cite

Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence. Main Track. Pages 4129-4135.

https://doi.org/10.24963/ijcai.2022/573

Abstract

Recent efforts within the AI community have yielded impressive results towards “soft theorem proving” over natural language sentences using language models. We propose a novel, generative adversarial framework for probing and improving these models’ reasoning capabilities. Adversarial attacks in this domain suffer from the logical inconsistency problem, whereby perturbations to the input may alter the label. Our Logically consistent AdVersarial Attacker, LAVA, addresses this by combining a structured generative process with a symbolic solver, guaranteeing logical consistency. Our framework successfully generates adversarial attacks and identifies global weaknesses common across multiple target models. Our analyses reveal naive heuristics and vulnerabilities in these models’ reasoning capabilities, exposing an incomplete grasp of logical deduction under logic programs. Finally, in addition to effective probing of these models, we show that training on the generated samples improves the target model’s performance.

  1. [Chen et al., 2017] P. Chen, H. Zhang, Y. Sharma, J. Yi, and C. Hsieh. ZOO: zeroth order optimization based black-box attacks to deep neural networks without training substitute models. In ACM, 2017.
  2. [Clark et al., 2020] P. Clark, O. Tafjord, and K. Richardson. Transformers as soft reasoners over language. In IJCAI, 2020. IJCAI
  3. [Ebrahimi et al., 2018] J. Ebrahimi, A. Rao, D. Lowd, and D. Dou. Hotflip: White-box adversarial examples for text classification. In ACL, 2018.
  4. [Gao et al., 2018] J. Gao, J. Lanchantin, M. Soffa, and Y. Qi. Black-box generation of adversarial text sequences to evade deep learning classifiers. In IEEE, 2018.
  5. [Gontier et al., 2020] N. Gontier, K. Sinha, S. Reddy, and C. Pal. Measuring systematic generalization in neural proof generation with transformers. In NeurIPS, 2020.
  6. [Guo et al., 2021] C. Guo, A. Sablayrolles, H. Jégou, and D. Kiela. Gradient-based adversarial attacks against text transformers. In EMNLP, 2021.
  7. [Helwe et al., 2021] C. Helwe, C/ Clavel, and F. Suchanek. Reasoning with transformer-based models: Deep learning, but shallow reasoning. In AKBC, 2021.
  8. [Jin et al., 2020] D. Jin, Z. Jin, J. T. Zhou, and P. Szolovits. Is BERT really robust? A strong baseline for natural lan- guage attack on text classification and entailment. In AAAI, 2020.
  9. [Jordan et al., 1999] M. Jordan, Z. Ghahramani, T. Jaakkola, and L. Saul. An introduction to variational methods for graphical models. Mach. Learn., 37(2):183-233, 1999.
  10. [Kassner and Schütze, 2020] N. Kassner and H. Schütze. Negated and misprimed probes for pretrained language models: Birds can talk, but cannot fly. In ACL, 2020.
  11. [Li et al., 2020] L. Li, R. Ma, Q. Guo, X. Xue, and X. Qiu. BERT-ATTACK: adversarial attack against BERT using BERT. In EMNLP, 2020.
  12. [Lin, 2004] C. Lin. ROUGE: A package for automatic evalu- ation of summaries. In Text Summarization Branches Out, 2004.
  13. [Liu et al., 2019] Y. Liu, M. Ott, N. Goyal, J. Du, M. Joshi, D. Chen, O. Levy, M. Lewis, L. Zettlemoyer, and V. Stoy- anov. RoBERTa: A Robustly Optimized BERT Pretraining Approach. arXiv e-prints, page arXiv:1907.11692, 2019.
  14. [McCoy et al., 2019] Tom McCoy, Ellie Pavlick, and Tal Linzen. Right for the wrong reasons: Diagnosing syntactic heuristics in natural language inference. In ACL, 2019.
  15. [Misra et al., 2020] K. Misra, A. Ettinger, and J. Rayz. Ex- ploring bert's sensitivity to lexical cues using tests from semantic priming. In EMNLP, 2020.
  16. [Mnih and Gregor, 2014] A. Mnih and K. Gregor. Neural variational inference and learning in belief networks. In ICML, 2014.
  17. [Mozes et al., 2021] M. Mozes, M. Bartolo, P. Stenetorp, B. Kleinberg, and L. Griffin. Contrasting human & machine-generated word-level adv. examples for text clas- sification. In EMNLP, 2021.
  18. [Petroni et al., 2019] F. Petroni, T. Rocktäschel, S. Riedel, P. Lewis, A. Bakhtin, Y. Wu, and A. H. Miller. Language models as knowledge bases? In EMNLP-IJCNLP, 2019.
  19. [Raedt et al., 2007] L. De Raedt, A. Kimmig, and H. Toivo- nen. Problog: A probabilistic prolog and its application in link discovery. In IJCAI, 2007.
  20. [Ren et al., 2020] Y. Ren, J. Lin, S. Tang, J. Zhou, S. Yang, Y. Qi, and X. Ren. Generating natural language adversar- ial examples on a large scale with generative models. In ECAI, 2020.
  21. [Saha et al., 2020] S. Saha, S. Ghosh, S. Srivastava, and M. Bansal. Prover: Proof generation for interpretable rea- soning over rules. In EMNLP, 2020.
  22. [Sanh et al., 2019] V. Sanh, L. Debut, J. Chaumond, and T. Wolf. DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter. arXiv e-prints, page arXiv:1910.01108, 2019.
  23. [Simoncini and Spanakis, 2021] W. Simoncini and G. Spanakis. Seqattack: On adversarial attacks for named entity recognition. In EMNLP, 2021.
  24. [Szegedy et al., 2014] C. Szegedy, W. Zaremba, I. Sutskever, J. Bruna, D. Erhan, I. Goodfellow, and R. Fergus. Intrigu- ing properties of neural networks. In ICLR, 2014.
  25. [Talmor et al., 2020] A. Talmor, O. Tafjord, P. Clark, Y. Goldberg, and J. Berant. Leap-of-thought: Teaching pre-trained models to systematically reason over implicit knowledge. In NeurIPS, 2020.
  26. [Vaswani et al., 2017] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. Gomez, L. Kaiser, and I. Polo- sukhin. Attention is all you need. In NeurIPS, 2017.
  27. [Williams et al., 2018] A. Williams, N. Nangia, and S. Bow- man. A broad-coverage challenge corpus for sentence un- derstanding through inference. In NAACL-HLT, 2018.
  28. [Williams, 1992] R. Williams. Simple statistical gradient- following algorithms for connectionist reinforcement learning. Mach. Learn., 8, 1992.
  29. [Yu et al., 2020] W. Yu, Z. Jiang, Y. Dong, and J. Feng. Re- clor: A reading comprehension dataset requiring logical reasoning. In ICLR, 2020.
  30. [Zeng et al., 2021] G. Zeng, F. Qi, Q. Zhou, T. Zhang, B. Hou, Y. Zang, Z. Liu, and M. Sun. Openattack: An open-source textual adversarial attack toolkit. In IJCAI, 2021.
  31. [Zhu et al., 2020] Y. Zhu, Y. Zhou, and M. Xia. Generating Semantically Valid Adversarial Questions for TableQA. arXiv e-prints, page arXiv:2005.12696, 2020.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards