LGMLJun 19, 2020

Differentiable Language Model Adversarial Attacks on Categorical Sequence Classifiers

arXiv:2006.11078v13 citations
Originality Incremental advance
AI Analysis

This addresses a gap in adversarial attack research for categorical sequences, which is incremental as it adapts existing language model techniques to a specific bottleneck.

The paper tackled the problem of generating adversarial attacks for categorical sequence classifiers by using a fine-tuned language model as a generator, resulting in semantically better adversarial samples that are resistant to adversarial training and detectors across diverse datasets.

An adversarial attack paradigm explores various scenarios for the vulnerability of deep learning models: minor changes of the input can force a model failure. Most of the state of the art frameworks focus on adversarial attacks for images and other structured model inputs, but not for categorical sequences models. Successful attacks on classifiers of categorical sequences are challenging because the model input is tokens from finite sets, so a classifier score is non-differentiable with respect to inputs, and gradient-based attacks are not applicable. Common approaches deal with this problem working at a token level, while the discrete optimization problem at hand requires a lot of resources to solve. We instead use a fine-tuning of a language model for adversarial attacks as a generator of adversarial examples. To optimize the model, we define a differentiable loss function that depends on a surrogate classifier score and on a deep learning model that evaluates approximate edit distance. So, we control both the adversability of a generated sequence and its similarity to the initial sequence. As a result, we obtain semantically better samples. Moreover, they are resistant to adversarial training and adversarial detectors. Our model works for diverse datasets on bank transactions, electronic health records, and NLP datasets.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes