Certified Defenses against Adversarial Examples
Paper · 2018 · Aditi Raghunathan, Jacob Steinhardt and Percy Liang
Summary
A handwritten digit can receive the right label on a clean image and a different label after small changes to its pixels. An attack that produces such a change demonstrates a real failure. An attack that comes back empty leaves open the possibility that another search would succeed. Certified Defenses against Adversarial Examples asks whether a classifier can come with a mathematical limit on how often this kind of failure is possible. The authors study neural networks with one hidden layer and define the allowed changes through a per-pixel budget. An adversary can modify all the pixels, as long as each stays within that budget.
The authors work with the scores the network assigns to different labels. For a given image, they estimate how far each wrong label could move ahead of the correct one. Searching for the largest possible lead directly is difficult. They replace that search with a sequence of calculations that allow progressively more freedom than the actual perturbations do, ending in a convex optimization problem called a semidefinite program. Its answer gives a safe ceiling on the worst score comparison. If even that ceiling leaves the correct label ahead of every rival, the image is certified for the specified budget.
The same calculation guides training. A penalty discourages network weights that produce a large certified allowance for score changes. Running full semidefinite optimization every time the weights change would be expensive, so the authors use an equivalent formulation based on the largest eigenvalue of a matrix. They train the network weights and the auxiliary variables in that formulation together. The auxiliary variables also give an upper bound along the way, even before their optimization is complete.
On the MNIST test set, the resulting classifier makes errors on 4.2% of clean images. With a maximum change of ε = 0.1 per pixel, the evaluated Projected Gradient Descent attack gives a test error of 16%. The certificate puts an upper limit of 35% on test error for any attack within the same budget. The attack establishes a level of error that is achievable, while the certificate limits how high the error could go. The exact worst case remains open. The experiments also show why training matters to the result. Applying the same certificate to a network trained with a different objective can leave a wide range of possible worst-case errors, even when that network fares well against the evaluated attack.
Deep dive: Certified Defenses against Adversarial Examples
Certified Defenses against Adversarial Examples shows how to train a digit classifier with a provable error bound for small pixel changes. · about 40 minutes to read
The problem and its context
The question a successful attack answers
In ordinary image classification, the test image arrives as recorded and the classifier assigns a label. The paper considers a different test. After the classifier has been trained, someone who knows how it works may change the image within a prescribed range. The relevant question is whether any permitted version of that particular image could be given an incorrect label. A clean prediction is still informative because it shows where the classifier starts. The additional question concerns all the points it could be made to evaluate near that starting point.
The paper treats earlier observations of this behavior as a reason to scrutinize the way defenses are evaluated. A deliberately chosen change can do substantial damage even when its coordinates are individually small. The authors trace that observation in neural networks to Intriguing properties of neural networks.
The allowed neighborhood is defined using the ℓ∞ norm, which measures the largest absolute change in any coordinate. Imagine giving each pixel an interval centered on its original value. An eligible image can take its pixel values anywhere in their respective intervals. The resulting set forms a box in input space. This makes the specification precise, and the authors acknowledge the difficulty of giving a precise general meaning to perceptual similarity. The mathematical question concerns the box. How a person would see every change it contains is a separate question.
The paper assumes a white-box adversary, meaning that the adversary knows the classifier. Under this assumption, restricting the evidence to familiar attack algorithms would leave a substantial part of the question unanswered. The adversary is free to choose a permitted input through any procedure. A particular attack supplies one way of searching for damaging inputs, so an error it finds counts as evidence of vulnerability. Establishing that an image is safe requires information about all the allowed inputs, including regions that the search may never visit.
The authors give concrete reasons to take that distinction seriously. Researchers used the Fast Gradient Sign Method to test defensive distillation and adversarial training as defenses, and subsequent studies found stronger attacks against both. Fast Gradient Sign uses local derivative information to choose a change. The paper attributes this efficient way to construct adversarial examples, and the associated training approach, to Explaining and Harnessing Adversarial Examples.
What training against a search can miss
Adversarial training puts the output of a search inside the learning procedure. For a training image, an attack looks for a damaging change. The loss on the perturbed image then influences how the weights are updated. The paper discusses one-step searches and more powerful iterative methods. A search that consistently finds damaging examples gives training a reason to handle them.
The authors identify a problem with the direction of the approximation. The loss achieved by a feasible attack is a lower bound on what the worst allowed change could achieve. Suppose a proposed set of weights produces a loss surface that is difficult for the attack to search. The resulting loss can look small, and therefore appealing to the training optimizer, even when other regions of the box contain large losses. Finding weights that make the attack ineffective can reduce the objective through this mechanism. Whether those weights actually prevent failures throughout the box remains open.
The paper illustrates the problem with the contours of a class-score margin for a simple network. The contours bend sharply near the clean input. A linear approximation based on the gradient there predicts a promising move, yet the actual score margin attained by that move falls well short of the maximum in the box. In the accompanying vector field, the gradient magnitude at the clean input and a larger magnitude elsewhere in the neighborhood tell different stories about sensitivity. The figure shows how a quantity evaluated at one point can give a poor account of changes across the region.
This is the phenomenon the authors discuss under gradient masking. When training suppresses the loss or margin gradient near an example, an attack that relies on that gradient may have little useful information. Large changes in the score can still occur farther along an allowed movement. The paper describes other searches that exposed such weaknesses. It also treats strong iterative adversarial training as an important empirical approach, with the scope of its evidence tied to the attacks used to test it. That approach is represented by Towards Deep Learning Models Resistant to Adversarial Attacks.
Why solving the whole problem is expensive
At the other end of the spectrum, an exact verifier asks whether a misclassified point exists anywhere inside the box. With a nonlinear network, the optimization of a class margin can have different behavior in different regions. Even when the pieces are linear, as with rectified activations, the search has to account for which units are active together and where those combinations can occur. The paper describes exact methods using discrete optimization and satisfiability modulo theories. In the account the authors give, the solver’s answer is sound when it terminates, and the worst-case running time can grow exponentially with network size.
That cost affects verification and training differently. An exact answer for a single image can be valuable even if it takes a long time to obtain. In training, the weights change repeatedly, so the verification problem would have to be solved again for the new weights. The authors explain that exact analyses can already take several hours or longer for an individual example from a small network. The prospect of performing such a calculation inside each learning update motivates a cheaper quantity with a different kind of guarantee.
Other approaches in the paper’s discussion draw the boundary in different places. A certificate based on remaining in a single linear region works when the entire perturbation set fits in that region. The paper studies budgets and networks for which that premise can fail. Earlier work on bounding gradients in input neighborhoods supplies another route to formal guarantees. The authors describe an efficient computation for Euclidean perturbations in that line of work and develop a different computation for their coordinate-wise constraint.
The paper also discusses an independent, concurrent approach by Kolter and Wong. It uses linear programming to bound adversarial loss and learns weights by reducing the bound. Its optimization is tied to individual inputs, whereas the semidefinite calculation in this paper is shared by inputs once the weights and class pair are fixed. The comparison helps clarify the central design question. A bound must be valid for every permitted change, informative enough to rule out some errors, and practical enough to influence the process that learns the weights.
The method, step by step
Expressing a mistake as a score comparison
Think of an image whose correct digit has the highest score. Every other digit begins at some distance behind it. The distance can be large for one rival and small for another. A verification procedure needs to know whether any rival can close its own gap somewhere in the box. This gives the authors a common unit for discussing prediction, vulnerability, and certification. All can be expressed in terms of differences between scores.
The proof develops the calculation for a pair of labels. It first asks how a score difference responds to bounded input changes in a linear classifier. The nonlinear case replaces the linear weight vector with a bound on derivatives across the box. The architecture provides a way to bound those derivatives with quantities taken from the weights. After the semidefinite relaxation makes that calculation tractable, the proof returns to the full set of labels.
From digit scores to a trainable certificate
The steps in order.
The classifier’s rule is to select a label whose score attains the maximum.
C(x) = argmax_(i ∈ 𝒴) fⁱ(x)
Here x is an input image expressed as a vector with d coordinates, 𝒴 is the set of labels, and i is a label in that set. The scalar fⁱ(x) is the score of label i. The operation argmax selects a maximizing label, and C(x) denotes the result of prediction. Strict comparisons later in the certificate make its conclusion independent of how the prediction rule resolves a tie.
fⁱʲ(x) = fⁱ(x) − fʲ(x)
The margin fⁱʲ(x) is the score of label i minus the score of label j on input x. A positive margin puts i ahead of j, while a negative one puts j ahead of i. In the verification problem j is the known correct label, written y. The focus is on whether a rival i can make its margin over y reach a value at which correct classification ceases to be assured.
Bε(x) = {x̃ : ‖x̃ − x‖∞ ≤ ε}
The set Bε(x) is the box centered at x. The vector x̃ is a possible input after perturbation, and ε is the non-negative limit per coordinate. The norm ‖·‖∞ gives the largest absolute component of its argument. For an attack A, the point A(x) must belong to Bε(x). The same budget applies to every coordinate, and the box includes the unmodified image.
Aopt(x) ∈ argmax_(x̃ ∈ Bε(x)) max_(i ≠ y) fⁱʸ(x̃)
The symbol Aopt(x) identifies a maximizing input for the ideal untargeted attack at x, with y understood to be the true label. The inner maximum takes the largest margin among the rivals i, and the outer argmax finds where in the box that largest margin is greatest. The membership symbol ∈ allows for several positions to attain the same best value. This is a definition of the quantity the paper wishes to bound.
ℓ_A(x, y) = 𝟙[C(A(x)) ≠ y]
The attack loss ℓ_A(x, y) uses the classifier C on the admissible output of A. The indicator 𝟙 is one when the comparison in brackets is true and zero otherwise. Thus a failure counts equally whether the wrong class wins by a little or a great deal. Continuous score margins enter the proof because they can be bounded with calculus and optimization. The outcome eventually reported on the test set is the frequency of classification mistakes.
What the linear case gives the proof
For the binary example in the paper, the correct label is 2 and the rival is 1. Write f for the score of 1 minus the score of 2. In a linear classifier, the slope of f is the difference between the class weight vectors and is the same everywhere. An input displacement changes f by an inner product between that difference and the displacement.
f(x̃) = f(x) + (W₁ − W₂)ᵀ(x̃ − x) ≤ f(x) + ε‖W₁ − W₂‖₁
Here W₁ and W₂ are the respective class weight vectors in the linear classifier, f(x) is the starting margin, and f(x̃) is its value at the perturbed input. The superscript ᵀ denotes transposition, which makes the product of the two vectors an inner product. The norm ‖·‖₁ adds the absolute values of the components of a vector. Each term of the inner product is at most the magnitude of its weight difference multiplied by ε. Adding these bounds yields the inequality.
The linear bound can be attained. The perturbation box allows each coordinate to make its largest favorable contribution to the sum at the same time. Coordinates with positive coefficients can contribute through an increase, and coordinates with negative coefficients through a decrease. A zero coefficient leaves that coordinate irrelevant. The maximum change is therefore determined entirely by the weight difference and the budget. The position of the image matters through the original margin.
This exact result gives the nonlinear analysis its starting point. The ℓ∞ constraint on the change in the input pairs with an ℓ₁ measure of sensitivity. For a linear margin, the weight difference gives that sensitivity directly. For a nonlinear margin, the corresponding vector at a single point is the gradient. It describes the slope at that location. The paper’s contour illustration is a reminder that the slope at the center of the box can offer a poor description of the entire distance to its edge.
Accumulating the gradient along a path
Take any allowed endpoint and draw the straight segment from the original image to it. Every intermediate point remains in the box, since every interpolated coordinate stays between its starting and ending values. The change in margin can be expressed by adding the contributions of the gradient along the segment. For the piecewise linear margins produced by rectified units, the change can be accounted for across the linear pieces. The reasoning uses the slope where it is defined and continuity across the boundaries.
f(x̃) = f(x) + ∫₀¹ ∇f(tx̃ + (1 − t)x)ᵀ(x̃ − x) dt
In this expression t varies from 0 to 1 and indexes points along the line from x to x̃. The operator ∇ gives the vector of partial derivatives of the margin with respect to the input. The product with x̃ − x gives the gradient’s contribution in the direction and scale of the displacement. Integration with respect to t adds these contributions over the path. The paper uses this path expression to motivate a bound that is uniform throughout the allowed region.
f(x̃) ≤ f(x) + ε max_(u ∈ Bε(x)) ‖∇f(u)‖₁
Here u is a point in the neighborhood at which the gradient is evaluated, and the maximum bounds its ℓ₁ norm wherever it enters the path argument. The factor ε comes from the ℓ∞ bound on the input displacement. The product bounds the increase in the margin from its starting value f(x). Large gradients count in this bound even when the gradient at the clean input is small. The remaining problem is how to obtain an upper estimate of the largest gradient norm without carrying out another hard search over inputs.
Using the hidden layer to bound sensitivity
The paper’s architecture gives each input a hidden representation and then assigns one score to each class. The hidden layer first forms weighted sums of the input coordinates, then applies an activation function separately to each sum. Each output score is a weighted sum of the activated hidden values. The architecture is described as a two-layer network because both the input-to-hidden and hidden-to-output transformations have weights.
fⁱ(x) = Vᵢᵀ σ(Wx)
The matrix W has m rows for the hidden units and d columns for the input coordinates. The matrix V contains output weights, with a row Vᵢ for label i. In the inner product Vᵢᵀσ(Wx), the row’s entries are treated as a weight vector. The function σ acts separately on each component of Wx. The proof uses a slope between 0 and 1 for each activation wherever it is differentiable. A rectified linear unit has a zero slope on its flat side and a unit slope on its rising side. The paper gives the tighter interval [0, 1/4] for the sigmoid derivative.
fⁱʲ(x) = vᵀ σ(Wx), with v = Vᵢ − Vⱼ
The vector v consists of the differences between the output weights of i and j. The formula follows because the two labels use the same hidden representation σ(Wx). This shared computation is what allows a multiclass network to be analyzed one pair of labels at a time. In the binary derivation, f denotes this pairwise margin without the superscript.
∇f(x̃) = Wᵀ diag(v) σ′(Wx̃)
The chain rule gives the gradient at x̃ where the derivatives apply. The vector σ′(Wx̃) contains the activation slopes at the hidden preactivation values. The operation diag(v) forms a diagonal matrix with the entries of v on its diagonal, so it scales each hidden derivative by that unit’s contribution to the class margin. The transpose Wᵀ then combines those contributions into one derivative for each input coordinate.
Once the weights are fixed, the only part of this gradient expression that varies with the image is the set of activation slopes. The authors replace the slopes realized at nearby inputs with all combinations of slopes in the permitted intervals. This replacement includes the realized combinations. It also includes combinations that the hidden units may be unable to realize together, because the same input ordinarily determines all their preactivations. Including those combinations preserves the upper bound and discards information about the particular box around x.
The ℓ₁ norm has a form that makes this enlarged problem easier to manipulate.
‖z‖₁ = max_(t ∈ [−1, 1]ᵈ) tᵀz
The vector z has d components. The vector t varies over d coordinates between −1 and 1, and tᵀz is their inner product. The maximizing value can make the contribution of each coordinate equal to the magnitude of the corresponding entry of z. This t belongs to the representation of the norm. The path parameter in the integral played a separate role.
f_QP(x) = f(x) + ε max_(s ∈ [0, 1]ᵐ, t ∈ [−1, 1]ᵈ) tᵀWᵀdiag(v)s
The vector s has m components and now represents relaxed activation slopes. The vector t accounts for the ℓ₁ norm of the resulting input gradient, and ε scales the bound on the gradient into a bound on the margin change. The function f_QP names this quadratic-program upper bound on the attacked margin. The maximization is bilinear in s and t, which means it is linear in either vector when the other is held fixed. The joint maximization can still be non-convex. The paper compares its structure with MAXCUT and takes inspiration from a semidefinite relaxation used there.
Lifting the quadratic expression to a matrix
To express the bilinear problem as a quadratic form, center the interval for the activation slopes. The coordinates can then all use the same symmetric range. Let u stand for the centered slope variable and let H denote the fixed product of the transposed first-layer weights and the diagonal matrix of output-weight differences.
s = (𝟙 + u)/2, with u ∈ [−1, 1]ᵐ
Here s is the slope vector previously in [0, 1]ᵐ, u is a new vector with m coordinates, and 𝟙 is the vector of m ones. Adding 𝟙 translates the interval, and division by 2 scales it back to the original slope interval. This is a change of variables and preserves the optimization value.
tᵀWᵀdiag(v)s = (1/2)tᵀH(𝟙 + u), with H = Wᵀdiag(v)
The matrix H maps relaxed hidden derivatives to input derivatives. The vector t, the centered variable u, and the all-ones vector have the roles just defined. Expanding the right-hand side gives a term linear in t and a term bilinear in t and u. Adding a constant coordinate to the packed vector allows both terms to be written using matrix products.
q = [1, tᵀ, uᵀ]ᵀ
The column q contains the constant 1, followed by the d coordinates of t and the m coordinates of u. Its dimension is D, where D is the sum of the input dimension d, the hidden dimension m, and the extra constant coordinate. The constant coordinate provides a partner for the linear term in t. The coordinates of u provide partners for the bilinear term.
M = ⎡ 0 (H𝟙)ᵀ 0 ⎤
⎢ H𝟙 0 H ⎥
⎣ 0 Hᵀ 0 ⎦
The blocks of the symmetric matrix M are ordered by the constant, t, and u coordinates of q. The zeros represent blocks of the sizes required by those coordinates. The vector H𝟙 pairs the constant with t. The off-diagonal blocks H and Hᵀ pair t with u. This arrangement follows from the bilinear expression immediately before the matrix construction. The paper’s printed block display places the constant interaction differently. Expanding the quadratic form against the declared coordinate order locates that interaction in the constant and t blocks.
(1/4) qᵀMq = (1/2)tᵀH(𝟙 + u)
On the left, qᵀMq is the quadratic form of M evaluated at the packed vector q. Each off-diagonal interaction appears twice because M is symmetric, so the factor 1/4 leaves the factor 1/2 on the right. The expression on the right is precisely the centered slope objective. The new notation prepares the actual relaxation by expressing all dependence on the free variables through pairwise products of entries of q.
P = qqᵀ
The matrix P in this identity is an outer product, whose entry in each row and column is the product of the associated entries of q. It is positive semidefinite, meaning that its quadratic form is non-negative in every direction. Its diagonal consists of squared coordinates. They are at most 1, and the coordinate fixed to 1 attains that value. The paper’s derivation contains a sentence giving equality for all diagonal entries of a box vector. The inequality in its actual semidefinite program is the condition that holds for the whole box.
The relaxation retains positive semidefiniteness and the diagonal limit while allowing P to range beyond outer products of the packed vectors. As a consequence, it can include combinations of pairwise products unavailable to a single vector q. Every matrix made from a feasible q is still permissible. The objective becomes a linear function of P, and the enlarged set of matrices is convex.
f_SDP(x) = f(x) + (ε/4) max_(P ⪰ 0, diag(P) ≤ 𝟙) ⟨M, P⟩
The function f_SDP is the upper bound from the semidefinite program, or SDP. The symbol P ⪰ 0 requires positive semidefiniteness. Here diag(P) extracts the diagonal of the matrix, and its inequality with the vector 𝟙 is component by component. The brackets ⟨M, P⟩ denote the sum of the entrywise products of the two matrices. The allowance ε appears with the same quadratic scaling factor as before. The original margin f(x) accounts for the clean image.
The earlier steps establish the direction of the result. An admissible change yields a margin no higher than the maximum over actual changes. The path bound limits that maximum through the largest input gradient in the box. Enlarging the slope set can raise the gradient estimate, and lifting the quadratic problem to the SDP can raise it again. Each increase makes certification potentially harder. Each preserves the conclusion when the final margin bound is strictly negative.
Checking all the labels and counting certified error
The SDP computation for a fixed pair depends on W and on the difference in output weights for that pair. The example enters through the clean margin once the optimization result is known. This structure lets the same SDP value support many examples, each of which starts with its own score difference. It also makes the sensitivity part of the calculation a natural candidate for a penalty on the weights.
f_SDPⁱʲ(x) = fⁱʲ(x) + (ε/4) max_(P ⪰ 0, diag(P) ≤ 𝟙) ⟨Mⁱʲ(V, W), P⟩
The superscripts i and j identify the pair being checked. The matrix Mⁱʲ(V, W) uses the construction above with the output difference Vᵢ − Vⱼ in place of the generic v. The quantity f_SDPⁱʲ(x) bounds the margin of i over j for every perturbed point in Bε(x). The constraint and matrix inner product have the same meanings as in the binary case.
max_(i ≠ y) f_SDPⁱʸ(x) < 0 ⇒ ℓ_A(x, y) = 0
The label y is the ground truth, and the maximum checks the upper margin bound of every competing i. The implication symbol ⇒ means that the condition on the left suffices for the conclusion on the right. The loss ℓ_A is zero for every attack A that stays in the box. A zero upper margin is counted conservatively by this strict test, since a tie can affect the prediction. To obtain a test error ceiling, the authors can count each example that fails the test as a possible error. The resulting total can include images that would in fact remain correctly classified everywhere in their boxes.
Learning with the bound
A classification loss can improve the clean side of these comparisons by placing the true label above incorrect labels. The authors add a penalty to bring down the maximum permitted change as well. The penalty sums the SDP values for the class pairs, with coefficients that determine how much training emphasizes each pair. The SDP value in this objective is the sensitivity term before multiplication by the perturbation allowance. The clean classification loss and the penalty contribute separately to the training objective.
min_(W, V) [Σₙ ℓ_cls(V, W; xₙ, yₙ) + Σ_(i ≠ j) λⁱʲ max_(P ⪰ 0, diag(P) ≤ 𝟙) ⟨Mⁱʲ(V, W), P⟩]
The indexed training example consists of input xₙ and correct label yₙ. The function ℓ_cls is the ordinary classification loss, and the first sum runs over training examples. The second sum collects penalties for class pairs i and j with regularization coefficients λⁱʲ. The notation min means that the weights W and V are chosen to reduce the total. This formulation exposes the learning goal, but differentiating it directly would involve optimizing the SDP as the weights change.
The authors therefore use the dual of the SDP. In optimization, a dual describes the value of a constrained problem using quantities associated with its constraints. Here the primal problem is a maximization, so a dual value gives an upper bound. At the dual minimum the two values agree. This provides a computational shortcut with an important property for verification at intermediate stages of learning.
tr(P) ≤ D
The trace tr(P) is the sum of the diagonal entries, and D is the dimension of the square matrix P. Positive semidefiniteness and the entrywise upper limit on the diagonal already imply this trace constraint. The appendix adds it explicitly, then leaves it in place while bringing the separate diagonal constraints into the objective with multipliers.
⟨M, P⟩ + cᵀ(𝟙 − diag(P))
The vector c contains non-negative multipliers, one per diagonal constraint. The first term is the primal objective, and the second term accounts for the difference between the allowed diagonal 𝟙 and the actual diagonal diag(P). For a feasible P, the second term is non-negative. Taking a maximum of this expression over positive semidefinite P with the trace limit gives an upper bound on the original maximum for each such c. The appendix uses minimax duality to establish equality when the best multipliers are chosen.
Collecting the terms involving P produces the shifted matrix M − diag(c). If its largest eigenvalue is positive, the inner maximum can concentrate the trace budget on the direction of a corresponding eigenvector. If the largest eigenvalue is nonpositive, the zero matrix P attains an inner contribution of zero. This explains why the dual expression needs just the positive part of the largest eigenvalue and a sum involving the multipliers.
Q(M, c) = D λmax⁺(M − diag(c)) + 𝟙ᵀmax(c, 0)
Here Q denotes the value of the dual expression at a particular c. The operation λmax⁺ takes the largest eigenvalue of its symmetric matrix argument and replaces a negative result with zero. The diagonal matrix diag(c) shifts M using the coordinates of c. The operation max(c, 0) keeps the positive part of each coordinate, and multiplication by 𝟙ᵀ sums those entries. The dimension D scales the spectral term by the trace allowance.
max_(P ⪰ 0, diag(P) ≤ 𝟙) ⟨M, P⟩ = min_(c ∈ ℝᴰ) Q(M, c)
The set ℝᴰ contains all real vectors of length D. The appendix first obtains the minimum over non-negative c, for which the sum of positive parts equals the sum of the entries. Allowing negative coordinates leaves the minimum unchanged. Replacing those coordinates by zero keeps the sum of positive parts fixed and subtracts a larger diagonal shift from M, which can only lower or preserve the largest eigenvalue. For an arbitrary c, the expression therefore still bounds the primal value from above.
min_(W, V, c) [Σₙ ℓ_cls(V, W; xₙ, yₙ) + Σ_(i ≠ j) λⁱʲ Q(Mⁱʲ(V, W), cⁱʲ)]
Here c in the minimization denotes the collection of auxiliary vectors, and cⁱʲ is the vector for the pair i, j. Each matrix Mⁱʲ changes with the corresponding network weights. Training updates W, V, and the auxiliary vectors jointly. The expensive operation is finding the leading eigenvalue and a corresponding eigenvector for the shifted matrix. The eigenvector supplies derivative information for the update, so the implementation uses an iterative eigensolver in the training loop.
fⁱʲ(A(x)) ≤ fⁱʲ(x) + (ε/4) Q(Mⁱʲ(V, W), cⁱʲ)
The left side is the actual margin after an admissible attack A. The right side combines the clean margin of the same pair with the scaled dual value for the current weights and auxiliary vector. The relation holds at intermediate training states as well as after training. Optimizing cⁱʲ can make the bound tighter, and validity follows already from its status as an upper bound on the primal maximum. This gives the authors a way to monitor certification during learning without a full solve every time they wish to assess the current classifier.
How the alternative bounds work
The paper compares the SDP with two simpler estimates. The spectral bound follows the input change through successive stages. A box displacement has a bounded Euclidean length. The first linear transformation can amplify that length by at most its largest singular value. The bounded slopes make the activation contractive, meaning that it can preserve or reduce the Euclidean distance between hidden preactivation vectors. An inner product with the output-weight difference then bounds the change in the final score margin.
f_Speⁱʲ(x) = fⁱʲ(x) + ε√d ‖W‖₂ ‖Vᵢ − Vⱼ‖₂
The term f_Speⁱʲ(x) denotes the spectral upper bound on the attacked margin of i over j. The factor √d comes from converting the coordinate budget ε to a Euclidean displacement bound in d input dimensions. For the matrix W, the norm ‖W‖₂ is its largest singular value. For the vector Vᵢ − Vⱼ, the subscript 2 means Euclidean length. The inequality behind this bound allows every stage to realize its largest permitted amplification.
f_Froⁱʲ(x) = fⁱʲ(x) + ε√d ‖W‖F ‖Vᵢ − Vⱼ‖₂
The term f_Froⁱʲ(x) is the Frobenius upper bound. The Frobenius norm ‖W‖F is the square root of the sum of the squares of the entries of W and is at least as large as the spectral norm. The other terms retain their meaning from the spectral expression. Replacing the first-layer norm with this larger quantity preserves the upper-bound property. These two estimates allow the experiments to compare the price of ignoring more of the structure of the class-specific gradient.
Experiments and results
A shared architecture and different objectives
MNIST is the sole dataset in the paper’s main experiments. The inputs are images of handwritten digits, and the task has ten possible labels. The bounds are evaluated over the 10,000 test examples. The main networks share one hidden layer of 500 units. The authors tried wider versions and report little improvement in accuracy. Using the same architecture for the main comparisons keeps changes in width or depth from explaining the differences among their training objectives.
The authors train in TensorFlow and use its implementation of an optimizer for stochastic updates. They consider multiclass hinge loss, which penalizes inadequate score margins, and cross-entropy, which penalizes low probability on the correct label. Their criterion for selecting hyper-parameters, including the classification loss, is the error measured under the Projected Gradient Descent attack at ε = 0.1. The optimizer is Adam.
Ordinary training provides the reference classifier, NT-NN. It uses cross-entropy without an explicit regularization term. The Frobenius-regularized network, Fro-NN, uses hinge loss and a penalty involving the Frobenius norm of the first-layer weights and the Euclidean norm of the output-weight difference. The coefficient on that penalty is 0.08. Spe-NN uses hinge loss with a penalty of the same form built from the spectral norm of the first-layer weights. Its coefficient is 0.09.
The attack-trained classifier, AT-NN, uses cross-entropy and a PGD adversarial-loss penalty with coefficient 0.5. The authors found the combined loss more effective in their setup than a loss consisting entirely of the adversarial term. The training budget for AT-NN is ε = 0.3. This is a setting of the training procedure, distinct from the ε = 0.1 evaluation used for the primary comparison with the certificate-trained network.
The certificate-trained network, SDP-NN, uses hinge loss and the dual objective. The learning rate starts at 10⁻³ and falls to 10⁻⁵ in steps, with each 30-epoch interval ending in a tenfold reduction. A custom operator computes the leading eigenvector using the Lanczos implementation in SciPy. The paper describes occasions when a small gap between leading eigenvalues makes Lanczos fail to converge, at which point the implementation uses a full singular-value decomposition.
A full update over the label pairs would require computing leading eigenvectors for 45 matrices. The authors reduce this work by randomly selecting a label per update and using the pairs involving that label, for 9 leading-eigenvector calculations per step. They also update the weights in the regularizer using observations from training. The rationale for these weights is tested separately in the paper.
What the reported errors measure
Clean test error is the fraction of test images misclassified at their original pixel values. Attack test error is calculated after the evaluated search is allowed to perturb the examples. That second measure is a lower bound on the test error that an optimal adversary could achieve. Any failure obtained by the evaluated search is feasible under its perturbation budget. The true worst case could include additional failures the search missed.
For this comparison, the authors evaluate Projected Gradient Descent, abbreviated PGD, against cross-entropy. The search is iterative and stays within the permitted input region. The paper reports 5 random restarts for the evaluation. The authors use cross-entropy as the attack objective for the hinge-trained networks too, because they observed that PGD against hinge loss was less effective. The training loss and the loss used by the evaluation are thus choices made for different purposes.
The certified error is calculated from the opposite direction. On an image where every competing margin is bounded strictly below zero, a permitted perturbation leaves the classification correct. Images failing this test contribute to the upper error estimate. The certificate can give the same failure count to an image with a genuine vulnerability and to an image whose margin is insufficiently bounded. Exact worst-case test error remains between the attack evidence and the certificate evidence.
For networks trained without the SDP penalty, the authors solve the semidefinite programs after fitting the classifier. They use YALMIP and a SeDuMi backend, working with the dual formulation. They report approximately 10 minutes for each SDP and around 8 hours to analyze a network. The dependence on fixed weights and class pairs is important here. The reported cost covers computations that can be shared across test images. The dual variables learned by SDP-NN offer another route to a bound using quantities already maintained during training.
The result at the selected perturbation budget
SDP-NN has a clean MNIST test error of 4.2%. At ε = 0.1, its PGD test error is 16% and its certified upper test error is 35%. Those are three distinct statements about the same classifier. The first concerns the original data. The second concerns errors attained by a search within the allowed boxes. The third bounds the total test error even if an adversary can find the worst permitted change for every example.
The same shallow architecture trained with the PGD penalty, AT-NN, records a PGD test error of 11% at ε = 0.1. The attack-trained network therefore has the lower error against that particular evaluation. SDP-NN’s accompanying ceiling is the reason its result supplies a formal statement about all permitted attacks. The experiment lets a reader compare empirical error at the shared budget while keeping that additional evidence in view.
MNIST test error under PGD at ε = 0.1
PGD training gives lower error against the evaluated search.
The numbers
| System or setting | test error % |
|---|---|
| AT-NN | 11 |
| SDP-NN (this paper) | 16 |
The authors also plot SDP-NN’s responses to the Carlini–Wagner attack and the Fast Gradient Sign Method alongside PGD. They report substantial resistance to all 3 evaluated attacks. The training penalty was defined through a bound across the whole input box, so it did not require examples generated by any of those attack procedures. The separate choice to tune against PGD matters when interpreting how independently the evaluation tests the development process. The mathematical bound applies regardless of the procedure used to choose a permitted perturbation.
The SDP upper bounds are tighter than the spectral and Frobenius ones for every network in the main comparison. Tightness relative to PGD varies considerably across networks. Fro-NN has an SDP estimate comparatively close to the attack result, but the attack error itself is high. AT-NN has a favorable PGD result and an SDP upper estimate far above it. SDP-NN is the case in this comparison where the upper estimate is both reasonably close to the attack evidence and low enough to supply a substantive error ceiling.
The authors report another comparison that gives this observation practical meaning. PGD already achieves higher test error on the spectral- and Frobenius-regularized classifiers than the SDP upper bound allows on SDP-NN. In that setting the difference goes beyond a contest between verification formulas. A feasible attack exhibits worse behavior on those classifiers than the certified classifier can exhibit under any allowable perturbation at the corresponding budget.
The linear-programming comparison
The paper compares SDP-NN with LP-NN, a network supplied by Kolter and Wong and trained with their linear-programming bound. The architecture matches that of SDP-NN. At ε = 0.1, the LP certificate for LP-NN gives a maximum error of 26% on the MNIST test examples. The paper characterizes the two networks as comparable against PGD and in the strength of the guarantees they obtain from their respective verification procedures.
Certified MNIST test error at ε = 0.1
Linear-programming training obtains the lower ceiling for the shared architecture.
The numbers
| System or setting | certified upper test error % |
|---|---|
| SDP-NN (this paper) | 35 |
| LP-NN | 26 |
The relationship changes when the bounds are applied to networks without the training objective that reduces them. The authors report vacuous cross-application results in spite of empirical attack resistance. A vacuous error bound leaves open the possibility of error on the entire tested set. The low error a bound can certify for one network can therefore coexist with a poor guarantee on another network of the same architecture. The paper treats the two relaxations as complementary. It also reports that the LP approach reaches deeper architectures, including a four-layer convolutional classifier with a certified adversarial error upper bound of 5.7%.
How to read the comparisons with earlier networks
The paper discusses a four-layer convolutional network from the PGD-training literature. Its reported MNIST error is 11% at ε = 0.3 for the worst of the evaluated attack strategies. This is an empirical figure from a different architecture and budget. Its value in the discussion is to show the attack resistance available with a larger network. The earlier study’s results, as described here, leave its exact worst-case error open.
The authors also give the results of formal verification on a 72-node variant of that earlier network. The earlier investigators supplied results for 10 input examples, with 6 out of 10 misclassified at ε = 0.05. The set includes 4 out of 10 already misclassified on clean inputs. The paper reports that 3 of those 4 can also be moved to a different wrong class with some ε < 0.07. The details show the granularity exact verification can supply. They also show how strongly the interpretation of such a small evaluation can depend on the original predictions of the selected inputs.
The shared-architecture AT-NN comparison gives the authors a more direct way to discuss why SDP-NN has higher evaluated attack error than the larger convolutional classifier. The attack-trained shallow network also has a limited architecture. Its relatively close performance to SDP-NN under the common PGD test suggests to the authors that depth may explain much of the comparison with the larger network. The experiments establish a comparison of training approaches at a fixed shallow architecture. A direct measurement of the contribution of depth to SDP training remains open.
What the ablations show
Training objectives change the conclusions available to the verifier
The five main training objectives give a controlled comparison of the resulting classifiers at a common hidden width. The experiment also runs several verifiers on each trained classifier. This gives two distinct comparisons. Holding the weights fixed and switching the verifier shows what the change in analysis does. Holding the verifier fixed and switching the training objective shows how learning changes the conditions that the verifier has to bound.
On the first comparison, the SDP gives the lowest upper error bound among the methods tested on each of the networks. This is consistent with the intended benefit of working with the joint weight expression for a pair of classes. The norm bounds summarize separate parts of that expression and allow their largest effects to align. The SDP’s tighter bound on the same trained classifier is evidence about the quality of the estimate. The classifier’s actual worst case is unaffected by which calculation is applied afterwards.
On the second comparison, an important outcome is that networks with low attack error can still be difficult to certify. AT-NN is the clearest example here. Its poor SDP ceiling leaves considerable room between the damage the attack attains and the damage the bound permits. With Fro-NN, a closer estimate describes a classifier with high attack error. These observations suggest two ways an evaluation could fall short of the desired outcome. A classifier can be vulnerable even when that vulnerability is relatively well bounded, or it can have promising attack results and an uninformative formal guarantee.
SDP-NN’s objective supplies a way to reduce the certificate’s uncertainty during learning. Its results support training for the evaluation property that matters, which here is a small worst-case score bound together with correct ordinary classification. The experiments compare complete training objectives selected using PGD error. Because loss functions and regularization choices can differ between baselines, this comparison gives evidence about the complete recipes. Individual mathematical components of the SDP proof are not each assigned a measured contribution by this experiment.
Weighting the class pairs improves both measures
Certification fails if any rival has an upper margin at or above the cutoff. The authors noticed that some pairs of labels appeared far more frequently in the comparison that controlled this test. A penalty of equal strength for every pair treats a frequent source of failed certificates the same as an infrequent one. The weighted alternative uses the training examples to estimate how often each pair becomes decisive.
In the uniform scheme, all pair coefficients share a value, tuned to 0.05. In the weighted scheme, the coefficient for a pair scales with the fraction of training examples on which the relevant labels arise in the maximizing comparison. These weights are refreshed every 20 epochs. A pair can therefore become more or less important as the classifier changes. The certificate still checks every rival for each image, since the weights affect the training penalty and the guarantee itself is based on the strict margin test.
The weighted version gives a lower PGD error and a lower SDP upper error than the uniform version. The movement in both measures is informative. The decrease in certified error means the resulting classifier satisfies the margin test on more examples. The decrease in PGD error means the evaluated search also has less success. The comparison supports the authors’ decision to emphasize pairs that commonly determine the maximum, while leaving the gains from alternative weighting schemes unexplored.
Checking the dual shortcut against a full solve
The paper compares the certificate available from the auxiliary variables during training with the certificate obtained through fully optimizing the SDP. They are reported to be very close. For the experiments shown, this means the dual variables learned alongside the network provide nearly the same error ceiling as the more expensive procedure. The authors use that inexpensive signal to follow training across epochs and tune hyper-parameters.
This comparison addresses how well the training procedure solves the relaxed problem. The equality between the primal SDP and the minimum dual value describes what is possible when the dual variables are optimized. The experiment asks how much of that potential the actual learning process achieves. The much larger question of how tightly the SDP approximates the underlying nonlinear adversarial search depends on earlier steps in the proof. Closeness to the full SDP solve leaves that approximation question open.
The paper reports additional practical checks. Changing the loss targeted by PGD exposed a weakness in using hinge loss for the attack evaluation. Trying wider networks yielded little improvement in accuracy. Sampling class pairs reduced the number of eigenvector computations required for each update. These observations explain the procedure the authors chose. The direct comparisons reported for pair weighting and full versus training-time certificate computation provide the clearest evidence about the design choices within SDP-NN itself.
Limitations
Limits the authors identify
The certificate and training scheme are derived for one hidden layer. The gradient there has one vector of activation slopes between the first-layer weights and the output-weight difference. This is the structure that leads to the bilinear optimization and the semidefinite program. Deeper networks have further weight transformations interleaved with further activation derivatives. An extension would have to handle their interaction. The paper presents deeper SDP certification as work in progress and discusses an alternative linear-programming approach that already covers greater depth.
The paper is also explicit about the perturbation specification. The ℓ∞ radius is a coordinate-wise measure, adopted as a practical proxy because perceptual similarity is difficult to formalize. Every guaranteed statement inherits that choice. A change outside the box lies outside the guarantee even if a person regards it as slight. A change inside the box is included even if its appearance is noticeable. The mathematical claim therefore has a precise numerical scope, with perceptual relevance left to the choice of specification.
Another acknowledged limit is the quality of the bound on classifiers trained by other means. The SDP can improve substantially on simpler norm bounds while still leaving a wide gap to the PGD result. The authors find a similar dependence on training in the comparison with linear programming. The two relaxations have different advantages and neither has a general dominance guarantee. The discussion suggests combining them as a future direction, with the experiments establishing the behavior of the separate approaches.
Exact worst-case evaluation remains computationally difficult for the principal networks. That is why the paper reports an interval of evidence instead of solving the original problem for every example. At ε = 0.1, the observed PGD error of 16% and the upper bound of 35% refer to the same test split and classifier. The study leaves open how much of the interval is due to conservatism in the certificate and how much could be closed by a stronger search.
Verification cost matters even after the relaxations. The post-training SDP solves take substantial time in the reported setup. The training procedure reduces the expense through the dual, iterative eigenvector computations, and sampling of class pairs. Some eigenvector computations still require the more expensive fallback. The cost is therefore a function of both the formulation and the numerical behavior of the matrices encountered during learning.
Limits visible in the proof and the tests
The method loses information at identifiable steps. The first important loss comes from letting each hidden slope range independently. A hidden unit can have a known derivative range while sharing strong constraints with other units through the same input. A combination that is legal in the enlarged slope box can be impossible in the image’s actual neighborhood. The second loss comes from representing pairwise products with a positive semidefinite matrix whose entries need no longer arise from one packed vector. Both enlargements are justified for an upper bound. Their price is that a certificate can be influenced by configurations that an actual adversary cannot produce.
The shared computation across inputs illustrates the same tradeoff. Its value depends on the weight matrices for the pair of labels and works with the clean margin for each image. Two examples can have the same clean margin yet have different locally reachable activation patterns. The shared sensitivity estimate treats them alike for that pair. Reusing one solve across examples is economical, and sharper image-specific information could in principle certify some points whose shared bound reaches the cutoff.
The proof and the numerical computation have different roles. The dual expression gives an upper bound when evaluated with the actual positive part of the largest eigenvalue. If a numerical implementation uses an approximation of that eigenvalue, the direction and size of its error matter to the certificate. A leading eigenvector estimate can be useful for a training update while tight numerical certification calls for appropriate control of the eigenvalue calculation. The paper describes convergence difficulties and a fallback. It leaves a full account of numerical tolerances for individual certificate decisions outside the reported analysis.
The test-set scope also matters. The 35% ceiling applies to the examples evaluated in MNIST under the given budget. A new image can be checked by the per-example certificate when its appropriate label is known. Translating the aggregate test ceiling into a claim about a future population would require evidence about how those future inputs relate to the test set. Broader changes in the input distribution are outside this experiment.
There is also a distinction between training without attack-generated examples and developing a classifier without consulting attack performance. The SDP penalty can be evaluated from the weights and the dual variables. PGD error at ε = 0.1 nonetheless influences hyper-parameter selection. The proof supporting a particular trained classifier remains valid under its assumptions. Claims about how the development procedure would fare under different selection criteria remain empirical.
Finally, the guarantee concerns test-time input changes against fixed scoring functions and known labels. A clean error already contributes to possible adversarial error because the allowed set includes the original input. The analysis thus measures the ability to stay correct under perturbation. Other problems identified by the authors, such as changes to the training data through poisoning, involve a different adversary and require a different property to verify.
What came after
Certificates for substitutions
The closest continuity in the later citation trail is a change in what an adversary is allowed to alter. In the digit paper, eligible inputs are defined by intervals around pixel values. A later paper makes adversarial word substitution the object of certification. The shared question is whether the conclusion covers a specified family of inputs. The later title identifies word substitutions as that family, giving the word-level counterpart to the earlier numerical specification. The citation establishes the connection between the papers, while the particular technical route from words to a certificate remains unspecified in that connection. Certified Robustness to Adversarial Word Substitutions
A second paper in the substitution setting names its verification mechanism. It studies certified behavior under symbol replacements through interval bound propagation. That identifies a different approach to forming the bound from the earlier construction, which lifts a quadratic optimization into a semidefinite program. The continuity is in the verification goal and in defining which replacements a guarantee covers. The earlier digit study helps frame the comparison by showing why a verifier’s value depends on the set of changes it bounds and the classifier to which it is applied. Achieving Verified Robustness to Symbol Substitutions via Interval Bound Propagation
Robustness in evaluation
The later work on natural distribution shifts keeps image classification in view and changes the question being measured. In the digit paper, the test image serves as the center of a region chosen by a mathematical radius. Naturally shifted image data raise a question about behavior under changed test conditions. The two questions can coexist for the same application. A bound over selected boxes establishes a property for those boxes, and measurements on shifted data address the behavior elicited by that shift. The later citation relates these different scopes of robustness evaluation. Measuring Robustness to Natural Distribution Shifts in Image Classification
The critique of NLP leaderboards approaches evaluation from the user’s point of view. It shares a concern with what a reported score can establish. In the digit experiments a measured attack error and a certified ceiling answer distinct questions even when they concern the same examples. A user-centered critique of leaderboards extends the broader inquiry about how a number used for comparison relates to the judgment a reader or user needs to make. The citation connects the papers at the level of evaluation, with the later work’s stated subject being utility for the user. Utility is in the Eye of the User: A Critique of NLP Leaderboards
The later study of adversarial training in language systems takes training itself as the subject and names robustness and generalizability as outcomes. That pairing echoes a design issue made visible by the MNIST comparison. Changing the training objective can change both the errors an evaluation elicits and the claims one can support about behavior outside the original inputs. The language study’s title specifies the questions it investigates. Its citation alone supplies no particular numerical outcome or evidence of reuse of the earlier SDP penalty. Impact of Adversarial Training on Robustness and Generalizability
Safety and adaptive evaluation
A later research agenda on unsolved problems in safety places this work alongside concerns broader than digit recognition. The original certificate illustrates how one safety-relevant claim can be made precise. It specifies a failure, fixes what the adversary can change, and bounds the frequency of that failure on the evaluated examples. The later agenda’s title establishes a broader scope, with the citation connecting this example of bounded adversarial verification to open safety problems. Unsolved Problems in ML Safety
The study of adaptive jailbreak attacks concerns a different kind of system and failure. Adaptivity connects it to the original paper’s concern about evaluating a defense with a fixed set of challenges. An evaluation can uncover failures when its search changes in response to the defense. A universal claim calls for a precise account of the possible inputs and outcomes it covers, which for the digit paper consists of coordinate-bounded changes and incorrect class predictions. The later citation carries the question of how to test defenses into a different setting, with different behavior to specify. Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks
Cite
Cite as Aditi Raghunathan, Jacob Steinhardt and Percy Liang. 2018. Certified Defenses against Adversarial Examples. arXiv (Cornell University).
@misc{raghunathan2018certified,
title = {{Certified Defenses against Adversarial Examples}},
author = {Aditi Raghunathan, Jacob Steinhardt and Percy Liang},
year = {2018},
doi = {10.48550/arxiv.1801.09344},
eprint = {1801.09344},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1801.09344}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/raghunathan-2018-certified-defenses-against-adversarial-examples/
References
- M. Barreno, B. Nelson, A. D. Joseph, and J. D. Tygar. The security of machine learning. Machine Learning, 810 (2):0 121–148, 2010. OpenAlex ↗ · Scholar ↗
- T. Başar and P. Bernhard. H-infinity optimal control and related minimax design problems: a dynamic game approach. Springer Science & Business Media, 2008. OpenAlex ↗ · Scholar ↗
- O. Bastani, Y. Ioannou, L. Lampropoulos, D. Vytiniotis, A. Nori, and A. Criminisi. Measuring neural net robustness with constraints. In Advances in Neural Information Processing Systems (NIPS), pp. 2613–2621, 2016. OpenAlex ↗ · Scholar ↗
- D. Bertsimas, D. B. Brown, and C. Caramanis. Theory and applications of robust optimization. SIAM review, 530 (3):0 464–501, 2011. OpenAlex ↗ · Scholar ↗
- B. Biggio, G. Fumera, and F. Roli. Security evaluation of pattern classifiers under attack. IEEE Transactions on Knowledge and Data Engineering, 260 (4):0 984–996, 2014a. OpenAlex ↗ · Scholar ↗
- B. Biggio, K. Rieck, D. Ariu, C. Wressnegger, I. Corona, G. Giacinto, and F. Roli. Poisoning behavioral malware clustering. In Workshop on Artificial Intelligence and Security (AISec), 2014b. OpenAlex ↗ · Scholar ↗
- N. Carlini and D. Wagner. Defensive distillation is not robust to adversarial examples. arXiv, 2016. OpenAlex ↗ · Scholar ↗
- N. Carlini and D. Wagner. Adversarial examples are not easily detected: Bypassing ten detection methods. arXiv, 2017a. OpenAlex ↗ · Scholar ↗
- N. Carlini and D. Wagner. Towards evaluating the robustness of neural networks. In IEEE Symposium on Security and Privacy, pp. 39–57, 2017b. our card
- N. Carlini, P. Mishra, T. Vaidya, Y. Zhang, M. Sherr, C. Shields, D. Wagner, and W. Zhou. Hidden voice commands. In USENIX Security, 2016. OpenAlex ↗ · Scholar ↗
- N. Carlini, G. Katz, C. Barrett, and D. L. Dill. Ground-truth adversarial examples. arXiv, 2017. OpenAlex ↗ · Scholar ↗
- P. Chen, Y. Sharma, H. Zhang, J. Yi, and C. Hsieh. EAD: Elastic-net attacks to deep neural networks via adversarial examples. arXiv, 2017. OpenAlex ↗ · Scholar ↗
- M. Cisse, P. Bojanowski, E. Grave, Y. Dauphin, and N. Usunier. Parseval networks: Improving robustness to adversarial examples. In International Conference on Machine Learning (ICML), pp. 854–863, 2017. OpenAlex ↗ · Scholar ↗
- I. Evtimov, K. Eykholt, E. Fernandes, T. Kohno, B. Li, A. Prakash, A. Rahmati, and D. Song. Robust physical-world attacks on machine learning models. arXiv, 2017. OpenAlex ↗ · Scholar ↗
- J. Gardiner and S. Nagaraja. On the security of machine learning in malware c&c detection: A survey. ACM Computing Surveys (CSUR), 490 (3), 2016. OpenAlex ↗ · Scholar ↗
- M. Goemans and D. Williamson. Improved approximation algorithms for maximum cut and satisfiability problems using semidefinite programming. Journal of the ACM (JACM), 420 (6):0 1115–1145, 1995. OpenAlex ↗ · Scholar ↗
- I. Goodfellow, N. Papernot, and P. McDaniel. cleverhans v2.0.0: an adversarial machine learning library. arXiv, 2016. OpenAlex ↗ · Scholar ↗
- I. J. Goodfellow, J. Shlens, and C. Szegedy. Explaining and harnessing adversarial examples. In International Conference on Learning Representations (ICLR), 2015. our card
- K. He, X. Zhang, S. Ren, and J. Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. arXiv preprint arXiv:1502.01852, 2015. OpenAlex ↗ · Scholar ↗
- M. Hein and M. Andriushchenko. Formal guarantees on the robustness of a classifier against adversarial manipulation. arXiv preprint arXiv:1705.08475, 2017. OpenAlex ↗ · Scholar ↗
- X. Huang, M. Kwiatkowska, S. Wang, and M. Wu. Safety verification of deep neural networks. In Computer Aided Verification (CAV), pp. 3–29, 2017. OpenAlex ↗ · Scholar ↗
- G. Katz, C. Barrett, D. Dill, K. Julian, and M. Kochenderfer. Reluplex: An efficient SMT solver for verifying deep neural networks. arXiv preprint arXiv:1702.01135, 2017a. OpenAlex ↗ · Scholar ↗
- G. Katz, C. Barrett, D. L. Dill, K. Julian, and M. J. Kochenderfer. Towards proving the adversarial robustness of deep neural networks. arXiv, 2017b. OpenAlex ↗ · Scholar ↗
- D. Kingma and J. Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. our card
- J. Z. Kolter and E. Wong. Provable defenses against adversarial examples via the convex outer adversarial polytope. arXiv preprint arXiv:1711.00851, 2017. OpenAlex ↗ · Scholar ↗
- A. Kurakin, I. Goodfellow, and S. Bengio. Adversarial examples in the physical world. arXiv, 2016. OpenAlex ↗ · Scholar ↗
- P. Laskov and N. Šrndic̀. Practical evasion of a learning-based classifier: A case study. In Symposium on Security and Privacy, 2014. OpenAlex ↗ · Scholar ↗
- J. Löfberg. YALMIP: A toolbox for modeling and optimization in MATLAB. In CACSD, 2004. OpenAlex ↗ · Scholar ↗
- A. M. Lyapunov. The general problem of the stability of motion (in Russian). PhD thesis, Kharkov Mathematical Society, 1892. OpenAlex ↗ · Scholar ↗
- A. M. Lyapunov. The general problem of the stability of motion. International Journal of Control, 550 (3):0 531–534, 1992. OpenAlex ↗ · Scholar ↗
- J. Lygeros, C. Tomlin, and S. Sastry. Controllers for reachability specifications for hybrid systems. Automatica, 350 (3):0 349–370, 1999. OpenAlex ↗ · Scholar ↗
- A. Madry, A. Makelov, L. Schmidt, D. Tsipras, and A. Vladu. Towards deep learning models resistant to adversarial attacks. arXiv, 2017. our card
- I. M. Mitchell, A. M. Bayen, and C. J. Tomlin. A time-dependent Hamilton-Jacobi formulation of reachable sets for continuous dynamic games. IEEE Transactions on Automatic Control, 500 (7):0 947–957, 2005. OpenAlex ↗ · Scholar ↗
- T. Miyato, S. Maeda, M. Koyama, K. Nakae, and S. Ishii. Distributional smoothing with virtual adversarial training. arXiv, 2015. OpenAlex ↗ · Scholar ↗
- A. Nayebi and S. Ganguli. Biologically inspired protection of deep networks from adversarial attacks. arXiv preprint arXiv:1703.09202, 2017. OpenAlex ↗ · Scholar ↗
- J. Newsome, B. Karp, and D. Song. Paragraph: Thwarting signature learning by training maliciously. In International Workshop on Recent Advances in Intrusion Detection, 2006. OpenAlex ↗ · Scholar ↗
- M. O'Kelly, H. Abbas, S. Gao, S. Shiraishi, S. Kato, and R. Mangharam. APEX: Autonomous vehicle plan verification and execution. Technical report, University of Pennsylvania, 2016. OpenAlex ↗ · Scholar ↗
- M. O'Kelly, H. Abbas, and R. Mangharam. Computer-aided design for safe autonomous vehicles. Technical report, University of Pennsylvania, 2017. OpenAlex ↗ · Scholar ↗
- A. Papachristodoulou and S. Prajna. On the construction of lyapunov functions using the sum of squares decomposition. In IEEE Conference on Decision and Control, 2002. OpenAlex ↗ · Scholar ↗
- A. Papachristodoulou and S. Prajna. Analysis of non-polynomial systems using the sum of squares decomposition. Positive polynomials in control, 2005. OpenAlex ↗ · Scholar ↗
- N. Papernot, P. McDaniel, S. Jha, M. Fredrikson, Z. B. Celik, and A. Swami. The limitations of deep learning in adversarial settings. In Security and Privacy (EuroS&P), 2016 IEEE European Symposium on, pp. 372–387, 2016a. OpenAlex ↗ · Scholar ↗
- N. Papernot, P. McDaniel, A. Sinha, and M. Wellman. Towards the science of security and privacy in machine learning. arXiv, 2016b. OpenAlex ↗ · Scholar ↗
- N. Papernot, P. McDaniel, X. Wu, S. Jha, and A. Swami. Distillation as a defense to adversarial perturbations against deep neural networks. In IEEE Symposium on Security and Privacy, pp. 582–597, 2016c. OpenAlex ↗ · Scholar ↗
- P. A. Parrilo. Semidefinite programming relaxations for semialgebraic problems. Mathematical programming, 960 (2):0 293–320, 2003. OpenAlex ↗ · Scholar ↗
- H. G. Rice. Classes of recursively enumerable sets and their decision problems. Transactions of the American Mathematical Society, 740 (2):0 358–366, 1953. OpenAlex ↗ · Scholar ↗
- M. Sharif, S. Bhagavatula, L. Bauer, and M. K. Reiter. Accessorize to a crime: Real and stealthy attacks on state-of-the-art face recognition. In ACM SIGSAC Conference on Computer and Communications Security, pp. 1528–1540, 2016. OpenAlex ↗ · Scholar ↗
- D. Silver, A. Huang, C. J. Maddison, A. Guez, L. Sifre, G. V. D. Driessche, J. Schrittwieser, I. Antonoglou, V. Panneershelvam, M. Lanctot, et al. Mastering the game of go with deep neural networks and tree search. Nature, 5290 (7587):0 484–489, 2016. OpenAlex ↗ · Scholar ↗
- A. Sivaraman, K. Winstein, P. Thaker, and H. Balakrishnan. An experimental study of the learnability of congestion control. In SIGCOMM, 2014. OpenAlex ↗ · Scholar ↗
- J. Steinhardt, P. W. Koh, and P. Liang. Certified defenses for data poisoning attacks. In Advances in Neural Information Processing Systems (NIPS), 2017. OpenAlex ↗ · Scholar ↗
- J. F. Sturm. Using SeDuMi 1.02, a MATLAB toolbox for optimization over symmetric cones. Optimization Methods and Software, 11:0 625–653, 1999. OpenAlex ↗ · Scholar ↗
- C. Szegedy, W. Zaremba, I. Sutskever, J. Bruna, D. Erhan, I. Goodfellow, and R. Fergus. Intriguing properties of neural networks. In International Conference on Learning Representations (ICLR), 2014. our card
- R. Tedrake, I. R. Manchester, M. M. Tobenkin, and J. W. Roberts. LQR-trees: Feedback motion planning via sums of squares verification. International Journal of Robotics Research, 29:0 1038–1052, 2010. OpenAlex ↗ · Scholar ↗
- M. M. Tobenkin, I. R. Manchester, and R. Tedrake. Invariant funnels around trajectories using sum-of-squares programming. IFAC Proceedings Volumes, 44, 2011. OpenAlex ↗ · Scholar ↗
- F. Tramèr, A. Kurakin, N. Papernot, D. Boneh, and P. McDaniel. Ensemble adversarial training: Attacks and defenses. arXiv preprint arXiv:1705.07204, 2017. OpenAlex ↗ · Scholar ↗
- K. Winstein and H. Balakrishnan. TCP ex machina: Computer-generated congestion control. In SIGCOMM, 2013. OpenAlex ↗ · Scholar ↗
- W. Xiong, J. Droppo, X. Huang, F. Seide, M. Seltzer, A. Stolcke, D. Yu, and G. Zweig. Achieving human parity in conversational speech recognition. arXiv, 2016. OpenAlex ↗ · Scholar ↗