PAPER DIGEST
Most Influential ACL 2018 Paper · 2026-03 edition

HotFlip: White-Box Adversarial Examples For Text Classification

Javid Ebrahimi; Anyi Rao; Daniel Lowd; Dejing Dou

Venue
Annual Meeting of the Association for Computational Linguistics (ACL) 2018
Recognition
Most Influential ACL 2018 Paper (Rank No. 8)
Edition
2026-03
Impact factor
9
Certificate ID
7889c28e2183392f

Abstract

We propose an efficient method to generate white-box adversarial examples to trick a character-level neural classifier. We find that only a few manipulations are needed to greatly decrease the accuracy. Our method relies on an atomic flip operation, which swaps one token for another, based on the gradients of the one-hot input vectors. Due to efficiency of our method, we can perform adversarial training which makes the model more robust to attacks at test time. With the use of a few semantics-preserving constraints, we demonstrate that HotFlip can be adapted to attack a word-level classifier as well.

Download PDF certificate