Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifiers
Paper · 2018 · Ji Gao, Jack Lanchantin, Mary Lou Soffa et al.
Summary
A spelling mistake can leave the purpose of an email or the opinion in a review clear to a reader. A classifier may give the same document a different label. DeepWordBug investigates this gap in text classification under a constraint typical of hosted systems. The person submitting the text can see prediction scores, while the classifier’s structure and learned parameters remain private. The authors ask whether scores alone reveal enough about a classifier’s behavior for small spelling changes to produce substantial errors.
The study separates the choice of where to change a text from the choice of what kind of spelling change to make. DeepWordBug uses differences in prediction scores to assess which parts of an input the classifier depends on. The paper compares changes such as substitutions, deletions, insertions, and swaps under a limit measured by edit distance, a count of the operations required to turn one string into another. For a classifier that looks up whole words, an altered spelling can send a familiar word to the entry reserved for unrecognized forms. The character-based classifier also proved susceptible, so the observed problem extends beyond whole-word lookup.
Across eight datasets covering topics, sentiment analysis, and spam detection, the strongest tested settings led to reported average relative accuracy decreases of 68% for the word-level recurrent classifier and 48% for the character-level convolutional classifier. The main comparison uses a maximum edit distance of 30. In both architectures, the strongest DeepWordBug setting had a larger effect than random position selection or the paper’s gradient-based comparison. Changed texts also affected other word-level classifiers trained for the same task, where the authors summarize accuracy as falling from around 90% to 20-50%. In the Enron confidence analysis, they report that 90% of the examples in the reported comparison elicited an incorrect prediction with probability above 0.9.
The paper also asks how much of the loss can be recovered. Training on deliberately altered texts alongside their original versions raised accuracy on the altered test inputs from around 12% to 62%, with a slight decline on clean inputs. A spelling corrector recovered some accuracy as well, but its results varied substantially by edit type. Taken together, the experiments show that clean accuracy, confidence in an individual prediction, and accuracy after a small change in spelling measure different properties of a classifier.
Deep dive: Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifiers
DeepWordBug measures how spelling changes affect text classifiers, how confidently they make mistakes, and how much accuracy defenses recover. · about 40 minutes to read
The problem and its context
When a document still warrants the same label
The tasks in the paper assign a label to a piece of writing. A news article belongs to a topic, a review expresses an opinion, and an email may be spam. The evidence for a label is typically spread unevenly through the document. Some words carry a great deal of it, while others establish context or connect ideas. The question is whether a classifier continues to identify that evidence when the written form changes slightly.
An ordinary error on a test example tells the researcher that the system and the reference label disagree. A comparison between a document and a close variant can say more. When the original is classified correctly and the variant still warrants the same label, a newly wrong answer shows sensitivity to the particular difference between the inputs. The paper illustrates this with a passage whose opinion remains recognizable after spelling changes, although the classifier moves from a positive label to a negative one. The example makes clear why the status of the label matters. If a revision actually changed the opinion, a different prediction could be the right response.
The authors use edit distance to give the idea of a close variant a concrete meaning. It measures the difference between written strings. The experiment then relies on a further judgment about the text. A reader should still be able to recover enough of the message for the original label to apply. A distance constraint is easy to enforce uniformly, while readability and label preservation depend on what was changed and how the remaining text supports an interpretation.
That distinction is especially important across the tasks in the paper. Readers can recognize the subject of an article from several recurring cues, even if a particular term becomes less clear. A review may depend more heavily on a short phrase that states an opinion or qualifies an earlier one. The same count of changes can impose different demands on the reader. The count makes the experiment comparable in a specific respect and gives the authors room to study how that comparison plays out across datasets.
What the outside interface reveals
The paper distinguishes black-box access from white-box access. In the first setting, a user submits an input and observes the classifier’s response. Its structure, parameters, and internal representation remain unavailable to that user. In the second, those details are available for inspection, including the gradients that describe how a numerical output changes with respect to numerical input features. Both settings concern changes to test inputs. The trained classifier remains fixed during the main evaluation.
Google’s Perspective API illustrates the access problem. As the authors describe it, the service assesses the toxicity of a message through a public interface, with the classification system running remotely. The example explains why studying access to outputs alone matters. The reported benchmark results come from separately trained classifiers, and Perspective appears as an illustration of deployment.
There is an important difference between seeing a winning label and seeing the score assigned to a class. A classifier can continue to favor the same class after a change while favoring it much less strongly. Score access makes that difference observable. In the paper, the term black box therefore refers to the privacy of the classifier’s internals while predictions still provide numerical evidence. A service that returns only a label presents a more restricted measurement interface.
The authors frame the main question as untargeted. A changed input can count as a failure if it ends up in any wrong class. A targeted experiment would require a particular destination label. A binary classification problem offers a single alternative once the original class is fixed. With several labels, a change that overturns a correct prediction can lead to any of several outcomes. The paper’s accuracy measure gives each resulting error the same weight.
Untargeted label change and prediction error are related through the reference label. If the classifier starts with the right answer, changing its decision makes it wrong. If it starts with a wrong answer, a changed decision can yield a different error or a correction. That distinction is important because the paper introduces adversarial examples in terms of changed outputs, then evaluates the collections of revised texts against their dataset labels. The aggregate comparison asks how many texts the classifier gets right under each condition.
What image experiments contributed
The paper situates its question in earlier work on images. A digital image has numerical coordinates, so a change can be described as a vector of differences between original and revised values. A distance can control how much the coordinates vary. The paper describes image studies that bounded the overall size of a change, limited the maximum change in any coordinate, or limited the number of coordinates that could be changed.
The work by Szegedy and colleagues showed that an optimized change could produce a wrong prediction and that an altered image prepared using one convolutional classifier could affect another. Transferability, the persistence of an effect when an input moves between classifiers, became a question in its own right. A result on the classifier used to prepare an input measures its sensitivity. A result on another classifier asks how much of that sensitivity is shared by independently trained systems. Intriguing Properties of Neural Networks
The authors also discuss work that used a linear approximation to guide image changes and constrained the largest coordinate change. Other approaches employed saliency maps, which highlight features judged influential for a decision, or sought smaller changes through numerical optimization. The paper cites a black-box image study as evidence that access to classifier internals is unnecessary in some settings. That research supplied the questions about small changes and restricted access, while text required a different account of what an input change means. Explaining and Harnessing Adversarial Examples · Towards Evaluating the Robustness of Neural Networks
The problem with carrying the image formulation directly into text is the kind of input being measured. A letter is a symbol. Its numerical identifier can select a position in an encoding, but the subtraction of identifiers has no inherent interpretation as a written change. With whole words, a numerical representation can express some regularities of language, yet a short movement in that representation need not correspond to a suitable word in a particular passage. The authors put their bound on the written text so that the magnitude of the change has an interpretation before the classifier processes it.
What earlier text studies could assume
The paper discusses antecedents in spam filtering. One line of work added words associated with legitimate messages to spam. This procedure raises a question about how the modified message should be labeled. Once added content changes the message substantially, the original label may become harder to defend. The authors also point to a difference in the classifiers studied. A technique shown to affect a simpler feature-based filter carries no direct empirical result for a deep classifier.
The paper describes an earlier study of recurrent text classifiers in which gradients guided changes to a numerical representation of a word. The procedure returned to text by selecting a nearby word representation. This creates a distinction between proximity in the representation and suitability in the sentence. Two word vectors can be close while the corresponding words serve different purposes in a passage. The DeepWordBug authors treat the preservation of the visible word form as a way to make that issue easier to reason about. Crafting Adversarial Input Sequences for Recurrent Neural Networks
Another study discussed in the paper used gradients to judge which words mattered, along with linguistic rules and hand-selected forms of variation. A further approach drew on class-specific word frequencies in labeled training data. Each relies on a different kind of evidence. A gradient depends on the trained classifier and its features. A class vocabulary depends on access to labeled examples. Language rules encode judgments about plausible ways to revise text. The authors’ question is whether the scores available at a prediction interface can support a useful behavioral comparison, with the string itself supplying the measure of change.
The method, step by step
From the original text to comparable test conditions
Start with a document and the label assigned to it in the dataset. A clean prediction establishes what the trained classifier does with that document in its original form. The corresponding experiment on a revised text preserves the dataset label and changes the classifier’s input. This arrangement allows the researchers to ask how much classification performance survives controlled differences in spelling.
There are separate choices about the position and form of a change. The first is a measurement question. A token is a unit of the classifier’s input, such as a word or a character, depending on how tokenization is defined. Prediction scores can indicate whether the classifier is sensitive to differences associated with a given token. The second choice concerns the written variant. Several kinds of spelling change can be studied at the same edit distance, and a particular kind of change can be held fixed while comparing methods for selecting positions.
The paper names several ways to assess sensitivity. Replace-1 concerns changes seen with the surrounding document present. Temporal Head and Temporal Tail concern the different contexts supplied by earlier and later text, respectively. Combined Score summarizes the directional measurements together. The central distinction is between judging a token in the full document and probing its contribution in a partial context. The measurements can disagree because the information available to the classifier differs between those conditions.
The reported method is best understood together with the controls used to evaluate it. Random selection gives an indication of what spelling noise does when positions are chosen without evidence of sensitivity. Gradient-based selection lets the researchers compare behavioral measurements with a ranking derived from internal features. Both comparisons use the same general editing condition as the corresponding DeepWordBug run. That makes the ordering of positions an experimental variable whose effects can be distinguished from the effects of changing the spelling operation.
DeepWordBug robustness evaluation
The steps in order.
The classification notation
The paper first describes the classifier by its decision. Its notation for the mapping is as follows.
F : X → Y
Here F denotes the classifier, X is the set of allowable inputs, and Y is the set of output labels. The colon introduces the type of the function, and the arrow means that applying the function to an input from X returns a label from Y. Later, the paper also uses F when discussing changes in a numerical prediction score. Those passages concern the score underlying a decision. A label identifies the class that wins, while a score carries information about the strength of the response.
The labeled observation is written as an ordered pair.
(x, y)
The symbol x denotes the text, and y is the dataset’s label for that text. The parentheses and comma group the input with its reference answer. The classifier can be evaluated against y because the reference is supplied independently of the classifier’s prediction.
The text is represented as a sequence.
x = x₁ x₂ … xₙ
Here x is the entire input, and each x with a subscript denotes the token at that position. The subscripts 1 and 2 denote the first and second positions, n is the sequence length, and the ellipsis stands for the intervening tokens. Juxtaposition preserves their order. The equation applies to a sequence of words or a sequence of characters, with the interpretation of a position changing accordingly.
The paper introduces the untargeted condition in terms of disagreement between decisions.
F(x) ≠ F(x′)
The classifier F returns labels here. The original input is x, and the prime in x′ marks its revised version. The inequality sign means that the assigned classes differ. The evaluation uses reference labels to determine whether the revised prediction is wrong.
A targeted condition specifies the revised decision in advance.
F(x′) = t
Here F again returns a label, x′ is the revised input, and t is the chosen destination class. The equals sign requires the revised prediction to match that class. This condition is part of the introductory formulation. The reported accuracy comparisons concern untargeted changes.
What the distance budget measures
The authors introduce the earlier continuous formulation to explain the choice they make for text. In that formulation, the input can be modified by adding a numerical difference.
x′ = x + Δx, ‖Δx‖ₚ < ϵ, x′ ∈ X
The original input is x, the modified input is x′, and Δx denotes the numerical change. The addition and equality express how the modified input is formed. The double bars with subscript p denote the norm used to measure Δx. The inequality compares the norm with the bound ϵ. The membership sign requires x′ to belong to the allowable input set X. The text experiments also use ϵ, where it refers to a maximum distance between strings.
The general norm introduced for the continuous case combines the magnitude of coordinate differences.
‖Δx‖ₚ = (∑ᵢ₌₁ᵈ |x′ᵢ − xᵢ|ᵖ)^(1/p)
Here Δx is the change between x and x′, and the double bars with subscript p denote the norm. The index i ranges from 1 to d, the number of coordinates. The two subscripted values are the original and revised values at that coordinate. The minus sign gives their difference and the single bars give its absolute value. The summation adds the coordinate magnitudes after raising them to the power p. The final exponent 1/p takes the corresponding root, with the caret marking exponentiation in the formula. The paper discusses Euclidean distance, a bound on the largest coordinate change, and a count of changed features as ways of expressing different constraints in the earlier image work.
A string requires a different comparison. Levenshtein distance counts the operations in a shortest conversion from one string to another. In the paper’s spelling comparisons, substitution, deletion, and insertion have an edit cost of 1, while an adjacent swap is counted as 2. That accounting matters when interpreting comparisons at a fixed budget. An operation that looks like a single typing slip to a reader can consume more of the budget than another visible change. The experiments measure the amount of revision in that common unit.
The distance is independent of the classifier’s representation. The same original and revised spellings have the same string distance whether a classifier processes entire words or individual characters. The effect inside the classifiers can differ sharply. This distinction between what is written and what reaches the learned system makes edit distance useful for the study. It also explains why equal distance alone cannot settle questions about how difficult the revised text is for a reader.
What prediction differences can tell us
The paper treats token sensitivity as something that can be observed through changes in scores. A score gives the researchers more information than the winning class. If support for the original class drops substantially but remains above the alternatives, the two predicted labels are identical and the underlying responses are different. The distinction allows an experiment to detect effects that have yet to produce a classification error.
The full-document and directional comparisons give sensitivity different meanings. With the document mostly intact, the response reflects what the classifier does when most of the available evidence is still present. A directional comparison involves a shorter context. Its response can depend on what the fragment leaves out as well as what it contains. The measurements therefore describe behavior under the stated comparisons. The paper evaluates them by the downstream classification errors they expose.
The names Temporal Head and Temporal Tail come from viewing the text as an ordered sequence. Information preceding a token may determine how it is interpreted, and information following it may complete an expression or give an earlier word its relevance. The authors combine the directional views with a weight, which controls their relative contributions. The resulting score brings together responses from different contexts. Its performance has to be judged empirically because the contexts can provide overlapping or conflicting indications of sensitivity.
A score-based ranking also has a specific kind of validity. The paper can ask whether it identifies positions where the observed classifier is susceptible to changes. That amounts to an empirical test against the classifier’s subsequent behavior. Linguistic importance is a different object of study. A token can matter to a reader while a trained classifier relies on some correlated expression elsewhere in the input. Conversely, an unfamiliar spelling can influence the classifier due to a property of the representation that has little relevance to the original message.
The paper describes the number of classifier queries as growing at most linearly with sequence length. This is a statement about calls relative to the number of tokens. The cost of evaluating a sequence, the time taken by a request, and the precision of returned scores are separate properties. The authors also observe that a recurrent classifier can share computation across prefixes internally. An interface that presents complete predictions and an internal computation that exposes intermediate outputs offer different kinds of access, so the recurrent observation and the black-box query claim address distinct costs.
What the classifiers receive
The word-based setup uses word embeddings, numerical vectors indexed by entries in a dictionary. Words represented in the dictionary receive their associated vectors. A special entry covers inputs outside the vocabulary. The same vector can therefore stand for a large set of spellings the classifier has no individual entry for. This arrangement lets the system accept unrecognized forms, while discarding much of what makes each such form different from the others.
If a spelling changes from a recognized form to an unrecognized one, the input to the classifier can change much more than the written string suggests. The original vector gives way to the common fallback. Surrounding words can still provide some of the information the classifier needs, and recognizable features elsewhere in the document continue to contribute. How much the decision changes depends on what the classifier was using before the spelling change and on how it responds to the fallback itself.
Different revised spellings can become equivalent at this stage. From the point of view of the word classifier, two variants assigned the same fallback share a representation at that position. A spelling can also happen to match another dictionary entry, in which case the classifier receives that entry’s vector. The authors use the contrast between the many possible written forms and finite vocabulary coverage to motivate their explanation, while acknowledging the possibility of collisions with known words.
The character classifier sees its input at a finer granularity. Each character has its own representation, so changing a spelling changes part of a character sequence. Much of the original sequence can remain present even when the full word would cease to have a dictionary entry. The convolutional classifier detects patterns of characters over local spans and combines features from earlier layers. Its errors in the study show that access to remaining letters alone can leave a classifier sensitive to small spelling differences.
The distinction also helps explain why correction can change the relative effects of different spelling variations. A word classifier can treat several different spellings as the same unknown entry. A corrector works on the spellings before that collapse occurs. It can therefore behave differently on variants that the uncorrected classifier would have represented alike. The paper evaluates that possibility by measuring accuracy with a specific correction package in front of the word classifier.
How the classifiers were trained and evaluated
The principal word-level classifier is a bidirectional long short-term memory network, referred to as Word-LSTM. An LSTM is a recurrent network designed to carry information through a sequence. The bidirectional classifier reads the input with a separate recurrent stream in each direction. The two streams have 100 hidden nodes each. The classifier joins their output representations and uses a fully connected layer to produce the classification. The main setup starts with a randomly initialized embedding layer.
The Char-CNN follows the earlier study of convolutional classification with character inputs. The paper specifies a 9-layer network and one-hot character representations. In a one-hot input, a designated coordinate indicates the character identity. Convolutional filters look for recurring patterns across nearby positions, and later layers can build on features extracted earlier. The experiment thus compares different input units together with different architectures. Both distinctions are relevant when comparing robustness. Character-Level Convolutional Networks for Text Classification
The two classifiers are trained for each dataset’s ordinary task. With the trained classifiers in place, the main study compares clean test accuracy with accuracy on revised texts. The transfer study adds word-level classifiers with a single recurrent direction as well as bidirectional classifiers. It also compares randomly initialized embeddings with embeddings initialized from GloVe. This changes some of the learned representations and architectural choices while retaining the same classification task for a transfer comparison.
Adversarial training is a separate procedure in the paper. The authors prepare altered versions of a subset of training texts and assemble a training collection containing the altered versions and their corresponding originals. Keeping originals in the collection preserves clean classification as part of the learning task. The authors follow the accuracy of the resulting classifier on clean test inputs and on the altered test inputs separately, so a gain on one type of text can be read alongside a change on the other.
Experiments and results
Datasets, tasks, and test inputs
The benchmark covers eight datasets. The authors take seven from the earlier character-classification study and add Enron Spam Email. The tasks include categorizing news, assigning ontology classes, identifying the topic of a question, classifying review sentiment, and separating spam from legitimate messages. Using several tasks lets the authors examine whether spelling sensitivity recurs where the classifier’s target and the kinds of evidence available in the text differ.
AG’s News has 120,000 training items and 7,600 test items. DBPedia has 560,000 training items and 70,000 test items, while Yahoo! Answers has 1,400,000 training items and 60,000 test items. For Enron, the paper reports 26,972 training emails and 6,744 test emails. The counts distinguish the collections used for ordinary training from the test material used for evaluation. They are dataset sizes rather than counts of texts that changed a classifier’s decision.
The Amazon Review Full split contains 3,000,000 training items and 650,000 test items. Amazon Review Polarity contains 3,600,000 training items and 400,000 test items. The paper gives 650,000 training items and 50,000 test items for Yelp Review Full, and 560,000 training items and 38,000 test items for Yelp Review Polarity. The full and polarity review tasks appear separately in the results. A classifier’s accuracy on one of them supplies the clean reference for that task alone.
Input length also varies across these collections. For AG’s News, the reported word inputs have a mean length of 40.6 and a median of 40. The corresponding character inputs have a mean of 602.96 and a median of 596. Enron’s word input lengths have a mean of 190.03 and a median of 150, and its character input lengths have a mean of 772.91 and a median of 748. These are sample-length statistics for the two input types. At the same edit distance, texts of different lengths can retain very different amounts of unchanged material.
The clean evaluation shows a wide range of starting accuracies. The clean accuracy table reports 61.97% for the bidirectional word classifier on Amazon Review Full and 95.46% on Amazon Review Polarity. For the character classifier, the corresponding values are 61.10% and 95.20%. On DBPedia, the clean accuracies in that table are 98.65% for the bidirectional word classifier and 98.37% for the character classifier. These differences matter because the paper compares both the raw accuracy on revised inputs and the loss relative to each classifier’s clean result.
What the baselines and metrics establish
The Random baseline measures what happens under the same general kind of spelling variation when positions are chosen without regard to the classifier’s responses. Random selection can still reach a position that carries important evidence. Its value is that it shows what happens across many texts without an importance assessment. Variation in this baseline across datasets gives a sense of how much some collections are affected even by undirected spelling noise.
The Gradient baseline uses an internal measurement of sensitivity. A gradient describes the response to a local change in numerical coordinates. The baseline uses that information to select token positions, and the experimental comparison then evaluates changes in written text. It is a test of the particular gradient-based selection the authors implement. Local changes to numerical features and discrete changes to the visible input can affect a classifier in different ways.
The main outcome is test accuracy on the revised inputs. Each prediction is compared with the dataset label, and accuracy is the share of predictions that match. From the standpoint of robustness, higher accuracy means that the classifier retained more of its performance under the given changes. The paper also reports the relative accuracy decrease, using clean accuracy as the reference. In that metric, a larger decrease indicates a stronger effect of the perturbations. The headline values of 68% and 48% refer to this relative measure, averaged across datasets.
The main comparison fixes the maximum edit distance at 30. It provides a common point at which to compare the baselines and the paper’s scoring variants. The averages summarize the results for each architecture across the datasets. The strongest setting for the Word-LSTM is Temporal Tail, whereas Replace-1 gives the strongest mean effect on the Char-CNN. The difference between architectures is important because the headline decreases describe the leading result within each group.
Word-LSTM mean relative test accuracy decrease across eight datasets at edit distance 30
Temporal Tail produces the largest mean decrease for the word classifier.
The numbers
| System or setting | Relative accuracy decrease % |
|---|---|
| Random | 6.82 |
| Gradient | 16.46 |
| DeepWordBug Replace-1 | 63.02 |
| DeepWordBug Temporal Head | 44.40 |
| DeepWordBug Temporal Tail (this paper) | 68.05 |
| DeepWordBug Combined | 64.38 |
Char-CNN mean relative test accuracy decrease across eight datasets at edit distance 30
Replace-1 produces the largest mean decrease for the character classifier.
The numbers
| System or setting | Relative accuracy decrease % |
|---|---|
| Random | 10.97 |
| Gradient | 22.06 |
| DeepWordBug Replace-1 (this paper) | 48.58 |
| DeepWordBug Temporal Head | 11.05 |
| DeepWordBug Temporal Tail | 31.79 |
| DeepWordBug Combined | 30.35 |
The word-level comparison places all the DeepWordBug scores ahead of the baselines on the reported mean decrease. On the character classifier, the Gradient baseline has a larger mean effect than Temporal Head, and the Temporal Head result lies close to Random. Replace-1 makes a much larger difference. Taken together, the comparisons support the claim that access to scores can be enough to expose substantial sensitivity. They also show that how those scores are used makes a considerable difference.
Where the aggregate patterns change
The dataset rows show why the mean result has to be read as an aggregate. For AG’s News, the main table gives the Word-LSTM a clean accuracy of 90.5%. On revised texts, it reports 24.8% with Combined Score and 21.3% with Temporal Tail. On Amazon Review Polarity, the clean result is 95.5%, with 36.2% under Combined Score and 42.6% under Temporal Tail. The ordering is different in the two tasks. Temporal Tail has the larger effect on AG’s News, while Combined Score has the larger effect on Amazon Review Polarity.
For AG’s News, the Char-CNN goes from 90.0% clean accuracy in the main comparison to 30.8% under Replace-1. In Amazon Review Polarity, the corresponding figures are 95.2% and 46.4%. DBPedia gives an example with substantial accuracy remaining. The clean Char-CNN accuracy in the main table is 98.4%, with 74.9% accuracy in the Replace-1 condition. High clean accuracy is compatible with different levels of performance after editing.
Enron illustrates how much the Random baseline can vary by dataset. The Word-LSTM starts at 96.4% clean accuracy and records 67.8% on texts evaluated under Random selection. Under Temporal Tail it reaches 25.8%. On Yelp Review Polarity, the clean accuracy is 95.9% and the Random result is 95.4%. Randomly placed spelling changes are therefore a consequential comparison in Enron and have little effect in that particular Yelp condition. The cross-dataset mean gives these outcomes a common summary while the rows retain their differences.
The paper also varies the maximum distance and plots the resulting accuracy. It uses AG’s News to illustrate this in the main discussion and gives separate plots for the datasets in the appendix. As the permitted distance rises, accuracy generally falls. The authors report that the condition with ϵ = 5 already produces many texts that cause the classifier to fail. The distance curves show how the effect develops, while the fixed-distance table compares the methods at a particular point on those curves.
The word-level Enron discussion also relates the edit limit to the length of the documents. The authors describe the affected words as 16% on average, expressed in the paper as 30 out of 190. That is a description of the Enron word-level condition. A proportion of words changed and a fraction of documents classified incorrectly are separate quantities. Identifying that distinction helps explain how an edit budget can leave most of the word input intact while substantially altering accuracy.
What transferred between classifiers
The transfer experiment keeps the classification task the same and changes which trained classifier receives the revised texts. The word-level classifiers vary in directionality and in how their embeddings are initialized. The authors consider ordinary and bidirectional LSTMs, with random initialization or GloVe embeddings. The maximum distance in the transfer study is 30. Success on another classifier under these conditions means the effect extends beyond the learned parameters of the classifier associated with the original revision.
The paper summarizes the accuracy of the receiving classifiers as falling from around 90% to 20-50%. This is a range reported for accuracy after transfer, with the clean performance given approximately. The transfer results include classifiers with different embeddings. The observation matters because changing the initial word representations could have reduced the overlap in how the classifiers respond to particular words. The reported errors show that enough sensitivity remains shared in the configurations tested.
There are several reasons related word classifiers might respond similarly. The task gives them common labels and texts. Their input representations can treat unfamiliar spellings in comparable ways. They may also learn to use some of the same words as evidence. The experiment varies architecture and embedding initialization within a family whose members share important features. It establishes transfer within that comparison and leaves the relative contributions of those common features open.
How strongly the classifier favored the wrong answer
Accuracy counts the chosen class, regardless of how decisive the prediction was. The paper’s confidence plots ask whether an erroneous prediction received only weak support or whether the classifier assigned it a high probability. The plotted probabilities are outputs from the classifier itself. Their significance comes from the disagreement between those outputs and the reference label.
For the Enron spam task, the confidence analysis uses the Word-LSTM at a maximum distance of 30. The authors report that 90% of the generated examples in that analysis elicited wrong predictions with probability above 0.9. The analysis is presented through histograms of confidence in the erroneous class. The reported figure should be read in that context, with the construction and denominator of the confidence comparison distinguished from the dataset’s overall altered-text accuracy.
The appendix extends the confidence analysis to datasets with other class counts. It places each dataset’s random-guess probability alongside the observed output probabilities for comparison. The authors report that on each dataset at least half the examples in the analysis receive a wrong-class probability more than 0.2 above that reference. The reference accounts for the fact that the probability under a uniform guess depends on how many classes are available. It is a benchmark for reading the histograms, while correctness is established separately from the dataset labels.
The defense considered in this part of the paper is rejection based on low probability. Its premise is that errors may be recognizable by weak confidence. The Enron result shows why that premise has limited reach in this setting. Some of the mistakes the paper regards as important occur among outputs that the classifier supports strongly. A low-confidence rejection rule can address uncertain outputs while leaving confidently wrong ones in the accepted set.
How much performance the defenses recovered
For adversarial training, the authors generate 20,000 altered inputs from a subset of training data. After combining each item with its matching original, they run 10 training epochs with the learning rate set to 0.0005. An epoch is a pass through the training collection. The learning rate governs the size of parameter updates during training. These numbers describe the recovery experiment, separate from the training and test counts for the main datasets.
The reported test accuracy on revised inputs rises from around 12% before this additional training to 62% afterward. The clean test curve declines slightly. Reading both curves together shows the achieved improvement and the reported cost. The experiment provides evidence that exposure to altered inputs can improve performance on the tested perturbations while leaving clean performance close to its earlier level. The paper gives the clean decline qualitatively in its description of this experiment.
The other recovery experiment puts the Python autocorrect 0.3.0 package before the word-level classifier. Correction changes the text presented to the existing classifier. The reference clean accuracy in the experiment is 88.45%. The authors report accuracy on the altered inputs and after applying correction, with a maximum edit distance of 30 for the altered inputs. The accuracy after correction depends strongly on the spelling condition.
Word-LSTM test accuracy after autocorrection on the four-class news task
The best correction result occurs in the insertion condition, while the stronger deletion condition leaves substantially lower accuracy.
The numbers
| System or setting | Accuracy % |
|---|---|
| Swapping-1 | 77.34 |
| Substitution-1 | 74.85 |
| Deletion-1 | 62.43 |
| Insertion-1 (this paper) | 82.07 |
| Substitution-2 | 54.54 |
| Deletion-2 | 33.67 |
Before correction, the conditions labeled Substitution-1 and Insertion-1 both yield 12.28% accuracy. The chart shows that their outcomes diverge after the spelling corrector is added. In the stronger deletion condition, the uncorrected accuracy is 14.25% and the corrected result is 33.67%. The authors describe the latter as approximately 34% on a 4-class task. The difference between corrected and clean performance shows how much classification difficulty is left after the correction stage.
The experiments intervene at different points. Additional training changes how the classifier reacts when it receives altered input. Spelling correction tries to recover useful forms before classification. The paper reports accuracy improvements for each intervention under its own test conditions. Its results also show why the defense has to be evaluated on the changed texts themselves. Similar uncorrected accuracies can be followed by different levels of recovery, and a large gain on altered examples can coexist with a small cost on clean ones.
What the ablations show
Selection matters under a shared edit condition
The component comparisons ask whether the deterioration comes mainly from the location of the changes or from the spelling operation. The baseline comparison addresses the first question. Under the common edit condition, choosing positions using prediction scores can cause far larger average losses than choosing them at random. The result supports the view that the original classifiers rely disproportionately on some parts of their inputs. A document-wide count of spelling changes gives little information about which evidence those changes affect.
The comparison among scores shows that more contextual evidence does not automatically produce a better aggregate result. A directional score leads for the word classifier, and the full-document comparison leads for the character classifier. Combined Score has the larger effect in some individual word-classifier results, including Amazon Review Polarity in the main table. These patterns give the paper evidence about the relative performance of the scoring variants on its tasks. The experiment judges each score by the observed outcome of the text comparison.
The authors suggest that gradients may be a poor measure of token importance for these changes. The comparison can be read more narrowly. A gradient measures local sensitivity in a numerical space, while the evaluation observes the effect of a written change after the input has been encoded. In particular, a word classifier can represent a close spelling with a very different vector. How well a gradient predicts the result depends on the relation between the local numerical variation it describes and the actual change the classifier receives. The paper establishes the difference in performance between the implemented selection procedures.
Changing the spelling operation
A complementary comparison holds the scoring choice fixed and varies the type of spelling change. The authors discuss this first for AG’s News with the word-level classifier, then show the comparison across the datasets in the appendix. The variation among most edit families is smaller than the variation among the scoring rules. That result fits the authors’ account of dictionary lookup. Different spellings can cease to be recognized in the same way, yielding the same fallback representation even though the strings look different to a reader.
Swapping has a weaker effect at the same distance. The authors explain that by its higher cost under their distance convention. With a fixed budget, a swap at one position leaves less room for changes elsewhere than the operations assigned a cost of 1. The comparison is therefore about performance under equal string-distance limits. Matching the number of revised words would be a different control, and matching what readers notice would require evidence about perceptual difficulty.
The autocorrection results show why the relative similarity among spelling operations is specific to the original classifier. A spelling corrector considers the actual input string. Two written variants that lead to the same fallback before correction may offer different evidence about the intended word. This is consistent with the differing recovery in the correction experiment. The paper measures accuracy of the corrected classifier pipeline, so its values capture the combined consequences of correction and classification.
Changing vocabulary coverage
The unknown-word explanation suggests a direct question about dictionary size. If the observed effect depended on unusually restricted coverage, giving the classifier a larger dictionary could improve its ability to retain useful features through spelling changes. The authors train 4 word-level classifiers with dictionary sizes ranging from 5,000 to 20,000. They compare them under a maximum edit distance of 30 and extend the comparison across the eight datasets in the appendix.
The reported differences are small. Over the range examined, increasing the dictionary size has little effect on the measured susceptibility. A larger vocabulary still uses a shared fallback for strings outside its coverage. The conclusion therefore concerns the size of the dictionary within this design. It leaves open how accuracy would change with a different treatment of unfamiliar words.
Dictionary size is also an indirect test of the proposed mechanism. It changes what the classifier can recognize and involves training classifiers with different vocabularies. The results describe performance after those changes. A direct accounting of which altered tokens became unknown, which retained their entries, and which landed on different known words would measure the mechanism at the level of individual transformations. The paper offers an aggregate comparison and a representation-based explanation for the observed stability.
Looking at classes separately
The paper measures accuracy by class as well as across a dataset. It reports an example in which accuracy on negative inputs falls to 20%, while accuracy on positive inputs is still 60%. This asymmetry illustrates what one aggregate can hide. A classifier can retain substantially more ability to recognize one class than another under the same family of changes. For someone interpreting the test, the direction of the errors matters alongside their overall frequency.
The authors investigate whether the unknown entry is associated with a particular label. In Enron, 70% of the occurrences of the unknown token are in spam emails. The unit here is an occurrence of the token. The statistic describes where those occurrences are found, rather than the share of spam emails containing an unknown word. A spelling change can remove evidence associated with a recognized word and introduce a fallback feature associated with a class. That possibility gives the authors an explanation for why regular emails can be disproportionately assigned the spam label in the tested condition.
Their character analysis looks at the space symbol in Enron. It is frequent in both spam and non-spam text, and its reported association with class is weaker than that of the unknown token. In the appendix, the authors examine the distributions for the other datasets. They describe the unknown token as much less biased in AG’s News than in Enron and report generally weaker class biases in the character statistics. This variation makes it important to treat the Enron finding as evidence about that dataset and representation.
The frequency and accuracy comparisons answer related questions. A frequency comparison tells the reader how a feature is distributed among classes. A per-class accuracy comparison shows how frequently predictions remain correct for texts with those classes. Agreement between the patterns makes the proposed explanation plausible. A controlled intervention on the association itself would be needed to isolate its contribution from other differences among the texts and the classifiers’ learned features.
Limitations
Limits the authors identify
The authors acknowledge that readability is subjective. They use edit distance to control the extent of visible rewriting and argue that their examples frequently remain understandable to a person. The distance alone provides no guarantee of coherence or preserved meaning. A revised word can land on another valid word, and even a recognizable misspelling can make a short or ambiguous passage harder to interpret. The paper’s examples illustrate why preservation is plausible in some cases.
The authors also discuss whether a typo a reader can see belongs in the same category as a barely perceptible change to an image. Their argument puts weight on readers recovering the intended message and assigning the same label. The paper cites a reading study in which a particular kind of letter transposition slowed reading by around 11%. That number measures reading speed in the cited study. The DeepWordBug evaluation measures classifier outputs and does not present a comparable reading-time or comprehension experiment for its own revised inputs.
The unknown token creates a further qualification. It can be associated with an output class, as the Enron analysis illustrates. Using a fallback form to gauge sensitivity can therefore introduce information as well as remove it. A response to an unknown item may reflect the absence of the original word, the presence of the fallback, or both. The authors’ own observations about bias and dictionary collisions qualify any account in which changed spelling merely erases evidence.
Spelling correction brings costs of its own. The authors report that the corrector they use lacks batch processing for the way they evaluate it and expect overhead when processing large numbers of inputs. Their accuracy table gives no measurement of that processing time. They also identify a loss of information when a normalizer converts different original strings to the same revised form. Once the classifier receives only the normalized text, the original distinction is unavailable to it. This matters when assessing a correction stage as part of a deployed classifier.
Limits visible in the experimental setup
Score access is a substantive assumption. The paper’s sensitivity comparisons rely on seeing prediction scores, and the classifier training and evaluation take place in the reported benchmark setup. Perspective gives the authors a reason to consider a remote interface. The experiments give accuracy outcomes for the classifiers the authors evaluate. They supply no measurements for what would happen under the score precision, rate limits, or other service conditions of that illustrative example.
The query-complexity statement similarly has a limited interpretation. A bound that grows with the length of the input describes request count under the paper’s formulation. It leaves a distinction between the number of requests and their cost in time or computation. The paper’s internal observation about sharing work in a recurrent pass concerns the structure of the calculation. Applying such a measurement through a hosted interface depends on what intermediate information the interface returns.
The central label-preservation assumption also deserves its own evidence. The paper’s tables compare predictions on altered texts with the original dataset labels. Representative examples and the small distance motivate the use of those labels. The evaluation contains no reported independent annotation of whether readers assign the same label to all the altered examples. This matters because a larger number of visible errors, or a change to an especially important word, can make some versions hard to interpret even under a common distance bound.
The bound of 30 is an absolute count. Comparing it with the reported word-input lengths for AG’s News and Enron illustrates why the same bound can imply different amounts of revision relative to the document. The position and function of the changed text also matter. An edit that leaves a repeated topic cue recognizable places a different burden on interpretation from one that makes a decisive expression ambiguous. The numerical comparison is consistent about string distance while leaving these other properties variable.
Clean accuracy and accuracy on altered examples describe the aggregate difference in outcomes. They leave the prediction transitions unreported in the main comparison. A paired analysis could identify which initially correct texts became wrong, which initially wrong texts became correct, and which continued to receive wrong labels. That information would answer a different question from the one answered by the two accuracies. In particular, the relative accuracy decrease is a measure of aggregate deterioration, while the fraction of previously correct cases newly misclassified would require a specific denominator.
The comparison between Word-LSTM and Char-CNN changes input representation and architecture together. It shows that the phenomenon occurs with both designs. It cannot attribute the difference between the headline results to the input unit alone. The transfer experiment has a related scope. It moves revised texts among recurrent word-based classifiers on the same task. The result concerns those receiving classifiers and gives no quantitative estimate for transfer across the word and character architectures or across unrelated tasks.
There is an inconsistency in the main table that matters when interpreting the Gradient baseline. In the Word-LSTM row for AG’s News, the Gradient accuracy and its reported relative decrease do not agree under the table’s stated definition. The charts use the aggregate figures as printed, without adjusting that row. The strongest DeepWordBug settings also show large effects elsewhere in the table, but the inconsistent entries make the AG’s News Gradient pair unsuitable as a precise numerical comparison.
The confidence analysis has a different reporting issue. The paper describes histograms of the classifier’s support for erroneous labels, while its headline wording can be read as a claim about all generated inputs. The main accuracy table uses its own explicitly stated metric. It is safest to interpret the confidence result as describing the examples included in that confidence analysis. That reading still supports the paper’s substantive point that some of the misclassifications receive very high probability.
The defense experiments support partial recovery under particular conditions. Additional training is evaluated on the kind of revised inputs studied in the paper. Correction is tested with a specific package and word classifier. The reported results establish improvement in those settings and leave open recovery under other changes, as well as the effect of correction on clean texts whose unusual spellings are intentional. The paper establishes that small written differences can cause large errors and that the observed susceptibility responds to representation, training, and preprocessing. The magnitude of each effect remains tied to the tasks and comparisons reported.
What came after
Saliency, context, and the choice of textual change
DeepWordBug separates the importance of a position from the form of a change. The work on probability-weighted word saliency takes up the first of those questions by making word saliency, informed by prediction probabilities, part of its account of adversarial examples. The connection is the use of observable predictions to assess what matters in an input. Where DeepWordBug uses edit distance to describe spelling variation, the later title puts the method for evaluating word saliency at the center of the contribution. Probability Weighted Word Saliency
TextBugger takes adversarial text generation into the setting of real-world applications. This picks up the earlier paper’s distinction between access to an application and access to the internals of the classifier behind it. The shared question is how much sensitivity can be studied through the inputs and responses exposed in use. DeepWordBug demonstrates that question with classification benchmarks and invokes a hosted service to motivate it. TextBugger identifies applications as the object of its investigation. TextBugger
Work on word-level combinatorial optimization emphasizes how choices among word-level changes fit together. A central question in that formulation is which combination of discrete alternatives has the property sought by the experiment. DeepWordBug gives a particular role to individual token sensitivity and uses character distance to bound the final text changes. A word-level optimization formulation foregrounds the search among combinations of lexical choices. This brings a different part of the same broad problem into focus. Word-level Textual Adversarial Attacking as Combinatorial Optimization
BAE brings BERT-based adversarial examples to text classification. Its named scope retains the classification task and changes the basis used to construct the text variants. This is a natural point of comparison with the earlier paper because DeepWordBug’s explanation relies in part on the way a particular word dictionary handles unfamiliar spellings. A study based on a different system for producing variations gives the question of what makes a revised example acceptable a different setting. BAE
The work on contextualized perturbation makes the context of a textual change part of its central formulation. DeepWordBug gives surrounding text a role in the sensitivity measurements, and it measures the finished changes by their distance in the string. The later work’s scope directs attention to contextualization in the perturbation itself. The common concern is how an altered expression interacts with the text around it, a concern that can enter either the measurement of influence or the construction of the variant. Contextualized Perturbation for Textual Adversarial Attack
Evaluating and learning from altered inputs
TextAttack brings adversarial attacks, data augmentation, and adversarial training into a shared framework for natural language processing. This connects activities that DeepWordBug already studies within one paper. The changed examples can serve as evaluation inputs that expose a failure. Related examples can be included in the training data to see whether the failure becomes less common. TextAttack’s scope makes both activities part of the same experimental framework. TextAttack
Reevaluating Adversarial Examples in Natural Language puts the quality of the examples themselves under scrutiny. This is directly relevant to the distinction between string distance and the preservation of the reference label. DeepWordBug’s accuracy comparison depends on whether the original label still makes sense for the revised input. A study that takes the validity of adversarial examples as its subject shifts attention to the evidence used to justify that assumption. Reevaluating Adversarial Examples in Natural Language
The survey on analysis methods connects this kind of perturbation with a wider set of ways to examine language systems. A comparison between predictions on related inputs gives evidence about observable behavior. In DeepWordBug, the particular variation is spelling and the principal outcome is classification accuracy. The survey’s broader scope places such comparisons within research on how to study the behavior of a language system. Analysis Methods in Neural Language Processing
Char2Subword takes up the representational problem from a different direction. Its stated contribution is to extend the sub-word embedding space through robust character composition. That focus connects to the gap DeepWordBug exposes between a recognizable written form and the representation a classifier receives. The earlier word-level experiments examine what happens when unfamiliar strings share a fallback. Char2Subword makes the construction of a representation from characters part of the research question. Char2Subword
The survey on measuring and improving robustness brings together the evaluation and defense questions. DeepWordBug quantifies how much performance is lost under a stated kind of change and measures recovery under additional training and correction. The survey’s scope retains both objectives. Measuring robustness establishes how a system behaves under an evaluation condition, while improving robustness requires a further test that shows performance after an intervention. Measure and Improve Robustness in NLP Models
From documents to prompts and detection benchmarks
PromptRobust moves the perturbation question to prompts. A text classifier in the earlier paper receives a document for which a dataset supplies a label. A prompt also contains wording that can express the task itself. A robustness comparison therefore has to account for what the prompt continues to ask when its wording changes. The shared principle is to compare related inputs and interpret changes in behavior in light of what the variants preserve. PromptRobust
RAID returns to the study of detectors through a shared robustness benchmark for machine-generated text detection. Its named task changes what the system is trying to detect, while retaining the interest in how classification behaves under variation. The earlier work makes the conditions of comparison concrete through particular data, labels, and distance limits. A shared benchmark puts the definition of those evaluation conditions at the center of a comparison across detectors. RAID
The later work on using a language system as a judge studies robustness in zero-shot assessment. Here the decision is an assessment instead of the news, sentiment, or spam label in DeepWordBug. The relationship lies in the sensitivity of an assigned decision to changes in the text the system sees. As the decision and the role of the input change, the evidence needed to establish an error changes too. The earlier paper’s central distinction still applies. Before treating altered behavior as a failure, an evaluation has to establish what judgment the revised input warrants. Is LLM-as-a-Judge Robust?
Institutions
Fields, topics and concepts
Shelves 3The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksSoftware · 150 works
Cite
Cite as Ji Gao, Jack Lanchantin, Mary Lou Soffa and Yanjun Qi. 2018. Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifiers. arXiv:1801.04354.
@misc{gao2018black,
title = {{Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifiers}},
author = {Ji Gao, Jack Lanchantin, Mary Lou Soffa and Yanjun Qi},
year = {2018},
doi = {10.48550/arxiv.1801.04354},
eprint = {1801.04354},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1801.04354}
}References
- Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. 2014. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473 (2014).
- Marco Barreno, Blaine Nelson, Russell Sears, Anthony D. Joseph, and J. Doug Tygar. 2006. Can machine learning be secure?. In Proceedings of the 2006 ACM Symposium on Information, computer and communications security. ACM, 16–25. http://dl.acm.org/citation.cfm?id=1128824 OpenAlex ↗ · Scholar ↗
- Nicholas Carlini and David Wagner. 2017. Towards evaluating the robustness of neural networks. In Security and Privacy (SP), 2017 IEEE Symposium on. IEEE, 39–57. OpenAlex ↗ · Scholar ↗
- Ronan Collobert and Jason Weston. 2008. A unified architecture for natural language processing: Deep neural networks with multitask learning. In Proceedings of the 25th international conference on Machine learning. ACM, 160–167. OpenAlex ↗ · Scholar ↗
- Andrew M Dai and Quoc V Le. 2015. Semi-supervised sequence learning. In Advances in Neural Information Processing Systems. 3079–3087. OpenAlex ↗ · Scholar ↗
- Nilesh Dalvi, Pedro Domingos, Sumit Sanghai, Deepak Verma, et al. 2004. Adversarial classification. In Proceedings of the tenth ACM SIGKDD international conference on Knowledge discovery and data mining. ACM, 99–108. OpenAlex ↗ · Scholar ↗
- Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. 2014. Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572 (2014).
- Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long short-term memory. Neural computation 9, 8, 1735–1780. OpenAlex ↗ · Scholar ↗
- Google Jigsaw. 2017. Perspective API. https://www.perspectiveapi.com/. (2017). OpenAlex ↗ · Scholar ↗
- Yann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. 1998. Gradient-based learning applied to document recognition. Proc. IEEE 86, 11 (1998), 2278– 2324. OpenAlex ↗ · Scholar ↗
- Vladimir I Levenshtein. 1966. Binary codes capable of correcting deletions, insertions, and reversals. In Soviet physics doklady, Vol. 10. 707–710. OpenAlex ↗ · Scholar ↗
- Bin Liang, Hongcheng Li, Miaoqiang Su, Pan Bian, Xirong Li, and Wenchang Shi. 2017. Deep Text Classification Can be Fooled. arXiv preprint arXiv:1704.08006 (2017). — arXiv:1704.08006 OpenAlex ↗ · Scholar ↗
- Daniel Lowd and Christopher Meek. 2005. Adversarial learning. In Eleventh ACM SIGKDD International Conference on Knowledge Discovery in Data Mining. ACM, 641–647. OpenAlex ↗ · Scholar ↗
- Daniel Lowd and Christopher Meek. 2005. Good Word Attacks on Statistical Spam Filters.. In CEAS, Vol. 2005. OpenAlex ↗ · Scholar ↗
- Vangelis Metsis, Ion Androutsopoulos, and Georgios Paliouras. 2006. Spam filtering with naive bayes-which naive bayes?. In CEAS, Vol. 17. 28–69. OpenAlex ↗ · Scholar ↗
- Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. 2013. Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781 (2013).
- Makoto Miwa and Mohit Bansal. 2016. End-to-end relation extraction using lstms on sequences and tree structures. arXiv preprint arXiv:1601.00770 (2016).
- Anh Nguyen, Jason Yosinski, and Jeff Clune. 2015. Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Images. In CVPR. IEEE. OpenAlex ↗ · Scholar ↗
- Nicolas Papernot, Patrick McDaniel, Ian Goodfellow, Somesh Jha, Z Berkay Celik, and Ananthram Swami. 2016. Practical black-box attacks against deep learning systems using adversarial examples. arXiv preprint arXiv:1602.02697 (2016). — arXiv:1602.02697 OpenAlex ↗ · Scholar ↗
- Nicolas Papernot, Patrick McDaniel, Somesh Jha, Matt Fredrikson, Z Berkay Celik, and Ananthram Swami. 2016. The Limitations of Deep Learning in Adversarial Settings. In IEEE European Symposium on Security and Privacy (EuroS&P). OpenAlex ↗ · Scholar ↗
- Nicolas Papernot, Patrick McDaniel, Ananthram Swami, and Richard Harang. 2016. Crafting adversarial input sequences for recurrent neural networks. In Military Communications Conference, MILCOM 2016-2016 IEEE. IEEE, 49–54. OpenAlex ↗ · Scholar ↗
- Jeffrey Pennington, Richard Socher, and Christopher Manning. 2014. Glove: Global vectors for word representation. In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP). 1532–1543.
- Keith Rayner, Sarah J White, Rebecca L Johnson, and Simon P Liversedge. 2006. Raeding wrods with jubmled lettres there is a cost. Psychological science 17, 3 (2006), 192–193. OpenAlex ↗ · Scholar ↗
- David E Rumelhart, Geoffrey E Hinton, Ronald J Williams, et al. 1988. Learning representations by back-propagating errors. Cognitive modeling 5, 3 (1988), 1. OpenAlex ↗ · Scholar ↗
- Suranjana Samanta and Sameep Mehta. 2017. Towards Crafting Text Adversarial Samples. arXiv preprint arXiv:1707.02812 (2017). OpenAlex ↗ · Scholar ↗
- Richard Socher, Cliff C Lin, Chris Manning, and Andrew Y Ng. 2011. Parsing natural scenes and natural language with recursive neural networks. In Proceedings of the 28th international conference on machine learning (ICML-11). 129–136. OpenAlex ↗ · Scholar ↗
- Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D Manning, Andrew Ng, and Christopher Potts. 2013. Recursive deep models for semantic compositionality over a sentiment treebank. In Proceedings of the 2013 conference on empirical methods in natural language processing. 1631–1642.
- Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. 2014. Intriguing Properties of Neural Networks. In International Conference on Learning Representations (ICLR).
- Yonghui Wu, Mike Schuster, Zhifeng Chen, Quoc V Le, Mohammad Norouzi, Wolfgang Macherey, Maxim Krikun, Yuan Cao, Qin Gao, Klaus Macherey, et al. 2016. Google’s neural machine translation system: Bridging the gap between human and machine translation. arXiv preprint arXiv:1609.08144 (2016). OpenAlex ↗ · Scholar ↗
- Xiang Zhang, Junbo Zhao, and Yann LeCun. 2015. Character-level convolutional networks for text classification. In Advances in neural information processing systems. 649–657.
This page in Markdown https://md.research.elamur.ai/free/en/papers/gao-2018-black-box-generation-adversarial-text/