---
title: "DeepFool — paper by Moosavi-Dezfooli et al. (2016)"
description: "DeepFool finds small image changes that alter neural network decisions, revealing how attack accuracy shapes robustness measurement."
canonical: "https://research.elamur.ai/free/en/papers/dezfooli-2016-deepfool-simple-accurate-method-fool/"
---
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/dezfooli-2016-deepfool-simple-accurate-method-fool/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2016](https://md.research.elamur.ai/free/en/papers/2016/) / DeepFool: A Simple and Accurate Method to Fool Deep Neural Networks

# DeepFool: A Simple and Accurate Method to Fool Deep Neural Networks

Paper · 2016 · Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi and Pascal Frossard B

**Authors:** Seyed-Mohsen Moosavi-Dezfooli, [Alhussein Fawzi](https://md.research.elamur.ai/free/en/authors/alhussein-fawzi/) and Pascal Frossard B · **Year:** 2016 · **Venue:** IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**5,129** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2243397390|W2950159395) · [IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings](https://openalex.org/S4210176548) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/1511.04599)
- [DOI 10.1109/cvpr.2016.282](https://doi.org/10.1109/cvpr.2016.282)
- [arXiv 1511.04599](https://arxiv.org/abs/1511.04599)
- [OpenAlex](https://openalex.org/W2243397390)

Citations: OpenAlex, 2026-10-14.

## Deep dive: DeepFool: A Simple and Accurate Method to Fool Deep Neural Networks

DeepFool finds small image changes that alter neural network decisions, revealing how attack accuracy shapes robustness measurement. · about 74 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’s performance on ordinary images leaves an important question unanswered: how easily could a carefully chosen change make it give a different answer? DeepFool addresses that question by searching for adversarial perturbations, meaning input changes designed to alter a classifier’s prediction. The paper concentrates on the size of the required change. Producing an incorrect answer after a substantial modification demonstrates vulnerability, but it can give a misleading impression of how much protection the original image had. A much smaller modification might already have been sufficient. The authors therefore develop a practical search for nearby decision boundaries and use the resulting perturbations to estimate robustness.

The algorithm grows out of an elementary geometric construction. When a decision boundary is a flat surface, the shortest displacement that reaches it runs perpendicular to that surface. DeepFool uses this exact calculation as a building block for more complicated classifiers. At the current candidate image, it constructs a linear approximation of the relevant decision function, calculates a short displacement to the approximate boundary, and evaluates the changed image. If the original prediction survives, the algorithm repeats the calculation from the new location. For classification among several labels, it estimates which competing boundary is nearest before choosing a displacement. A small enlargement of the final vector helps ensure that the image passes across the boundary rather than merely approaching it.

The experiments cover MNIST, CIFAR-10, and ImageNet. They compare DeepFool against the penalized optimization procedure discussed in [Intriguing properties of neural networks](https://md.research.elamur.ai/free/en/papers/szegedy-2013-intriguing-properties-neural-networks/) and the fast gradient sign attack associated with [Explaining and Harnessing Adversarial Examples](https://md.research.elamur.ai/free/en/papers/goodfellow-2014-explaining-harnessing-adversarial-examples/). DeepFool discovers smaller successful perturbations in the reported comparisons and substantially reduces computation relative to the penalized optimizer. The authors describe an average perturbation comparison in which its result is 5 times smaller than the sign attack’s estimate. For ILSVRC2012, they characterize the corresponding gap as an order of magnitude. In practice, they observe successful searches requiring fewer than 3 iterations. The paper also adapts the construction to norms beyond Euclidean distance.

A second investigation asks what these examples do when used for additional training. Under the authors’ fine-tuning schedule, examples generated by DeepFool increase robustness; examples generated by the sign attack can have the opposite effect. The authors investigate whether excessive perturbation strength helps explain this outcome by deliberately enlarging DeepFool vectors. Larger changes produce less favorable robustness after fine-tuning, supporting their concern that strongly modified images can become unsuitable examples of the original class. A further comparison evaluates the same fine-tuning process with different attacks. It shows that a coarse measurement procedure can overstate improvement and miss a decline detected by DeepFool.

The contribution is an efficient perturbation search and a warning about the interpretation of robustness experiments. An attack determines which weaknesses an evaluation can see. If it finds only unnecessarily distant failures, a classifier may appear more stable than the available evidence warrants. DeepFool improves that instrument through repeated local geometry, but it remains an approximation for nonlinear classifiers. Its affine calculations have exact geometric solutions; its general search makes greedy decisions and carries no assurance of discovering the globally shortest perturbation. The paper’s evidence supports tighter empirical estimates and useful fine-tuning examples within the tested settings, instead of a proof of protection against every smaller change.

### Ideas worth borrowing

Start from a solvable boundary problem. The authors make progress on a difficult nonlinear search by identifying a restricted version with a direct geometric answer. An affine decision surface can be reached by projection, so that calculation becomes the core operation of the general algorithm. This is a useful research pattern when a global problem resists convenient optimization: find a simpler subproblem that retains the essential constraint, solve it accurately, and make its assumptions visible. The resulting method can be easier to inspect because each update has a definite purpose. The same approach can help with constrained search wherever a complicated feasible region admits manageable local approximations.

Translate score gaps into movement. An output difference does not directly say how far an input must change. DeepFool combines the gap between competing scores with the sensitivity of that gap to input movement. This produces an estimated distance in the space where perturbations are measured. The reusable idea is to check the units of a decision criterion. When the scientific question concerns input change, comparing raw output margins can omit the rate at which those margins close. Sensitivity adjustment is useful in diagnostic tools that compare alternatives whose scores react differently to the same input displacement.

Renew local knowledge after every move. A linear approximation describes behavior near its construction point. DeepFool does not assume that this description remains adequate after an arbitrary displacement. It moves toward a locally estimated boundary, checks the actual prediction, and rebuilds the approximation when needed. This pattern balances simple calculations with responsiveness to nonlinear structure. It is relevant to optimization and search procedures that can cheaply estimate local behavior but cannot describe the whole landscape. The essential discipline is to make renewed observation part of the search, so that the next action depends on the current situation.

Evaluate the probe alongside the system. DeepFool treats a robustness estimate as the outcome of a search procedure, rather than as a property revealed without measurement error. A successful attack can still be a poor distance estimator if it makes an unnecessarily large change. This idea matters broadly in [evaluation and benchmarks](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/): apparent differences between systems may partly reflect what the test can detect. A useful evaluation should distinguish the target property from the instrument used to observe it. When an intervention changes a system, the probe’s sensitivity may change as well, so relative improvement does not automatically remove measurement bias.

Vary transformation strength separately. The magnification experiment retains DeepFool’s originating directions while increasing the size of the changes. That comparison examines a more focused hypothesis than simply contrasting unrelated augmentation procedures. Researchers can borrow this design when a transformed training set helps or harms performance and the reason is unclear. Changing strength while keeping the source of the transformation consistent helps identify whether the intervention has moved beyond a useful neighborhood. It also encourages inspection of the transformed examples: a procedure intended to preserve a label can eventually produce inputs for which that label becomes questionable.

Keep empirical reach separate from guarantees. A short successful perturbation proves that the search reached a changed decision within that displacement. It does not prove that every shorter displacement preserves the answer. DeepFool is explicit about the gap between its exact affine calculation and its approximate nonlinear search. That distinction is valuable whenever a mathematically motivated procedure becomes an engineering measurement. Reporting what was found, which objective it satisfies, and which alternatives remain unexcluded gives readers an actionable result without turning a practical estimate into an unsupported certificate.

### How Mova uses it

For Mova, the small transparent language system written in Rust, the useful connection begins with evaluation design. DeepFool offers a precise example of how to define a failure, constrain the changes allowed to an input, and search for a small change that exposes that failure. There is no established Mova implementation or evaluation of DeepFool to describe. Its relevance is therefore prospective: some ideas could guide focused diagnostics, while direct use of the algorithm would require components that satisfy its mathematical assumptions.

A potential application would be a classifier inside Mova that accepts a continuous representation and exposes differentiable class scores. In that setting, a DeepFool-style test could ask how far the representation must move before the selected category changes. The scores would identify the current winner, their derivatives would support local approximations, and the chosen norm would specify what counts as a small movement. Such a result would concern the stability of that particular component. It would need to be labeled accordingly, since a representation-level decision test does not on its own establish robustness of the whole language system.

The distinction between continuous coordinates and written language is central. DeepFool adds a numerical vector to an image representation. A word replacement, punctuation change, or spelling alteration belongs to a different space of possible modifications. Even if a component used [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/), an arbitrary nearby vector would not necessarily correspond to a permissible word. A boundary found in an internal space could expose numerical sensitivity while failing to supply an actual sentence that a person could enter. Direct application would therefore require a clear account of what the modified representation means.

Mova could borrow the paper’s insistence on defining the measurement before choosing the search. A test of internal numerical sensitivity might reasonably use a norm over continuous features. A test of text-facing behavior would instead need an explicit set of allowed edits and a task-specific account of which edits preserve the intended meaning or label. Those tests would answer different questions. Recording their assumptions would help prevent a small internal displacement from being presented as though it were automatically a small linguistic change.

Transparency creates another possible use. A compatible implementation could expose the quantities that determine an update: the original class, the competing score, the gradient difference, the estimated boundary distance, and the selected displacement. That would make the diagnostic itself inspectable. A reader could see why the search preferred a particular competitor and why it chose a particular step length. The explanation would concern the numerical search. It would still be distinct from an account of the grammatical or semantic evidence behind the classifier’s original answer.

The training experiments suggest a practical caution for any future augmentation scheme. A modified input remains useful only if the retained training target is appropriate. DeepFool’s enlarged digit examples show why attack success does not settle that issue: a sufficiently strong change can make a different class plausible. For Mova, the corresponding check would concern the actual language task. An edit could be small in written form and substantial in meaning, or extensive in wording while preserving the relevant content. The paper motivates examining that relationship; it supplies no language-specific rule that resolves it.

A separate borrowing concerns evaluation after an improvement. If Mova were trained using examples from a particular perturbation generator, the same generator should not automatically be treated as a complete judge of the outcome. DeepFool demonstrates how an attack can exaggerate the apparent benefit of fine-tuning. Mova could respond by keeping the training intervention, the admissible changes, and the evaluation search separately documented. Where several meaningful probes are available, disagreements between them would be information about the measurement process rather than something to conceal behind a single robustness number.

The Rust implementation language does not change these requirements. A useful adaptation would first identify a compatible decision component, define a perturbation space, and determine how the changed example should be interpreted. Where those conditions hold, the local projection mechanism could support an inspectable sensitivity test. Where they do not, the more immediate contribution is methodological: make the failure condition explicit, measure changes in appropriate units, inspect whether labels remain valid, and state the limits of the search. These are concrete possibilities for Mova, with implementation and empirical validation still to be established.

### The problem and its context

#### Ordinary accuracy leaves the neighborhood untested

The paper’s starting concern is that successful image recognition does not imply stable behavior around the recognized image. A classifier can assign the expected label to an input while assigning another label to a nearby point. Ordinary evaluation observes decisions on the examples it includes. It does not automatically inspect the surrounding directions that a deliberate search might choose.

That distinction explains why high classification performance and adversarial instability can coexist. The test distribution may contain images on which the classifier behaves well, while carefully selected modifications lead outside the regions supported by those decisions. DeepFool does not need the original classifier to perform poorly on ordinary inputs. Its question concerns the geometry around inputs that already receive a prediction.

The authors describe perturbations that can be very small and difficult to notice. Their opening example begins with an image labeled whale and ends with a modified image labeled turtle. The original image and its altered version can look similar while occupying different decision regions. This makes the phenomenon scientifically interesting: a minor numerical change can have a large effect on the discrete answer.

The example also introduces a distinction between attacks. DeepFool and the fast gradient sign method both obtain the alternative label, yet they do so with different perturbation sizes. Their shared success does not make them equivalent tools for measuring robustness. The larger change leaves open how much closer the original decision boundary might have been.

A useful way to read the paper is therefore as a study of measurement resolution. If the target property is the smallest sufficient change, an attack that repeatedly makes larger changes has limited resolution. It can reveal that a failure exists without locating that failure accurately enough for comparison. Improving the search can lower the estimated robustness even though the classifier itself has not changed.

This is especially important when comparing architectures. A reported perturbation length depends on the classifier’s boundaries and on the search’s ability to find them. If the search interacts differently with different classifiers, a ranking may partly reflect that interaction. DeepFool seeks a practical procedure more closely aligned with the distance being measured.

#### The target is escape from the original prediction

The formal problem takes the classifier’s initial answer as its reference. It seeks an additive vector that produces a different estimated label and makes that vector as short as possible. The desired destination is left open. Any alternative prediction is sufficient.

This differs from forcing an image into a selected class. A prescribed destination may require moving farther than the nearest available decision change. The authors mention earlier software with a specified-class objective, while emphasizing that such a procedure need not recover the smallest perturbation. DeepFool instead asks how easily the current decision can be left.

The distinction also separates prediction stability from correctness. The original answer need not appear as a ground-truth label in the mathematical definition. If the classifier begins with an incorrect prediction, changing that prediction still satisfies the search objective. The resulting distance describes stability of the decision that was actually made.

That choice is appropriate for the geometric problem, but its meaning should remain clear. A small decision-change distance identifies local sensitivity. It does not alone say whether the changed answer is more or less semantically appropriate than the original one. Interpreting the altered image as an adversarial example generally adds an assumption about preserving its intended category.

The paper’s fine-tuning analysis later returns to that assumption. A small change near a boundary can expose an unwanted decision. A sufficiently enlarged change can plausibly alter the object represented by the image. The optimization condition itself does not distinguish these situations because it checks the classifier’s label, not human agreement about image identity.

The main measurement uses Euclidean distance. This makes the objective explicit and supports a direct projection calculation. Other notions of perturbation size remain possible, and the authors derive a norm-based extension. The chosen geometry is consequently part of the question, rather than a neutral container for any possible meaning of robustness.

#### Why normalized averages are useful and incomplete

A single image supplies a local problem. To compare classifiers across data, the authors divide each minimal perturbation norm by the norm of its original image and take an expectation over the input distribution. The experimental version replaces that expectation with an average over evaluation examples and replaces the unknown minimum with a computed perturbation.

This creates a practical summary of relative decision distance. The normalization relates the required change to the numerical magnitude of the input. It avoids interpreting an absolute perturbation length without reference to the image being modified. The average then supports comparison across the chosen evaluation set.

The summary still inherits the assumptions of its ingredients. Its meaning depends on the input representation, the chosen norm, the data being averaged, and the accuracy of each search. A single number cannot remove those dependencies. In particular, an overestimated local minimum contributes an overestimated distance to the average.

The direction of the comparison can initially seem counterintuitive. For the classifier, a small minimal perturbation indicates vulnerability. For the attack, discovering a smaller successful perturbation indicates better performance at the measurement task. DeepFool can therefore improve the evaluation by reporting less apparent robustness for an unchanged classifier.

An average also leaves individual variation unresolved. An improved aggregate does not establish that every image has moved farther from a competing decision. Some inputs can remain close to a boundary even if the overall statistic increases. The paper uses the average as an experimental measure, instead of deriving a common protected radius around all possible inputs.

These qualifications do not make the statistic unhelpful. They identify what an informative interpretation requires. The paper’s central argument is that the search component deserves attention because its error directly changes the measured quantity. Before treating a robustness estimate as a classifier property, the reader needs to know how the perturbations were obtained.

#### The earlier optimization approach

The authors place their work after research that established adversarial instability through carefully constructed examples. Their discussion of Szegedy and colleagues describes a search based on penalized optimization. That procedure provided a way to find perturbations and helped make the vulnerability visible.

The paper also reports that the earlier analysis considered network complexity as a possible reason for adversarial examples. DeepFool does not resolve that explanation. Its concern is the practical tool needed to investigate the phenomenon more accurately across classifiers and datasets.

The difficulty with the earlier optimization procedure is computational. It involves a succession of minimization problems, making extensive searches expensive. A method can be useful for demonstrating that adversarial examples exist while remaining inconvenient for evaluating large collections of images.

That matters because robustness comparison requires more than a few illustrative failures. A researcher may want to estimate average behavior, contrast architectures, or follow a classifier through additional training. Each objective requires many perturbation searches. A costly attack can make those investigations difficult to carry out at the intended scale.

DeepFool’s response is to exploit special structure. Rather than hand the entire problem to a general optimizer, it repeatedly solves a local boundary-distance problem with a direct answer. The ambition is to retain a close connection to the minimal-change objective while reducing the work required for each example.

The comparison is thus about a practical compromise. The authors want an attack accurate enough for measurement and efficient enough for broad application. Their local geometric calculation is designed around both requirements.

#### The earlier fast gradient approach

The fast gradient sign method addresses computational cost from another direction. It derives a perturbation direction from the gradient of the training loss with respect to the input. Taking coordinatewise signs produces a simple vector, and a scale parameter determines its magnitude.

Its efficiency is clear in the paper’s framing: a single gradient-based operation avoids a prolonged optimization. The authors regard this as an important advantage. Their objection concerns the relationship between the resulting vector and the shortest route to a changed decision.

Increasing a loss and reaching the nearest competing class boundary are related objectives, but they are not identical. The loss gradient describes a direction of local change in the training objective. It does not directly identify which class boundary is nearest under the chosen input norm.

The scale parameter adds another issue. A direction alone does not determine a successful minimal perturbation. A short movement may fail to change the prediction; a long movement may cross the boundary with substantial excess displacement. The authors describe the absence of a general scale-selection rule as a practical difficulty in their comparison.

DeepFool uses the current score and its derivative to estimate the required step length. In the multiclass case, it also compares alternatives before choosing a direction. Its extra calculations serve the distance objective rather than merely seeking an increase in the loss.

Repeated observation is the other difference. A single gradient step uses information at the starting point. DeepFool can revise its approximation after the candidate moves. This makes it responsive to boundary curvature while preserving a simple local operation.

The paper consequently positions itself between a costly optimization and a fast but coarse approximation. That framing should not be expanded into a claim that the sign method has no other use. The criticism is specific to accurate estimation of the smallest sufficient input change.

#### Related vulnerabilities and related defenses

Several earlier studies discussed by the authors concern nearby questions. Work based on Pascal3D+ annotations examined limitations in invariance to certain transformations. Another line investigated the smallest geometric transformation that changes a classifier’s decision. These studies also ask how stable recognition is, but restrict changes through transformation structure.

DeepFool’s main setting uses additive perturbations measured by a vector norm. The distinction affects which examples are admissible and which distances matter. A small geometric transformation and a short additive vector need not describe the same neighborhood around an image.

The authors also mention synthetic images that people cannot readily recognize but that receive confident classifications. Those examples probe the relationship between recognizable content and classifier confidence. DeepFool begins from an existing image and tries to remain close to it, so its immediate experimental question is different.

The paper’s motivation includes the reported transfer of adversarial perturbations across classifiers. A change constructed for a particular classifier can remain relevant to another, which the authors identify as a security concern. DeepFool’s algorithm itself is developed as a search against a fixed classifier; transferability motivates interest without becoming the principal object of its derivation.

On the defense side, the authors describe earlier work that added a smoothness penalty during learning. That work used the penalized optimization approach to produce adversarial examples. The connection reinforces the need for practical generation methods: the attack is also a source of training data.

The authors further acknowledge theoretical research giving robustness bounds for certain classifier families. Their contribution serves a different need. Rather than supply a general theory of complex decision surfaces, they offer an efficient empirical procedure for exploring them.

#### Why the measurement question reaches training

Once adversarial examples enter training, their construction matters in another way. An example is both evidence of a weakness and an input that will influence parameter updates. Two attacks can successfully change the same original prediction while producing training inputs with substantially different properties.

A nearby boundary-crossing image asks the classifier to correct behavior close to the original sample. A much more strongly altered image can place training pressure elsewhere. If the alteration changes the image’s plausible identity, retaining the original label can become problematic.

The authors investigate this issue through straightforward fine-tuning. Their aim is not merely to show that adversarial data can change a classifier. It is to examine whether the accuracy of perturbation generation affects the usefulness of that data.

Evaluation creates a further dependency. After fine-tuning, the decision geometry changes. A probe that was already coarse can respond to those changes in ways that exaggerate improvement or overlook remaining vulnerabilities. Measuring with the same broad attack family does not automatically settle whether the nearest boundary moved.

DeepFool’s methodological argument joins these concerns. Accurate perturbations can improve the examples used for learning, and accurate searches can improve the interpretation of what learning achieved. The generation procedure and the measurement procedure both belong to the scientific setup.

This explains why the paper devotes substantial attention to more than attack success. It is interested in the distance to failures, the consequences of using those failures for training, and the reliability of the conclusions drawn afterwards. The algorithm’s geometry provides a common instrument for those investigations.

### The method, step by step

#### Define the local search before solving it

The input image is represented by a numerical vector. A perturbation is another vector in the same space, added coordinate by coordinate. The classifier is held fixed during the search. Only the candidate input changes.

The local objective is:

```
Δ(x; k̂) = minᵣ ‖r‖₂ subject to k̂(x + r) ≠ k̂(x)
```

Here, x denotes the image, r denotes a proposed additive change, and k̂ maps an input to its estimated class. The Euclidean norm ‖r‖₂ measures the perturbation’s length. The symbol Δ names the smallest length satisfying the condition that the prediction changes.

The condition and the objective play separate roles. A tiny vector that leaves the prediction unchanged fails the condition. A large vector that changes the prediction is feasible but may be a poor solution to the minimization. DeepFool tries to combine successful escape with a short displacement.

No alternative target label appears in the expression. This gives the search freedom to leave through whichever competing boundary is easiest to reach. That freedom is essential to measuring local stability: a distant chosen class should not conceal an easier change to another class.

The formula also contains no training update. The classifier’s parameters remain constant while the image is moved. Fine-tuning later uses the resulting images in a separate procedure, where parameters do change. Keeping those stages distinct clarifies what each experiment measures.

The distribution-level quantity is:

```
ρ_adv(k̂) = Eₓ[Δ(x; k̂) / ‖x‖₂]
```

The symbol ρ_adv denotes average normalized robustness. Eₓ means expectation over the input distribution. The denominator ‖x‖₂ measures the original image using the same Euclidean geometry as the perturbation. The ratio expresses local decision distance relative to input magnitude.

This expectation is a definition of the target quantity, instead of something the algorithm can evaluate directly for an unknown distribution. Experiments use a finite set and estimated perturbations. Before reaching that practical estimate, the paper derives a way to calculate useful candidates.

The DeepFool perturbation search The steps in order.

The flow describes the multiclass logic in compact form. The binary version has a single separating surface, so it needs no competition among alternative boundaries. Both versions reuse an exact affine calculation inside an iterative nonlinear search.

#### Represent a binary classifier through its score

The authors first simplify the problem to classification between alternatives determined by the sign of a scalar score:

```
k̂(x) = sign(f(x))
```

The function f maps the image vector x to a real number. The sign operation converts that score into a discrete classification. The predicted class k̂(x) depends on which side of the zero-score surface contains x.

That surface is written as:

```
ℱ = {x : f(x) = 0}
```

The symbol ℱ names the set of inputs whose score vanishes. The expression after the colon gives the membership condition. It is the separating surface between positive and negative scores.

This representation makes the geometry visible. If a continuous movement changes the sign of the score, it encounters the zero-score surface along the way. Reaching that surface is therefore the central local task.

The score’s magnitude is informative but incomplete. A large absolute value may suggest separation from zero, yet distance also depends on how quickly the score changes when the input moves. DeepFool’s calculation combines both quantities.

Differentiability enters when the score is nonlinear. It allows the algorithm to estimate local change using a gradient. Before doing that, the authors study a setting where the gradient is constant and the geometry can be solved directly.

#### Solve the affine binary case

An affine binary score has the form:

```
f(x) = wᵀx + b
```

The vector w contains coefficients for the input coordinates, b is an offset, and wᵀx denotes a dot product. The superscript T marks the transpose needed to express that product.

The zero-score set is a hyperplane. Its orientation is determined by w, which is perpendicular to it. The offset b determines where the hyperplane lies relative to the origin.

For an image x₀, the shortest route to this surface follows the perpendicular direction. Motion parallel to the plane cannot reduce the score gap: it consumes length without bringing the point closer. The projection therefore uses w as its direction.

The resulting perturbation is:

```
r*(x₀) = −f(x₀)w / ‖w‖₂²
```

The subscript on x₀ identifies the starting image. The vector r*(x₀) is the exact affine projection displacement. The scalar f(x₀) gives the starting signed score, while ‖w‖₂² is the squared Euclidean length of the normal vector.

The negative sign makes the movement oppose the current score. The scale ensures that the projected point reaches the zero-score hyperplane. The formula does not ask for a hand-selected step length because the affine geometry determines the required length.

This also explains why raw score magnitude is not a distance. If the score changes sharply along the normal direction, a relatively small movement can remove a substantial score gap. The norm of w supplies that sensitivity information.

The result is exact for the stated geometry. It is not an approximation to a curved boundary, because curvature is absent from this case. That distinction gives the method a reliable local primitive while identifying the assumption that will be relaxed.

There is an operational subtlety at the endpoint. A point exactly on the separating surface may be subject to a tie convention or numerical ambiguity. The projection solves the boundary-reaching problem; a small additional displacement can be needed to obtain an unambiguous changed label. The paper handles this with an overshoot after the iterative search.

#### Build an affine approximation at the current point

A differentiable binary score need not have a flat zero-score surface. The direction that points towards a nearby tangent plane may cease to be ideal as the input moves. DeepFool handles this by using a new approximation at each current candidate.

At iteration i, the local problem is:

```
rᵢ = argminᵣ ‖r‖₂ subject to f(xᵢ) + ∇f(xᵢ)ᵀr = 0
```

The index i identifies the iteration, xᵢ is the current input, and rᵢ is the selected displacement. The gradient ∇f(xᵢ) records first-order changes in the score with respect to input coordinates. Its dot product with r estimates the score change produced by that displacement.

The constraint replaces the actual nonlinear score at a moved point with a first-order expression around xᵢ. It asks which short displacement would make that expression vanish. This is an affine problem of the kind already solved.

The binary update therefore becomes:

```
rᵢ = −f(xᵢ)∇f(xᵢ) / ‖∇f(xᵢ)‖₂²
```

The score f(xᵢ) supplies the current signed gap. The gradient supplies the normal direction of the local approximation. Its squared norm sets the scale needed to reach the approximate zero-score surface.

The new candidate is:

```
xᵢ₊₁ = xᵢ + rᵢ
```

The vector xᵢ₊₁ denotes the next input examined by the algorithm. It is obtained by adding the selected update rᵢ to the current candidate xᵢ.

The next decision is based on the actual classifier. This matters because the linearized constraint can predict boundary contact without achieving it on the true surface. If the class remains unchanged, the score and gradient are evaluated again at the updated point.

Recalculation lets the method respond to curvature. The next local normal can differ from the previous one, and the next step length can change as well. The algorithm does not insist on continuing along the initial direction.

The score-derived scale is also important. DeepFool does not merely take repeated gradient steps with an arbitrary common length. Each update attempts to reach a specific estimated boundary. The score gap determines how much movement appears necessary at that stage.

The paper relates this iteration to an underdetermined Newton procedure for root finding, known as the normal flow method. It also offers an interpretation as gradient descent with an automatically chosen step size. These connections explain the optimization structure without changing the adversarial objective.

Finding a root and finding the nearest root remain different tasks. A sequence of locally justified steps may approach a zero-score point that is not globally closest to x₀. The affine primitive is exact, but the nonlinear trajectory inherits no global distance guarantee from that fact alone.

#### Interpret the final displacement correctly

The iterative search creates a succession of candidate inputs. Robustness is measured using the final displacement from the original image. It is not measured by adding the lengths of every intermediate movement.

This matters because the search can change direction. The final vector reflects the combined effect of those changes. The route used to compute an endpoint and the endpoint’s Euclidean distance from the starting image are different quantities.

Once the procedure has accumulated a perturbation, the authors apply a small enlargement:

```
r_final = (1 + η)r̂
```

The vector r̂ denotes the accumulated estimate, η is a small positive parameter, and r_final is the enlarged perturbation. The factor moves the candidate slightly farther along the final displacement direction.

The experiments set η to 0.02. Its purpose is practical boundary crossing. Iterative projections can approach the zero-score surface so closely that the candidate effectively rests on it; the enlargement helps place the image beyond the dividing surface.

The overshoot should remain part of the interpretation of the output. The final vector is deliberately somewhat larger than the vector produced by the boundary search. This supports obtaining a changed decision but does not make the perturbation an exact minimum.

Nor does overshooting correct a poor local route. It addresses the ambiguity of stopping on a boundary, instead of the possibility that a different part of the nonlinear boundary is nearer. Those are separate issues.

The method’s reliability comes from checking actual predictions and updating local information. Its limitation comes from choosing those updates greedily. Both features should remain visible when the returned perturbation is used as a robustness estimate.

#### Move from a scalar score to class scores

For multiclass classification, the score function returns a value for each class. The prediction chooses the largest:

```
k̂(x) = argmaxₖ fₖ(x)
```

The function fₖ gives the score associated with class k. The operation argmax returns the class index receiving the greatest score. The symbol k̂ again denotes the discrete prediction.

The authors describe the score function as mapping an input space with n coordinates to an output space with c components. Here, n is the input dimension and c is the number of classes. The geometric argument uses score comparisons; it does not require a probability interpretation of the outputs.

For the original image x₀, the winning class becomes the reference. In the following explanation, j is a shorter name for k̂(x₀). Introducing this shorthand keeps the expressions readable without changing the objective.

A competitor can displace the original winner when its score reaches or exceeds the reference score. This creates a pairwise boundary for each alternative. The multiclass problem can thus be organized as a collection of comparisons against j.

These comparisons have different geometry. The class with the next-largest score is not necessarily the easiest one to reach. A larger score gap can close over a shorter input displacement if its sensitivity is sufficiently greater.

DeepFool therefore compares estimated boundary distances instead of selecting an alternative solely by score rank. That decision is the main addition needed to extend the binary projection idea to several classes.

#### Understand the affine multiclass region

The affine multiclass score function is:

```
f(x) = Wᵀx + b
```

The matrix W contains a coefficient vector for each class, while b contains class-specific offsets. Its column wₖ supplies the coefficients for class k, and bₖ is the matching offset.

A perturbation must allow a competing affine score to catch the original winner:

```
r* = argminᵣ ‖r‖₂ subject to ∃k ≠ j : wₖᵀ(x₀ + r) + bₖ ≥ wⱼᵀ(x₀ + r) + bⱼ
```

The vector r* is the desired displacement. The symbol ∃ means that some competing class k must satisfy the inequality. The index j denotes the original predicted class, and x₀ is the original image.

Only a competing class is relevant: comparing the winner with itself would leave the score unchanged. The condition expresses escape from the original winning region through any available competitor.

That region can be described by simultaneous inequalities:

```
P = ⋂ₖ₌₁ᶜ {x : fⱼ(x) ≥ fₖ(x)}
```

The symbol P names the original class region. The intersection operation ⋂ requires all the enclosed score comparisons to hold. The index runs over the c output classes.

With affine scores, each condition defines a half-space. Their intersection forms a convex polyhedron containing the starting image. Reaching a changed decision means reaching the boundary of that region and moving beyond it.

The relevant set distance is:

```
dist(x₀, Pᶜ)
```

The operation dist measures distance from x₀ to the set Pᶜ. Here, the superscript c denotes the complement of P, meaning the points outside it. This set notation is separate from the earlier use of c for class count.

The polyhedral view gives a direct solution. Each competing inequality defines a possible boundary, and the algorithm can calculate how far the image lies from its associated hyperplane. The nearest available escape determines the required projection.

The construction also explains why it is unnecessary to demand a particular replacement class. The objective is to leave the region, so the shortest exit is whichever constraint becomes active first under the best displacement.

#### Select the nearest affine competitor

The index of the closest boundary is computed through a gap-to-sensitivity ratio:

```
l̂(x₀) = argminₖ≠ⱼ |fₖ(x₀) − fⱼ(x₀)| / ‖wₖ − wⱼ‖₂
```

The symbol l̂(x₀) denotes the selected competitor. The absolute score difference in the numerator measures how far apart the outputs are at x₀. The denominator measures the Euclidean norm of the difference between their coefficient vectors.

The difference wₖ − wⱼ is normal to the hyperplane where those scores are equal. Dividing the score gap by that normal’s norm expresses the separation as an input-space distance.

This is the multiclass counterpart of the binary sensitivity correction. A score gap is measured in output units. The denominator supplies the conversion needed to ask how much input movement closes it.

The minimum is taken across competitors. The selected class need not be the runner-up by score, because the denominators can differ. DeepFool’s selection is geometrically motivated by the distance objective.

Once the boundary is chosen, the affine projection is:

```
r*(x₀) = |f_l̂(x₀) − fⱼ(x₀)| (w_l̂ − wⱼ) / ‖w_l̂ − wⱼ‖₂²
```

The subscript l̂ identifies quantities for the selected class. The vector w_l̂ − wⱼ provides the projection direction. The score gap and squared norm determine the scale.

The expression reaches the selected equal-score hyperplane. It has the same structure as the binary solution, with a score difference replacing the scalar score and a coefficient difference replacing the original normal vector.

This reuse is the conceptual economy of the method. Multiclass classification introduces several candidate exits, but the local movement to each exit remains a projection problem. Selection and projection can be understood separately.

The result is exact within the affine setting. When the scores become nonlinear, the same computation will solve a temporary approximation instead of the original global problem.

#### Construct nonlinear multiclass updates

For a differentiable multiclass classifier, the pairwise boundaries can curve. DeepFool approximates them around the current candidate xᵢ and compares the resulting local distances.

Define the current score difference as:

```
f′ₖ = fₖ(xᵢ) − fⱼ(xᵢ)
```

The scalar f′ₖ compares competitor k with the original class j at iteration i. The prime is part of the notation for this difference; it does not indicate differentiation.

Define the corresponding gradient difference as:

```
w′ₖ = ∇fₖ(xᵢ) − ∇fⱼ(xᵢ)
```

The vector w′ₖ describes first-order changes in the pairwise score difference. Each gradient is evaluated at xᵢ, so the approximation reflects the current candidate rather than only the original image.

Using a displacement u from that current point, the local class region can be expressed as:

```
P̃ᵢ = {xᵢ + u : f′ₖ + (w′ₖ)ᵀu ≤ 0 for every k ≠ j}
```

The set P̃ᵢ is the polyhedral approximation at iteration i. The tilde indicates approximation, and u is a local displacement. Every inequality requires the linearized competitor score to remain no greater than the reference score.

Writing the region with a displacement makes its center explicit. The approximation uses values and derivatives at xᵢ, and the variable u records movement away from xᵢ. This is the geometric content of linearizing around the current candidate.

The local nearest competitor is:

```
l̂ = argminₖ≠ⱼ |f′ₖ| / ‖w′ₖ‖₂
```

The index l̂ selects the smallest estimated Euclidean distance. The numerator is the current score gap, and the denominator is the current gradient-difference norm.

The corresponding update is:

```
rᵢ = |f′_l̂| w′_l̂ / ‖w′_l̂‖₂²
```

The vector rᵢ is the displacement towards the selected approximate boundary. The selected gap f′_l̂ sets the needed score change, and the selected gradient difference w′_l̂ determines direction and scale.

After updating the candidate, the algorithm evaluates the actual output scores and predicted class. If the reference class still wins, the approximations are reconstructed. A different competitor may be selected at the next iteration.

The reference class remains tied to the starting image. This preserves a consistent objective: leave the original prediction. The search is not intended to keep chasing successive labels after a changed decision has already been reached.

This mechanism combines competitor choice and repeated local projection. Either can matter. Selecting a nearby boundary is useful only if the estimated geometry is adequate, and a good local approximation still needs an objective that identifies the relevant exit.

The authors compare the approach with sequential convex programming because the difficult constraints are repeatedly replaced by linear ones. The local feasible region is tractable even when the true region is not polyhedral.

The procedure remains greedy. It chooses the nearest exit predicted by the present approximation instead of planning an entire globally optimal route. The authors explicitly state that this does not guarantee the best perturbation in the original nonlinear optimization.

Their empirical claim is narrower: the generated vectors are very small and appear to approximate minimal perturbations well. The experiments assess that claim through comparison with other successful searches.

#### Adapt the local projection to another norm

Euclidean length is not the only way to measure a vector. The authors generalize the update by changing the perturbation norm while preserving the boundary-reaching objective.

For an ℓₚ measure, the associated exponent is:

```
q = p / (p − 1)
```

The parameter p identifies the perturbation norm. The parameter q is its dual exponent, which determines how the gradient difference enters the calculation. At endpoint choices, the relationship requires the corresponding limiting interpretation.

The boundary-selection rule becomes:

```
l̂ = argminₖ≠ⱼ |f′ₖ| / ‖w′ₖ‖q
```

The score difference f′ₖ retains its meaning. The denominator now measures the gradient difference using the ℓq norm. The selected competitor is the one estimated to require the smallest ℓₚ displacement.

The update is:

```
rᵢ = (|f′_l̂| / ‖w′_l̂‖q^q) |w′_l̂|^(q − 1) ⊙ sign(w′_l̂)
```

The symbol ⊙ denotes coordinatewise multiplication. Absolute values, powers, and signs act on individual coordinates of the selected gradient difference. The factor outside that coordinatewise expression scales the direction to meet the local boundary constraint.

The paper connects this construction to Hölder’s inequality. In the local linear problem, that inequality gives a bound on the norm required to achieve a specified score change. The chosen direction attains the corresponding local solution.

This is more than changing the name attached to a result. Different norms can change the preferred direction and the competitor judged closest. The notion of a minimal perturbation depends on the geometry used to measure it.

The extension retains the same nonlinear limitation. Solving a norm-specific local problem exactly does not establish that a sequence of such solutions finds the global minimum on a curved boundary.

#### Examine the maximum-coordinate case

The paper gives a separate expression for the ℓ∞ norm. This norm measures a vector by its largest absolute coordinate, so it focuses on the strongest individual input change rather than total Euclidean length.

The competitor selection is:

```
l̂ = argminₖ≠ⱼ |f′ₖ| / ‖w′ₖ‖₁
```

The denominator ‖w′ₖ‖₁ sums the absolute coordinates of the gradient difference. The numerator is the corresponding score gap. Their ratio supplies the local boundary distance in the maximum-coordinate geometry.

The update becomes:

```
rᵢ = (|f′_l̂| / ‖w′_l̂‖₁) sign(w′_l̂)
```

The sign operation supplies a coordinatewise direction. The shared scalar gives the magnitude used for those signed changes. The selected quantities are recalculated at the current candidate whenever another iteration is needed.

This expression helps clarify the relationship with the fast gradient sign baseline. A sign operation can appear inside different algorithms. DeepFool uses the difference between class-score gradients and selects its scale through an estimated boundary.

The baseline instead uses the gradient of the training loss and an externally selected perturbation strength. The distinction concerns the complete construction, including which quantity supplies the direction, how the magnitude is chosen, and whether information is refreshed.

The norm extension is consequently a generalization of the projection strategy. It is not evidence that all norm-based notions of similarity are equivalent, nor does it supply a perceptual guarantee.

#### Form the empirical robustness statistic

The computed perturbations are aggregated over an evaluation dataset:

```
ρ̂_adv(f) = (1 / |𝒟|) ∑ₓ∈𝒟 ‖r̂(x)‖₂ / ‖x‖₂
```

The symbol ρ̂_adv denotes the empirical estimate. The set 𝒟 contains evaluation images, and |𝒟| is its size. The vector r̂(x) is the estimated perturbation for image x. The summation averages normalized Euclidean perturbation lengths.

For MNIST and CIFAR-10, the authors evaluate this quantity on test data. For ILSVRC2012, they use validation data. The split identifies which images support the reported measurement.

The estimate contains distinct approximations. A finite dataset stands in for the data distribution, and an attack-generated vector stands in for the unknown minimal perturbation. Better coverage of the distribution and better local optimization address different parts of that uncertainty.

A successful vector establishes a reachable changed decision. If a smaller successful vector is later found, the earlier vector was an overestimate of the target distance. This is why attack quality directly affects the statistic.

The maximum-coordinate version is:

```
ρ̂_adv^∞(f) = (1 / |𝒟|) ∑ₓ∈𝒟 ‖r̂(x)‖∞ / ‖x‖∞
```

The superscript ∞ identifies the alternative norm. Both the perturbation and original input are measured using their maximum absolute coordinate before the ratios are averaged.

The paper uses this version for comparisons on MNIST and CIFAR-10. Its values should remain associated with that geometry, rather than being interpreted as interchangeable with Euclidean robustness.

#### Identify the experimental classifiers

The MNIST experiments use a fully connected network and a LeNet convolutional classifier, each described as having two layers. Their training employs stochastic gradient descent with momentum through MatConvNet. Those choices specify the classifiers subjected to the attack.

For CIFAR-10, the authors train a three-layer LeNet architecture and a Network In Network classifier, abbreviated NIN. The same perturbation framework can then be examined across architectures within that task.

The ILSVRC 2012 experiments use pretrained CaffeNet and GoogLeNet. The software reference for Caffe is [Caffe: Convolutional Architecture for Fast Feature Embedding](https://md.research.elamur.ai/free/en/papers/jia-2014-caffe-convolutional-architecture-fast-feature/). These experiments extend the measurement question to the large-scale image recognition setting emphasized in the paper.

DeepFool does not require retraining these classifiers before perturbing an image. Its immediate requirements are the relevant scores and derivatives. The training descriptions establish where the evaluated decision functions came from.

The authors also release an official DeepFool implementation to support reproducibility. The algorithm is presented as a reusable search procedure, while the named architectures, datasets, and software identify the concrete experimental setting.

The paper’s conclusion describes evidence spanning three datasets and eight classifiers. Its setup names the architecture families used for the individual tasks. That overall statement should be retained as the authors’ description rather than reconstructed by inventing additional systems.

#### Specify the sign baseline and its scale

The fast gradient sign perturbation is written as:

```
r̂(x) = ε sign(∇ₓJ(θ, x, y))
```

The function J is the cost used in training. The symbol θ denotes classifier parameters, y is the image’s label, and ∇ₓ means differentiation with respect to the input. The scale ε determines perturbation strength.

The coordinatewise sign discards the gradient magnitudes while retaining their positive or negative directions. The result is computationally simple, but it still needs a choice of ε.

The authors choose the smallest ε that produces 90% misclassification after perturbation. This criterion applies to the data collectively. It is not an independent shortest-step calculation for every image.

That distinction is relevant to the comparison. Some images can cross a boundary before the shared strength is reached, while others can remain resistant along that direction. The resulting norm estimates reflect the calibration procedure as well as the loss-gradient direction.

The authors report that 100% misclassification cannot always be obtained by simply increasing ε. A larger movement does not necessarily make this particular procedure succeed on every example. Direction and strength jointly determine the outcome.

The penalized optimization baseline uses a different search mechanism, involving a series of penalized objectives. Together, these alternatives let the authors compare DeepFool with an expensive optimization-based procedure and an inexpensive gradient-based approximation.

The experiment compares complete attack configurations. It does not separately determine the best possible result for every conceivable modification of either baseline.

#### Separate perturbation generation from additional learning

After generating adversarial examples, the authors use them to fine-tune classifiers on MNIST and CIFAR-10. This changes the role of the perturbation. During attack generation, it is a candidate input to a fixed classifier. During fine-tuning, it becomes training data that influences the classifier’s parameters.

The principal comparison uses examples generated by DeepFool or by the fast gradient sign procedure. The authors also continue training on unmodified data. That reference condition helps distinguish the effect of adversarial inputs from the effect of additional optimization.

Fine-tuning runs for 5 extra epochs. The learning rate is reduced by 50%, and the adversarial conditions train only on the perturbed training set. The generated examples remain the same throughout those 5 epochs.

Keeping that collection fixed gives the experiment a specific interpretation. It examines learning from failures found for an earlier classifier state. It does not continually recompute each example as the parameters change.

Robustness is evaluated during the additional training using DeepFool. The authors choose it on the basis of its preceding perturbation comparisons. Fresh evaluation searches assess the changed classifier rather than assuming that the original training perturbations remain minimal or even remain adversarial.

This distinction matters because decision surfaces can move during learning. A training image constructed near an old boundary need not remain near the new boundary. The evaluation must therefore concern the current classifier.

The procedure is straightforward fine-tuning, and the authors distinguish it from earlier adversarial regularization based on a modified objective. Its outcomes should remain attached to this schedule and use of data.

#### Test the role of perturbation strength

The authors investigate whether overly large changes contribute to poor fine-tuning outcomes. They take DeepFool perturbations and multiply their norms through scaling factors α = 1, 2, 3 before constructing training examples.

The parameter α controls strength along the originating direction. This design narrows the comparison: the vectors come from the same search procedure, while the distance traveled along them changes.

That is more informative about magnitude than a comparison between unrelated attacks alone. Different attacks can vary in direction, scale selection, and iteration. Holding the source direction consistent reduces those differences in the magnification experiment.

The accompanying digit illustration begins with an image classified as 1 and shows modified versions classified as 7. The authors use it to explain how sufficiently strong alterations can make the original training label questionable.

The illustration does not introduce a semantic check into the optimization. DeepFool’s stopping condition still concerns the classifier’s answer. It instead shows why the meaning of a perturbed example must be considered separately when the example is used for learning.

A final measurement comparison follows NIN fine-tuning on sign-generated examples with the learning rate reduced by 90%. The authors evaluate the same evolving classifier using DeepFool and the sign method. This setup changes the observation procedure while keeping the training trajectory shared.

The comparison is designed to reveal whether apparent robustness improvement depends on the evaluator. Its logic follows directly from the paper’s original concern: an approximate perturbation search can misrepresent the distance to a changed decision.

The complete method therefore connects a local geometric calculation to a dataset statistic and then to controlled learning experiments. Each connection preserves a distinct question. The projection asks how to reach an approximate boundary, the empirical average summarizes discovered distances, and fine-tuning asks what happens when those discoveries become training examples. Their usefulness depends on maintaining those distinctions and reporting the assumptions under which each result is obtained.

### Experiments and results

#### The experiments distinguish finding failures from measuring distance

DeepFool is evaluated as a search procedure, a robustness measurement instrument, and a source of additional training examples. These roles require different readings of the results. When the classifier is fixed, a smaller successful perturbation is a stronger attack result because it locates a decision change closer to the starting image. When the classifier is being improved, a larger genuinely minimal perturbation would indicate greater stability. The same numerical direction therefore has opposite meanings depending on whether the comparison concerns attacks or classifiers.

The authors first compare the changes discovered by competing attacks. Their question is whether DeepFool can locate nearby failures more accurately without incurring the computational expense of the earlier optimization procedure. They subsequently change the classifiers through fine-tuning and investigate whether the generated examples improve robustness. Finally, they examine whether different evaluation procedures tell the same story about that improvement. This last comparison matters because an apparent training benefit can arise partly from a search becoming less effective.

A successful attack alone cannot resolve these questions. If a method alters an image substantially before obtaining another prediction, the result establishes that a failure is reachable. It leaves the location of the nearest failure uncertain. DeepFool’s experimental case rests on reducing that uncertainty through shorter successful displacements. Its advantage is consequently expressed through perturbation size, alongside the cost of obtaining the perturbation, rather than through an attack-success claim detached from distance.

The distinction also explains why the paper examines ordinary accuracy separately. Correct classification on evaluation images, sensitivity to carefully selected modifications, and computational efficiency are different properties. A classifier can perform well on the original images while admitting nearby decision changes. An attack can be inexpensive while finding unnecessarily distant changes. Additional training can improve a local distance estimate without producing an equally large change in ordinary test performance.

#### Image tasks, architectures, and evaluation splits

The experimental program includes MNIST, CIFAR-10, and ImageNet. Within these tasks, the authors use several architectures so that their conclusions do not depend completely on a single decision function. The detailed setup describes a fully connected classifier and LeNet for MNIST. Both have two layers, and their training uses stochastic gradient descent with momentum through MatConvNet. These networks also participate in the later fine-tuning investigation.

For CIFAR-10, the authors train LeNet with three layers and a Network In Network classifier, abbreviated NIN. Using different architectures on the same task helps separate the general behavior of the perturbation procedure from the behavior of a particular network. It also gives the fine-tuning analysis several settings in which to examine the relationship between attack construction and subsequent robustness.

The large-scale recognition experiment uses pretrained CaffeNet and GoogLeNet on ILSVRC 2012. The purpose is to establish that the search remains practical beyond the smaller image tasks. The paper does not extend its entire fine-tuning program to these classifiers. Its evidence for perturbation generation therefore covers a broader experimental range than its evidence for improving classifiers through additional learning.

Robustness is assessed using the MNIST and CIFAR-10 test sets. The ILSVRC2012 measurements instead use validation images. These are the evaluation inputs over which normalized perturbation lengths are averaged. They should remain distinct from the training images that are perturbed and reused during fine-tuning. The distinction prevents an improvement on the generated training collection from being mistaken for a fresh robustness evaluation.

The conclusion characterizes the overall investigation as spanning three datasets and eight classifiers. That is the authors’ account of the experimental coverage. The central comparison does not depend on reconstructing an architecture count from the narrative; it depends on applying the same robustness definition to the classifiers under consideration and reporting how the competing search procedures estimate it.

#### Reading the robustness metric correctly

For an evaluated image, the reported quantity is the length of the discovered perturbation divided by the length of the original image. The main experiments use Euclidean norms for both quantities. Averaging those ratios produces the empirical robustness statistic. It measures relative input displacement, rather than the proportion of images that an attack successfully changes or the proportion that the classifier labels correctly.

For a fixed classifier, finding a shorter successful displacement improves the estimate of its nearest decision boundary. The classifier has not become less stable because a better attack was run against it. Rather, the experiment has discovered instability that an earlier search placed farther away. This is the basis for the authors’ claim that DeepFool measures robustness more accurately than the compared alternatives.

The interpretation is asymmetric. A discovered adversarial image demonstrates that a changed decision exists at the reported displacement. It does not establish that nothing closer exists. Consequently, smaller successful vectors tighten the demonstrated distance, but even the smallest vector found in an experiment remains an estimate unless the optimization is known to be exact.

Averaging is useful for comparing many local searches, although it compresses their variation. The statistic does not reveal whether vulnerabilities are evenly distributed across images, concentrated among particular inputs, or associated with particular competing labels. The paper uses it as an aggregate measure of relative decision distance. It should not be interpreted as a common radius within which every evaluated prediction is protected.

The normalization also has a specific purpose. It expresses the alteration relative to the numerical size of the input, allowing the authors to discuss changes that are small compared with the original image. This remains a statement about norms. It does not directly count altered pixels, measure the fraction of an object that changes, or determine whether the image retains its category for a human observer.

#### What the baseline configuration contributes to the comparison

The penalized optimization baseline and the fast gradient sign baseline address the same broad vulnerability through different procedures. The earlier optimizer repeatedly minimizes penalized objectives. DeepFool’s motivation is partly that this search is expensive when repeated across many images. The comparison asks whether local projection calculations can provide equally useful or tighter perturbations at substantially lower computational cost.

The sign baseline supplies a computationally inexpensive alternative. Its direction comes from the input gradient of the training loss, and a scale parameter determines how much the image changes. In the authors’ configuration, that parameter is chosen as the smallest value yielding 90% misclassification across the data. The reported perturbation lengths therefore belong to a particular calibration rule.

This calibration matters because it is collective rather than individually minimal. Different images need not cross their decision boundaries at the same scale. A strength sufficient to reach the chosen misclassification level can take some images farther than necessary, while other images remain unchanged in prediction. DeepFool’s steps are instead calculated from the current image’s score differences and local boundary estimates.

The experimental contrast therefore includes direction selection, scale selection, and iteration. It is not a controlled comparison in which every attack follows an identical direction and differs only in implementation. This does not invalidate the practical comparison: complete attack procedures are what a researcher would use to measure robustness. It does limit attempts to attribute the entire gap to a single mathematical ingredient.

The authors additionally observe that increasing the sign attack’s scale does not always make every example misclassified. They report settings in which 100% misclassification remains unattained even with very large perturbations. This is evidence that a loss-derived direction and a larger step do not automatically produce a reliable route to a changed decision for every input.

#### DeepFool discovers closer decision changes

The principal attack result is that DeepFool obtains smaller perturbations than the competing procedures in the reported experiments. The authors give an example in which its average perturbation is 5 times smaller than the sign method’s estimate. This comparison concerns the magnitude of successful input changes, not a corresponding multiplier in classification accuracy or attack success.

For ILSVRC2012, the authors describe the separation from the sign baseline as an order of magnitude. That finding supports the paper’s large-scale motivation. The ability to run a search efficiently would be less useful as a measurement advance if the resulting perturbations remained coarse. Here, the reported result combines practical application to a large recognition task with substantially shorter discovered changes.

The comparison against the earlier penalized optimizer is more modest in perturbation size. DeepFool produces slightly shorter vectors according to the authors’ account. Its contribution relative to that procedure is therefore the combination of a small improvement in the discovered displacement and a substantial reduction in computational effort. The paper does not describe equally large distance gains against every baseline.

These findings support a comparative accuracy claim. If a successful DeepFool perturbation is shorter than another successful perturbation for the same starting decision, then the longer construction was not minimal. The shorter construction improves the known bound on the required change. It does not prove that DeepFool has exhausted every possible route through the nonlinear decision surface.

This qualification is essential to understanding the results without weakening their practical importance. A robustness estimator can be valuable because it finds consistently tighter failures than available alternatives. It need not solve every instance exactly to improve experimental conclusions. The paper’s claim is strongest when understood in this comparative, empirical sense.

#### Computational cost and the observed number of updates

DeepFool is substantially faster than the penalized optimization procedure in the authors’ experiments. Its computational structure explains the intended advantage: after obtaining local score information, it uses direct projection formulas instead of repeatedly solving a series of general optimization problems. The expensive nonlinear problem is approached through a succession of simpler local calculations.

The authors observe successful convergence in fewer than 3 iterations in practice. This is an empirical description of their searches. It helps explain why an iterative algorithm can remain efficient, since repeated approximation does not necessarily require a long sequence of updates. The result should not be read as a universal iteration limit for every classifier or input.

An iteration count is also different from elapsed time. Computing scores and derivatives can have different costs across architectures. Multiclass comparison requires information about competing outputs, and the underlying implementation determines how that information is obtained. The observed short searches support efficiency, while the runtime measurements supply the direct evidence about practical cost.

The timing caption identifies a Mid-2015 MacBook Pro without CUDA as the principal hardware environment. Some separately marked entries use a GTX 750 Ti GPU. That distinction belongs to the result because numerical runtimes are implementation and hardware measurements. CPU and GPU entries cannot be treated as though they were collected under an identical computational budget.

The supported conclusion is therefore narrower than declaring DeepFool universally fastest. The paper presents it as a practical way to obtain accurate perturbations, particularly compared with the costly optimization baseline. The sign method remains attractive for cheap attack generation. DeepFool’s value lies in spending additional local computation to obtain a more informative estimate of decision distance.

#### What the ImageNet examples establish

The authors describe ImageNet perturbations with a magnitude 1000 smaller than that of the original image. This statement conveys the scale of the observed vulnerability under their norm-based measurement. Strong recognition performance coexists with a nearby input whose predicted label differs, even though the added vector is small relative to the image vector.

The claim should remain attached to that measurement. It does not say that the attack changes a corresponding fraction of the image’s visible content. Nor does it specify that every coordinate receives an identical relative adjustment. Vector magnitude summarizes the perturbation as a whole, and several different coordinate patterns can have the same norm.

The whale-to-turtle illustration makes the comparison tangible. The starting image is assigned whale, while the modified image receives turtle. Both DeepFool and the sign baseline can produce this alternative prediction, but the former uses a smaller disturbance. The illustration gives a concrete instance of why successful label change alone is insufficient for comparing distance estimators.

The visual example also supports the authors’ description of hardly noticeable DeepFool changes. Its evidential role is illustrative rather than exhaustive. It does not establish a perceptual threshold that applies to all images or imply that the same alternative label is always nearest for inputs assigned whale.

The broader result is that a practical search exposes substantial instability in the examined large-scale classifiers. DeepFool makes that instability easier to quantify by finding shorter successful changes without requiring the earlier optimizer’s computational burden. The experiment concerns the evaluated classifiers and images, rather than a general theorem about all image recognition systems.

#### Repeating the comparison with maximum-coordinate distance

The authors also evaluate perturbations using the ℓ∞ norm on MNIST and CIFAR-10. This measures a vector through its largest absolute coordinate. It therefore changes the search objective: reducing total Euclidean length and reducing the largest coordinate adjustment are different optimization problems, even when both concern the same classifier and image.

Under this alternative metric, the adapted DeepFool procedure again finds smaller perturbations than the sign baseline. The outcome broadens the empirical support for the boundary-search approach. Its usefulness is not restricted to the particular geometry of the main Euclidean experiments, although the resulting distances must still be interpreted within their own norm.

This comparison is informative because DeepFool’s maximum-coordinate update itself uses a coordinatewise sign operation. The distinction from the baseline cannot therefore be reduced to whether signs appear in the formula. The relevant differences include the class-score comparison used to obtain the direction, the boundary-derived scale, and the possibility of rebuilding the approximation.

The analysis supports the framework as a complete procedure. It does not separately measure how much improvement comes from competitor selection, adaptive scaling, or repeated evaluation. Those ingredients remain combined in the reported attack. Their joint performance is the evidence the paper offers for extending the method beyond Euclidean perturbations.

#### Fine-tuning on the generated images

The learning experiments concern MNIST and CIFAR-10. The authors compare additional training on DeepFool-generated images, sign-generated images, and ordinary images. The ordinary-data condition is important because more optimization can itself change the classifier. It provides a reference against which to assess the effect of replacing the training inputs with adversarial versions.

The main schedule adds 5 epochs and reduces the learning rate by 50%. In the adversarial conditions, training uses the perturbed collection alone. That collection stays fixed throughout the additional epochs. The experiment therefore asks what straightforward fine-tuning can learn from a previously generated set of failures, rather than continuously adapting the training attacks to every parameter change.

Robustness is evaluated with DeepFool as fine-tuning proceeds. This is a fresh assessment of the evolving classifier. The original modified training images need not remain adversarial after learning, and they need not remain close to the new decision boundaries. Evaluating only performance on those fixed examples would answer a different question from estimating current robustness.

The authors report improvements from DeepFool-based fine-tuning that are apparent after an additional epoch. Their highlighted examples are a 50% robustness gain for the MNIST networks and an increase of about 40% for NIN. These percentages concern the robustness statistic. They are not percentage-point changes in ordinary classification accuracy.

The chart presents those reported examples together while retaining their dataset labels. It compares the stated relative gains, instead of ranking the underlying classifiers by absolute robustness. The NIN result is approximate in the authors’ discussion.

Relative robustness gains from DeepFool fine-tuning on MNIST and CIFAR-10 The highlighted experiments show increased robustness after training on DeepFool-generated images.

**The numbers**

| System or setting | relative robustness improvement % |
| --- | --- |
| MNIST networks, DeepFool fine-tuning (this paper) | 50 |
| CIFAR-10 NIN, DeepFool fine-tuning, approximate | 40 |

Sign-generated training images produce less favorable outcomes under the same broad procedure. The authors find that this fine-tuning can lower robustness. That result shows why attack success is an incomplete description of training data. Images that change a classifier’s decision can still differ substantially in how useful they are for improving behavior around the original examples.

The proposed explanation is excessive perturbation size. The authors investigate it by enlarging DeepFool’s own changes, rather than relying entirely on the contrast between unrelated generators. The observed deterioration with stronger changes supports their hypothesis, while leaving open other differences between the generated collections. The controlled analysis is discussed more closely in the next section.

#### Test performance and the scope of the training result

The authors also report test error after the additional training. DeepFool-based fine-tuning can improve ordinary accuracy, whereas sign-based fine-tuning reduces accuracy in all the examined cases. The first statement is conditional: the paper does not establish an automatic accuracy benefit whenever DeepFool examples are introduced into learning.

The decline associated with sign-generated inputs is likewise specific to the experiment. The classifiers receive a fixed perturbed training collection under a reduced learning rate. The paper is not comparing every possible objective, mixture of clean and perturbed inputs, or strategy for regenerating examples. Its result concerns this straightforward continuation of training.

The authors explicitly distinguish their procedure from the earlier adversarial regularization study associated with the sign method. That study reported MNIST error moving from 0.94% to 0.84%. The authors explain that the earlier work changed the learning objective, whereas their own investigation performs direct fine-tuning. The different outcomes therefore do not establish a contradiction between equivalent experiments.

Taken together, the robustness and test-performance findings support attention to the properties of augmented images. A heavily modified example can pull learning away from the original data distribution or make its retained label questionable. The paper provides evidence consistent with that explanation, rather than a complete account of every parameter change caused by fine-tuning.

The final evaluation comparison sharpens the measurement lesson. NIN is fine-tuned on sign-generated examples with a 90% learning-rate reduction, then examined using different attacks. The resulting judgments disagree: the sign procedure makes the benefit look larger and fails to reveal an early loss of robustness that DeepFool detects. The evaluation method thus affects the interpretation of learning, as well as the perturbation lengths reported for a fixed classifier.

### What the ablations show

#### The controlled analyses focus on training and measurement

There is no systematic removal study that assigns an independent contribution to every DeepFool operation. Instead, the paper investigates particular explanations through changes in training data, perturbation strength, norm, and evaluation procedure. These comparisons are valuable, but each answers a narrower question than whether every part of the attack is necessary.

For instance, comparing DeepFool with the sign baseline changes several aspects of perturbation construction at once. Their source quantities differ, their scales are chosen differently, and their use of repeated local information differs. A favorable result for DeepFool supports the complete algorithm. It does not establish which ingredient accounts for a specified share of the advantage.

The more focused analyses concern what happens after perturbations are generated. The authors ask whether stronger versions of the same originating changes make worse training data and whether different attacks judge the same fine-tuning trajectory differently. These investigations connect the quality of an adversarial example with the quality of the scientific inference drawn from it.

The strength of the experimental design is therefore explanatory rather than exhaustive. It tests plausible mechanisms behind observed behavior without claiming to isolate every cause. That distinction allows the results to inform engineering choices while preserving uncertainty about untested combinations of attack components, training schedules, and input transformations.

#### Continuing ordinary training provides a reference

The authors include additional epochs on unmodified images alongside the adversarial conditions. This reference addresses a basic alternative explanation: an observed improvement might follow from further optimization, regardless of whether the images were deliberately changed. Without such a comparison, the benefit could too easily be attributed entirely to adversarial augmentation.

The ordinary-data condition also puts the intervention in context. Fine-tuning on perturbed images changes which inputs the classifier encounters during those additional updates. The comparison asks whether that change supplies useful pressure beyond continuing to learn from the original collection. It is therefore a test of the training-data intervention under the selected schedule.

This control does not establish the best achievable outcome from ordinary training. The paper does not present an unrestricted search over learning schedules for every condition. The relevant evidence is that the adversarial and ordinary continuations are examined within a shared experimental framework, making their trajectories more informative than a simple before-and-after comparison.

Nor does the control reveal which internal representations change. Increased robustness after DeepFool fine-tuning is an observed outcome. The interpretation that nearby failures encourage better local decision boundaries is consistent with the construction of the examples, but the paper does not trace that process through a detailed analysis of internal features.

#### Fixed adversarial collections clarify what is being learned

The perturbed training collection is retained across the 5 additional epochs. That choice means the study examines learning from an existing set of adversarial images. It is not an experiment in continuously finding the current classifier’s nearest failure after every update. The distinction affects how the later training trajectory should be read.

As parameters change, an image generated near an old decision boundary may fall well inside a new region. It can cease to be adversarial while remaining a useful training example. Conversely, newly vulnerable directions can appear that are absent from the fixed collection. Training performance on that collection alone would not reveal either possibility.

The authors address the evaluation side by recomputing robustness for the evolving classifier. This gives the experiment a meaningful separation between the failures used for learning and the failures discovered afterwards. The fresh searches ask whether the intervention changes distances around evaluation images, rather than merely whether the classifier memorizes the supplied perturbations.

There is no controlled comparison between fixed collections and continually regenerated collections. The study consequently cannot identify which strategy would provide the best robustness, whether refreshing examples would change the benefit of DeepFool, or whether it would alter the sign-based outcome. Those are distinct experimental questions left open by the chosen design.

#### Enlarging perturbations tests the magnitude hypothesis

The magnification study is the most direct test of the authors’ explanation for unfavorable fine-tuning results. DeepFool changes are scaled using α = 1, 2, 3 before the modified images are used for learning. Their originating directions remain associated with the same attack, while the distance traveled along those directions changes.

This design is more focused than the comparison between DeepFool and the sign generator. The generators differ in several properties, so their training outcomes alone cannot establish that norm is the decisive cause. Scaling DeepFool vectors reduces that ambiguity by keeping their construction more consistent and deliberately varying strength.

The observed result is that larger changes yield lower robustness after fine-tuning. This supports the concern that adversarial inputs can become excessively altered for the intended learning task. More disturbance does not simply provide a stronger version of the same beneficial signal; it can change which part of the input space receives training pressure.

The analysis is bounded by the scaling choices examined. It does not establish a universal relation between every possible magnitude and every classifier’s robustness. Nor does it identify an optimal augmentation strength beyond the tested settings. The evidence shows that increasing strength in these comparisons is counterproductive, not that a single scale is best for all circumstances.

It also does not reproduce every property of sign-generated images. Their directions can differ from DeepFool directions, and their scales arise from a different calibration. The magnification experiment makes the size hypothesis more credible without proving that size alone explains the entire contrast between the original training conditions.

#### The digit example reveals why labels deserve inspection

The illustrated digit begins with a prediction of 1 and receives 7 after perturbation. The authors use progressively enlarged changes to show how an adversarial direction can move an image towards another recognizable category. This supplies a concrete interpretation of why large perturbations may become unsuitable examples of the original class.

For a small adversarial change, the intended training story is that the image remains an instance of its original category while the classifier behaves incorrectly. Fine-tuning can then pressure the classifier to repair that local failure. If the change becomes strong enough to alter the image’s plausible identity, retaining the original label can instead introduce a questionable target.

The attack objective does not resolve this issue. It checks whether the estimated class changes. It does not ask people to decide which digit is present or verify that the semantic category remains constant. Attack feasibility and label preservation are therefore separate conditions when the generated input is repurposed as training data.

The illustration supports a possible mechanism, rather than measuring how frequently it occurs throughout the training collection. The paper does not report a systematic human-label study of all perturbed images. Its evidence combines visual plausibility with the controlled finding that larger perturbations worsen the fine-tuning result.

This is enough to motivate inspection without establishing a complete causal account. Excessive changes can affect the distribution of training inputs in several ways, and a visible category shift is one possibility. The supported lesson is that retaining an original label requires justification after augmentation; successful attack generation does not supply that justification automatically.

#### Different evaluators examine the same training trajectory

The NIN measurement experiment isolates a different issue. The classifier is fine-tuned on sign-generated inputs, with the learning rate reduced by 90%, and its changing robustness is then assessed with DeepFool and the sign method. The training trajectory is shared. What changes is the instrument used to describe that trajectory.

This is an important control because disagreement cannot be attributed simply to different training interventions. The evaluators observe the same evolving classifier and nevertheless produce different accounts of its robustness. The comparison therefore exposes a property of measurement, rather than merely another difference between trained networks.

The authors report that the sign-based assessment overstates improvement. It also misses the robustness decline at the first additional epoch that appears under DeepFool evaluation. The disagreement is consequential: it affects whether a stage of learning appears beneficial, rather than only changing the numerical scale of an otherwise identical conclusion.

The figure expresses measurements relative to each procedure’s estimate for the starting network. This makes the apparent change easier to follow, but it does not remove attack-dependent behavior. A search can overestimate the initial minimum and overestimate the later minimum by a different amount. Relative reporting preserves that changing approximation error.

The paper does not provide a complete per-image explanation for the disagreement. It does not establish which boundary shifts cause every divergence between the curves. Its direct evidence is that the evaluators judge a common intervention differently, in a setting where DeepFool has already found tighter perturbations in the main comparisons.

#### Relative gains still depend on the search

It can be tempting to regard a relative robustness improvement as more trustworthy than an absolute distance because the classifier is compared with its own starting state. The NIN analysis shows why that reasoning is incomplete. The search procedure also interacts with the classifier, and that interaction can change during training.

Suppose an attack follows a direction that becomes less useful after fine-tuning. It may need a larger perturbation even if another nearby boundary remains accessible in a different direction. The increased attack estimate would then combine a change in the classifier with a change in the attack’s ability to locate its weaknesses.

The paper’s comparison does not require that this precise mechanism explain every observation. It establishes the broader point empirically: normalizing by a starting value does not make the evaluator irrelevant. The resulting curve still depends on which failures the search can discover at each stage.

This matters when interpreting augmentation experiments. Training can improve resistance to the examples supplied while leaving other short failures available. If the evaluator shares the generator’s limitations, an apparent robustness gain may be broader in presentation than in evidence. DeepFool’s analysis encourages examination of the observation process alongside the intervention.

The useful conclusion is not that all relative gains are misleading. It is that their reliability comes from the underlying measurements, not from normalization alone. A relative statistic can be informative when the attack remains an adequate probe before and after learning.

#### The norm comparison tests adaptability

Repeating the attack comparison under ℓ∞ distance investigates whether DeepFool’s benefit survives a change in geometry. The authors report that the adapted method continues to discover smaller perturbations than the sign baseline. This provides support for the projection framework beyond its main Euclidean presentation.

The result should remain separate from a component ablation. The maximum-coordinate version still combines pairwise score analysis, competitor selection, calculated step lengths, and repeated local approximation. It tests the adapted procedure as a whole. It does not measure the independent contribution of each operation.

The comparison also discourages a superficial interpretation of sign-based updates. DeepFool can use coordinate signs while retaining a boundary-distance objective. The important question is what determines the direction and magnitude, not whether a particular elementary operation appears in the formula.

Across the controlled analyses, the paper’s argument becomes more specific. Shorter failures can be better measurements and more useful training examples under the studied schedule. Strengthening those examples can reduce their value, while a coarse evaluator can misdescribe the resulting classifier. These are related findings, but none requires treating every adversarial input or every robustness metric as interchangeable.

### Limitations

#### The authors state that the nonlinear search is not globally exact

The clearest acknowledged limitation concerns optimality. DeepFool chooses updates from local linear approximations and does not guarantee recovery of the globally shortest perturbation for a nonlinear classifier. A locally nearest estimated boundary can guide the search toward a successful endpoint without identifying the closest point on the actual decision surface.

The affine case has a stronger mathematical status. Its boundary-distance calculation has a direct solution because the relevant geometry is flat. Once that calculation is embedded in repeated approximations to a curved surface, its local exactness no longer establishes global exactness. The distinction is part of the method’s design, rather than a contradiction between its derivation and its experiments.

Successful comparisons with other attacks provide empirical support for approximation quality. They show that DeepFool finds shorter changes than those procedures in the reported settings. They do not reveal the remaining gap between its result and the unknown true minimum. Every compared attack could, in principle, miss a still closer failure.

A careful-reader implication is that the returned distance is supported by a construction, not by exhaustive exclusion. The discovered adversarial input demonstrates that a changed decision is reachable within that displacement. The search does not prove that all shorter permitted changes preserve the original prediction.

#### Practical crossing differs from exact boundary contact

The authors introduce a small overshoot because repeated projections can approach a separating surface without placing the input clearly beyond it. Their experiments use η = 0.02 for this adjustment. This is an acknowledged implementation consideration with a straightforward purpose: obtain a changed classification rather than rest at an ambiguous boundary.

The practical output consequently includes deliberate enlargement of the estimated boundary-reaching vector. This does not undermine the attack, since a changed decision is required. It does mean that the operational perturbation should not be described as an exact mathematical minimum merely because the local projection formula has an exact solution.

Overshoot also addresses a different issue from global search quality. Extending the final vector slightly can help cross the boundary encountered by the algorithm. It cannot establish that this was the nearest boundary or repair a route that missed another close part of the decision surface.

The distinction becomes relevant when reporting very small perturbations. Numerical success, boundary contact, and exact minimum distance are related but separate claims. DeepFool is engineered to produce successful nearby changes; the paper’s explicit optimality qualification remains necessary after the crossing adjustment.

#### Prediction change is the formal target

A limitation implied by the objective is that the initial prediction supplies the reference label. The optimization does not require that prediction to match the correct category. A change from an initially incorrect answer can still satisfy DeepFool’s condition, including a change that happens to improve classification.

This does not make the geometric quantity ill-defined. Stability around an existing decision is meaningful whether the decision is correct or incorrect. It does constrain the language used to describe the result. Every successful prediction change should not automatically be presented as a transition from correct recognition to an induced error.

The aggregate interpretation depends on the evaluation population as well. Unless measurements explicitly restrict attention to initially correct examples, the average concerns stability of the decisions made on the selected inputs. It is not automatically an average distance from correctness to error.

The sign baseline uses labeled loss information and a misclassification-based scale criterion, while DeepFool’s central objective concerns departure from the original prediction. These operational differences deserve attention. The paper compares practical adversarial procedures, but their mathematical conditions should not be silently collapsed into an identical definition.

#### Numerical closeness does not certify perceptual identity

The paper measures changes with vector norms and illustrates examples that appear barely altered. The authors also recognize, through their magnification analysis, that sufficiently strong perturbations can plausibly change a digit’s identity. Their own discussion therefore makes clear why geometric smallness and label preservation should not be treated as the same condition.

A further careful-reader limitation is that neither Euclidean distance nor maximum-coordinate distance is a complete account of visual similarity. Those quantities summarize numerical movement in the input representation. They do not evaluate which parts of an image change, whether the change is salient, or how a person would categorize the result.

The visual examples provide useful evidence about particular constructions. They are not a systematic perceptual validation of every attack output. The study does not establish a norm threshold below which all images are guaranteed to retain their original category.

This matters differently for measurement and training. A decision-distance experiment can precisely describe sensitivity under a chosen norm. A label-preserving augmentation additionally assumes that the changed input should retain its target. The latter assumption needs support beyond the fact that an attack successfully crossed a classifier boundary.

#### The average does not describe every image

The robustness statistic summarizes normalized distances over an evaluation set. A careful-reader limitation is that this average leaves the distribution of local vulnerabilities unresolved. A larger average can coexist with inputs that remain exceptionally close to another decision region.

The paper’s improvement claims should therefore remain at the level measured. They do not establish an equal gain for each image, a uniform protected neighborhood, or the absence of isolated weaknesses. An aggregate can be useful for comparison without supplying any of those stronger properties.

The finite evaluation collection introduces a separate limitation. Its average represents the tested images and serves as an estimate for the data distribution. Inputs outside that collection may have different geometry. Search accuracy and data coverage address distinct uncertainties, so improving one does not automatically settle the other.

Normalization adds another dependency on the numerical representation of the input. The denominator is the original image’s norm, not a representation-independent measure of content. A careful interpretation keeps the result tied to the preprocessing, input space, and norm under which it was obtained.

#### The sign baseline is tested with a particular scale rule

The authors state how they select the sign attack’s strength: the smallest value meeting the 90% misclassification criterion. This is part of the experimental configuration. A careful-reader limitation is that the resulting perturbation gap compares that full procedure with DeepFool, including its collective calibration.

The comparison does not independently determine the shortest successful step along the sign direction for every image. Such a procedure would answer a different question and could change some returned lengths. The paper’s results do not establish what every alternative calibration of the baseline would produce.

The authors’ configuration remains relevant to their motivation. Choosing the strength is a practical difficulty, and a procedure that derives step sizes from local boundary information addresses that difficulty directly. The limitation concerns the breadth of the conclusion, not whether the configured comparison is informative.

Similarly, the attack comparison does not isolate every reason for DeepFool’s advantage. Differences in direction, scale, and iteration are combined. A conclusion about the complete method is supported; a precise allocation of credit among its ingredients is not supplied by these experiments.

#### Fine-tuning outcomes belong to the reported schedule

The authors explicitly note that their direct fine-tuning differs from the modified learning objective used in the earlier adversarial regularization study. That distinction limits claims about the sign-generated examples. Their unfavorable behavior here does not establish that they are unsuitable for every possible training procedure.

The adversarial conditions use fixed modified training data for 5 extra epochs, with a 50% learning-rate reduction in the principal comparison. They do not mix ordinary images into those conditions or continually regenerate the perturbations as the classifier changes. These choices define the intervention whose outcomes are reported.

A careful-reader limitation is that the experiment does not identify an optimal adversarial learning strategy. Different objectives, refresh schedules, or mixtures of examples remain outside the comparison. The observed DeepFool benefit supports this straightforward fine-tuning use, instead of every possible way of incorporating its outputs into learning.

The scope also differs across datasets. The paper examines attack generation on the large-scale recognition task, but the additional-training results concern MNIST and CIFAR-10. It would be unsupported to transfer the reported robustness gains directly to CaffeNet or GoogLeNet without corresponding fine-tuning evidence.

#### Perturbation strength is not a complete causal explanation

The authors propose excessive magnitude as an explanation for harmful fine-tuning and test that proposal by enlarging DeepFool vectors. The observed deterioration supports the hypothesis. Their discussion appropriately treats it as an explanation supported by evidence, rather than a complete derivation of all learning outcomes.

A careful-reader qualification is that the original generators differ in more than magnitude. The direction of change, the selected alternative class, and the procedure for choosing strength can also affect the generated collection. Scaling DeepFool directions helps isolate one factor but does not reproduce every characteristic of the sign-based data.

The digit illustration likewise does not quantify the prevalence of changed semantic identity across the entire collection. It makes label corruption plausible for some strongly altered images. The paper supplies no comprehensive human categorization of all generated training inputs.

The supported conclusion is that excessive strength can reduce the usefulness of these examples and can jeopardize their retained labels. Establishing the relative contribution of magnitude, direction, label validity, and distribution shift would require additional controlled evidence.

#### Efficiency is observed rather than universally bounded

The reported short convergence behavior is empirical. The paper does not establish that every differentiable classifier will yield a successful result within the same number of updates. Boundary shape, score sensitivity, and the changing local approximation can all affect a search.

The hardware information also bounds the timing claims. A runtime measured on the stated laptop or GPU is evidence about that implementation and environment. It should not be converted into a universal computational ranking independent of architecture, derivative computation, or software choices.

Rapid success does not settle distance optimality either. A search can terminate quickly at a nearby changed prediction while missing an even nearer one. Runtime and approximation quality are separate properties, although the paper’s practical contribution is to obtain a favorable combination in its experiments.

These qualifications leave the main efficiency result intact: DeepFool makes tighter perturbation searches practical relative to the expensive optimization baseline. They prevent that empirical result from becoming an unsupported worst-case guarantee.

#### Direct transfer requires continuous, differentiable structure

DeepFool’s updates depend on gradients with respect to a numerical input. The experiments modify image vectors continuously. A careful-reader limitation is that this mathematical setting does not directly specify how to edit discrete written language or handle a decision mechanism that exposes no suitable derivatives.

An internal representation can support continuous movement without guaranteeing that the moved point corresponds to a valid external input. A nearby vector need not decode into an admissible word or sentence. Representation sensitivity and a realizable text attack are consequently different experimental objects.

Structured outputs create another difficulty. The paper’s stopping condition is a changed class label. Translation or open-ended generation would require a task-specific definition of failure, together with constraints on acceptable input changes. The original label-change objective cannot simply be reused without examining what it means.

The algorithm’s principles can still motivate new searches. Local approximation, distance-aware comparison, and careful evaluation remain useful ideas. What the paper does not establish is that its image-space perturbations or robustness gains automatically apply to those other settings.

#### Better attack estimates remain different from certification

The authors’ optimality qualification has a final methodological consequence. DeepFool is an empirical search for reachable failures. It does not certify that every perturbation below a specified size preserves the prediction. Finding a short failure and ruling out all shorter failures require different evidence.

An unsuccessful search would not by itself demonstrate robustness. It could reflect the absence of a nearby failure, but it could also reflect a limitation of the approximation or search route. The paper improves the practical instrument without eliminating that logical uncertainty.

The same caution applies after training. A larger DeepFool estimate is evidence that the method now finds decision changes farther away. The comparative attack results make that evidence more informative, yet they do not establish exhaustive protection within the newly reported distance.

This is the appropriate boundary of the paper’s contribution. It provides a clearer empirical view of local vulnerability and shows why the quality of that view matters. Its usefulness does not depend on turning the discovered distances into guarantees that the authors do not claim.

### What came after

#### Resistance becomes a central research objective

[Towards Deep Learning Models Resistant to Adversarial Attacks](https://md.research.elamur.ai/free/en/papers/madry-2017-towards-deep-learning-models-resistant/) is a later citing work from 2017. Its title identifies resistance to adversarial attacks as the research goal. That places it near the learning problem examined in DeepFool, where generated failures are used to change a classifier and the resulting robustness must then be assessed.

DeepFool contributes a specific warning relevant to that goal: improved performance against a particular search need not fully describe how nearby decision boundaries have changed. Its NIN analysis shows that different evaluators can give different accounts of the same fine-tuning process. A claim of resistance therefore needs an account of what the attack can detect, as well as a description of the training intervention.

The documented connection is a citation and a shared subject. It does not establish the later work’s exact objective function, attack configuration, or numerical findings. Nor does it show whether DeepFool supplies training examples, a baseline, or background motivation. The meaningful continuity is that robustness improvement and robustness measurement remain connected questions.

#### Prediction analysis uses a different analytical perspective

[Understanding Black-box Predictions via Influence Functions](https://md.research.elamur.ai/free/en/papers/koh-2017-understanding-black-box-predictions-influence/) also cites DeepFool and dates from 2017. The title places the work within prediction analysis and names influence functions as its approach. This broadens the later citation context beyond attack construction and defensive training.

DeepFool presents adversarial perturbations partly as probes of classifier behavior. A nearby altered decision reveals a sensitivity that ordinary evaluation may leave invisible. This connects its measurement role with questions in [interpretability](https://md.research.elamur.ai/free/en/topics/interpretability/), although the perturbation does not on its own explain every reason for the original prediction.

The citation does not establish how the later influence-function analysis uses DeepFool. It supplies no basis for describing a particular implementation, comparison, or experimental outcome. The supported relationship is thematic and bibliographic: both appear in a research discussion concerned with understanding learned predictions, while their named analytical instruments differ.

Keeping that distinction matters. A local input displacement answers a question about a reachable decision change. Another analytical framework may organize prediction analysis differently. Sharing a citation context does not make their explanations interchangeable.

#### Adversarial text changes the space of permitted inputs

[TextBugger: Generating Adversarial Text Against Real-world Applications](https://md.research.elamur.ai/free/en/papers/li-2018-textbugger-generating-adversarial-text-against/) is a citing work from 2018. Its title identifies adversarial text and real-world applications as its subject. The shift from images to language changes the object being modified, even while the general concern with deliberately induced failure remains recognizable.

DeepFool gives “small change” a precise numerical meaning through a norm on continuous vectors. A text attack requires its own account of admissible modification. A written change must be representable as text, and its relationship to the original task cannot be inferred solely from an internal numerical distance.

That comparison identifies a question rather than attributing a particular answer to TextBugger. The citation information does not specify its edit operations, optimization procedure, constraints, or results. It also does not establish that the later work converts DeepFool updates into textual changes.

The connection worth preserving is the separation between attack success and perturbation quality. DeepFool demonstrates that obtaining a changed answer does not determine whether the alteration is close to minimal or suitable for training. In a textual setting, those issues require definitions appropriate to written input and the behavior under evaluation.

#### Translation introduces a different kind of output

[Robust Neural Machine Translation with Doubly Adversarial Inputs](https://md.research.elamur.ai/free/en/papers/cheng-2019-robust-neural-machine-translation-doubly/) cites DeepFool and is dated 2019. Its title connects adversarial inputs with [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/). The supplied citation relationship establishes a connection to the earlier adversarial literature, while the title names a task beyond image classification.

The change of task matters for interpreting failure. DeepFool can stop when a discrete class differs from the starting prediction. Translation produces an output sequence, where a different wording is not automatically an error. A robustness investigation must therefore define what outcome is undesirable, alongside what input alterations are permitted.

DeepFool’s training analysis raises another relevant question: does an altered input remain compatible with its intended target? The image experiments show why a generator’s success does not settle the validity of a retained label. For translation, the corresponding relationship would concern the changed source and the intended translation.

These are conceptual connections, not descriptions of the later procedure. The title does not explain the meaning of doubly adversarial inputs, and the citation information provides no experimental details. The exact technical use of DeepFool remains unspecified.

#### Evaluation becomes an explicit topic for sequence tasks

[On Evaluation of Adversarial Perturbations for Sequence-to-Sequence Models](https://md.research.elamur.ai/free/en/papers/michel-2019-evaluation-adversarial-perturbations-sequence-sequence/) is another later citing work from 2019. Its title makes evaluation itself the subject. This has a particularly close thematic relationship to DeepFool’s argument that a robustness number depends on the procedure used to obtain it.

DeepFool’s strongest measurement example follows a shared training trajectory and changes the evaluator. The resulting disagreement demonstrates why the attack cannot be treated as an invisible, neutral component of the experiment. Its approximation quality affects the apparent size and even the interpretation of a learning effect.

A sequence-to-sequence setting adds questions that the image classification objective does not resolve. The evaluation needs to distinguish meaningful output degradation from acceptable variation, and the input perturbation needs a task-appropriate interpretation. These considerations follow from comparing the task settings, rather than from any detailed claim about the later paper’s findings.

The available citation information does not identify its evaluation criteria, datasets, or conclusions. It establishes that a later work explicitly concerned with adversarial evaluation cites DeepFool. The documented continuity is the research question about how to judge perturbations, not a demonstrated reuse of its projection algorithm.

#### Certified robustness asks for stronger evidence

[Certified Robustness to Text Adversarial Attacks by Randomized MASK](https://md.research.elamur.ai/free/en/papers/zeng-2023-certified-robustness-text-adversarial-attacks/) appears among the later citing works in 2023. Its title names certified robustness in a textual setting and identifies randomized masking. It does not supply the conditions, construction, or numerical extent of any guarantee.

The contrast in stated objective is nonetheless informative. DeepFool finds nearby failures and estimates their distance. Its authors explicitly acknowledge that the nonlinear search need not recover the global minimum. A certification claim concerns what can be guaranteed under stated assumptions, so it requires a different kind of support from a successful empirical attack.

This distinction helps locate DeepFool’s contribution without attributing an unreported method to the later work. A discovered adversarial example establishes the existence of a failure at a particular displacement. Establishing that failures are absent from a specified set is a stronger and logically different task.

The citation relationship shows that DeepFool belongs to the background of a later paper naming that stronger objective. It does not reveal whether the later authors use its outputs experimentally or cite it to situate adversarial research. The technical connection should remain open rather than be reconstructed from the title.

#### Compositional attacks broaden the failure condition

[Jailbreak in pieces: Compositional Adversarial Attacks on Multi-Modal Language Models](https://md.research.elamur.ai/free/en/papers/shayegani-2023-jailbreak-pieces-compositional-adversarial-attacks/) cites DeepFool and is dated 2023. The title brings compositional attacks and [vision and language](https://md.research.elamur.ai/free/en/topics/multimodal/) into the later research context. It also names a jailbreak objective, which differs from changing an image classifier’s selected category.

DeepFool’s experimental failure condition is deliberately narrow and inspectable. The original predicted label either survives the perturbation or it does not. A jailbreak study needs its own definition of undesirable behavior, and composition introduces questions outside the paper’s individual image searches.

The citation does not establish that the later attack uses gradients, norm minimization, local polyhedra, or repeated projection. Those mechanisms cannot be inferred from a shared interest in adversarial behavior. Nor does DeepFool’s image evidence predict the effectiveness of the later attacks.

The relevant methodological connection is the need to specify the objective and allowed changes before interpreting success. DeepFool makes those choices explicit enough to support a geometric measurement. A broader system setting requires definitions suited to its own behavior rather than an automatic inheritance of the image-classification metric.

#### Universal perturbations alter the scope of the search

[Asymmetric Relational-Geometry Driven Universal Adversarial Perturbations for Vision-Language Models](https://md.research.elamur.ai/free/en/papers/ye-2026-asymmetric-relational-geometry-driven-universal/) is listed as a citing work from 2026. Its title names relational geometry, universality, and a vision-language setting. The citation information does not explain how those elements are constructed or evaluated.

DeepFool’s search is organized around an individual starting input. Scores and derivatives are recalculated at that input’s evolving candidate, and the final vector measures departure from that particular image. A universal objective names a different scope from independently finding a perturbation for each input, although the later work’s exact definition is not supplied.

The shared emphasis on geometry is suggestive but insufficient to establish a common algorithm. DeepFool’s geometry concerns local score differences and approximate class boundaries. The later title does not show whether its relational geometry uses those quantities, combines them, or follows another construction entirely.

These later citations place DeepFool within a widening discussion of adversarial behavior. The documented subjects extend from resistant classifiers and prediction analysis to text, structured outputs, certification, and multimodal attacks. What remains specific to DeepFool is its demonstrated combination of local projection search, tighter empirical distances, and controlled evidence that the perturbation procedure can influence both learning and the conclusions drawn about learning.

## Cite

Cite as Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi and Pascal Frossard B. 2016. DeepFool: A Simple and Accurate Method to Fool Deep Neural Networks. IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1109/cvpr.2016.282](https://doi.org/10.1109/cvpr.2016.282)

```bibtex
@inproceedings{moosavidezfooli2016deepfool,
  title = {{DeepFool: A Simple and Accurate Method to Fool Deep Neural Networks}},
  author = {Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi and Pascal Frossard B},
  booktitle = {IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings},
  year = {2016},
  doi = {10.1109/cvpr.2016.282},
  eprint = {1511.04599},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1109/cvpr.2016.282}
}
```

> 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)
