Bridging Robustness and Generalization Against Word Substitution Attacks in NLP via the Growth Bound Matrix Approach
Paper · 2025 · Mohammed Bouri and Adnane Saoud
Summary
A movie review can express the same opinion after a word is replaced by a synonym, yet a classifier may reverse its verdict. That failure matters because ordinary held-out accuracy only measures performance on the wording that happens to appear in the test set. The authors investigate whether text classification can be made less sensitive to meaning-preserving changes without sacrificing the distinctions needed to classify untouched text. Their method, Growth Bound Matrix regularization, trains a classifier to make smaller changes to its internal representations or scores when the numerical representation of its input changes.
The starting point is that each word is represented by a vector. Replacing a word changes the vector that the classifier receives. A Growth Bound Matrix, or GBM, records an upper bound on how strongly each input coordinate can affect each output coordinate. A row of the matrix therefore gives a bound on how far the corresponding output can move under a specified change in the input. If the bound applies to the class scores and the original winner has a sufficient lead, the lead survives every change covered by the bound. To encourage that stability during training, the authors penalize the sum of the matrix entries alongside the usual classification loss. They derive matrices for a long short-term memory cell, a convolutional feature extractor, and the S4 state space cell. The experiments use frozen representations from GloVe or BERT and train the classifier that receives them.
The experiments cover movie-review sentiment on IMDB and topic classification on Yahoo! Answers. The largest reported gain in test accuracy under a word-substitution attack is 8.8%, on IMDB with a bidirectional long short-term memory classifier under PSO. The convolutional classifier also achieves the highest reported clean accuracy in its comparisons on both datasets. In the BERT-based IMDB comparison, the authors report a 6.2% improvement over Text-CRS under TextFooler. They separately report 84.3% certified robust accuracy on IMDB, approximately 16.7% above their interval bound propagation comparison. The certificate and attack results answer different questions. A certificate concerns all changes in a specified set, whereas test accuracy under attack concerns the substitutions a particular procedure finds.
The authors also evaluate S4 under word substitution, a setting they identify as previously unstudied for text classification. The regularized S4 retains more correct predictions under the evaluated attacks, although standard S4 has the highest clean accuracy in that comparison. On IMDB, GBM training is faster per epoch than interval bound propagation, with a reported reduction of more than 11 times for the bidirectional recurrent classifier. The authors release their implementation under the name GBM. The demonstrated scope is classification of a whole sequence under fixed-length word replacement.
Deep dive: Bridging Robustness and Generalization Against Word Substitution Attacks in NLP via the Growth Bound Matrix Approach
Growth Bound Matrix training limits how much word substitutions can change a text classifier’s scores and is tested on sentiment and topic classification. · about 36 minutes to read
The problem and its context
When a stable label matters
In sentiment analysis, a classifier is supposed to judge the opinion a review conveys. A reviewer can describe the same experience using several acceptable expressions, and those expressions ought to support the same label when the opinion stays the same. The challenge is to tell whether a classifier has learned that distinction or has come to rely on particular words as shortcuts. A substitution provides a controlled way to ask. It changes a small part of an existing document while leaving the intended task and, in a successful meaning-preserving substitution, its correct answer intact.
An adversarial example makes this test deliberate. The replacement is selected because it might induce a classification error, subject to a requirement that the altered text retain the relevant meaning. The paper traces the motivation to work on errors induced by small changes in image classification. For text, deciding what qualifies as a small change requires another level of description. A perturbation to a numerical representation can have a measured size, but the reader encounters it as a different word in a particular context. The defense needs a link between those descriptions. Explaining and harnessing adversarial examples
The authors distinguish character changes, sentence-level changes, and word-level changes. They cite spelling and grammar defenses as ways to handle certain lower-level errors or malformed text. A fluent review with a plausible synonym can pass such checks quite naturally. At the other end of the scale, the paper notes that sentence rewrites can disturb the meaning that an evaluation is meant to preserve. Its preferred test keeps the positions of words aligned and changes their identities at selected positions. This makes it possible to define a set of alternatives for each position while keeping the document’s classification target fixed. HotFlip · Combating adversarial misspellings
Even within word substitution, the meaning requirement is demanding. A dictionary relationship between two words says something about the pair, while their suitability in a review depends on how each is used there. Similar vectors likewise provide a practical criterion for building a set of candidates, while the actual classification target belongs to the whole passage. This distinction helps explain why the paper describes both a mathematical neighborhood for certification and evaluations based on several substitution procedures. Each makes a different choice about what may change.
What earlier defenses optimized
One line of work adds altered texts to the training set. Adversarial training looks for examples that expose a weakness and then uses them as additional learning material. In the word setting described by the authors, generating those examples repeatedly costs time because each position offers discrete alternatives. Faster white-box methods use information from the classifier to reduce the search burden. The paper discusses one such defense that generates altered examples with a fast gradient projection method and pairs their class scores as part of training. It also describes region-based training, in which optimization covers a region spanned by the embedding of a word and those of its synonyms. The latter already treats a set of vectors as an object of training, a connection that helps place the GBM proposal. Towards deep learning models resistant to adversarial attacks · FreeLB
A second line of work tries to prove that every permitted change preserves a prediction. In interval bound propagation, or IBP, each input coordinate starts with a lower and an upper endpoint. Layer operations turn those intervals into new intervals, until the calculation reaches the outputs. A certificate follows when the least favorable score allowed for the correct class still beats the most favorable scores allowed for its competitors. The interval calculation can also enter the training objective, encouraging the classifier to perform well under the worst case described by the bounds. Its attraction is coverage of a perturbation set, and the paper emphasizes its computational cost and the conservatism that can arise when intervals are propagated through a classifier. Certified robustness to adversarial word substitutions · Verified robustness via interval bound propagation
The authors discuss Abstractive Recursive Certification as a related approach to specifying text changes programmatically. It represents the possibilities from those transformations as a box and uses interval propagation to reason about outputs. The paper describes its performance as deteriorating when the allowed number of substitutions grows beyond two. The example illustrates a general motivation for this study. A perturbation set might be easy to state and still be difficult to certify, especially when independently varying coordinates in a box admits possibilities that the original text transformations could never produce together.
Randomized smoothing gives another route to a certificate. In the paper’s account, smoothing methods create a distribution of altered input texts and use the statistical behavior of their predictions to substantiate robustness. These approaches can work without a derivation specialized to the internals of each classifier. In contrast, the GBM matrix in this paper comes from the operations in the architecture. The authors also note a difficulty shared by many certification settings. The defender may specify a set of synonyms, but an adversary can draw from a different resource. A claim quantified over the defender’s set retains exactly that scope. Certified robustness by randomized masking
Why the architecture matters
A word can affect a classifier through more than one route. In a convolutional network, it can participate in several overlapping windows, any of which may supply a pooled feature. In a recurrent network, its contribution can enter a state that is updated at later positions. An S4 state space layer also carries information through a state, but the recurrence analyzed here is linear. Applying the same training principle to these designs thus calls for different ways of bounding the effects of inputs. The authors give most of the mathematical detail to this part of the problem. Convolutional neural networks for sentence classification
The paper’s objective is to fit the labels and constrain these routes of influence at the same time. It replaces the repeated task of finding successful substitutions during training with an architectural calculation of how much changes can matter. Compared with carrying a fresh interval through an entire classifier, the matrix can also be formed from particular parameters or bounded derivatives. The proposed common ingredient is the penalty on that matrix. The way the matrix is obtained, and the exact mapping it describes, remain specific to the architecture.
The method, step by step
From replacements to changes in vectors
Start with a document consisting of an ordered sequence of words. The classifier receives a sequence of word embeddings, numerical vectors associated with those words or generated for their positions. The classification head produces scores from this representation, and the prediction is the label selected from the scores. The paper uses one mapping for the predicted class and another for the differentiable numerical operation whose sensitivity it bounds. Keeping them separate is important. A bound on a numerical operation is a building block for reasoning about the discrete label.
The paper describes a synonym set built from nearby vectors. It selects the nearest eligible words subject to a distance cutoff, using Euclidean distance as the measure of closeness. At each position, the original word is allowed as well. This gives a family of fixed-length alternatives.
Sₐᵈᵛ(x) = {⟨w′₁, …, w′ₙ⟩ : w′ᵢ ∈ S(wᵢ) ∪ {wᵢ}}
Here x is the original sequence and N is its length, shown as a subscript on the last position in the formula. The word at position i is wᵢ, and w′ᵢ is the word at that position after a possible replacement. S(wᵢ) is the candidate set for wᵢ, ∪ is set union, and ∈ means membership. The angle brackets denote an ordered sequence. The condition after the colon applies at every position. The resulting set, Sₐᵈᵛ(x), contains the original document and the alternatives assembled from those per-position choices. The display gives no separate budget on the number of positions changed.
f(x′) = f(x) = y for every x′ ∈ Sₐᵈᵛ(x)
In this specification, f is the classifier’s label decision and y is the correct class. The sequence x′ is any member of the allowed family around x. Requiring both predictions to equal y makes this a statement about correct and stable classification. An unchanged mistake would meet a condition of invariance alone, while failing the condition the authors write here.
Once a text has been embedded, the mathematical problem can be phrased without enumerating the words. An original embedding sequence and an altered one can be represented as vectors of the same size, with a difference in their input coordinates. A replacement may change many coordinates in the affected representation at once. The method keeps those coordinate changes separate and considers how much each could move each output. This is the purpose of the matrix.
Training a text classifier with GBM regularization
The steps in order.
From derivative bounds to a prediction guarantee
To describe the matrix, the authors consider a numerical mapping F from an input domain X with nₓ real coordinates to an output domain Y with nᵧ real coordinates. For the recurrent derivations this mapping is a cell operation, and for the convolutional derivation it covers the convolution and pooling features. At any input, the partial derivative of a given output with respect to a given input coordinate describes the immediate rate of change with the other input coordinates held fixed. The GBM stores an upper bound on the magnitude of that derivative throughout the domain under consideration.
|∂Fⁱ(x)/∂xʲ| ≤ Mᵢⱼ for every x ∈ X and every (i, j)
The symbol ∂ denotes a partial derivative. Fⁱ is output coordinate i of the mapping F, and xʲ is coordinate j of input x. The bars take the absolute value of the scalar derivative. Mᵢⱼ is the entry in row i and column j of the Growth Bound Matrix M. The pairs (i, j) range over the nᵧ outputs and nₓ inputs. The entries of M are non-negative bounds. A sufficiently large entry is valid even when it exceeds every actual derivative, so the usefulness of the matrix depends on how closely its entries track what can happen.
This structure preserves direction. A change to a coordinate with a small bound in a particular row contributes little to the estimate for that output. The same coordinate could have a large entry in another row and matter more for that feature. Conversely, an output can react to several input coordinates at once. The bound accounts for this by multiplying each coordinate change by the corresponding entry and adding the contributions. Since the calculation uses magnitudes, it allows the individual effects to reinforce one another.
x′ = x + δ
Here x and x′ are the original and changed numerical inputs to F. The vector δ has the same number of coordinates as x and represents their difference. In this part of the argument x and x′ refer to real vectors, whereas the earlier definition refers to word sequences. An embedding layer provides the connection between the two descriptions.
Fⁱ(x) − ∑ⱼ Mᵢⱼ|δⱼ| ≤ Fⁱ(x′) ≤ Fⁱ(x) + ∑ⱼ Mᵢⱼ|δⱼ|
In the interval, Fⁱ(x) and Fⁱ(x′) are the original and changed values of output coordinate i. The symbol ∑ⱼ adds over the nₓ input coordinates, and |δⱼ| is the magnitude of the change in coordinate j. Mᵢⱼ weights that change by its maximum influence on output i. The lower endpoint allows the output to decrease by the whole weighted sum, and the upper endpoint allows it to increase by that amount.
The proof follows the straight segment from the first input to the second. For each output coordinate, the mean value theorem expresses the change in that coordinate through derivatives at an intermediate point. Different output coordinates may use different intermediate points. That poses no problem when every entry bounds its derivative across the entire segment. The proof consequently requires the segment to lie in the domain on which the bounds hold, with the appropriate differentiability conditions along it. Embedding neighborhoods built as boxes provide a natural type of domain for such an argument.
Fⁱ(x′) − Fⁱ(x) = ∇Fⁱ(c)ᵀ δ
This is the mean value step for output coordinate i. The vector c is an intermediate point on the segment from x to x′. The operator ∇ collects the partial derivatives of Fⁱ at c into a gradient, and the superscript T transposes it so that multiplying by δ forms a scalar product. Taking magnitudes and using the upper bound for each derivative gives the weighted sum in the preceding interval.
The meaning for classification depends on what sits at the output of F. When its outputs are class scores, the lead of the clean winner over each other class gives a direct test. The winning score might fall to the bottom of its interval while a competing score rises to the top of its interval. If the winner’s lower endpoint still exceeds every competing upper endpoint for all allowed perturbations, the predicted label is certified to stay the same. Clean correctness makes this a certificate for the correct label. When F outputs a hidden feature, the calculation controls that feature. Certification of a label then requires carrying the feature bounds through the remaining score calculation.
The appendix connects the matrix to a scalar Lipschitz bound, which expresses how much an output distance can grow relative to an input distance. It proposes using the largest matrix entry.
L = maxᵢ maxⱼ Mᵢⱼ
Here L is the proposed scalar bound, maxᵢ and maxⱼ take the maxima over the output and input coordinates, and Mᵢⱼ is the same entry as above. The interpretation depends on the distance definitions. The row-wise inequality supports this choice when the input distance sums the absolute coordinate changes and the output distance takes their maximum. Using the maximum coordinate change on the input side instead requires accounting for the sum of a row’s entries. Several changes can contribute to one output even when each entry is individually small. The coordinate-wise proposition retains the information needed to make this distinction.
How the bound enters training
The training objective still rewards a correct answer. Cross-entropy measures how much probability the classifier assigns to the observed label, with a penalty when it gives that label little support. The authors combine this loss with the sum of GBM entries. A matrix entry corresponds to an input–output coordinate pair, so the penalty discourages a large aggregate of allowed sensitivities.
ℒ(x, y) = (1 − β)ℒ꜀ₑ(f(x), y) + βℒɢʙᴍ
In this display, ℒ is the training objective for text x with label y. The symbol ℒ꜀ₑ denotes cross-entropy. The paper writes f(x) inside it to refer to the classifier output used to evaluate the loss, which must supply scores or probabilities rather than just the selected label. The symbol ℒɢʙᴍ denotes the matrix penalty, and the hyper-parameter β sets its weight relative to the classification term. Increasing β simultaneously increases the share of the objective given to the bound and decreases the share given to fitting the labels.
ℒɢʙᴍ = ∑ᵢ₌₁ⁿʸ ∑ⱼ₌₁ⁿˣ Mᵢⱼ
Here i runs from 1 through the output dimension nᵧ and j runs from 1 through the input dimension nₓ. The two sums add every entry of M to form ℒɢʙᴍ. Since the entries are bounds on magnitudes, opposite derivative signs cannot cancel in this loss. The sum does give the same cost to equal increases in different cells of the matrix. It can therefore fall even if some individual entries rise.
The embedding layer remains frozen in the reported experiments. A batch supplies texts and their labels, while the classifier’s trainable parameters determine both the predictions and the matrix penalty. The regularizer changes those parameters in favor of a smaller bound as the classification loss favors useful predictions. This division makes it possible to use familiar pretrained representations and to apply the same loss construction to several downstream architectures. The classification term is essential to the aim. A representation that responds weakly to all input changes might also respond weakly to a real change in sentiment or topic. The objective must still reward features that distinguish the classes.
Long short-term memory
A long short-term memory cell, or LSTM cell, reads the vector at the current position together with two states carried forward from the previous position. The cell state stores information that can be retained or updated. The hidden state is the exposed representation that can be used by the next step or eventually by the classifier. The cell controls these operations with learned gates. From the point of view of a derivative calculation, its output can change because the current word has changed, because the previous hidden state has changed, or because the previous cell state has changed.
cₜ = fₜ ⊙ cₜ₋₁ + Iₜ ⊙ gₜ
Here t is the current position, cₜ is the new cell state, and cₜ₋₁ is the previous cell state. The forget gate fₜ determines how much previous cell content to retain. The input gate Iₜ sets how much of the candidate content gₜ to add. The operator ⊙ multiplies corresponding coordinates of the vectors.
hₜ = oₜ ⊙ tanh(cₜ)
The vector hₜ is the new hidden state. The output gate oₜ controls how much of the transformed cell state is exposed, and tanh is the hyperbolic tangent applied coordinate by coordinate to cₜ. The operation ⊙ again multiplies corresponding entries. This equation shows why the cell state and hidden state must be distinguished. The cell can retain information that is only weakly expressed in the current hidden output.
Every gate is computed from the current input and the preceding hidden state. Before the gate’s nonlinearity, the calculation is a weighted sum with a bias.
Tₐⁱ = ∑ₚ₌₁ᵈ⁰ Θ⁽ᵃ⁾ᵢₚ vʷᵗₚ + ∑ᵩ₌₁ᵈ U⁽ᵃ⁾ᵢᵩ hₜ₋₁,ᵩ + b⁽ᵃ⁾ᵢ
The quantity Tₐⁱ is the preactivation of gate a at output coordinate i. The index a identifies the forget, input, candidate, or output gate. The embedding for the word at position t has d₀ coordinates, indexed by p, with vʷᵗₚ denoting its p-th entry. The preceding hidden state has d coordinates, indexed by q, with hₜ₋₁,ᵩ denoting its q-th entry. Θ⁽ᵃ⁾ and U⁽ᵃ⁾ contain the gate’s input and recurrent weights, and b⁽ᵃ⁾ᵢ is its bias at coordinate i. The summation limits d⁰ and d in the display stand for the embedding width d₀ and state width d, respectively. The input, forget, and output gates apply the sigmoid, which the paper denotes by σ. The candidate gate applies tanh.
The hidden-state derivative has a common form for the current embedding block and the previous hidden-state block. Changing either kind of input can alter the output gate directly. It can also alter the newly calculated cell state, which changes the value the output gate exposes. The product and chain rules account for both paths.
∂hₜⁱ/∂zʲ = G⁽ᵒ⁾ᵢⱼ σ′(Tₒⁱ) tanh(cₜⁱ) + σ(Tₒⁱ) tanh′(cₜⁱ) ∂cₜⁱ/∂zʲ
Here z is either the current word vector or the previous hidden state, and zʲ is coordinate j in that particular block. Coordinate i of hₜ is hₜⁱ, cₜⁱ is coordinate i of the new cell state, and Tₒⁱ is the output gate’s preactivation there. G⁽ᵒ⁾ denotes the appropriate output-gate weight matrix, Θ⁽ᵒ⁾ for an embedding input and U⁽ᵒ⁾ for a hidden-state input. The prime marks the derivative of the sigmoid or hyperbolic tangent. The first term is the gate path, and the second term is the cell-state path.
The paper breaks down the derivative of the cell state along these same blocks. A change in the embedding or old hidden state can alter what is retained, how much is written, or the candidate content that is written. Each possibility contributes a term.
∂cₜⁱ/∂zʲ = G⁽ᶠ⁾ᵢⱼ σ′(Tբⁱ)cₜ₋₁ⁱ + G⁽ᴵ⁾ᵢⱼ σ′(Tᵢₙⁱ)tanh(Tɢⁱ) + G⁽ᵍ⁾ᵢⱼ σ(Tᵢₙⁱ)tanh′(Tɢⁱ)
In this formula Tբⁱ, Tᵢₙⁱ, and Tɢⁱ denote the forget, input, and candidate preactivations at coordinate i. The matrices G⁽ᶠ⁾, G⁽ᴵ⁾, and G⁽ᵍ⁾ select the corresponding Θ weights when z is the embedding and U weights when z is the previous hidden state. The quantity cₜ₋₁ⁱ is the previous cell state’s coordinate i. The first term differentiates retention of that content. The second differentiates the input gate while holding the candidate fixed, and the last differentiates the candidate while holding the input gate fixed.
For the third block, the previous cell state, the displayed cell equations are coordinate-wise. When the embedding and previous hidden state are held fixed, the gates themselves remain fixed. The old cell coordinate aligned with the output can act through the forget gate and the new cell state. Other old cell coordinates have zero direct derivative in this cell operation.
∂hₜⁱ/∂cₜ₋₁ⁱ = σ(Tₒⁱ) σ(Tբⁱ) tanh′(cₜⁱ)
The derivative here compares the same coordinate i of the new hidden state hₜ with the previous cell state cₜ₋₁. The output-gate preactivation Tₒⁱ and forget-gate preactivation Tբⁱ supply the two sigmoid factors. The last factor is the derivative of tanh at the new cell coordinate. The article’s LSTM proposition prints this expression in the cell-state block without an explicit condition on the column. Reading it as the matching-coordinate derivative follows directly from the element-wise update.
The derivatives in these equations can vary with the input to the cell. The authors therefore enclose the current embedding, previous hidden state, and previous cell state in coordinate intervals. For an affine gate preactivation, a positive coefficient sends the lower input endpoint to the lower product endpoint. A negative coefficient reverses that choice. Summing the selected endpoints with the bias produces lower and upper bounds on the preactivation. This bounds a gate without checking every possible input to it.
The sigmoid and tanh derivatives have their peak at zero and decrease away from it. The smaller of the two endpoint values bounds the derivative from below over an interval. If zero lies inside the interval, the upper endpoint for the derivative is its value at zero. Otherwise the larger of the derivative values at the two interval endpoints suffices. The paper uses these facts to bound terms such as the output sigmoid derivative and the derivative of tanh applied to the new cell state. Its auxiliary calculation for the new cell state uses the center and widths of the input intervals along with sensitivity estimates for the cell update. The separate lower and upper calculations are then assembled for each block.
Mᵢⱼ = max(|M̲ᵢⱼ|, |M̄ᵢⱼ|)
Here M̲ᵢⱼ and M̄ᵢⱼ are lower and upper bounds on the signed derivative for output i and input column j. The bars denote absolute values, and max chooses the larger magnitude. The column may correspond to the current embedding, the previous hidden state, or the previous cell state. This rule produces a bound even when the derivative can change sign across the domain. The theoretical description uses extrema over the input domain, while the algorithm combines bounds on intermediate expressions to enclose those extrema.
In the bidirectional LSTM, abbreviated BiLSTM, each direction processes the sequence in its own order. The paper describes shared cell weights across positions and uses the final hidden state for classification. For GBM training it calculates the bound at the last cell in each direction and performs the calculation in parallel. This makes the loss concern the transitions producing the final recurrent features. A disturbance originating earlier in the text may already have reached those cells through the prior states, so reasoning from a raw edit to a final score additionally depends on how the incoming state changes are bounded.
The S4 state space cell
S4 processes a sequence through a learned state space operation. The paper begins with a continuous-time system and derives the GBM for the corresponding discrete-time cell. In the continuous description, the input both drives the state and can contribute directly to the output.
ḣ(t) = Ah(t) + Bvₜ
Here h(t) is the hidden state at time t and ḣ(t) is its time derivative. The matrix A controls the state’s own dynamics. The matrix B sends the input vector vₜ, the embedding associated with the current position, into the state update. The paper uses d₀ input coordinates and d state coordinates per input channel, giving a state of dimension d₀d in this description.
y(t) = Ch(t) + Dvₜ
In this equation y(t) is the output vector at time t. The matrix C reads out the hidden state h(t), and D provides a direct input-to-output term from vₜ. The symbol y here denotes the cell output, rather than the correct label used in the training loss.
The authors describe the conversion to discrete steps using the bilinear transformation. The state transition and input matrices change under this conversion, and the readout and direct term retain their values.
à = (I − ΔA/2)⁻¹(I + ΔA/2)
Here à is the discrete state transition, I is the identity matrix for the state, and Δ is the fixed discretization step. The superscript −1 means matrix inversion. The paper describes Δ at the channel level, so the same expression is understood with the corresponding step for each channel. A is the continuous state matrix.
B̃ = (I − ΔA/2)⁻¹ ΔB
The discrete input matrix is B̃. The symbols I, Δ, and A have the same roles as in the state transition, and B is the continuous input matrix. The discretized readout C̃ equals C and the discretized direct term D̃ equals D. At a word position, the resulting update adds B̃ times the current embedding to à times the preceding state.
yₜ = C̃(Ãhₜ₋₁ + B̃vₜ) + D̃vₜ
The vector yₜ is the output for position t, hₜ₋₁ is the previous state, and vₜ is the embedding arriving at that step. The vector inside the parentheses is the new state. C̃ reads it out and D̃ acts on the current embedding directly. Writing the output this way reveals the two paths by which a change to the current word arrives at the output. The previous state has one path, through the state transition and readout.
M = [ |C̃B̃ + D̃| | |C̃Ã| ]
The brackets concatenate two blocks of columns of the GBM M, with the middle vertical divider separating them. The bars around each matrix denote entrywise magnitude. The first block corresponds to the current word vector, and the second corresponds to the previous state. Since the cell’s operation is linear in these inputs, the derivative coefficients are constant for fixed parameters. The direct and state-mediated input paths are added before the magnitude is taken because both belong to the same derivative. The matrix can therefore be computed from the discretized parameters without finding gate derivative intervals as in the LSTM.
Convolution and max pooling
The convolutional classifier scans groups of adjacent embeddings. Each filter responds to a window of a specified width. Moving the window across the sequence produces a response at every valid position. Max pooling retains the largest response for each filter, and the pooled features from the different widths are joined. A word can influence a pooled feature if it appears in a window that supplies the maximum. Its influence then depends on the weight attached to that word’s offset within that window.
C⁽ᵏ⁾(vₓ)ₜ = φ(b⁽ᵏ⁾ + ∑ₗ₌₀ᵏ⁻¹ W⁽ᵏ⁾[:,:,l] vₜ₊ₗ)
Here C⁽ᵏ⁾(vₓ)ₜ is the vector of convolution responses for width k and window start t. The sequence of embeddings is vₓ, and vₜ₊ₗ is its embedding at position t plus offset l. The sum runs over the k offsets from 0 to k − 1. The weight tensor W⁽ᵏ⁾ has one axis for filters, one for embedding coordinates, and one for offsets. The colons in the slice retain every filter and embedding coordinate at offset l. The vector b⁽ᵏ⁾ is the bias, and φ is the coordinate-wise rectifier, or ReLU, used in the method description.
P⁽ᵏ⁾(C⁽ᵏ⁾(vₓ)) = maxₜ C⁽ᵏ⁾(vₓ)ₜ
The operation P⁽ᵏ⁾ pools the responses from kernel width k. The maximum over t is taken independently for each filter and runs across the windows that fit inside the sequence. With N words, the last such window begins at N − k + 1. The full output of the mapping joins the pooled vectors into one vector, in kernel-width order. It has d entries per width, where d is the number of filters assigned to that width in the derivation.
A pooled output can switch from one winning window to another as the input changes. For a bound valid across possible inputs, the authors look at the magnitude of the relevant coefficient in every valid window that contains the input coordinate. The activation has slope bounded by 1. The size of the largest applicable weight therefore provides a bound. In terms of word positions and window starts, the rule can be written as follows.
Mᵢⱼ = max{|W⁽ᵏ⁾[r, q, s − t]| : 1 ≤ t ≤ N − k + 1, 0 ≤ s − t < k}
Here i identifies the pooled output, which specifies kernel width k and filter r. The flattened input coordinate j specifies word position s and embedding coordinate q. For each valid window start t, the offset of that word is s − t. The bars take the magnitude of the corresponding filter weight. The maximum ranges only over windows containing that word, as expressed by the two conditions after the colon. When no window uses a coordinate, it has no influence on that output.
The paper uses quotient and remainder functions to express this calculation with flattened indices. For the output, division by the number of filters identifies the kernel-width block, and the remainder identifies the filter within it. For the input, the underlying rule is to find the embedding coordinate and its offset in each valid convolution window. The displayed CNN proposition is compact enough to obscure that restriction. The valid-window interpretation follows from its convolution and pooling equations and also covers words near the document boundaries, which appear at fewer offsets than words in the interior. At ties in max pooling or at a ReLU kink, the finite-change reasoning can use the slopes of the relevant pieces. The selected activation or window may change, while the maximum applicable weight still limits the change attributable to a coordinate.
Experiments and results
What was tested
The authors use two benchmarks with different classification targets. IMDB is a sentiment dataset of movie reviews with 25,000 reviews in the training set and 25,000 in the test set. The target is binary. Yahoo! Answers is a topic classification dataset with 1,400,000 training samples, 50,000 test samples, and 10 classes. Testing both lets the authors examine whether the training objective is useful for categorizing subject matter as well as deciding the polarity of a review. Learning word vectors for sentiment analysis · Character-level convolutional networks for text classification
The BiLSTM, convolutional classifier, and S4 experiments use pretrained GloVe embeddings with 300 dimensions. For the BERT representations used with the BiLSTM and CNN heads, the authors specify 12-layer bert-base-uncased and 768-dimensional representations for each token. The training description freezes the pretrained embedding parameters and changes the classifier above them. Accordingly, the BERT results should be read with attention to the head and representation setting named in each comparison. The paper uses both a BiLSTM with BERT embeddings and a configuration labeled BERT in its results discussion.
For the GloVe perturbation setting, k is 8 and the Euclidean cutoff dₑ is 0.5. That means the synonym neighborhood is restricted to up to 8 nearest candidates within the specified distance in the embedding space. The attacks used to test the trained classifiers also have their own resources. PWWS uses WordNet, GA and TextFooler use counter-fitted embeddings, and PSO uses information about units of meaning from HowNet. The attacks therefore differ both in the alternatives they consider and in how they search among them. For the BERT comparison the authors follow the default TextFooler parameters used for comparison with Text-CRS. TextFooler
The paper identifies GA as Genetic Attack, PWWS as Probability Weighted Word Saliency, and PSO as Particle Swarm Optimization. It uses OpenAttack and TextAttack to implement the evaluations. Because generating attack examples requires substantial computation, the substitution procedure processes a random sample of 1,000 test instances per dataset. For the TextFooler comparison with Text-CRS, the authors sample 500 IMDB test instances. These evaluation sizes describe the attack experiments. Clean accuracy uses the entire original test split.
The paper calls these metrics Clean Accuracy, or CA, and Accuracy Under Attack, or AUA. CA measures the share of unchanged test inputs classified correctly. AUA measures the share classified correctly under a specified attack on the evaluation sample. A third quantity, certified robust accuracy, concerns the share for which correctness and stability are established for a defined perturbation set. AUA depends on the particular attack and its candidates. Certified robust accuracy depends on the allowed set and the guarantee the method can establish for it. The paper reports both kinds of robustness evidence.
BiLSTM and convolutional classifiers
The main BiLSTM and CNN experiments compare GBM with four defense baselines across the attack columns. Standard training provides the clean-accuracy comparison. The largest improvements the authors highlight are in the PSO results. With BiLSTM, GBM improves AUA over the best baseline by up to 8.8% on the IMDB test sample and 6.7% on the Yahoo! Answers test sample. With CNN, the corresponding reported improvements are up to 8.4% on the IMDB test sample and 4.8% on the Yahoo! Answers test sample. These figures are the authors’ comparisons with the strongest baseline in the corresponding setting. They express gains in AUA in the paper’s notation, instead of the resulting AUA levels.
The repetition across architectures matters because the recurrent and convolutional penalties come from different calculations. BiLSTM regularization bounds how the recurrent features depend on the arriving embedding and earlier states. CNN regularization bounds what the filters and pooling can pass through. Both used the same general training objective, and both improved the reported result under PSO on the two datasets. That provides evidence for using the same regularization principle despite the different ways the classifiers process a document.
Clean accuracy gives a separate view of those comparisons. The authors report that the GBM-trained CNN obtains the highest clean test accuracy on both datasets among the compared configurations. On Yahoo! Answers the GBM-trained BiLSTM is close to the best clean result. Those are architecture- and dataset-specific findings. They support the claim that the penalty can preserve clean classification performance while boosting attack performance. The S4 comparison gives a different clean-accuracy ranking, which shows why the two metrics are worth reporting together.
S4 on IMDB
The S4 experiment compares regularized S4 with standard S4 on IMDB. The paper describes this as its first systematic investigation of S4 robustness for text classification and says there was no prior direct defense baseline for this comparison. Standard S4 has the highest clean accuracy, 88.1% on the full IMDB test set. GBM-trained S4 achieves the highest reported AUA under each of the evaluated procedures in that comparison. The measured accuracy depends on which attack is used, even with the architecture and training method fixed.
GBM-trained S4 under different attacks on IMDB, Accuracy Under Attack
The regularized S4 retains the most correct predictions under TextFooler among the attack settings shown.
The numbers
| System or setting | accuracy % |
|---|---|
| GBM S4 under PSO | 42.6 |
| GBM S4 under PWWS | 49.4 |
| GBM S4 under TextFooler (this paper) | 52.6 |
The chart compares the same GBM-trained S4 configuration under different attack settings on IMDB. Its ranking describes that classifier’s performance under these particular evaluations. For the defense comparison, the important statement is that GBM-trained S4 improves AUA over standard S4 under the reported attacks. For the clean comparison, the lead goes to standard S4. These facts can hold together because the two tests reward different behavior. The regularized classifier must preserve correct decisions across changed inputs, while the standard classifier’s clean result is measured only on the original documents.
BERT representations and TextFooler
The authors run a broader defense comparison under TextFooler with BERT-based representations on IMDB. They describe the comparison as covering eleven defense baselines. Their discussion reports an advantage for GBM in the BiLSTM setting using BERT embeddings and in the result labeled BERT. The named comparison is Text-CRS, for which the reported AUA improvement of GBM is 6.2% on the 500-instance IMDB evaluation. Matching the evaluation procedure and sample size is important here because a change in attack configuration can affect the outcome by itself.
This result extends the empirical evidence beyond the GloVe experiments. The pretrained representation differs, and the classifier is exposed to substitutes found using the TextFooler setting. The training description still puts the penalty on the classification network after the frozen embedding stage. It therefore demonstrates that regularizing a classifier that receives BERT representations can help under the reported conditions. The architectural formulas in the paper concern the recurrent, convolutional, and S4 operations.
Certified robustness and training time
The paper reports 84.3% certified robust accuracy on IMDB, approximately 16.7% above the comparison with IBP. This number is presented as certified robustness, distinct from the test-sample AUA results. Its interpretation is the proportion covered by the stated certification criterion, which asks for the correct prediction throughout an allowed set. The paper highlights the result as evidence that the derivative-based bounds can support a useful certificate. The headline figure has less experimental detail attached to it than the individual AUA comparisons, so it is best read as the authors’ reported IMDB result within that setup.
For computational efficiency, the authors compare training time per epoch on IMDB. They report that GBM reduces the time by more than 11 times relative to IBP in the BiLSTM comparison. The comparison is per epoch, the period over which training processes the dataset, and the paper says all experiments ran on a single NVIDIA A100 80GB GPU. The explanation offered is that IBP’s certified constraints bring a large processing overhead for the recurrent classifier. The GBM approach in this setting computes bounds for the final cells of the recurrent passes, which is a more limited calculation. The time result concerns the training comparison as run. The total cost of producing a complete robustness evaluation also includes the attack or certification procedure used after training.
What the ablations show
Did the penalty change the quantity it targeted?
The paper’s clearest controlled comparison trains the same kind of classifier with and without GBM regularization and inspects the resulting bounds on IMDB. For the final BiLSTM hidden state, the authors show matrices as heatmaps. Each cell represents the bound for a particular input and output coordinate, with the colors displayed on a logarithmic scale. The regularized matrix contains conspicuously smaller entries in several of the illustrated locations. The sum across the matrix is 45.33 with GBM regularization and 96.50 for the baseline. This compares the same kind of object before considering the classifiers’ separate performance under attack.
For CNN and S4, distributions of matrix entries provide a broader view of how the penalty acts. On IMDB, the CNN sum is 4010.16 with GBM and 10475.19 without it. For S4 the sum is 4218.56 with GBM and 7375.00 without it. In both cases the plots show a shift towards smaller entries. The distribution is informative alongside the sum. A smaller sum could arise from a large change in a few entries, while the plots show a more general movement towards lower bounds for the reported CNN and S4 comparisons.
Effect of GBM training on the final BiLSTM hidden state on IMDB
The matrix entries sum to a lower total after GBM training.
The numbers
| System or setting | sum of GBM entries |
|---|---|
| Standard BiLSTM | 96.50 |
| BiLSTM with GBM regularization (this paper) | 45.33 |
The matrix sum has the same definition as the training penalty. These comparisons show that training succeeded in reducing its target while learning a classifier. The measured decrease does not directly give a prediction about AUA. For an actual perturbation, its changed coordinates determine which parts of the matrix matter, and the original scores determine how much movement the label can withstand. A smaller aggregate and better AUA are complementary observations. The first concerns a property of the learned classifier or feature mapping, and the second concerns its predictions under an evaluation procedure.
The absolute sums also have different meanings across architectures. A row of the BiLSTM matrix describes a hidden coordinate, a row of the CNN matrix a pooled feature, and a row of the S4 matrix a state space output. Their inputs and numbers of entries differ. Comparing the regularized and standard version within each architecture isolates the training change more directly than ranking the three architectures by their raw totals.
How much penalty is useful?
The appendix varies β to examine the balance between clean accuracy and resistance to PWWS. CNN and BiLSTM are evaluated on both IMDB and Yahoo! Answers, while S4 is evaluated on IMDB. The authors find that the response to changing β depends on the architecture and dataset. The sweep therefore concerns the balance in the combined objective, in settings that share the form of the loss but differ in their feature calculations and tasks. A particular weight gives a different practical balance when the scale and structure of the matrix penalty change.
The sweep also helps explain why the paper presents the penalty as a regularizer alongside cross-entropy. When the objective shifts toward smaller bounds, the resulting classifier may be more stable, but the supervised term still has to encourage useful score distinctions. Both the score margin and the amount the scores can change matter for a prediction. Training for stability helps when it keeps the score movement smaller than the separation that the classifier has learned. An accuracy curve from the sweep combines all of these effects. The paper’s account supports choosing β with the architecture, dataset, and clean and adversarial behavior in view.
These comparisons show the effect of removing or varying the GBM term as a whole. The paper does not isolate the contributions of the separate LSTM derivative blocks, the convolutional offsets, or the S4 direct and state-mediated terms through independent training ablations. The architecture-specific derivations establish why those terms appear. The figures establish what happens to the combined matrix under training. They address different parts of the explanation.
What an individual substitution example shows
The paper illustrates the failure with IMDB reviews whose predicted sentiment flips after small wording changes. In one example, the authors replace descriptive words in a positive review with alternatives they judge to retain its meaning. The positive prediction has a reported score of 93% on the original review. After the changes, the prediction is negative, with a reported score of 58.14%. These are output scores for one review and its edited version. They are distinct from the accuracy metrics, which summarize many reviews.
The example makes the distinction between the sentiment communicated by a text and the score assigned by a classifier concrete. The paper treats the label as unchanged because the favorable assessment is still present. The shift in prediction suggests that the original wording mattered greatly to the classifier. The example illustrates the problem that motivated the regularizer. The matrix comparisons and test-set results provide the separate evidence about what happened when the defense was applied.
Limitations
Limits the authors state
The authors restrict the method as evaluated to assigning a class to a whole sequence. A task that labels each word separately would need to account for a collection of output decisions at different positions. Its preservation criterion would be different, because a local change might legitimately affect one word’s label while leaving others intact. The formulations and experiments in the paper center on a global class such as review sentiment or document topic.
The authors also restrict the perturbations to fixed-length word substitutions. That setting gives a direct alignment between positions in the original sequence and those in each alternative. It lets the analysis express a change as the difference between vectors with matching coordinates. Deleting a word changes the sequence length and brings later words forward. The paper identifies variable-length edits such as deletion as future work. Stability for fixed-length replacements provides evidence for the setting in which the bound was applied.
Limits visible in the setup
The theoretical argument operates on embedding and state vectors inside a domain on which the derivative bounds hold. For a set of changed texts to be covered, their numerical representations must fall within the relevant domain. A candidate list constructed by GloVe proximity is one way of specifying nearby alternatives. The empirical attack resources can propose a different set, and replacing a word in a contextual representation can affect more than the representation at its original position. Accordingly, the numerical scope of the bound and the linguistic scope of the substitution family must be established separately for any certificate. A statement that the family preserves meaning rests on how its members were chosen.
The proof also needs the variation between the two inputs to stay inside the domain where the bound is valid. In a box of numerically admissible inputs, a straight segment between two members stays in the box. An arbitrary subset of embedding vectors need not have this property. This is why the theorem’s practical application involves a region containing the segment, even though the documents of interest are discrete. Enlarging the domain can make a bound easier to apply and more conservative at the same time. The bound may need to account for vector configurations that never occur as representations of actual texts.
There is a further distinction between a cell or feature bound and a certificate for a complete classifier. In the recurrent experiment the training calculation focuses on the final cells, and the input to a final cell includes states inherited from earlier positions. To turn its derivative bounds into a certificate for substitutions at arbitrary positions, one needs bounds on the perturbed states reaching it and on the downstream score changes. In the CNN case the displayed mapping ends at the pooled features. The score margins must be evaluated after accounting for the classifier that reads those features. The paper gives the general variation proposition and the specialized matrices, and reports a headline certificate result. It gives less detail on assembling the whole chain for that result than it gives for deriving the individual architectural quantities.
Two technical details also matter when reading the bounds. The extremum of a derivative over a cell’s domain and an estimate assembled from separate gate intervals are different objects. Gate activations can depend on the same input coordinates, so treating their attainable values independently can make the bound larger. The appendix’s midpoint formulas for enclosing a cell-state coordinate also need derivative bounds valid over the box, with the signs handled so that the width estimate remains non-negative and encloses all changes. The displayed sensitivity factors in those expressions are introduced as derivatives. Their use as bounds requires that additional interpretation. Likewise, the appendix’s largest-entry Lipschitz formula needs an explicit choice of input and output norms. These details affect the reading of a theoretical certificate while leaving the reported attack measurements as empirical outcomes.
The two benchmarks establish performance on their respective held-out tasks. In the paper, clean generalization means accuracy on untouched test data from those benchmarks. A clean result there gives no direct measure of transfer to another domain or language. The sampled attack evaluations also have a narrower scope than the full test split. Their values depend on which examples are sampled, which replacements the attack considers, and which of those replacements its search finds. A measured AUA from one attack or subset does not specify the worst-case accuracy across all meaning-preserving rewrites.
The evidence on clean accuracy differs across architectures. The strongest clean comparisons the authors highlight are for CNN, whereas the IMDB S4 comparison favors standard training on clean text. The β study is consistent with different balances between clean and adversarial behavior in different settings. The time comparison has a similarly specific meaning. It concerns training time per epoch for the reported IMDB setup, with especially high IBP overhead for BiLSTM. The paper does not establish that the same speed advantage applies to every architecture, dataset, or certification workload.
Finally, the displayed architectural derivations concern LSTM, S4, and CNN. The BERT-related experiments show what the training method can achieve with the reported pretrained representations and classification configurations. They do not give a derivation for all the operations inside a BERT encoder or establish a certificate covering an encoder whose weights are updated during training. Freezing the representation stage makes the claim more specific and helps interpret which parts of the system the method directly regularizes.
What came after
No later work is identified as having taken up the paper’s Growth Bound Matrix method. The authors close by proposing extensions to speech recognition, control systems, and the selective state space architecture Mamba, which they refer to as S6. They also propose extending the text setting to perturbations that change sequence length. These are directions for subsequent work, with the reported derivations and measurements confined to the fixed-length text classification setting and the architectures studied here.
Cite
Cite as Mohammed Bouri and Adnane Saoud. 2025. Bridging Robustness and Generalization Against Word Substitution Attacks in NLP via the Growth Bound Matrix Approach. Findings of the Association for Computational Linguistics: ACL 2025.
@inproceedings{bouri2025bridging,
title = {{Bridging Robustness and Generalization Against Word Substitution Attacks in NLP via the Growth Bound Matrix Approach}},
author = {Mohammed Bouri and Adnane Saoud},
booktitle = {Findings of the Association for Computational Linguistics: ACL 2025},
year = {2025},
doi = {10.18653/v1/2025.findings-acl.627},
eprint = {2507.10330},
archivePrefix = {arXiv},
url = {https://doi.org/10.18653/v1/2025.findings-acl.627}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bouri-2025-bridging-robustness-generalization-against-word/
References
- Moustafa Alzantot, Yash Sharma, Ahmed Elgohary, Bo-Jhang Ho, Mani Srivastava, and Kai-Wei Chang. 2018. Generating natural language adversarial examples. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing. our card
- Xinshuai Dong, Anh Tuan Luu, Rongrong Ji, and Hong Liu. 2021. Towards robustness against natural language word substitutions. In 9th International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
- Javid Ebrahimi, Anyi Rao, Daniel Lowd, and Dejing Dou. 2018. HotFlip: White-box adversarial examples for text classification. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics. our card
- Steffen Eger and Yannik Benz. 2020. From hero to zéroe: A benchmark of low-level adversarial attacks. In Proceedings of the 1st conference of the Asia-Pacific chapter of the association for computational linguistics and the 10th international joint conference on natural language processing, pages 786–803. OpenAlex ↗ · Scholar ↗
- Tao Ge, Xingxing Zhang, Furu Wei, and Ming Zhou. 2019. Automatic grammatical error correction for sequence-to-sequence text generation: An empirical study (https://doi.org/10.18653/v1/P19-1609). In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 6059–6064, Florence, Italy. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Ian J. Goodfellow, Jonathon Shlens, and Christian Szegedy. 2015. Explaining and harnessing adversarial examples. In 3rd International Conference on Learning Representations. our card
- Albert Gu and Tri Dao. 2023. Mamba: Linear-time sequence modeling with selective state spaces. arXiv preprint arXiv:2312.00752. OpenAlex ↗ · Scholar ↗
- Albert Gu, Karan Goel, and Christopher Ré. 2022. Efficiently modeling long sequences with structured state spaces. In ICLR. OpenAlex ↗ · Scholar ↗
- Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long short-term memory. Neural computation, 9(8):1735–1780. OpenAlex ↗ · Scholar ↗
- Po-Sen Huang, Robert Stanforth, Johannes Welbl, Chris Dyer, Dani Yogatama, Sven Gowal, Krishnamurthy Dvijotham, and Pushmeet Kohli. 2019. Achieving verified robustness to symbol substitutions via interval bound propagation. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing. our card
- Maor Ivgi and Jonathan Berant. 2021. Achieving model robustness through discrete adversarial training. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1529–1544. OpenAlex ↗ · Scholar ↗
- Robin Jia, Aditi Raghunathan, Kerem Göksel, and Percy Liang. 2019. Certified robustness to adversarial word substitutions. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, pages 4127–4140. our card
- Di Jin, Zhijing Jin, Joey Tianyi Zhou, and Peter Szolovits. 2020. Is bert really robust? a strong baseline for natural language attack on text classification and entailment. In Proceedings of the AAAI conference on artificial intelligence, volume 34, pages 8018–8025. our card
- Louis Jouret, Adnane Saoud, and Sorin Olaru. 2023. Safety verification of neural-network-based controllers: a set invariance approach. IEEE Control Systems Letters, 7:3842–3847. OpenAlex ↗ · Scholar ↗
- Yoon Kim. 2014. Convolutional neural networks for sentence classification (https://arxiv.org/abs/1408.5882). CoRR, abs/1408.5882. our card
- Linyang Li and Xipeng Qiu. 2020a. Tavat: Token-aware virtual adversarial training for language understanding. arXiv preprint arXiv:2004.14543. OpenAlex ↗ · Scholar ↗
- Linyang Li and Xipeng Qiu. 2020b. Tavat: Token-aware virtual adversarial training for language understanding (https://arxiv.org/abs/2004.14543). Preprint, arXiv:2004.14543. OpenAlex ↗ · Scholar ↗
- Zongyi Li, Jianhan Xu, Jiehang Zeng, Linyang Li, Xiaoqing Zheng, Qi Zhang, Kai-Wei Chang, and Cho-Jui Hsieh. 2021. Searching for an effective defender: Benchmarking defense against adversarial word substitution. arXiv preprint arXiv:2108.12777. OpenAlex ↗ · Scholar ↗
- Changliu Liu, Tomer Arnon, Christopher Lazarus, Christopher Strong, Clark Barrett, Mykel J Kochenderfer, et al. 2021. Algorithms for verifying deep neural networks. Foundations and Trends® in Optimization, 4(3-4):244–404. OpenAlex ↗ · Scholar ↗
- Andrew L. Maas, Raymond E. Daly, Peter T. Pham, Dan Huang, Andrew Y. Ng, and Christopher Potts. 2011. Learning word vectors for sentiment analysis. In The 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies. our card
- Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. 2018. Towards deep learning models resistant to adversarial attacks. In 6th International Conference on Learning Representations. our card
- Rishabh Maheshwary, Saket Maheshwary, and Vikram Pudi. 2021. Generating natural language attacks in a hard label black box setting. In Thirty-Fifth AAAI Conference on Artificial Intelligence. OpenAlex ↗ · Scholar ↗
- Pierre-Jean Meyer, Alex Devonport, and Murat Arcak. 2021. Interval reachability analysis: Bounding trajectories of uncertain systems with boxes for control and verification. Springer Nature. OpenAlex ↗ · Scholar ↗
- John Morris, Eli Lifland, Jin Yong Yoo, Jake Grigsby, Di Jin, and Yanjun Qi. 2020. Textattack: A framework for adversarial attacks, data augmentation, and adversarial training in nlp. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 119–126. our card
- Weiping Pei and Chuan Yue. 2022. Generating content-preserving and semantics-flipping adversarial text. In Proceedings of the 2022 ACM on Asia Conference on Computer and Communications Security, pages 975–989. OpenAlex ↗ · Scholar ↗
- Danish Pruthi, Bhuwan Dhingra, and Zachary C. Lipton. 2019a. Combating adversarial misspellings with robust word recognition. In Proceedings of the 57th Conference of the Association for Computational Linguistics, pages 5582–5591. our card
- Danish Pruthi, Bhuwan Dhingra, and Zachary C. Lipton. 2019b. Combating adversarial misspellings with robust word recognition (https://doi.org/10.18653/v1/P19-1561). In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 5582–5591, Florence, Italy. Association for Computational Linguistics. our card
- Biqing Qi, Yang Luo, Junqi Gao, Pengfei Li, Kai Tian, Zhiyuan Ma, and Bowen Zhou. 2024. Exploring adversarial robustness of deep state space models. arXiv preprint arXiv:2406.05532. OpenAlex ↗ · Scholar ↗
- Shuhuai Ren, Yihe Deng, Kun He, and Wanxiang Che. 2019. Generating natural language adversarial examples through probability weighted word saliency. In Proceedings of the 57th Conference of the Association for Computational Linguistics. our card
- Muhammad Sajjad, Soonil Kwon, et al. 2020. Clustering-based speech emotion recognition by incorporating learned features and deep bilstm. IEEE access, 8:79861–79875. OpenAlex ↗ · Scholar ↗
- Erfan Shayegani, Md Abdullah Al Mamun, Yu Fu, Pedram Zaree, Yue Dong, and Nael Abu-Ghazaleh. 2023. Survey of vulnerabilities in large language models revealed by adversarial attacks. arXiv preprint arXiv:2310.10844. our card
- Chenglei Si, Zhengyan Zhang, Fanchao Qi, Zhiyuan Liu, Yasheng Wang, Qun Liu, and Maosong Sun. 2020. Better robustness by more coverage: Adversarial training with mixup augmentation for robust fine-tuning. arXiv preprint arXiv:2012.15699. OpenAlex ↗ · Scholar ↗
- Liwei Song, Xinwei Yu, Hsuan-Tung Peng, and Karthik Narasimhan. 2021. Universal adversarial attacks with natural triggers for text classification. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 3724–3733. OpenAlex ↗ · Scholar ↗
- Arnold Tustin. 1947. A method of analysing the behaviour of linear systems in terms of time series. Journal of the Institution of Electrical Engineers-Part IIA: Automatic Regulators and Servo Mechanisms, 94(1):130–142. OpenAlex ↗ · Scholar ↗
- Boxin Wang, Hengzhi Pei, Boyuan Pan, Qian Chen, Shuohang Wang, and Bo Li. 2020a. T3: Tree-autoencoder constrained adversarial text generation for targeted attack. In Conference on Empirical Methods in Natural Language Processing. OpenAlex ↗ · Scholar ↗
- Boxin Wang, Shuohang Wang, Yu Cheng, Zhe Gan, Ruoxi Jia, Bo Li, and Jingjing Liu. 2020b. Infobert: Improving robustness of language models from an information theoretic perspective. 9th International Conference on Learning Representations (ICLR). OpenAlex ↗ · Scholar ↗
- Wenjie Wang, Pengfei Tang, Jian Lou, and Li Xiong. 2021a. Certified robustness to word substitution attack with differential privacy. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. OpenAlex ↗ · Scholar ↗
- Xiaosen Wang, Hao Jin, Yichen Yang, and Kun He. 2021b. Natural language adversarial defense through synonym encoding. In Proceedings of the 37th Conference on Uncertainty in Artificial Intelligence. OpenAlex ↗ · Scholar ↗
- Xiaosen Wang, Yichen Yang, Yihe Deng, and Kun He. 2021c. Adversarial training with fast gradient projection method against synonym substitution based text attacks. In AAAI Conference on Artificial Intelligence. OpenAlex ↗ · Scholar ↗
- Zimu Wang, Wei Wang, Qi Chen, Qiufeng Wang, and Anh Nguyen. 2024. Generating valid and natural adversarial examples with large language models. In 2024 27th International Conference on Computer Supported Cooperative Work in Design (CSCWD), pages 1716–1721. IEEE. OpenAlex ↗ · Scholar ↗
- Zeyu Yang, Zhao Meng, Xiaochen Zheng, and Roger Wattenhofer. 2024. Assessing adversarial robustness of large language models: An empirical study. arXiv preprint arXiv:2405.02764. OpenAlex ↗ · Scholar ↗
- Mao Ye, Chengyue Gong, and Qiang Liu. 2020. SAFER: A structure-free approach for certified robustness to adversarial word substitutions (https://doi.org/10.18653/v1/2020.acl-main.317). In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 3465–3475, Online. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Yuan Zang, Fanchao Qi, Chenghao Yang, Zhiyuan Liu, Meng Zhang, Qun Liu, and Maosong Sun. 2020. Word-level textual adversarial attacking as combinatorial optimization. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. our card
- Guoyang Zeng, Fanchao Qi, Qianrui Zhou, Tingji Zhang, Zixian Ma, Bairu Hou, Yuan Zang, Zhiyuan Liu, and Maosong Sun. 2021a. OpenAttack: An open-source textual adversarial attack toolkit (https://doi.org/10.18653/v1/2021.acl-demo.43). In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing: System Demonstrations, pages 363–371, Online. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Jiehang Zeng, Xiaoqing Zheng, Jianhan Xu, Linyang Li, Liping Yuan, and Xuanjing Huang. 2021b. Certified robustness to text adversarial attacks by randomized [MASK]. In Findings of Association for Computational Linguistics. our card
- Jiehang Zeng, Xiaoqing Zheng, Jianhan Xu, Linyang Li, Liping Yuan, and Xuanjing Huang. 2021c. Certified robustness to text adversarial attacks by randomized [MASK]. arXiv preprint arXiv:2105.03743. our card
- Xiang Zhang, Junbo Jake Zhao, and Yann LeCun. 2015. Character-level convolutional networks for text classification. In Advances in Neural Information Processing Systems. our card
- Xinyu Zhang, Hanbin Hong, Yuan Hong, Peng Huang, Binghui Wang, Zhongjie Ba, and Kui Ren. 2024. Text-crs: A generalized certified robustness framework against textual adversarial attacks. In 2024 IEEE Symposium on Security and Privacy (SP), pages 2920–2938. IEEE. OpenAlex ↗ · Scholar ↗
- Yuhao Zhang, Aws Albarghouthi, and Loris D'Antoni. 2021. Certified robustness to programmable transformations in LSTMs (https://doi.org/10.18653/v1/2021.emnlp-main.82). In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1068–1083, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Yi Zhou, Xiaoqing Zheng, Cho-Jui Hsieh, Kai-wei Chang, and Xuanjing Huang. 2020. Defense against adversarial attacks in nlp via dirichlet neighborhood ensemble. arXiv preprint arXiv:2006.11627. OpenAlex ↗ · Scholar ↗
- Chen Zhu, Yu Cheng, Zhe Gan, Siqi Sun, Tom Goldstein, and Jingjing Liu. 2020. Freelb: Enhanced adversarial training for natural language understanding (https://openreview.net/forum?id=BygzbyHFvB). In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. our card