---
title: "Certified Defenses against Adversarial Examples (2018)"
description: "How semidefinite certificates bound adversarial error, guide robust training, and establish guarantees for shallow neural networks."
canonical: "https://research.elamur.ai/free/en/papers/raghunathan-2018-certified-defenses-against-adversarial-examples/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/raghunathan-2018-certified-defenses-against-adversarial-examples/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2018](https://md.research.elamur.ai/free/en/papers/2018/) / Certified Defenses against Adversarial Examples

# Certified Defenses against Adversarial Examples

Paper · 2018 · Aditi Raghunathan, Jacob Steinhardt and Percy Liang

**Authors:** [Aditi Raghunathan](https://md.research.elamur.ai/free/en/authors/aditi-raghunathan/), [Jacob Steinhardt](https://md.research.elamur.ai/free/en/authors/jacob-steinhardt/) and [Percy Liang](https://md.research.elamur.ai/free/en/authors/percy-liang/) · **Year:** 2018 · **Venue:** arXiv (Cornell University) · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**520** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2786163515) · [arXiv (Cornell University)](https://openalex.org/S4306400194) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/1801.09344)
- [arXiv 1801.09344](https://arxiv.org/abs/1801.09344)
- [OpenAlex](https://openalex.org/W2786163515)

Citations: OpenAlex, 2026-10-14.

## Deep dive: Certified Defenses against Adversarial Examples

How semidefinite certificates bound adversarial error, guide robust training, and establish guarantees for shallow neural networks. · about 41 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

A classifier can recognize an image correctly and still change its answer when an attacker alters the pixels slightly. Testing a defense against familiar attacks does not settle whether it is robust: another search procedure might find a damaging change that the tests missed. *Certified Defenses against Adversarial Examples* addresses this gap between surviving an attack and having a guarantee. It develops a computable upper bound on the damage an attacker can cause, then uses that bound during training. The objective is to produce a classifier whose resistance to specified perturbations can be established mathematically.

The paper studies networks with a single hidden layer and an attacker allowed to change every input coordinate by a bounded amount. For images, that means each pixel can move independently within the permitted range. The central construction uses a semidefinite relaxation: a difficult optimization problem is replaced by a convex problem whose answer safely overestimates the attacker’s possibilities. This estimate becomes a certificate. When the certificate establishes that the correct class stays ahead of every competing class, the input is protected against every attack satisfying the coordinate constraint, including attacks that were never run during evaluation.

The certificate also supplies a training signal. Ordinary adversarial training searches for harmful inputs and learns from whatever that search discovers. Its success therefore depends partly on the search procedure. Here, the authors instead penalize an upper bound on vulnerability. They make this practical through a dual formulation that replaces repeated semidefinite optimization during training with calculations involving a matrix’s largest eigenvalue. The network parameters and the variables supporting the certificate are optimized together. This makes verification part of learning instead of a separate examination applied only after training.

On MNIST, the resulting network has a clean test error of 4.2%. With each pixel allowed to change by at most ε = 0.1, its error under the evaluated Projected Gradient Descent attack is 16%, while its certificate limits the error of any permitted attack to 35%. These quantities describe different evidence: the attack demonstrates achievable damage, whereas the certificate constrains damage that any attack could achieve. The paper does not determine the exact worst-case error. Its main finding is that training against a certificate can produce a network that is both empirically resistant and meaningfully certifiable, even when the same certificate is too loose to establish much about networks trained by other methods.

### Ideas worth borrowing

Train for verifiability. A system that performs well can still be difficult to analyze. The paper treats this difficulty as something learning can influence: the objective rewards parameter settings for which the robustness bound becomes useful. This idea applies whenever a verification procedure is conservative. Instead of assuming that verification must succeed on an arbitrary finished system, design learning so that the resulting system has properties the verifier can recognize. The certificate then shapes the solution rather than merely judging it afterwards.

Keep upper and lower evidence separate. A successful attack proves that a failure is possible; an unsuccessful attack leaves that question open. A valid upper bound answers a different question by restricting what remains possible. Reporting both exposes uncertainty that a single attack score conceals. This distinction is useful beyond adversarial images, especially in [machine learning](https://md.research.elamur.ai/free/en/concepts/machine-learning/) settings where an approximate search is used to estimate a difficult worst case. It encourages researchers to ask whether an optimization result demonstrates a failure, rules failures out, or does neither conclusively.

Bound a neighborhood, not just a point. The paper explains why a small gradient at the original input can be misleading when the function bends sharply nearby. Its certificate controls possible gradients throughout the perturbation region, then relaxes that requirement into a tractable calculation. The reusable lesson is that local sensitivity and neighborhood stability are different properties. Whenever a guarantee concerns a region of inputs, measuring behavior only at its center can miss the phenomenon that matters.

Use dual variables as working evidence. The dual formulation is valuable beyond computational convenience. Any admissible choice of its variables supplies an upper bound, so training can maintain a certificate without fully resolving the underlying optimization problem at every update. This suggests a broader engineering pattern: carry auxiliary variables that support a checkable bound alongside the parameters being learned. Intermediate optimization states can then provide useful evidence, even before the auxiliary problem has reached its best solution.

Concentrate effort on the comparisons that matter. Multiclass certification depends on the most threatening alternative label. The authors therefore strengthen regularization for label pairs that more often determine the certificate’s failure. This reallocates pressure towards the current bottlenecks while retaining coverage of the other comparisons. The same principle can help when an objective aggregates many constraints but only some repeatedly control the outcome: measure which constraints are active and adjust effort accordingly.

Match the verifier to the learning objective. The SDP and LP comparisons show that a certificate can work well with the network trained to reduce it, yet provide little information about a network trained with another certificate. This makes the learning procedure and the verifier a coupled design choice. A loose guarantee need not mean the underlying classifier is fragile; it may mean the chosen analysis cannot describe its robustness. Researchers can reuse this insight when comparing verification techniques, distinguishing their ability to guide learning from their ability to inspect arbitrary systems.

### How Mova uses it

For Mova, the small transparent language system implemented in Rust, the paper offers a way to think about guarantees rather than a ready-made language defense. The demonstrated setting is image classification with bounded numerical changes. It does not establish robustness to edited sentences, altered instructions, substituted words, or changes in meaning. Any application to Mova would first need a precise account of what an attacker may change and what behavior must remain stable. Without that specification, a certificate could be mathematically valid while answering a question that matters little to language users.

A concrete possible use concerns a small scoring component. Suppose a Mova component assigns scores to candidate interpretations or labels from a numerical representation. If that component used the shallow architecture covered by the paper, it could potentially expose a pairwise score bound alongside its selected answer. The bound would state whether an alternative could overtake the chosen label under the specified numerical perturbations. This would be a focused claim about one component and one representation. It would not establish that the entire language system preserves meaning or follows instructions under arbitrary edits.

The threat specification would be the critical design decision. The paper permits independent movement of each coordinate inside a fixed box. Language changes are usually described in terms of symbols, words, or larger expressions. An allowable word replacement does not automatically correspond to the coordinate box assumed by the certificate, and a coordinate box does not automatically describe meaningful language variations. A Mova experiment would need to connect those spaces explicitly. One possibility would be to derive a safe numerical region containing a chosen family of textual changes, then certify the scoring component over that region. This remains an application idea, with its usefulness depending on whether the region is informative.

The paper also suggests a transparent way to report uncertainty. Mova could distinguish a decision supported by a certificate from a decision that merely survived a collection of perturbation tests. If certification failed, the report could say that stability had not been established under the chosen specification. That failure would not itself prove that an attack exists. This distinction would help users interpret evidence without confusing a conservative analysis with an observed behavioral failure.

Another possible use is in training small components that are intended to remain inspectable. The authors show that adding a certificate after ordinary training may produce weak guarantees, while optimizing the certificate jointly can make it useful. A Mova experiment could therefore compare ordinary learning, perturbation-based learning, and learning guided by a valid upper bound. The meaningful comparison would include task performance, observed failures, certificate coverage, and the cost of producing the certificate. The paper supports that experimental structure, although it supplies no language-specific outcome.

Rust does not on its own provide the mathematical guarantee developed here. A reliable implementation would still need to preserve the assumptions behind the bound and compute the required quantities accurately. Conversely, the paper’s use of TensorFlow does not make its central argument dependent on that software. The reusable object is the relationship between score margins, bounded perturbations, and a verified upper estimate of score movement.

There is no established Mova implementation of this method described here. The concrete contribution for Mova is therefore a research direction: define a narrow stability property, choose a component whose mathematics can support it, train with the certificate where appropriate, and expose the guarantee with its scope. The strongest lesson is to make the promised property explicit enough that users can understand both what has been established and what remains outside it.

### The problem and its context

#### Why attack resistance was difficult to establish

The paper begins from an uncomfortable contrast. Neural networks can perform strongly on ordinary recognition tasks while failing under small changes deliberately chosen to alter their decisions. The issue is not simply that inputs contain noise. The attacker selects a change using knowledge of the classifier and aims that change at its weaknesses. A perturbation can therefore be small in the chosen numerical sense yet highly consequential for the predicted label.

The authors trace adversarial examples to [Intriguing properties of neural networks](https://md.research.elamur.ai/free/en/papers/szegedy-2013-intriguing-properties-neural-networks/). They also discuss the gradient-based attack and training approach associated with [Explaining and Harnessing Adversarial Examples](https://md.research.elamur.ai/free/en/papers/goodfellow-2014-explaining-harnessing-adversarial-examples/). These earlier directions established both an efficient way to generate damaging inputs and an appealing response: include adversarially altered examples during training so that the classifier learns to handle them.

The difficulty is that an attack algorithm is a search procedure, not an exhaustive account of everything an adversary can do. A defense can frustrate the procedure being tested while retaining weaknesses that another procedure finds. The paper identifies defensive distillation and training against the Fast Gradient Sign Method as examples of defenses later challenged by stronger attacks. This history motivates a change in the question being asked. Instead of asking whether selected attacks fail, the authors ask whether all permitted perturbations can be bounded.

They adopt a coordinate-wise constraint, expressed through the ℓ∞ norm. This norm measures the largest absolute change among the input coordinates. Bounding it prevents any individual pixel from changing by more than the allowed amount, while permitting changes across the whole image. The authors acknowledge that numerical closeness is only a proxy for perceptual similarity. Their guarantee concerns that proxy directly; it does not depend on solving the broader problem of defining imperceptibility.

#### The two difficult alternatives

An exact worst-case analysis would optimize over the entire permitted neighborhood of each input. For a nonlinear network, this is a non-convex problem. Different regions of the input space can activate different hidden units, so finding a locally damaging direction need not reveal the most damaging point. Exact search can therefore be much more expensive than making an ordinary prediction.

The paper discusses formal verification techniques that use discrete optimization or satisfiability modulo theories. Such methods can answer whether an adversarial example exists within the specified distance, and their answer is correct when the solver terminates. The obstacle is scale. The authors describe cases where analyzing an individual input can take hours even for a relatively small network. Repeating that process within every training update would be impractical.

The more common alternative is heuristic adversarial training. A chosen attack searches for a harmful perturbation, and training reduces the loss on the result. The paper’s criticism concerns the direction of approximation. Whatever loss the attack discovers is a lower bound on the actual worst-case loss: an optimal attacker could do at least as much damage. If the attack misses a damaging region, the training objective underestimates vulnerability.

That underestimate can become an incentive. Parameter settings that make the search ineffective may receive attractive objective values even when the true worst case remains poor. The optimizer need not discover genuine stability if it can instead produce behavior that the training attack fails to explore. This observation gives the upper-bound approach its rationale. An overly conservative upper estimate makes a setting look worse, encouraging the optimizer to move away from it.

#### Why local gradients are insufficient

A gradient describes how a score changes under an infinitesimal movement at a particular input. The Fast Gradient Sign Method uses this local information to choose a perturbation across coordinates. For a linear classifier, that choice can identify the exact worst case under the coordinate constraint. For a nonlinear network, the same reasoning is only an approximation.

The paper illustrates this with a margin surface that curves sharply near the original input. The gradient at the center can be small or point in a direction that does not remain informative across the allowed region. Training that suppresses this gradient may make the attack look weak without controlling larger score changes nearby. The authors connect this behavior to gradient masking.

Their response is to consider the largest relevant gradient anywhere in the permitted neighborhood. That quantity supports a genuine bound on score movement because it covers the entire path from the original input to a perturbed one. Computing it exactly remains difficult, but it provides a mathematically sound starting point for relaxation.

#### Related certification approaches

The paper places its contribution beside several other forms of analysis. Earlier certificates restricted to a single linear region require the perturbation neighborhood to remain inside that region. The authors report that this condition failed for the networks and perturbation sizes they studied. They also discuss gradient-based robustness bounds for other norms, noting that their focus on ℓ∞ requires a different route to scalability.

The closest comparison is the independent work of Kolter and Wong, which uses linear programming relaxations and trains against the resulting upper bounds. Both approaches combine learning with certification. Their mathematical constructions differ, and neither is claimed to dominate the other in general. The LP approach also covers deeper architectures than the SDP method developed in this paper.

The distinction from [Towards Deep Learning Models Resistant to Adversarial Attacks](https://md.research.elamur.ai/free/en/papers/madry-2017-towards-deep-learning-models-resistant/) is equally important. The paper treats PGD training as strong empirical evidence of resistance, but not as a formal guarantee covering every attack in the permitted set. Its own contribution is to make that universal scope explicit, within a restricted architecture and threat specification.

### The method, step by step

The method starts with class scores and ends with a certificate that can be optimized during training. Between those endpoints, it replaces several hard quantities with progressively more tractable upper bounds. Each replacement enlarges what the analysis allows an adversary to do. This can weaken the result, but it preserves the direction needed for a guarantee.

From class scores to trainable robustness certificates The steps in order.

#### Define the classifier and the attacker

The classifier assigns a real-valued score to every class and selects the largest score.

```
C(x) = argmaxᵢ∈𝒴 fⁱ(x)
```

Here, x is an input, 𝒴 is the set of available class labels, fⁱ(x) is the score assigned to label i, and C(x) is the chosen label. The argmax operation returns a label attaining the greatest score. Classification therefore depends on score comparisons rather than on the absolute size of any individual score.

The permitted perturbations form a box around the original input.

```
Bε(x) = {x̃ : ‖x̃ − x‖∞ ≤ ε}
```

Bε(x) denotes this neighborhood, x̃ is a possible perturbed input, ε is the allowed change per coordinate, and ‖·‖∞ takes the largest absolute coordinate value. The constraint allows coordinates to move independently, provided none exceeds the specified change. An attack A must return A(x) inside this set.

The attacker is assumed to know the classifier completely. This white-box setting prevents the guarantee from depending on secrecy about the parameters or architecture. What restricts the adversary is the permitted input set.

The important score comparison is a pairwise margin.

```
fⁱʲ(x) = fⁱ(x) − fʲ(x)
```

The superscripts i and j identify two classes. A positive value means that i scores above j. When y is the correct label, a positive margin fⁱʸ for an incorrect class i signals a damaging comparison. Robust classification requires keeping every such competing margin below zero throughout the perturbation region.

The ideal untargeted attack searches across inputs and competing labels.

```
Aopt(x) = argmaxₓ̃∈Bε(x) maxᵢ fⁱʸ(x̃)
```

Aopt denotes an optimal attack, y is the correct label, and the inner maximum selects the most threatening class. The outer optimization chooses the perturbation producing the largest such margin. This is the difficult non-convex problem the certificate is intended to bound.

The corresponding classification loss records whether the attacked prediction is wrong.

```
ℓA(x, y) = 𝟙[C(A(x)) ≠ y]
```

The symbol 𝟙 is an indicator: it returns one when the condition is true and zero otherwise. The loss ℓA therefore measures failure under the particular attack A. Averaging this quantity across test inputs gives an attack error rate. Replacing A with an optimal attack gives the worst-case error under the specified constraint.

#### Start with the linear case

The authors first study a binary comparison, treating one class as incorrect and the other as correct. They write f for the incorrect-minus-correct score margin. For a linear classifier, this margin is a linear function of the input, so its change can be bounded exactly.

```
f(x̃) ≤ f(x) + ε‖W₁ − W₂‖₁
```

W₁ and W₂ are the class weight vectors, f(x) is the original margin, and ‖·‖₁ sums absolute coordinate values. The perturbation allowance ε multiplies the sensitivity of the margin to independent coordinate changes. This inequality follows from pairing an ℓ∞ input constraint with an ℓ₁ weight norm.

The bound is attainable by moving each coordinate in the direction favored by its weight difference.

```
Aopt(x)ᵢ = xᵢ + ε sign(W₁ᵢ − W₂ᵢ)
```

The subscript i identifies an input coordinate, and sign selects the direction of the corresponding weight difference. Every coordinate uses its full allowed movement in the direction that increases the incorrect-class margin. This exact result explains why gradient-sign reasoning is natural, while also showing what changes once the score function becomes nonlinear.

#### Replace a local approximation with a neighborhood bound

For a general classifier, a gradient at x gives a first-order approximation.

```
g(x̃) = f(x) + ∇f(x)ᵀ(x̃ − x)
```

The function g is the local linear approximation, ∇f(x) is the vector of input derivatives at x, and the transpose indicates an inner product with the displacement. Optimizing this approximation within the perturbation box yields the gradient-sign approach. Its weakness is that the actual gradient may change substantially before the edge of the box is reached.

The paper instead expresses the exact score change by integrating along the straight path between the inputs.

```
f(x̃) = f(x) + ∫₀¹ ∇f(tx̃ + (1 − t)x)ᵀ(x̃ − x) dt
```

The variable t indicates progress along the path. At its endpoints, the path reaches x and x̃. The gradient is evaluated at every intermediate position, and the integral accumulates its contribution to the score change. The argument also covers the activation behavior considered by the paper when derivatives exist almost everywhere.

Because the entire path remains inside the perturbation box, its contribution can be bounded by the largest gradient norm anywhere in that box.

```
f(x̃) ≤ f(x) + ε maxᵤ∈Bε(x) ‖∇f(u)‖₁
```

The variable u ranges over possible positions in the neighborhood. The maximum controls every gradient that could appear along the path, while ε bounds the displacement of each coordinate. This is a true upper bound on the nonlinear score change, rather than an estimate derived from the center alone.

The remaining challenge is computational. Searching for the largest gradient norm over the whole region can itself be intractable. The shallow architecture gives the authors enough structure to replace that search with another, more manageable bound.

#### Exploit the single hidden layer

The network’s class score is built by applying a hidden transformation and then combining the resulting activations.

```
fⁱ(x) = Vᵢᵀσ(Wx)
```

W contains the weights from the d input coordinates to the m hidden units. The activation function σ is applied separately to each hidden coordinate. Vᵢ contains the output weights for class i. The paper assumes that the activation derivatives lie between zero and one, covering the ReLU case and allowing a stronger derivative restriction for sigmoids.

For a binary score comparison, the output weights can be combined into one vector.

```
f(x) = vᵀσ(Wx)
```

The vector v is the difference between the output weight vectors of the two classes. This reduces a pairwise margin to the same shallow architecture with a single output. Multiclass certification later repeats the construction for the relevant class pairs.

Applying the chain rule makes the input dependence explicit.

```
∇f(x̃) = Wᵀ diag(v) σ′(Wx̃)
```

The expression diag(v) is a diagonal matrix whose diagonal entries come from v. The vector σ′(Wx̃) contains the hidden activation derivatives at the perturbed input. Once the network weights are fixed, these derivative values are the only part of the expression that changes with x̃.

The authors then allow the derivatives to vary independently within their known range.

```
‖∇f(x̃)‖₁ ≤ maxₛ∈[0,1]ᵐ ‖Wᵀ diag(v)s‖₁
```

The vector s stands in for the hidden derivatives. This replacement removes the need to find an input producing a particular derivative pattern. It is safe because every actual pattern is included, but it can be conservative because the permitted set also includes combinations that no input can produce.

This is an important source of looseness. Hidden derivatives are coupled through the shared input and weight matrix. The relaxation temporarily ignores those dependencies. In exchange, the quantity being optimized depends only on network weights, making it reusable across inputs.

The ℓ₁ norm can then be written as another maximization.

```
‖z‖₁ = maxₜ∈[−1,1]ᵈ tᵀz
```

The vector z has d coordinates, and t selects a signed contribution from each coordinate. Maximizing over the box recovers the sum of absolute values. Substituting this identity converts the gradient bound into a bilinear optimization involving s and t.

```
fQP(x) = f(x) + ε maxₛ∈[0,1]ᵐ, ₜ∈[−1,1]ᵈ tᵀWᵀdiag(v)s
```

fQP names the resulting upper estimate of the attacked margin. The variables s and t represent the relaxed activation derivatives and the dual description of the ℓ₁ norm. Though the expression no longer searches directly over perturbed images, maximizing it is still non-convex. The paper relates this remaining difficulty to the structure of MAXCUT.

For sigmoid activations, the authors note that the derivative range can be tightened to [0, 1/4]. That stronger information reduces the corresponding derivative bound by the stated factor. The key requirement is to use a derivative range that safely contains the activation’s actual behavior.

#### Turn the quadratic problem into a semidefinite program

To put all optimization variables in symmetric boxes, the derivative variable is reparameterized.

```
maxₛ∈[−1,1]ᵐ, ₜ∈[−1,1]ᵈ (1/2)tᵀWᵀdiag(v)(𝟙 + s)
```

The new s ranges between −1 and 1, and 𝟙 is a vector containing ones. The expression (𝟙 + s)/2 covers the previous derivative interval. The reparameterization does not yet relax the problem further; it prepares it for a standard quadratic representation.

The variables are collected into a larger vector.

```
y = [1; t; s]
```

The semicolons indicate vertical concatenation. The leading constant allows terms that are linear in t to be included in a quadratic expression. The vector y has D coordinates, with D defined below from the input and hidden dimensions.

The paper constructs a symmetric matrix M(v, W) so that the preceding objective can be represented as a quadratic form.

```
(1/4)yᵀM(v, W)y = (1/2)tᵀWᵀdiag(v)(𝟙 + s)
```

M(v, W) packages the relevant products of the network weights. The right-hand side explains the role of its non-zero blocks: they reproduce the interaction between t and the constant term, and between t and s. The factor 1/4 compensates for the symmetric quadratic representation.

The next move introduces a matrix variable.

```
P = yyᵀ
```

P contains every pairwise product of coordinates in y. Such an outer-product matrix is positive semidefinite, meaning that its quadratic form is non-negative in every direction. Its diagonal entries are squared coordinates of y, so the box constraint implies that they are at most one.

The exact outer-product requirement is restrictive. The semidefinite relaxation discards it and retains only conditions that every permitted outer product satisfies.

```
fSDP(x) = f(x) + (ε/4) maxP⪰0, diag(P)≤1 ⟨M(v, W), P⟩
```

fSDP is the semidefinite upper bound. The notation P ⪰ 0 requires P to be positive semidefinite, diag(P) extracts its diagonal, and ⟨M, P⟩ sums products of corresponding matrix entries. The optimization is linear in P over a convex feasible set.

The relaxation permits matrices that do not correspond to a single vector y. Since the feasible set has been enlarged, the optimum can increase. That increase may weaken the certificate, but it cannot invalidate the upper-bound direction.

The relationships can now be assembled.

```
f(A(x)) ≤ f(Aopt(x)) ≤ f(x) + ε maxᵤ∈Bε(x) ‖∇f(u)‖₁ ≤ fQP(x) ≤ fSDP(x)
```

A is any permitted attack, and Aopt is an optimal one. Every later quantity bounds the earlier quantity from above. If the final bound remains negative, the incorrect class cannot overtake the correct class anywhere the attacker may move.

The expensive SDP term depends on the weights rather than on the individual input. The input enters through its original margin f(x). This separation means that the optimization can be performed once for a fixed class comparison and then reused across examples. It is a major source of efficiency, while also reflecting the global nature of the relaxed sensitivity estimate.

#### Extend the certificate to every competing class

For multiple classes, each output-weight difference defines its own matrix.

```
fSDPⁱʲ(x) = fⁱʲ(x) + (ε/4) maxP⪰0, diag(P)≤1 ⟨Mⁱʲ(V, W), P⟩
```

The matrix Mⁱʲ uses the same construction with v replaced by Vᵢ − Vⱼ. The result bounds how far class i can move ahead of class j under any allowed attack. For an input whose correct label is y, the relevant comparisons are the incorrect classes against y.

Certification requires all those comparisons to stay safe.

```
maxᵢ≠y fSDPⁱʸ(x) < 0  ⇒  ℓA(x, y) = 0
```

The maximum identifies the least favorable competing label. A negative result establishes that every competitor remains below the correct class, so the attack loss is zero for every permitted A. If this condition fails, the analysis has not certified the example. It has not necessarily found an adversarial example.

This asymmetry is essential when turning certificates into an error bound. Counting inputs that cannot be certified gives a conservative upper estimate of worst-case error. Some counted inputs may actually be robust, but the certificate does not establish that fact.

#### Make the certificate part of training

Ordinary classification training encourages correct score ordering on the training inputs. It does not directly control the SDP sensitivity term. The authors add a regularizer that penalizes that term across class pairs.

```
minW,V Σₙ ℓcls(V, W; xₙ, yₙ) + Σᵢ≠ⱼ λⁱʲ maxP⪰0, diag(P)≤1 ⟨Mⁱʲ(V, W), P⟩
```

The indexed examples are xₙ with labels yₙ. The function ℓcls is a classification loss, and λⁱʲ sets the strength of regularization for a class pair. The first sum rewards ordinary classification; the second discourages weight configurations whose certified score movement is large.

Directly differentiating this objective would require repeatedly solving semidefinite programs. To avoid that expense, the authors use an equivalent dual formulation. They first define the matrix dimension.

```
D = d + m + 1
```

The quantities d and m are the input and hidden dimensions. The additional coordinate comes from the constant included in y. D determines the scale of the eigenvalue term in the dual.

For a pair of classes, the dual expresses the SDP optimum through an auxiliary vector.

```
maxP⪰0, diag(P)≤1 ⟨Mⁱʲ, P⟩ = mincⁱʲ∈ℝᴰ [D λmax⁺(Mⁱʲ − diag(cⁱʲ)) + 𝟙ᵀmax(cⁱʲ, 0)]
```

The vector cⁱʲ contains the dual variables. The operation λmax⁺ returns the largest eigenvalue when it is positive and returns zero otherwise. The maximum applied to cⁱʲ operates coordinate by coordinate, retaining positive entries. The vector 𝟙 sums those entries through the inner product.

This form turns the nested semidefinite problem into an objective over network weights and auxiliary variables. Evaluating its main term requires the largest eigenvalue of a symmetric matrix. Obtaining gradients also requires a corresponding eigenvector.

The final learning objective optimizes all these quantities together.

```
minW,V,c Σₙ ℓcls(V, W; xₙ, yₙ) + Σᵢ≠ⱼ λⁱʲ [D λmax⁺(Mⁱʲ(V, W) − diag(cⁱʲ)) + 𝟙ᵀmax(cⁱʲ, 0)]
```

The variables W and V define the classifier, while c collects the dual vectors for its class comparisons. Stochastic gradient optimization can update them within the same training process. The certificate regularizer therefore acts as an adaptive penalty shaped by the current network.

#### Why the dual supports an ongoing certificate

The appendix derives the dual by adding a redundant trace constraint to the primal problem.

```
tr(P) ≤ D
```

The trace tr(P) is the sum of P’s diagonal entries. Since each diagonal entry is already bounded by one and P has D coordinates, this condition does not exclude any previously feasible matrix. It makes the remaining maximization easier to express spectrally.

Dualizing the diagonal constraints produces a matrix shifted by diag(c). Under the positive-semidefinite and trace constraints, the largest positive eigenvalue determines the maximum contribution available to P. This is the origin of the eigenvalue term rather than a separate heuristic added for training.

For non-negative c, the relevant dual value has a simpler form.

```
𝟙ᵀc + D λmax⁺(M − diag(c))
```

Here, M denotes the matrix for the class pair under consideration. The first term charges for the diagonal shift, while the second measures the positive spectral contribution left after shifting. The paper then uses the coordinate-wise positive-part expression to permit unconstrained optimization of c without changing the optimum.

Most importantly, the dual variables do not have to be optimal to provide an upper estimate. A current dual value still bounds the primal optimum. Training can therefore track a valid conservative score bound using its current weights and auxiliary variables.

```
fⁱʲ(A(x)) ≤ fⁱʲ(x) + (ε/4)[D λmax⁺(Mⁱʲ(V, W) − diag(cⁱʲ)) + 𝟙ᵀmax(cⁱʲ, 0)]
```

The left-hand side is the attacked pairwise margin. The right-hand side uses the present network and dual variables, regardless of whether the dual minimization has been completed. Better dual optimization can tighten the estimate, but the upper-bound relationship is the reason an intermediate value is useful.

#### Compare with simpler norm bounds

The paper also derives certificates from familiar matrix norms. The spectral version controls the amplification of input changes by the first layer and combines that with the output-weight difference.

```
fSpeⁱʲ(x) = fⁱʲ(x) + ε√d ‖W‖₂ ‖Vᵢ − Vⱼ‖₂
```

fSpe names the spectral upper bound. For W, ‖W‖₂ is its largest singular value; for the output-weight difference, the same notation is the Euclidean vector norm. The factor √d converts the coordinate-wise perturbation allowance into a Euclidean bound.

A Frobenius version replaces the first-layer spectral norm with a more easily regularized quantity.

```
fFroⁱʲ(x) = fⁱʲ(x) + ε√d ‖W‖F ‖Vᵢ − Vⱼ‖₂
```

The Frobenius norm ‖W‖F is the square root of the sum of squared matrix entries. It is at least as large as the spectral norm, so the substitution preserves validity while potentially increasing conservatism. These alternatives let the experiments ask whether the SDP construction adds practical value beyond general weight-size control.

### Experiments and results

#### Data, architecture, and comparison design

The experiments use MNIST handwritten-digit classification. The evaluation averages results across 10,000 test examples. Every network in the principal comparison has m = 500 hidden units and a single hidden layer. Holding that architecture fixed helps isolate the effect of the training objective from the effect of network depth or width.

The authors use TensorFlow and [Adam](https://md.research.elamur.ai/free/en/papers/kingma-2014-adam-method-stochastic-optimization/) for optimization. They examine both multiclass hinge loss and cross-entropy. Hyper-parameters, including the loss choice, are selected using error under a PGD attack at ε = 0.1. This detail matters for interpretation: the SDP objective does not train on examples produced by that attack, but the experimental selection procedure does consult PGD performance.

The comparison includes ordinary training, general norm penalties, attack-based training, and certificate-based training. The ordinary network, NT-NN, uses cross-entropy without an explicit regularizer. It supplies a reference for what standard classification learning achieves under the same shallow architecture.

The Frobenius-regularized network, Fro-NN, uses hinge loss and a penalty involving the first-layer Frobenius norm and an output-weight norm, with λ = 0.08. Spe-NN uses hinge loss with the analogous spectral penalty and λ = 0.09. These systems test whether broadly limiting weight magnitudes is enough to deliver useful robustness.

AT-NN is trained using cross-entropy with a PGD adversarial-loss regularizer weighted by 0.5. The authors report that combining ordinary and adversarial loss worked better in their setting than optimizing only the adversarial loss. Its training adversary uses a step size of 0.1, runs for 40 iterations, and permits perturbations of size 0.3.

SDP-NN uses the paper’s dual certificate objective. Its classification term is hinge loss, and its regularization is built from the semidefinite upper bound. The distinction is substantive: its learning signal penalizes a guarantee over the specified perturbation set rather than the loss achieved by one adversarial search.

#### How robustness is measured

The experiments use attack error as a lower bound on worst-case error and certificate failure as an upper bound. Neither should be read as an exact value for the unknown optimum. A stronger attack can raise the observed lower bound, while a tighter certificate can lower the upper bound.

For the principal attack evaluation, PGD optimizes cross-entropy and begins from a random point inside the allowed perturbation region. The procedure uses 5 random restarts. The authors state that attacking hinge loss was less effective, so cross-entropy is used even when a network was trained with hinge loss. This reduces the risk that an apparently robust hinge-trained network merely benefits from a poorly chosen attack objective.

The main certified quantity is an upper bound on the classification error caused by any allowed attack. At the individual-input level, a certificate succeeds only when every competing class remains below the correct label according to the margin bound. Averaging failures of that test gives the reported conservative error estimate.

To evaluate networks that were not trained with the SDP objective, the authors solve the semidefinite problems after training. They use YALMIP with Sedumi, working through the dual formulation. The reported cost is approximately 10 minutes for an SDP and around 8 hours for a complete network analysis. The calculation is reusable across inputs because the optimization term depends on class-pair weights rather than on each test image.

These costs distinguish two uses of the method. Training with the dual maintains a relatively inexpensive bound as learning proceeds. Applying a fully optimized certificate to an already trained network can be substantially more expensive, although it avoids solving a new SDP for every test example.

#### The central result

At ε = 0.1, SDP-NN has a PGD test error of 16% and a certified upper error bound of 35%. Its clean test error is 4.2%. Together, these values establish that the network preserves useful ordinary classification performance and has a nonvacuous guarantee under the specified perturbations.

The remaining gap is important. PGD establishes that permitted perturbations can induce the observed attack error. The certificate establishes that no permitted attack can push the test error beyond its upper limit. The paper does not identify where the true optimum lies between those observations, and the difference cannot be attributed entirely to either a weak attack or a loose relaxation.

A controlled comparison uses the same shallow architecture for SDP-NN and AT-NN. The latter is explicitly trained against PGD and obtains a PGD error of 11% at the evaluation condition discussed alongside SDP-NN.

MNIST test error under PGD at ε = 0.1 Certificate training retains substantial attack resistance within the shared shallow architecture.

**The numbers**

| System or setting | test error % |
| --- | --- |
| AT-NN | 11 |
| SDP-NN (this paper) | 16 |

This comparison supports the claim that certificate training can also produce empirical resistance to a strong search-based attack. It does not show that its attack error is best among the tested objectives. Its additional contribution is the accompanying upper guarantee, which the attack-based result alone does not supply.

The paper also evaluates SDP-NN with the Carlini–Wagner attack and the Fast Gradient Sign Method. The reported analysis describes resistance across all three attack families. The argument for broad coverage, however, comes from the certificate rather than from the number of attacks tested. The attack results show that the trained network behaves well under these searches; the certificate provides the universal statement within the coordinate constraint.

#### What the bound comparisons reveal

For every network considered, the SDP error bound is tighter than the corresponding Frobenius and spectral bounds. This supports the added value of the structured relaxation over simpler norm-based estimates. It does not establish that the SDP bound is always close to the actual worst case.

The relationship depends strongly on training. Fro-NN has a relatively close SDP upper bound and PGD lower bound, but its attack error is high. It is therefore an example of a network whose vulnerability is comparatively easy to describe without being adequately resistant.

AT-NN presents the opposite issue. It performs well against the evaluated attack, yet the SDP upper estimate remains far above that observed error. The certificate is more informative than the simpler norm bounds but still cannot tightly establish the network’s apparent resistance.

SDP-NN combines the properties that the other cases separate. It resists the evaluated attacks and has a useful upper guarantee. The experiment therefore supports the paper’s central coupling: the certificate becomes effective when its quantity is part of what training tries to reduce.

The norm-regularized systems also clarify that not all upper-bound-inspired penalties are equally productive. Their PGD performance is described as worse than SDP-NN’s certified upper error. In this experiment, merely controlling a broad weight norm does not reproduce the benefit of the SDP regularizer.

#### Comparison with LP certification

The authors compare their approach with a network trained using Kolter and Wong’s linear-programming certificate. The comparison network, LP-NN, has the same architecture as SDP-NN, which makes the training and certification strategy the main intended distinction.

At ε = 0.1, the LP certificate limits LP-NN’s adversarial error to 26%. The corresponding SDP-NN guarantee is 35%. These values are certificates for separately trained networks, so the comparison evaluates the resulting learning-and-verification combinations.

Certified MNIST test error at ε = 0.1 Both certificate-based training approaches yield useful guarantees for the shared architecture.

**The numbers**

| System or setting | certified upper test error % |
| --- | --- |
| LP-NN | 26 |
| SDP-NN (this paper) | 35 |

The paper characterizes the approaches as comparable in empirical attack resistance and certification, while also observing an important mismatch. Applying the SDP bound to a network trained for the LP objective, or the LP bound to a network trained for the SDP objective, can produce vacuous guarantees. Apparently robust behavior is therefore not necessarily captured by an unrelated certificate.

This is evidence of complementarity rather than a proof that one relaxation is universally superior. The training process can favor configurations that its own bound describes effectively. A comparison of certificate quality must therefore specify whether weights were trained independently of the certificate or specifically to minimize it.

The paper also reports that the LP approach extends to deeper networks and can train a four-layer convolutional network with a certified adversarial error bound of 5.7%. This result helps establish the importance of architectural scope. It also limits how broadly the shallow SDP experiments should be interpreted.

#### Other comparisons and their conditions

The authors discuss a larger convolutional network from the PGD-training literature, evaluated with a reported error of 11% at ε = 0.3 across the considered attacks. It has four layers and no formal certificate in the comparison described. Its result supplies context for achievable empirical resistance, but differs from SDP-NN in architecture, perturbation allowance, and type of evidence.

They also discuss an exact-verification experiment on a 72-node variant of that earlier network. The analysis covers 10 inputs and reports misclassification of 6 at ε = 0.05. Of those inputs, 4 were already misclassified before perturbation. The paper further notes that 3 of those 4 can be moved to another incorrect class with some ε \< 0.07.

These details prevent the small exact-verification result from being mistaken for a full-test benchmark. They also show why clean errors must be distinguished from errors introduced by an attack. Exact analysis can establish the optimum for particular inputs without making a small, selected evaluation directly comparable to the complete MNIST test results.

The paper uses these surrounding results to motivate further work on depth. Its comparison between AT-NN and SDP-NN suggests that the shallow architecture contributes substantially to the performance gap with the larger convolutional system. That interpretation is plausible within the experiments, but it remains an explanation supported by comparisons instead of an isolated measurement of depth alone.

### What the ablations show

The paper offers controlled comparisons of objectives, regularization weights, certificate computations, and attack procedures. It does not remove every mathematical component one at a time. Its most informative analyses instead ask which combinations produce both resistance and an informative guarantee.

#### The training objective changes what can be certified

Holding the shallow architecture fixed is central to the objective comparison. Ordinary training, norm penalties, PGD regularization, and SDP regularization all operate on networks with the same hidden width. Differences in the resulting bounds therefore cannot be explained by giving the SDP system a larger hidden representation.

The results separate accuracy against a search procedure from ease of certification. AT-NN looks resistant to PGD but is difficult for the SDP analysis to certify tightly. Fro-NN is easier to bound relative to its observed attack error but is insufficiently resistant. SDP-NN is the case where both properties improve together.

This supports the claim that the regularizer does more than reduce a generic notion of complexity. It directs the weights towards score relationships that the chosen relaxation can bound. The experiment does not reveal which individual parameter patterns are responsible, but it shows that training with the certificate changes the usefulness of that certificate substantially.

The comparison also argues against interpreting a loose bound as a direct diagnosis of vulnerability. When the upper estimate is far above the observed attack error, either the attack has missed failures, the bound is conservative, or both. The paper’s experimental design keeps those possibilities visible by showing lower and upper evidence together.

#### Weighting class pairs improves the bottleneck

Multiclass certification is controlled by the least favorable alternative label. The authors observe that some class pairs repeatedly determine this maximum, making equal regularization weights potentially inefficient. A pair that seldom threatens the certificate receives the same coefficient as one that frequently controls failure.

They first use an unweighted scheme, setting all pair coefficients to λ. The tuned value is 0.05. They then introduce a weighted version in which each pair receives a multiplier based on how often its labels appear in the maximizing certificate comparison over training examples.

The weights are updated every 20 epochs. This lets the emphasis change as the network changes, instead of fixing a difficult-pair ranking before training begins. The resulting weighted network improves both the PGD lower bound and the SDP upper bound relative to the unweighted version.

That joint improvement matters. Reducing the upper bound alone might reflect only a better fit to the verifier, with no change in demonstrated attack resistance. Here, the observed attack error also improves, supporting the usefulness of targeting the class comparisons that constrain certification.

The analysis remains specific to the weighting scheme tested. It does not establish that these frequency estimates are optimal or that weighting will help every multiclass certificate. It establishes that equal treatment of every pair was a practical weakness in this implementation, and that reallocating regularization pressure improved the reported outcomes.

#### The dual certificate closely tracks a full solve

The dual variables provide a certificate during training, but they need not minimize the dual objective exactly. The authors therefore compare the automatically maintained dual value with a certificate obtained by fully solving the semidefinite problem.

The two are reported to be close. This suggests that the inexpensive training-time certificate captures much of the benefit available from a more complete solve in the examined setting. It also supports its use for monitoring epochs and tuning hyper-parameters.

The distinction between validity and tightness remains important. An imperfect dual solution can still be a valid upper estimate. The controlled comparison asks how much informativeness is lost by using that intermediate solution, not whether the guarantee exists at all. The observed closeness makes the computational shortcut practically attractive.

This analysis also helps locate the remaining uncertainty. If the current dual certificate is already near the optimized SDP value, spending much more effort on that same optimization may not close the gap to the attack lower bound. Some conservatism can lie in the relaxation itself rather than in incomplete numerical optimization.

#### Attack choices affect the lower bound

The evaluation procedure includes a useful check on the attack objective. The authors find that PGD applied to hinge loss performs poorly as an attack, including against networks trained using that loss. They therefore evaluate with cross-entropy instead.

This choice illustrates why using the training loss automatically as the attack objective can be misleading. A weak optimization landscape for the adversary can create an artificially favorable lower estimate of vulnerability. Choosing the more effective attack objective makes the empirical comparison more informative.

The use of random starts and repeated restarts serves a similar purpose. It gives the search multiple opportunities to reach damaging regions rather than relying on a single trajectory. These measures strengthen the attack evidence, although none converts it into an exhaustive guarantee.

Testing Carlini–Wagner and the Fast Gradient Sign Method alongside PGD provides another view of the learned behavior. SDP-NN was not directly trained using those attack-generated inputs, yet the reported results show resistance across the evaluated procedures. This supports empirical transfer of robustness, while the certificate remains the reason the claim can cover untested procedures within the same constraint.

#### Architecture and computation provide supporting analyses

The authors state that increasing hidden width did not materially improve accuracy in their experiments. That observation helps explain the choice of the shared hidden width, but it is not a detailed scaling study. The paper does not report a systematic characterization of how certificate quality and computation change across a broad range of widths.

The implementation also samples class comparisons during each update. Computing every pair would require 45 top-eigenvector calculations. Selecting one class and using its comparisons requires 9 instead. This is a computational design choice that makes stochastic training more practical, instead of a reported accuracy ablation with a separate numerical outcome.

Together, these analyses show how the mathematical idea becomes a workable experiment. The weighted regularizer improves the objective’s focus, the dual variables support ongoing certification, and sampled comparisons reduce update cost. The evidence is strongest for the combined implementation; it does not assign an independently measured share of the final gain to every engineering choice.

### Limitations

#### Limits explicitly acknowledged by the authors

The principal architectural limit is the single hidden layer. The paper’s certificate exploits the fact that input dependence in the gradient can be isolated into one vector of activation derivatives. The authors discuss extending the method to deeper networks, but that extension is not established by the results presented here.

The authors also acknowledge that their SDP bound can be too conservative for networks trained by other objectives. It is tighter than the simpler norm bounds in the experiments, yet still fails to provide close guarantees for some apparently resistant networks. The method is therefore more successful as part of a joint learning-and-certification procedure than as a universal analyzer of finished networks.

The perturbation specification is another stated limit. An ℓ∞ restriction is a convenient numerical proxy for a small change, not a complete definition of perceptual similarity. The certificate guarantees behavior under that particular constraint. It does not settle which image changes people would consider imperceptible or harmless.

Exact worst-case errors remain unavailable for the main networks. The experiments therefore compare a lower estimate from PGD with upper estimates from certificates. The authors do not claim that the gap identifies a hidden attack, nor that the observed attack is optimal.

Computational cost also remains relevant. General-purpose SDP solvers are slow enough that post-training analysis of a network takes substantial time in the reported implementation. The dual approach makes training feasible by focusing on leading eigenvalues, but it does not make every calculation trivial. Lanczos sometimes fails to converge when the spectral gap is small, prompting a fallback to a full singular-value decomposition.

The comparison with LP certification exposes a further limit on generality. Neither mathematical bound is guaranteed to be tighter in every case, and each can be poorly matched to a network trained for the other. The authors treat combining these approaches as a promising direction rather than a completed solution.

#### Limits visible in the experimental setup

A careful reader should separate the strength of the guarantee from the breadth of the evidence. The reported certified rate concerns the MNIST test examples under a specified perturbation allowance. It is not a guarantee that future inputs drawn from a different distribution will have the same error rate.

The certificate itself can be evaluated for an individual input, but the aggregate test result does not create a distribution-free promise about all images. It establishes what the bound says over the evaluated collection. Any deployment claim would require additional reasoning about the inputs the system will actually encounter.

The main numerical result also leaves substantial unresolved uncertainty. At the chosen perturbation level, the observed attack error and the certified upper error differ. The experiment shows that the worst case is constrained, not that it has been located exactly. Describing the upper value as the network’s actual adversarial error would overstate the result.

Hyper-parameter selection uses PGD error at ε = 0.1. Accordingly, the study is not wholly independent of attack-based feedback. The SDP training objective differs from adversarial training, but the overall development procedure still uses a particular attack to choose settings. This does not invalidate the certificate; it limits any claim that the entire experimental process was attack-agnostic.

Comparisons with other architectures and perturbation sizes require restraint. The larger convolutional network has different expressive capacity and is evaluated under a different allowance. The small exact-verification result uses a much smaller set of inputs and includes pre-existing mistakes. These comparisons provide context, but they do not isolate a single causal explanation for performance differences.

The relaxation also loses information deliberately. Allowing hidden derivatives to vary independently ignores whether the corresponding activation patterns are jointly attainable. Lifting the quadratic problem then permits matrices beyond exact outer products. Both steps preserve safety by enlarging the adversary’s mathematical possibilities, yet either can make a robust input difficult to certify.

Because the sensitivity term is shared across inputs for a class pair, the bound also gives up some local information. An individual image may have a much more favorable nearby activation structure than the global relaxed derivative set suggests. Training can reduce the shared penalty, but the certificate does not fully exploit every input’s particular neighborhood.

#### What the guarantee does not cover

The paper studies test-time perturbations of the input. It does not certify resistance to an adversary changing training data, altering network parameters, or modifying the implementation. The discussion recognizes other security settings, including poisoning, but those are separate problems with different assumptions.

The result also concerns classification stability, not whether the correct label is semantically appropriate in every circumstance. A classifier that preserves a mistaken decision is stable without being correct. This is why ordinary clean error and adversarial error both matter, and why the original margin relative to the true label remains part of the certificate.

Nothing in the experiments establishes robustness for language generation, instruction following, or unrestricted textual attacks. Numerical features, word changes, and meaning-preserving edits define different perturbation sets. Transferring the method would require a new connection between those sets and the mathematics of the scoring component.

Finally, a certificate is only as useful as its specification. Universal coverage of a narrowly defined perturbation family does not imply universal security. The paper advances the ability to establish one well-defined property. Its importance comes from making that property provable and trainable, while leaving the broader choice of security requirements open.

### What came after

The later citation trail connects this work to certified robustness in language and to broader questions about safety and adversarial evaluation. Those connections need to be stated carefully. A citation establishes that a later paper engages with the earlier literature; it does not by itself reveal which theorem, implementation, or experimental result it adopts.

For these later works, the available descriptions establish their subjects through their titles and their relationship through citation. They do not establish detailed technical dependence on the SDP construction. The useful reading is therefore a map of related directions, with a clear distinction between a shared research question and a demonstrated reuse of this particular method.

#### From numerical perturbations to word substitutions

[Certified Robustness to Adversarial Word Substitutions](https://md.research.elamur.ai/free/en/papers/jia-2019-certified-robustness-adversarial-word-substitutions/) brings the certification question to a language-specific perturbation family. Its title identifies the central shift: the adversary changes words, rather than independently adjusting pixel values.

That direction preserves the foundational question raised by this paper. Can a system’s behavior be established across a specified set of allowed changes, instead of being assessed only through successful or unsuccessful searches? The perturbation set becomes discrete and linguistic, but the distinction between attack evidence and universal coverage remains relevant.

The connection is particularly useful for considering language systems such as Mova. A guarantee over substitutions would address a more directly textual specification than an unexplained box around numerical features. However, the citation relationship does not establish that this later work uses the same semidefinite relaxation, the same shallow architecture, or the same dual training procedure.

The earlier paper therefore supplies a conceptual starting point for reading this later direction: first identify the allowed substitutions, then ask what is certified and how conservatism is controlled. The particular answers belong to the later work and cannot be inferred from its citation alone.

#### Verification through interval propagation

[Achieving Verified Robustness to Symbol Substitutions via Interval Bound Propagation](https://md.research.elamur.ai/free/en/papers/huang-2019-achieving-verified-robustness-symbol-substitutions/) identifies another route in its title. It concerns symbol substitutions and names interval bound propagation as the verification mechanism.

This marks both continuity and methodological difference. The continuity is the attempt to cover a family of permitted changes with a valid bound. The difference is the named bounding approach. The title gives no basis for treating interval propagation as an implementation of the SDP certificate developed here.

The earlier experiments make this comparison intellectually important. They show that the usefulness of a bound depends in part on the network trained with it. A later verification method should therefore be examined both as an analyzer of existing systems and as a possible training objective. That is a question this paper teaches readers to ask, rather than a result that can automatically be assigned to the later work.

The symbol-substitution setting also emphasizes the need to define the perturbation family before discussing robustness. A certificate over one set of replacements says nothing automatically about a different set. This specification discipline is the strongest transferable connection between the image experiments and the later language-oriented title.

#### Certification within a broader safety agenda

[Unsolved Problems in ML Safety](https://md.research.elamur.ai/free/en/papers/hendrycks-2021-unsolved-problems-ml-safety/) places the citation in a broader safety context. Its title signals a research agenda extending beyond the bounded-input classification problem studied here.

The earlier paper provides a particularly clear example of how to turn a safety-relevant concern into a mathematical property. It specifies an attacker, defines a failure event, and computes an upper bound on the event’s worst case. That precision makes the result assessable even when its scope is limited.

At the same time, this paper’s limitations show why a certificate cannot stand in for an entire safety argument. The permitted changes, the classifier architecture, and the evaluated inputs all matter. Other concerns require their own specifications and evidence.

The citation supports reading certified adversarial robustness as part of that broader conversation. It does not establish which particular safety problems the later work assigns to certification or what solutions it endorses. The relationship is a place to investigate further, rather than evidence that the earlier method resolves the wider agenda.

#### Adaptive attacks and the continuing need for scope

[Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks](https://md.research.elamur.ai/free/en/papers/andriushchenko-2024-jailbreaking-leading-safety-aligned-llms/) concerns adaptive adversarial testing of safety-aligned language systems. Its title identifies a substantially different application from handwritten-digit classification.

The connection to this paper is the methodological tension between surviving known tests and establishing a claim that survives changes in the attacker. An adaptive adversary can alter its search in response to the defense. The earlier paper’s motivation is that empirical success against a fixed collection of attacks leaves that possibility open.

That connection should not be mistaken for a transferable guarantee. The SDP certificate does not cover prompts, unrestricted language interaction, or safety behavior merely because those settings also involve adversaries. Its assumptions are specific to a scoring architecture and a bounded numerical input region.

The later citation therefore highlights the continuing importance of the original distinction. Attack experiments reveal failures and test defenses; certificates constrain an explicitly defined space of failures. Moving between those forms of evidence requires a specification precise enough to support the claim.

Across these later directions, the enduring contribution is the coupling of learning and proof. The paper shows that verification need not be reserved for a finished classifier, and that a conservative analysis can become useful when training actively reduces the quantity it bounds. Its MNIST result is narrow in architecture and threat scope, but it establishes a concrete possibility: learn a system in part for its ability to carry an informative guarantee.

## Cite

Cite as Aditi Raghunathan, Jacob Steinhardt and Percy Liang. 2018. Certified Defenses against Adversarial Examples. arXiv (Cornell University).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.1801.09344](https://doi.org/10.48550/arxiv.1801.09344) · [arXiv 1801.09344](https://arxiv.org/abs/1801.09344)

```bibtex
@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}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
