Manuscript Offprint
arXiv:2610.10666Explaining the Saliency Map Sparsity of Adversarially-Trained Neural Networks
Yannick Lunk
Institute of Mathematics
University of Würzburg, Germany
Damien Garreau
Institute of Computer Science, CAIDAS
University of Würzburg, Germany
damien.garreau@uni-wuerzburg.de
Atell Yehor Krasnopolsky
Technical University of Munich, Germany
Leon Bungert
Institute of Mathematics, CAIDAS
University of Würzburg, Germany
ABSTRACT
Understanding why deep neural networks make a given prediction is of great importance for their safe deployment. In computer vision, saliency maps, which highlight the image region most influential for a prediction, remain a widely-used form of explanation. An empirical observation is the apparent sparsity of gradient saliency maps of adversarially-trained neural networks. In this paper, we propose a theoretical explanation of this phenomenon for two-layer ReLU networks. We build on the established equivalence of adversarial training to the minimization of the empirical risk with weight-decay penalization and an added adversarial total variation term – valid for certain loss functions. As the number of data points and neurons grows and the regularization parameters are sent to zero at appropriate rates, we prove that minimizers converge to a Bayes classifier with minimal gradient and Barron norm. Sparsity appears since for adversarial training with -attacks the gradient norm is anisotropic and favors axis-aligned / sparse gradients. We illustrate our theoretical findings experimentally by evaluating the gradient -norm and thresholded sparsity of naturally versus adversarially trained models.
1 INTRODUCTION
Despite the immense success of deep neural networks, two fundamental challenges continue to limit their deployment in high-stakes domains: their vulnerability to small, imperceptible adversarial perturbations (Goodfellow et al., 2015), and the “black-box” nature of their decision-making. Addressing the former, adversarial training (Madry et al., 2018), which mitigates the problem by incorporating adversarial examples in the training, has emerged as one of the most successful defenses and maintained its relevance even in the era of large language models (Xhonneux et al., 2024).
To address the latter, a wide range of methods have been proposed in recent years under the umbrella of Explainable AI (XAI) (Linardatos et al., 2020). Among them, local feature importance methods aim to identify the input features that are the most influential for a model's decision at a given point. In computer vision, a prominent example is given by saliency maps based on the gradient of the model with respect to the input. The most important features can then be easily visualized as an image overlay, see Figure 1. Motivated by the observation that plain input gradients are often noisy and visually hard to interpret, a number of extension have been proposed, notably gradient times input (Shrikumar et al., 2017), integrated gradient (Sundararajan et al., 2017), and SmoothGrad (Smilkov et al., 2017). A line of work also developed around specific architecture, such as GradCAM for convolutional neural networks (Selvaraju et al., 2017).
Previous work has shown empirically that adversarial training not only increases robustness of the trained model but also leads to sparse, perceptually aligned, and hence more interpretable gradient saliency maps (Zhang & Zhu, 2019; Etmann et al., 2019; Chalasani et al., 2020); see Figure 1. This observation is surprising, since adversarial training was introduced to improve robustness.

(a) Original
(b) Natural training
(c)
(d)
(e)
Figure 1: Comparison of saliency maps for a naturally trained ResNet50 on ImageNet versus adversarially trained models across varying perturbation budgets . As predicted by Theorem 1, with decreasing adversarial budget the gradient saliency maps converge to a sparse one whereas natural training (corresponding to ) produces a noisy saliency map.
ness against worst-case perturbations, with no explicit objective related to interpretability, or even the gradient structure of the predictor.
In this paper, we provide a theoretical explanation for this phenomenon. The starting point of our journey is to notice that adversarial training (with the -loss) can be reformulated as empirical risk minimization with an additional total variation (TV) term depending on the adversarial budget (Bungert et al., 2023). Focusing on two-layer neural networks, we show that, in the limit of infinite width and vanishing , the limiting optimization problem reduces to finding a Bayes classifier which minimizes a balance of the average dual norm of the classifier's input gradients and a measure of its complexity. In particular, for the -bounded perturbations typically used in adversarial training, this yields an -norm penalty of the input gradients. Informally, adversarial training in this regime selects a Bayes classifier that balances accuracy, complexity, and average -norm of its gradients. Since -type regularization is well-known to promote sparsity, this provides a mathematical explanation for the sparse saliency maps observed in adversarially trained models. We illustrate this result in a simple setting in Figure 2, see Appendix F for more details.
Our main technical tool is Gamma-convergence (see Braides (2002) for an introduction), which is key in showing that the empirical risk minimizers converge to minimizers of the limit problem. Existing results which we review in Section 4 are obtained in an unrealistic non-parametric setting with a population risk, whereas in practice one uses neural networks trained on finite datasets. In this work, we bridge this gap by embedding our problem into the homogeneous Barron space (Park et al., 2023) and deriving generalization bounds and quantitative approximation results to transition from the idealized and continuous theory to the empirical and parametric setting.
Our main contributions are as follows:
- Theorem 1 states that as the number of data points and the width of the neural networks go to infinity and the adversarial budget and the weight decay coefficient go to zero at specific coupled rates, every sequence of empirical minimizers admits a subsequence that converges to a Bayes classifier with optimal balance of its Barron semi-norm with a TV functional of the form , where is the dual norm to the one restricting adversarial attacks. From this, we deduce an explanation for the observed sparsity of saliency maps.
• We support our theoretical findings with numerical experiments, demonstrating that adversarial training systematically reduces the average -norm of the input gradients. Furthermore, by evaluating thresholded gradient sparsity, we provide a quantitative empirical validation of the observations of Zhang & Zhu (2019); Etmann et al. (2019) and confirm that this implicit -regularization translates to the sparse saliency maps.

Figure 2: Decision boundaries and training data for a data distribution with non-uniquely determined Bayes classifier in the strip : Natural training (left) has a highly oscillatory decision boundary arising from fitting the training data. Nonlocal TV regularization (center, analyzed here) and adversarial training (right) have a decision boundary with small anisotropic perimeter and exhibit approximate gradient sparsity, as indicated by the axis-parallel parts of the decision boundary. See Appendix F for more details.
Two-Layer Neural Networks. In this work, we consider two-layer neural networks with m hidden neurons of the form
for , where is the -th row of the matrix and denotes the ReLU activation function defined as . The matrix collects the weights of the hidden layer, while forms the bias vector. Additionally, denotes the output weights and acts as the output bias. Often, when training neural networks, the weight decay regularizer is added to the objective, where denotes the Euclidean norm. Importantly, this functional does not control the bias vector , which is typical.
Barron space. Taking the infinite width limit (Bach, 2017; E et al., 2022) of such neural networks, one ends up with functions of the form
where captures the function's value at the origin, and is a probability measure on . With a slight abuse of notation, the counterpart of the weight decay regularizer is given by
For a given function written as (2), its representation via a measure is not unique and hence is not well-suited to measure the complexity of the function. Instead, we define the Barron semi-norm as the infimum of the weight decay regularizer over all possible representations,
The homogeneous Barron space is then defined as the set of all functions that admit a representation with a finite Barron semi-norm,
For more details on this space and the previous definitions, we refer to Appendix A, Park et al. (2023, Appendix C) and Ongie et al. (2020).
Remark 2.1. Neural networks of the form (1) are contained in . Setting and defining the probability measure yields . Consequently, we get that .
Adversarial Training. Adversarial training aims to minimize the adversarial population risk which, in our binary classification setting, is given by
where is a loss-function, is the adversarial budget, and minimization takes place over a certain class of functions . Here and in the following, the balls are taken with respect to an arbitrary norm on (not necessarily the Euclidean norm) and by , we denote its dual norm, defined via . In practice, the norm considered is often the -norm (Madry et al., 2018; Croce et al., 2021), leading to the -norm as the dual norm.
Total Variation Regularization. Let H be an hypothesis class of functions from to . As is typical, we define the population risk as
Before introducing our primary empirical objective, we introduce the following motivating population-level problem
where is a nonlocal total variation given by
Note that the objective in (5) is very similar to the TRADES method (Zhang et al., 2019) and both coincide with adversarial training for the -loss (Bungert et al., 2023). Intuitively, the total variation is closely connected to a nonlocal, -dependent surface content of the decision boundary, and quantifies the adversarial robustness of a classifier (Bungert & Stinson, 2024). One should think of (5) as loosely equivalent to population-level adversarial training with budget , with strict mathematical equivalence for specific choices of loss functions and hypothesis classes. Our motivation for working with (5) instead of standard adversarial training (3) is that the former is amenable to our asymptotic analysis thanks to deep mathematical properties of the nonlocal total variation .
Key optimization problem. In our setting, we are given , i.i.d. samples, and restrict our attention to , where with belongs to the class of two-layer neural networks with ReLU activation and neurons (1). The population risk (4) is approximated, as usual, by the empirical risk
whereas the empirical counterpart of is given by
With these definitions in hand, the natural finite-sample version of (5) is
Minimization problems over a space of neural networks usually do not possess solutions since parameters might have to blow up to fit the data. Therefore, we add the usual weight regularization term defined previously which ensures existence as well as a mathematical compactness property in the Barron space , making sure that sequences of minimizers of problem (9) below do not diverge. We want to stress that, while the weight decay term is usually not written explicitly as part of the objective in the practice of adversarial training, it is often implicitly present in the optimization procedure. Letting the adversarial budget and the weight decay parameter depend on , we arrive at the following optimization problem, which is at the core of our study:
In the same spirit as the previous paragraph, one should think of (9) as loosely equivalent to finite-sample adversarial training with budget and weight decay . We show in Figures 2, 4 and 5 for the toy dataset and in Figures 6 and 7 for CIFAR-10 that empirically they produce very similar results, with even a slight advantage for (9) in terms of robust accuracy and sparsity on CIFAR-10.
3 MAIN RESULT
In this section, we state our main result: under suitable scalings of the parameters and , a sequence of solutions to (9) converges in a weak sense to a Bayes classifier with specific properties. To make this precise, we first define
for , which arises as limit of defined in (6) as . We note that this expression is well-defined for Barron functions, since they are Lipschitz-continuous (Lemma A.1) and in particular differentiable almost everywhere by Rademacher's theorem. We additionally define the functional
In the whole paper, we shall assume the existence of a Barron function that minimizes the population risk , i.e., . Otherwise, and there is nothing to show.
Minimizers of the functional are optimal classifiers (i.e., minimizers of the population risk in (7)) that additionally achieve the minimal value of the sum of the total variation and the Barron semi-norm . Hence, adversarial training acts as selection procedure to pick a robust Bayes classifier as the adversarial budget shrinks. In a nutshell, Theorem 1 below states that the limit of solutions to (9) is a minimizer of the functional .
We make the following assumptions on the loss function in (7).
Assumption 1. We assume that the loss function is measurable, bounded and Lipschitz continuous in the first argument. Moreover, we assume that there exist constants such that almost surely (w.r.t. the samples) for all but finitely many whenever on or on .
The first part of Assumption 1 is satisfied for, e.g., clipped versions of the cross-entropy, hinge loss and -loss. The second part demands that trivial constant classifiers be strictly suboptimal which is true, e.g., for . Then, for such that , we immediately get while yielding . Similar arguments hold for and the statement obviously remains true if the loss function is clipped at a sufficiently large value.
Additionally, we need to make assumptions about the data distribution (cf. Siethoff, 2025) which enforce the class-conditionals to be sufficiently regular and the data density to be strictly positive.
Assumption 2. We assume that the measures and are absolutely continuous with respect to the Lebesgue measure. By slight abuse of notation, we denote their densities by and as well and assume that for . Moreover, we assume that on .
With these assumptions in place, we can state our main result.
See, e.g., the adversarial training code of the Madry lab: https://github.com/MadryLab/cifar10_challenge
Theorem 1. Let Assumptions 1 and 2 be satisfied. Moreover, let be a sequence of positive numbers converging to zero and , chosen such that
Let be a solution to (9) and be the associated neural network. Then, almost surely, the sequence possesses a subsequence that converges in to a minimizer of .
Note that a similar result was shown by Bungert & Stinson (2024) and quantified by Morris & Murray (2026), however, in a non-parametric population risk setting where the Barron norm , that we need to control the parameters of the neural networks, does not appear.
Remark 3.1. We note that there exist many hyperparameter configurations satisfying the scaling assumptions. One may, for example, choose , and , leading to .
Remark 3.2. While Theorem 1 is stated for minimizers of (9), it is actually sufficient to consider quasi-minimizers as long as the gap between the achieved objective and the optimal value vanishes sufficiently fast as . Precisely, Theorem 1 also holds for with , where denotes the objective in (9):
Connection to Sparse Saliency Maps. The standard choice for the norm in adversarial training is the -norm with the -norm as the corresponding dual norm. In this particular setting, Theorem 1 states that the minimizers of (9) converge (up to a subsequence) to an optimal classifier minimizing
To interpret the effect of this regularizer, it is instructive to first consider a linear classifier . In this regime, the gradient is constant with respect to the input , and the integral reduces to . Furthermore, its Barron semi-norm is and the regularizer reduces to the elastic-net-type regularization which is known to be sparsity-promoting, e.g., if the loss function is the squared -loss (Zou & Hastie, 2005).
In the general non-linear case, the objective imposes an average -penalty of the gradient weighted by the data distribution plus the Barron semi-norm. The former can be interpreted as group -norm where a group is the array for a data point . Hence, the regularizer promotes group-sparsity in the sense that for many data points the array is the zero array and for the remaining data points (the ones close to or on the decision boundary) it is sparse; see Figure 2 for an illustration.
Limitations and Extensions
LIMITING CASES FOR We note that we restrict our analysis to the case, where is positive but finite, meaning that weight decay and adversarial regularization are asymptotically equivalent. On a technical level, this enables us to argue that sequences of minimizers of (9) are compact. While the case , corresponding to essentially boils down to the setting considered in Park et al. (2023) without the total variation regularization, the case presents technical challenges. Specifically, in Proposition 5.2 one would need to approximate general BV functions with neural networks and not only Barron functions. Bounding the approximating sequence's Barron semi-norm in this case is expected to require a dimension-dependent scaling of relative to .
MULTICLASS CLASSIFICATION In a classification problem with more than two different classes, which means that labels can take values in for some , we need to consider functions , and the nonlocal total variation takes the form (García Trillos et al., 2026)
where describes the distribution of data points x with label c and denotes the c-th component of the vector-valued function f.
The limit functional in this case is for sufficiently regular functions . We expect our theory to extend to this setting, provided that the neural network approximation result (Lemma A.3) and the bounds for the Rademacher complexity (Lemmas A.4 and A.5) are generalized to vector-valued Barron functions.
GENERAL ACTIVATION FUNCTIONS The specific structure of the ReLU activation function enters at different occasions into our analysis, for example, when proving lower semi-continuity of the Barron semi-norm (Lemma A.2). However, we believe that the theory can be extended to general Lipschitz-continuous activation functions if one is willing to include the bias term into the regularizer which is favorable for showing compactness in the Barron space.
DEEP NETWORKS We only consider neural networks with one hidden layer, and these can be embedded into the Barron space. For deeper feedforward architectures such as analytical framework does not exist to this date. A notable exception are deep ResNets since they can be embedded into the flow-induced Barron space (E et al., 2022) which supports approximation by neural networks and Rademacher complexity bounds. We expect that our results can be generalized to such architectures.
ORIGINAL ADVERSARIAL TRAINING Our objective in (9) only coincides with the “original” adversarial training of Madry et al. (2018) for the zero-one loss (Bungert et al., 2023). For other loss functions, (9) is a variant of adversarial training that is interesting in its own right, just like the TRADES method (Zhang et al., 2019). As mentioned before, the results achieved by this method (see Figures 2, 4, 6 and 7) are very similar to the results produced by adversarial training, even though we use the cross-entropy loss in these experiments. Extending our analysis to Madry’s adversarial training seems challenging, but we expect the corresponding regularizer to have the similar form (cf. Siethoff, 2025; Finlay & Oberman, 2021).
4 RELATED WORK
Adversarial Robustness and Interpretability A growing body of literature highlights the connection between a model's robustness and the interpretability of its saliency maps. Early observations by Tsipras et al. (2019) noted a tradeoff between adversarial and standard accuracy, while also revealing that the saliency maps of adversarially trained models (especially with -restricted attacks) align well with perceptually relevant features. This was further supported by Zhang & Zhu (2019), who empirically show that adversarially trained CNNs produce sparser saliency maps that focus more strongly on object shapes and contours. Theoretical justifications have been proposed by Etmann et al. (2019); Chalasani et al. (2020) for linear classifiers. More recently, analyzing linear classifiers as well, Bhusal et al. (2026) observed that while adversarial training enhances the sparsity and input-stability of saliency maps it can compromise output-side stability.
Gradient Regularization Ross & Doshi-Velez (2018) demonstrated that direct input-gradient regularization not only improves adversarial robustness but also naturally improves model interpretability. Building on this, Gong et al. (2024) proposed replacing fixed-budget adversarial training with a penalty-based approach, utilizing a regularizer to induce desired properties in the gradient with respect to the input. The TRADES method (Zhang et al., 2019) involves regularization with a nonlocal loss-gradient as modification of adversarial training (Madry et al., 2018).
Theoretical Foundations Bungert et al. (2023) formalized the equivalence of adversarial training to regularization with the nonlocal total variation functional (see (5)) for the -loss and gave an existence proof. Subsequently, Bungert & Stinson (2024) established Gamma-convergence of this functional. Siethoff (2025) proved existence of solutions for (5) with general loss functions. Furthermore, Yeh et al. (2019) and García Trillos & García Trillos (2022) both provide an upper bound for the adversarial risk in terms of a regularization involving the dual norm of the gradient with respect to the input. Finally, Park et al. (2023) leveraged Gamma-convergence to analyze the training with weight decay of two-layer neural networks with ReLU activation, operating in a similar setting to ours.
dual with respect to the norm used to constrain the adversarial perturbations
5 SKETCH OF PROOF
In this section we provide an overview of the proof of Theorem 1. We start by defining
and observe that the minimizers of this functional coincide with the solutions to (9). We divided the objective in (9) by for otherwise one would only be able to prove that its minimizers converge to Bayes classifiers, without recovering the selection principle encoded in the functional from (10).
To prove Theorem 1, we will show that these functionals Gamma-converge (Braides, 2002) to the functional F defined in (11) (see Theorem 2 for the precise statement). Gamma-convergence is a notion of convergence that together with a corresponding compactness result—that we provide in Proposition 5.3 for our case—implies that minimizers of the functionals converge to minimizers of the limit functional F. Formally, establishing Gamma-convergence requires two complementary conditions: the lim inf inequality and the lim sup inequality.
The lim inf implies that, if we have a sequence of minimizers of that is to known to converge to some limit, this limit has a sufficiently small value of .
Proposition 5.1. Let Assumptions 1 and 2 be satisfied. For let such that converges to a function in . Moreover, let and be sequences of positive numbers converging to zero satisfying
Then it holds almost surely (with respect to the drawing of samples).
The proof of this result, which we carry out in Appendix E, combines Rademacher-based generalization bounds for the empirical risk established in Appendix B with a corresponding inequality for the regularizing term (empirical nonlocal total variation and weight decay) which we prove in Appendix D. This analysis is achieved by combining the properties of the population level functional (Appendix C) with uniform concentration bounds for its empirical version (Appendix B).
The lim sup inequality complements the lim inf inequality by constructing a sequence that achieves the bound established there. This will be used to show that the limit of a sequence of minimizers of is actually a minimizer of .
Proposition 5.2. Let Assumption 2 be satisfied. Let , and be sequences of positive numbers converging to zero satisfying
Then, there exists a sequence with such that the sequence converges to in and almost surely (with respect to the drawing of samples). Such a sequence is called recovery sequence for .
As for the lim inf inequality, we combine generalization bounds and the results for the population level nonlocal total variation to prove this result (see Appendix E). Additionally, since otherwise, we can assume that f is a Barron function, and use this to obtain a sequence of neural networks approximating f with dimension-independent rates (Lemma A.3).
Finally, as already mentioned, to enable us to extract a convergent subsequence from a sequence of minimizers of , we require a compactness result.
Proposition 5.3. Let Assumption 1 be satisfied and assume that . For let such that . Then, almost surely (with respect to the samples) there exists a subsequence and a function such that in .
With these ingredients established, the proof of Theorem 1 is a standard argument from the theory of Gamma-convergence. For the sake of completeness, we carry out the explicit steps below.
Proof of Theorem 1. For , let be a solution to (9) and denote the induced neural network by . As we have mentioned, this implies that minimizes . By we denote an approximate minimizer of , i.e. with such that
for . Moreover, let be a recovery sequence for according to Proposition 5.2, i.e.,
almost surely. Since minimizes the functional , this implies
Therefore, we can apply Proposition 5.3 and obtain the existence of a function and a subsequence such that in . We can conclude
almost surely from Proposition 5.1. Since is arbitrary, this implies that minimizes .
6 NUMERICAL ILLUSTRATIONS
To empirically validate our findings beyond simple two-layer ReLU networks, we compare ResNet18 models trained on clean CIFAR-10 images to those that were adversarially trained on the CIFAR-10 dataset (Krizhevsky & Hinton, 2009), using different adversarial budgets. We report our results in the top row of Figure 3, plotting the mean over 5 random seeds as well extremal values. From left to right, we plot the accuracy achieved on clean images, the robust accuracy for images attacked with Projected Gradient Descent (PGD) (Madry et al., 2018) with 50 steps and a fixed adversarial budget of 8/255, the -norms of the gradient averaged over the test set, and the average sparsity of these gradients thresholded at different levels. Here, sparsity refers to the ratio of components in the gradient whose magnitude lies below the threshold.
We observe the usual trade-off between accuracy and robustness. Interestingly, even though training with a small adversarial budget leads to comparable accuracy as standard training, these models exhibit a higher sparsity of their input-gradients and also a significantly lower -norm, in line with our theoretical results. The confidence intervals are hardly visible, indicating high robustness against the stochasticity of neural network training.
In the bottom row of Figure 3, we plot the same metrics for the ResNet50 models of Salman et al. (2020), pretrained on the ImageNet dataset (Deng et al., 2009). Our previous observations remain true, indicating that our results scale to large datasets. See Appendix F for more experimental results.
7 CONCLUSION
We provided a theoretical explanation for the empirical observation that gradient saliency maps of adversarially-trained neural networks tend to be sparser and more perceptually aligned than those of naturally-trained ones. For this we analyzed a total variation and weight decay regularized empirical risk minimization problem over the class of two-layer neural networks with ReLU activation, and proved that it selects a subclass of Bayes classifiers, consisting of those which minimize a balance of their average gradient -norm and their Barron norm. Hence, classifiers with axis-aligned gradients are favored, which explains the sparsity of their gradient maps.
Our proofs involve generalization bounds, Monte Carlo approximation arguments, and Gamma-convergence techniques, and our numerical experiments confirm the theoretical results and indicate their generalizability. Our current analysis requires the weight decay regularization to be equally strong as the adversarial one and does not cover the original form of adversarial training, proposed by Madry et al. (2018). Future work includes investigating the connection between TV regularization and adversarial training theoretically and empirically as well as studying their influence on other saliency maps like integrated or smoothed gradients.
Taken from https://huggingface.co/madrylab/robust-imagenet-models

Training
Training
Training
Training
Training
Training
Training
Training
Figure 3: Accuracy and gradient metrics for ResNet18 on CIFAR-10 (top) and ResNet50 on ImageNet (bottom). From left to right, we display clean accuracy, robust accuracy, the average -norm, and the average sparsity (thresholded at different values) of the input gradients.
AI USE STATEMENT
In this work we used generative AI tools for polishing the manuscript, discussing parts of the mathematical proofs and assisting with code to generate the numerical experiments. We have not used AI tools for generating the core research hypothesis or conducting literature reviews. We have reviewed all AI assisted work. Specifically, we verified all AI-discussed proof steps and tested the generated code for correctness. We take responsibility for the final content of this work, including text, claims or artifacts produced with the aid of generative AI.
ACKNOWLEDGMENTS
YL and LB acknowledge funding by the Federal Ministry of Research, Technology and Space of Germany (BMFTR) under grant agreement No. 16IS24072 (COMFORT). LB acknowledges funding by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – project number 544579844 (GeoMAR).
REFERENCES
Luigi Ambrosio, Nicola Fusco, and Diego Pallara. Functions of bounded variation and free discontinuity problems. Oxford university press, 2000.
Francis Bach. Breaking the curse of dimensionality with convex neural networks. Journal of Machine Learning Research, 18(19):1–53, 2017.
Dipkamal Bhusal, Md Tanvirul Alam, and Nidhi Rastogi. Training for trustworthy saliency maps: Adversarial training meets feature-map smoothing, 2026.
Andrea Braides. Gamma-convergence for Beginners, volume 22 of Oxford Lecture Series in Mathematics and their Applications. Oxford University Press, 2002.
Leon Bungert and Kerrek Stinson. Gamma-convergence of a nonlocal perimeter arising in adversarial machine learning. Calculus of Variations and Partial Differential Equations, 63(5):114, 2024.
Leon Bungert, Nicolás García Trillos, and Ryan Murray. The geometry of adversarial training in binary classification. Information and Inference: A Journal of the IMA, 12(2):921–968, 2023.
Prasad Chalasani, Jiefeng Chen, Amrita Roy Chowdhury, Xi Wu, and Somesh Jha. Concise explanations of neural networks using adversarial training. In Hal Daumé III and Aarti Singh (eds.), Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pp. 1383–1391. PMLR, 13–18 Jul 2020.
Antonin Chambolle, Stefano Lisini, and Luca Lussardi. A remark on the anisotropic outer minkowski content. arXiv preprint arXiv:1203.5190, 2012.
Francesco Croce, Maksym Andriushchenko, Vikash Sehwag, Edoardo Debenedetti, Nicolas Flammarion, Mung Chiang, Prateek Mittal, and Matthias Hein. Robustbench: a standardized adversarial robustness benchmark. In Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2), 2021.
Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pp. 248–255. IEEE, 2009.
Weinan E, Chao Ma, and Lei Wu. The Barron Space and the Flow-Induced Function Spaces for Neural Network Models. Constructive Approximation, 55(1):369–406, 2022. doi: 10.1007/s00365-021-09549-y.
Christian Etmann, Sebastian Lunz, Peter Maass, and Carola Schoenlieb. On the connection between adversarial robustness and saliency map interpretability. In Kamalika Chaudhuri and Ruslan Salakhutdinov (eds.), Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pp. 1823–1832. PMLR, 09–15 Jun 2019.
Lawrence Craig Evans and Ronald F Gariepy. Measure theory and fine properties of functions, volume 5. CRC press, 1991.
Chris Finlay and Adam M Oberman. Scaleable input gradient regularization for adversarial robustness. Machine Learning with Applications, 3:100017, 2021.
Camilo Andrés García Trillos and Nicolás García Trillos. On the regularized risk of distributionally robust learning over deep neural networks. Research in the Mathematical Sciences, 9(3):54, 2022.
Nicolás García Trillos, Matt Jacobs, and Jakwang Kim. On the existence of solutions to adversarial training in multiclass classification. European Journal of Applied Mathematics, 37(1):3–23, 2026.
Shizhan Gong, Qi Dou, and Farzan Farnia. Structured gradient-based interpretations via norm-regularized adversarial training. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 11009–11018, June 2024.
Ian J. Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. In Yoshua Bengio and Yann LeCun (eds.), 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings, 2015.
Kurt Hornik. Approximation capabilities of multilayer feedforward networks. Neural Networks, 4(2):251–257, 1991. ISSN 0893-6080. doi: https://doi.org/10.1016/0893-6080(91)90009-T.
Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009.
Pantelis Linardatos, Vasilis Papastefanopoulos, and Sotiris Kotsiantis. Explainable AI: A Review of Machine Learning Interpretability Methods. Entropy, 23(1), 2020.
Chao Ma, Stephan Wojtowytsch, Lei Wu, et al. Towards a mathematical understanding of neural network-based machine learning: what we know and what we don't. arXiv preprint arXiv:2009.10713, 2020.
Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. In 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 - May 3, 2018, Conference Track Proceedings. OpenReview.net, 2018.
Rachel Morris and Ryan Murray. Uniform convergence of adversarially robust classifiers. European Journal of Applied Mathematics, 37(1):43–72, 2026.
Greg Ongie, Rebecca Willett, Daniel Soudry, and Nathan Srebro. A function space view of bounded norm infinite width relu nets: The multivariate case. In International Conference on Learning Representations, 2020.
Jiyoung Park, Ian Pelakh, and Stephan Wojtowitsch. Minimum norm interpolation by perceptron: Explicit regularization and implicit bias. Advances in Neural Information Processing Systems, 36:8714–8756, 2023.
Andrew Ross and Finale Doshi-Velez. Improving the adversarial robustness and interpretability of deep neural networks by regularizing their input gradients. In Proceedings of the AAAI conference on artificial intelligence, volume 32, 2018.
Hadi Salman, Andrew Ilyas, Logan Engstrom, Ashish Kapoor, and Aleksander Madry. Do adversarially robust imagenet models transfer better? In Advances in Neural Information Processing Systems, volume 33, pp. 3533–3545, 2020.
Ramprasaath R Selvaraju, Michael Cogswell, Abhishek Das, Ramakrishna Vedantam, Devi Parikh, and Dhruv Batra. Grad-CAM: Visual explanations from deep networks via gradient-based localization. In Proceedings of the IEEE International Conference on Computer Vision, pp. 618–626, 2017.
Shai Shalev-Shwartz and Shai Ben-David. Understanding Machine Learning: From Theory to Algorithms. Cambridge University Press, 2014.
Avanti Shrikumar, Peyton Greenside, and Anshul Kundaje. Learning Important Features Through Propagating Activation Differences. In Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pp. 3145–3153. PMLR, 06–11 Aug 2017.
Lennart Siethoff. Existence of solutions and asymptotic behavior of adversarial training with general loss functions. Master's thesis, University of Würzburg, 2025.
Daniel Smilkov, Nikhil Thorat, Been Kim, Fernanda Viégas, and Martin Wattenberg. Smoothgrad: removing noise by adding noise. arXiv preprint arXiv:1706.03825, 2017.
Mukund Sundararajan, Ankur Taly, and Qiqi Yan. Axiomatic Attribution for Deep Networks. In Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pp. 3319–3328. PMLR, 06–11 Aug 2017.
Dimitris Tsipras, Shibani Santurkar, Logan Engstrom, Alexander Turner, and Aleksander Madry. Robustness may be at odds with accuracy. In International Conference on Learning Representations, 2019.
Sophie Xhonneux, Alessandro Sordoni, Stephan Günnemann, Gauthier Gidel, and Leo Schwinn. Efficient adversarial training in llms with continuous attacks. In A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang (eds.), Advances in Neural Information Processing Systems, volume 37, pp. 1502–1530. Curran Associates, Inc., 2024. doi:10.52202/079017-0048.
Chih-Kuan Yeh, Cheng-Yu Hsieh, Arun Suggala, David I. Inouye, and Pradeep K. Ravikumar. On the (In)fidelity and Sensitivity of Explanations. In Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019.
Hongyang Zhang, Yaodong Yu, Jiantao Jiao, Eric Xing, Laurent El Ghaoui, and Michael Jordan. Theoretically principled trade-off between robustness and accuracy. In International conference on machine learning, pp. 7472–7482. PMLR, 2019.
Tianyuan Zhang and Zhanxing Zhu. Interpreting adversarially trained convolutional neural networks. In International conference on machine learning, pp. 7502–7511. PMLR, 2019.
Hui Zou and Trevor Hastie. Regularization and variable selection via the elastic net. Journal of the Royal Statistical Society Series B: Statistical Methodology, 67(2):301–320, 2005.
SUPPLEMENTARY MATERIAL
The supplementary material for our paper is organized into the following appendices. In particular, for readers familiar with Gamma-convergence we would like to point our Theorem 2 in Appendix E which, together with Proposition 5.3, implies our main result Theorem 1. However, for convenience, the proof of Theorem 1 given in Section 5 of the main paper is a direct one.
A The Homogeneous Barron Space 13
B Generalization Bounds 19
C Results for the Nonlocal Perimeter and Total Variation 22
D Results for the Full Regularizer 27
E Proofs of Propositions 5.1 to 5.3 28
F Additional Numerical Illustrations 30
A THE HOMOGENEOUS BARRON SPACE
Recall our definition of the homogeneous Barron space as all functions of the form
such that , where and
Furthermore, we recall that in our setting is assumed to be a bounded domain with Lipschitz boundary and that is a probability measure on describing the distribution of the training data. Note that the slightly non-standard representation of (see also (2)) is used to make sure that implies that the integral in (2) exists, see Park et al. (2023) for details.
One can easily see that every function in this space is Lipschitz continuous and the Lipschitz constant is bounded by the Barron semi-norm.
Lemma A.1. Let . Then,
for , i.e. is Lipschitz continuous.
Proof. Let and let such that . Then, since the ReLU activation function is 1-Lipschitz,
Taking the infimum over all representations yields the desired estimate.
Since is assumed to be bounded, the Lipschitz continuity of Barron functions implies the inclusion .
We note that the above proof holds for any Lipschitz continuous activation function with the only modification being that the Lipschitz constant becomes . In contrast, our proof of the following result—which established lower semi-continuity of the Barron semi-norm with respect to convergence—relies on the specific structure of the ReLU function.
Lemma A.2. Let and such that in . Then,
Proof. By passing to a subsequence, we can assume that the liminf is a limit. Moreover, if this limit is infinite, the claimed inequality is trivially satisfied. Hence, we consider the case
By definition of the Barron-semi norm, for any , we can find a probability measure over and a real number such that and . In particular, is uniformly bounded by some constant . Moreover, defining the signed measure by leads to
and using the fact that the ReLU functions is positively 1-homogeneous, we can compute
where for and otherwise. Note that the signed measure is supported on and . We additionally want to modify the measure such that it also has compact support in . To do so, we make use of the structure of the ReLU activation function and that the domain is bounded. Let and define . We observe that for , and , we have . Consequently, defining
and , we obtain
and . Note that we only need to integrate over here, since the support of is contained in this compact set. Hence, by Ambrosio et al. (2000, Theorem 1.59), there exists a subsequence, that we again denote by that weakly* converges to a signed measure and
We can also show that the sequence of numbers is bounded and thus admits a converging subsequence, since
where denotes the -dimensional Lebesgue measure. The right-hand side is uniformly bounded since converges in . Therefore in the following, we assume that converges to some . Using the fact that is a test function for the weak* convergence of ( is continuous and is compact), we observe
and since in , the right hand side must coincide with almost everywhere on . It remains to rewrite the latter integral as an integral with respect to some probability distribution over . To do so, let denote the Hahn-Jordan decomposition of and let . Without loss of generality, we can assume that , since in the case , we have and can define with . For , we define . Then, defines a probability measure on and
due to the positive 1-homogeneity of . Hence, we can conclude and .
A fundamental property of Barron functions is that they can be approximated by neural networks with dimension-independent rates. For our application it is particularly useful to establish approximation in the -norm.
Lemma A.3. Let . Then, for every , there exists a neural network of the form (1) parametrized by such that
with some positive constant C and
The proof of this statement goes along the lines of Ma et al. (2020, Theorem 12), who consider the case and non-homogeneous Barron spaces. For the sake of completeness, we adapt their proof to our setting.
Proof. Let be a probability measure on and such that and for arbitrary positive . We want to normalize in a way such that
-almost surely, which will happen in a two step procedure. First, we make sure that the product is constant -almost surely. To do so, let and define the probability measure via . We may assume without loss of generality that . The case implies that is a constant function, which can trivially be parametrized by a neural network of the form (1). Defining , and considering the push-forward , we observe that for , we have
Hence, represents and we have -almost surely. Defining
one can show using the 1-homogeneity of the ReLU activation function that also represents and additionally satisfies that almost surely. As in the proof of Lemma A.2, we can additionally construct the measure such that its support w.r.t. the last variable is contained in some interval , where depends on the domain and on . For simplicity, we will from now on refer to as .
Using Shalev-Shwartz & Ben-David (2014, Lemma 26.2) yields
where denotes a random vector whose components are independent Rademacher random variables. Moreover,
where . Defining yields . Hence, we can further estimate
In the last step, we used Jensen’s inequality together with the fact that the are independent with expected value zero to bound the expectation by . Overall, we obtain
This bound for the expectation means that there must exist a choice of parameters for such that such that
with . To keep notation aligned with (1), the parameters of the neural network are given by and the resulting parametrization satisfies
Since the parameters lie in a compact subset of , when letting , we can extract a convergent subsequence. The limit satisfied the above inequalities without , since the map is continuous.
For proving generalization bounds (see Appendix B), we must investigate the Rademacher complexity of the homogeneous Barron space. Specifically, we consider the subset of Barron functions with a uniform bound for the Barron semi-norm and for their value at zero,
Similar to Park et al. (2023, Corollary D.3), we obtain the following estimate for the Rademacher complexity of this set.
Lemma A.4. Let . Then, there exists a constant depending on such that for all probability measures that are supported on , we have
Proof. For a fixed sample and independent Rademacher random variables , we have
In the last step, we have used that by Jensen's inequality,
Hence, taking the expectation over the data samples, we obtain
In the last step, we used the bound which holds for data distributions supported on , where the constant depends only on . This bound follows readily by adapting the proof of Park et al. (2023, Lemma D.2).
For our theory it is also important to obtain generalization bounds for the nonlocal total variation . Due to its structure, we estimate the Rademacher complexity of the following class of functions
(13)
for , where
Lemma A.5. There exists a constant depending on , such that for all and and probability measures supported on , we have
To prove this statement, we first reduce the problem to functions represented by one neuron and exploit the fact that the supremum over a given ball can be computed explicitly for functions of this form. From there, we proceed exactly as in the proof of Park et al. (2023, Lemma D.2).
Proof. First, we consider a fixed sample and let such that . Obviously,
where . Lemma A.4 provides a bound for the latter term, so it remains to bound the former.
For a function and , we can find a representing probability measure such that almost surely, we have and (see the previous proofs). Then,
Therefore, with for independent Rademacher random variables, we obtain
In particular, taking the supremum over yields
Hence, in the following we can restrict ourselves to functions of the form , where and . For such functions it is easy to see that due to the monotonicity of the ReLU function,
where the sign in front of is determined by the sign of . Thus, using the bounds on the magnitudes of and , we obtain
To bound the first term on the right hand side, we proceed exactly as in Step 3 of the proof of Park et al. (2023, Lemma D.2). First, we notice that the modified bias satisfies for some constant , since all norms on are equivalent. Then, we define modified data points and modified weights which yields
Consequently,
for some constant depending on . The last step follows from the Contraction lemma for Rademacher complexities (Shalev-Shwartz & Ben-David, 2014, Lemma 26.9) and a bound for the Rademacher complexity of linear functions (Shalev-Shwartz & Ben-David, 2014, Lemma 26.10). Since was arbitrary, the inequality also holds true without . Moreover, as the measure is supported on , we can take the expected value w.r.t. and obtain
Remark A.1. In context of TV , we are rather interested in the Rademacher complexity of . Obviously, we immediately get
B GENERALIZATION BOUNDS
In this section, we prove generalization bounds for both the empirical risk (7) and the empirical nonlocal total variation (8). The results rely in particular on the Rademacher complexity bounds derived in the previous section. We start with a result on the empirical risk.
Lemma B.1. Let be measurable, bounded and Lipschitz continuous in the first argument. Then, there exists a constant such that for all with probability at least , we have
Proof. Since the loss function is bounded, measurable and Lipschitz continuous in the first argument, we have
with probability at least for some positive constant depending on the loss function (see Shalev-Shwartz & Ben-David (2014, Theorem 26.5)). Combining this with the bound on the Rademacher complexity from Lemma A.4 yields the desired estimate.
Now, we prove a similar result for the empirical nonlocal total variation . As observed when bounding the Rademacher complexity (Lemma A.5) the function's value at zero cancels out within the functional. Consequently, we can establish the following result for the broader space rather than restricting it to as in the previous statement.
Lemma B.2. Let , and . Then, with probability at least , we have
for some constant C > 0.
Proof. We restrict our detailed analysis to the term corresponding to the label , as the argument for is analogous. For a function , we define
The quantity of interest is
Letting and , we observe that
Defining the abbreviations and for , the target quantity can be written as . Since it is easier to handle this term without the absolute value, we additionally define the positive and negative deviations as
By standard Rademacher symmetrization, the expected values with respect to of both and are upper bounded by . To relate this to the Rademacher complexity of defined in (13), we condition on the labels and denote by the number of data points with label zero and the corresponding -components. Then,
We notice that and consequently, using Jensen's inequality,
Overall, we arrive at
Applying McDiarmid's inequality, which is possible since changing a single pair in the sample alters both and by at most as all functions are -Lipschitz, yields
Taking a union bound and using the upper bounds for the expectations of and , we obtain
Setting the right hand side to equal leads to . Repeating the same argument for the -term concludes the proof.
For our analysis, specifically for the lim inf inequality for the regularizer in Proposition D.1, we must handle sequences of functions, where a uniform bound on the Barron semi-norm cannot be guaranteed. Instead, the Barron semi-norm may grow asymptotically like where and are sequences of positive numbers converging to zero. Consequently, our next result establishes almost sure convergence of the empirical nonlocal total variation to its population version, under suitable scalings of these sequences.
Lemma B.3. Let , be chosen such that
Then, almost surely (w.r.t. the drawing of the samples) simultaneously for all sequences that satisfy , we have
It is worth noticing that the first scaling condition for and is automatically satisfied, when , which is implied by our assumption on in Theorem 1.
Proof. For an arbitrary but fixed , we consider the sequence . Setting in Lemma B.2 yields that with probability at least , we have
for some constant C. Thus, from the Borel-Cantelli lemma, we can conclude that
almost surely with an exceptional set of measure zero that may depend on . Taking the union over all these sets yields a uniform set of measure zero, such that the above limit holds for all . Since every sequence with satisfies for some , the above considerations prove the statement.
C RESULTS FOR THE NONLOCAL PERIMETER AND TOTAL VARIATION
In this section we essentially extend the Gamma-convergence proof of the nonlocal total variation for Euclidean norm balls, given by Bungert & Stinson (2024), to general norm balls. Note however that we impose stronger assumptions on the conditional densities and which strongly simplifies the arguments. Proving Gamma-convergence has two ingredients: The first one is the so-called liminf inequality, which demands that whenever in we have
see Lemma C.5. The second ingredient is the limsup inequality which demands that for any there exists a sequence (called recovery sequence) converging to such that
Note that by virtue of the liminf inequality, equality holds above. Thanks to the regularity assumptions in Assumption 2 the proof of this result is pretty standard and follows from a Taylor expansion and a diagonal argument. In our scenario, where we are interested in minimizers of (9), we need a slightly weaker result, which just requires the limsup inequality to be true for Barron functions, see Lemma C.6.
Furthermore, because our subsequent analysis operates with functions rather than just Barron functions, we must slightly modify the definition of . Specifically, the supremum and infimum must be replaced by essential supremum and infimum to account for the fact that functions are defined only up to sets of measure zero. This leads to
We note, however, that for continuous functions such as Barron functions, this generalized formulation coincides with our previous definition in (6).
With the aim of proving the liminf inequality, let us first use the definition of in (6) to define a nonlocal perimeter through
for measurable sets A, where denotes the characteristic function of the set A, taking the value 1 inside A and 0 outside A. Bungert et al. (2023) showed that indeed qualifies as perimeter, being submodular and satisfying a coarea formula. Gamma-convergence of this perimeter was studied by Bungert & Stinson (2024) in the case where is the Euclidean norm. Additionally, for abbreviation we denote
so that
First, we state a useful representation of the nonlocal perimeter, see also Chambolle et al. (2012). For this statement, we need to define the measure theoretic interior of a set . It is given by
where denotes the open ball with radius around with respect to the Euclidean norm . We refer to Evans & Gariepy (1991) for more details.
Lemma C.1. Let be measurable. Then,
We also need an auxiliary result which follows from the product rule. For this, see Ambrosio et al. (2000) for the definition of the standard total variation for a function of bounded variation . Furthermore, denotes the Sobolev space of absolutely integrable functions whose weak derivatives are also absolutely integrable. It holds and the inclusion is strict.
Lemma C.2. Let be an open domain with Lipschitz boundary, and be non-negative. Then, with
where is a constant such that .
Proof. First, let be an extension of with compact support such that . Such a function exists, as there exists an extension operator such that and has compact support, since is an extension domain. Subsequently, we can apply a Lipschitz-continuous truncation operator to guarantee the bounds, which preserves the compact support leads to (Ambrosio et al., 2000, Theorem 3.96). We then consider , where is a standard mollifier (i.e. with some and ). Then, in and (Ambrosio et al., 2000, Remark 3.22). Moreover, and
as well as
Hence, we can use the product rule together with the lower semi-continuity of the TV functional to obtain
Finally, (after extracting a subsequence) converges to pointwise almost everywhere on and is bounded by the integrable function . Thus, the dominated convergence theorem yields
concluding the proof.
To prove the following liminf inequality for the perimeters—which will easily imply the desired result for the total variations—we proceed similar to Bungert & Stinson (2024); Siethoff (2025). We start with a compactness result.
Lemma C.3. Let Assumption 2 be satisfied. Then, for any sequence of positive numbers converging to zero and measurable sets with there exists a subsequence and a set with such that
Proof. We define the sequences and by
for . It holds that
almost everywhere (see Chambolle et al. (2012, p. 9)). Therefore, we can deduce that
since . Analogously, we obtain
Since the densities and are continuous up to the boundary and on , these functions can be extended to functions , where is an open neighborhood of and additionally for some . We now consider, for ,
which defines open sets such that . In particular, there exists a partition of unity subordinate to this covering, meaning that are smooth functions satisfying , and on . Lemma C.2 implies
Consequently,
and we can apply compactness in (Ambrosio et al., 2000, Theorem 3.23) to extract a converging subsequence (without relabeling) such that converges in to some . Similarly, we find that converges in to a function . We finalize the proof by showing that converges to . To see this, we first observe that
Using the same ideas, we can argue that as . Hence, using that on , we obtain that
and the right hand side converges to zero as . Consequently, must have the same limit in as which is . Since only takes the values 0 and 1, the limit must do so too, meaning that there exists a measurable set such that and in particular, .
We establish the lim inf inequality using similar arguments.
Lemma C.4. Let Assumption 2 be satisfied. Let be a collection of measurable subsets of and measurable such that in . Then, for any sequence of positive numbers converging to zero it holds that
where we define
To clarify our notation, we recall that for a function the distributional derivative can be represented by a finite -valued Radon measure (Ambrosio et al., 2000). Furthermore, we denote the associated total variation measure as and is the -dimensional Hausdorff measure.
Proof. We first note that w.l.o.g. we can assume
by extracting a subsequence and observing that the inequality is trivially satisfied if this limit is infinite. From Lemma C.3 we can conclude that . We define the sequences and as in the previous proof via
for . As before (see the proof of Lemma C.3) it holds that
Let be a sequence of positive real numbers that converge to zero as n approaches infinity. We define the sets
for , which are open thanks to Assumption 2. Since we assumed that the sequence is bounded by some constant , we can conclude
using the norm equivalence and the fact that is bounded from below by on . By Ambrosio et al. (2000, eq (3.11)), together with the convergence of to in which follows as in the proof of Lemma C.3, this implies the weak* convergence of to on . Hence, applying the Reshetnyak lower semicontinuity theorem (see e.g. Ambrosio et al. (2000, Theorem 2.38)) yields
Since this holds for every , we can take the limit and use the dominated convergence theorem to obtain
Repeating the arguments for instead of and instead of concludes the proof.
In fact, a corresponding result for the nonlocal total variation follows directly from the following coarea formula (Bungert et al., 2023):
Lemma C.5. Let Assumption 2 be satisfied. Let and such that in . Then, for any sequence of positive numbers converging to zero, it holds that
Proof. Without loss of generality, by passing to a subsequence if necessary, we can assume that . Moreover, there exists a subsequence (without relabeling) such that in for almost every . Consequently, using the coarea formula, Fatou's lemma, and Lemma C.4 we obtain
Next, we prove that for Barron functions , converges to as tends to zero.
Lemma C.6. Let and a sequence of positive numbers converging to zero. Then,
Proof. Let arbitrary. By Lemma A.1 the function is Lipschitz continuous, hence it is differentiable almost everywhere by Rademacher's theorem. Consequently, for almost every with , we have
for . In particular, taking the supremum with respect to , we obtain
Taking the limit , we obtain that
for almost every . Moreover, is dominated by a constant which is integrable over . Thus, with Lebesgue's dominated convergence theorem, we can conclude
Repeating the same arguments for the -term yields the desired result.
D RESULTS FOR THE FULL REGULARIZER
In the previous section we studied the nonlocal total variation and proved the liminf inequality as well as a version of the limsup inequality. Next, we need analogous results for the regularizer in (9) which requires two key changes: First, we need to consider the empirical version of the nonlocal total variation and second the weight decay regularizer needs to be added to the functional to ensure existence of minimizers and compactness of sequences of minimizers. As already mentioned in Section 5, it is useful to additionally divide the entire functional by , leading to
The liminf inequality for this regularizer functional is proved in Proposition D.1, and we refer to Proposition D.2 for the limsup inequality.
Proposition D.1. Let Assumption 2 be satisfied. Let such that in . Moreover, assume that
Then,
almost surely (with respect to the samples). In the case where , we use the convention that even if .
Proof. Without loss of generality, by passing to a subsequence, we can assume that
Moreover, if , the claim becomes trivial by extracting another subsequence, where the limsup becomes a limit. Hence, in the following, we consider the case, where is finite. By inserting zero, we can rewrite
and Lemma B.3 implies that the difference of the two middle terms converges to zero almost surely as . We can additionally use the lower semi-continuity of the Barron semi-norm and the liminf inequality from Lemma C.5 to conclude
Remark D.1. In particular if the functions are neural networks parametrized by , then
since (see Remark 2.1).
From Lemma C.6, we can immediately deduce the following equality.
Lemma D.1. For it holds that
where .
It remains to close the gap to obtaining a sequence of neural networks and considering the empirical version of the non-local total variation.
Proposition D.2. Let and let
Then, there exists a sequence of neural networks with neurons parametrized by such that in and
almost surely (with respect to the samples).
Proof. From Lemma D.1, we infer that
We will approximate the function by neural networks. Precisely, for , there exists a neural network with neurons parametrized by such that
where the constant C depends on the Barron semi-norm of f as well as the domain , see Lemma A.3. Hence,
Moreover, we can use Lemma B.2 to obtain
with probability at least . Hence, combining all the estimates with Lemma D.1 and using the Borel–Cantelli lemma, we obtain
almost surely.
We note that our analysis benefits significantly from the homogeneous Barron space, which guarantees approximation rates independent of the ambient dimension d.
Remark D.2. The sequence arising from the previous proof has the rate of convergence
for some constant depending on and and satisfies .
E PROOFS OF PROPOSITIONS 5.1 TO 5.3
In this section, we carry out the proof of the main auxiliary results for proving Theorem 1. In the language of Gamma-convergence, Proposition 5.2 is the limsup inequality, Proposition 5.1 is the liminf equality, and together they imply the following Gamma-convergence theorem.
Theorem 2. Under the conditions of Theorem 1 define the functionals
where for denotes the neural network with parameters . As the functionals Gamma-converge to , defined in (10), in the topology.
Proof. Notice that the limsup inequality for this functional follows directly from Proposition 5.2 since if parametrizes . For the liminf inequality one uses Proposition 5.1 with a parametrization of that satisfies
☐
We proceed with proving the lim inf inequality Proposition 5.1.
Proof of Proposition 5.1. We first consider the case that and . In this case, by Proposition D.1,
almost surely. In every other case, we need to prove that . If , we know by Lemma A.2 that and consequently,
The last remaining case is with . In particular, there exists such that for large enough. In this case, for convenience, we extract a subsequence such that the liminf under consideration becomes a limit. If then , passing to the corresponding subsequence, the inequality follows trivially. Hence, we can assume that , in particular, the Barron semi-norms are bounded by some constant . Moreover, we can conclude that needs to converge to due to the convergence in and the fact that all the functions and are Lipschitz continuous with uniformly bounded Lipschitz constants. To see this, we assume the contrary, i.e. and conclude that there exists an open set (independent of ) such that on , which contradicts the fact that converges to in . Overall, there exists a constant such that as defined in (12). Therefore, invoking Lemma B.1, we obtain
with probability at least . Since the first term is bounded, while the latter is unbounded, using the Borel–Cantelli lemma, we can conclude that
almost surely.
The proof of the lim sup inequality Proposition 5.2 uses similar ideas, combining Proposition D.2 with the generalization bound Lemma B.1
Proof of Proposition 5.2. The only case of interest is such that . In every other case, we only need to show that can be approximated by neural networks, because the inequality becomes trivial. The existence of an approximating sequence of neural networks follows directly from Hornik (1991). Hence, in the following we assume that with . We consider the recovery sequence of neural networks with corresponding parameters for the regularizer term given by Proposition D.2. We note that by Remark D.2, we can further assume that
for a positive constant C depending on f. Moreover,
The first term on the right hand side is bounded by with probability at least due to Lemma B.1. For justifying the application of this result, notice that the Barron semi-norms are uniformly bounded and hence all and the limit are Lipschitz continuous with a uniform Lipschitz-constant. Moreover, for large enough, we must have as the contrary would contradict the convergence in .
The second term can be bounded using the Lipschitz continuity of the loss function to obtain
and the right hand side converges to zero due to our assumptions on the scaling of and . Hence, using the Borel–Cantelli lemma together with Proposition D.2 yields
almost surely.
Finally, we prove the compactness result Proposition 5.3.
Proof of Proposition 5.3. For abbreviation, we denote . Since , from we can deduce that there exists a constant such that . In particular, all functions are Lipschitz continuous with a uniform bound for the Lipschitz constants. Proceeding by contradiction, suppose that along a subsequence . Combining this with the uniform Lipschitz bound implies that either on or for sufficiently large . Consequently, Assumption 1 forces . This directly contradicts the hypothesis that , thereby confirming the boundedness of . Therefore, we can apply Park et al. (2023, Lemma C.3) and obtain the existence of a function and a subsequence such that in .
F ADDITIONAL NUMERICAL ILLUSTRATIONS
In this section, we provide additional details on the experiments presented already, and we also include some additional experiments. We focus on the datasets from the main data, i.e., the two-dimensional toy dataset from Figure 2—where Bayes classifiers are not unique and we can nicely illustrate the different decision boundaries induced by natural and total variation regularization / adversarial training—the CIFAR-10 dataset, as well as ImageNet.

Figure 4: Clean and adversarial accuracies of the models from Figure 2, trained on the toy dataset using the architecture (1). We used data points, neurons, , and . The Bayes (i.e., best achievable) accuracy for this dataset is 80%.
Toy Dataset. First, we revisit the toy example from Figure 2. Here, the probability distribution for the data points was chosen such that in the inner square the probability of having label 0 or 1 is 50% each, making Bayes classifiers non-unique in this set. Furthermore, in the set the probability for a data point to have label 1 equals 90%. In the remaining area that probability is 10%. All Bayes classifiers equal 1 in the former set, 0 in the latter, and can take any number between 0 and 1 in the inner square . Hence, this data distribution is particularly useful for evaluating how different training methods influence the decision boundary, particularly, in this set where it is undetermined by the data.
In Figure 4 we report the clean and adversarial accuracies of the three models from Figure 2. Note that, due to the overlap of the class conditional distributions, the best achievable accuracy on this dataset is 80%. Notably, adversarial training suffers most from the well-known accuracy-robustness trade-off on clean data, see also the rightmost panel in Figure 2. We observe that the classifier obtained by natural training has the highest clean accuracy, but as expected is most susceptible to all attacks considered here. The attacks themselves are standard; we consider one -attack and several -attacks, all computed by projected gradient descent (PGD), see Madry et al. (2018). Moreover, TV regularization, i.e., problem (9), and standard adversarial training (Madry et al., 2018) produce comparable results. While TV regularization has better clean accuracy and is more robust to and small attacks, adversarial training slightly dominates for larger adversarial budgets. Note that we used to cross-entropy loss for these results, hence the mathematical equivalence of TV regularization and adversarial training (Bungert et al., 2023) does not hold here.
Finally, in Figure 5 (which should be compared to Figure 2) we show the resulting decision boundaries when using -adversaries instead of . Our theory does not predict gradient sparsity in this situation with -attacks, and indeed the resulting decision boundaries (just like the gradients) inside the undetermined set are not axis-parallel, but rather approximately diagonal. Nevertheless, the decision boundaries of TV regularization and adversarial training are better behaved than that of natural training, as a consequence of the implicit regularization with which we proved in Theorem 1.
CIFAR-2 and Two-Layer Neural Networks. We provide additional numerical illustrations obtained by training two layer neural networks on two classes extracted from the CIFAR-10 dataset. Specifically, we trained the two-layer neural network architecture from (1) with 4,096 hidden neurons on the subset of CIFAR-10 that contains only the classes frog and ship. We do this to reduce the problem to a binary classification problem, precisely as analyzed in Theorem 1. As for the toy example, we utilize three different training methods: natural training, TV regularization, and adversarial training.
The results are displayed in Figure 6 where we compare the achieved accuracy for clean and adversarially perturbed inputs and Figure 7 for a thresholded sparsity comparison of the input gradients. It can be observed that adversarial training, as well as TV regularization both result in better robustness and higher thresholded gradient sparsity, with the latter being even more affected by TV regularization.

Figure 5: Decision boundaries, using -attacks instead of -attacks: As expected, no gradient sparsity in the undetermined region is observed, but the decision boundaries of TV regularization and adversarial training still have much lower complexity and are shorter than the one of natural training.
tion. Both methods are comparable in term of adversarial robustness and yield higher robustness against the considered attacks than the naturally trained model.

Figure 6: Clean and adversarial accuracies of the two-layer neural network models trained on two classes of CIFAR-10. We used , neurons, , and .

Figure 7: Sparsity of the saliency maps of the two-layer models. Larger value of the bar indicates more values below the threshold .
ImageNet. In addition to the thresholded sparsity comparison in Figure 3, we provide a histogram of the input gradient magnitudes to further analyze the networks' sensitivities. Unlike the spatial visualizations in Figure 1, here the gradient magnitude is the absolute gradient value of every individual color channel. Using the pre-trained models described in Section 6, Figure 8 allows for a direct comparison of the raw gradient distributions between a naturally trained ResNet50 and its adversarially trained counterpart ( ) over a subset of the ImageNet validation dataset.
As already expected from the thresholded sparsity results, the adversarially trained model's gradient values are much more concentrated around zero than those of the naturally trained model. In particular, this histograms reveals that the gradients are not strictly sparse, meaning that very few of the components are exactly zero, but rather that the majority of the gradient components have magnitudes extremely close to zero.

Figure 8: Distribution of input gradient magnitudes for naturally and adversarially trained ResNet50 models on the ImageNet dataset. Notably, the adversarially trained model exhibits a higher frequency of near-zero values.
Although our theory gives explanations for the apparent sparsity of saliency maps when computing the gradient of the true class component (see our discussion on the multiclass case in Section 3) the empirical behavior of trained models for incorrect target classes remains of interest. To investigate this, we take the image from Figure 1 (true label: hummingbird) and compute the gradients for two different classes. Figure 9 visualizes these gradients with respect to the classes goldfish (top row) and tennis ball (bottom row). Similar to the true-class setting, the naturally trained model produces unstructured noise, while the adversarially trained models generate gradients that are sparser and more structured.

(a) Original
(b) Natural training
(c)
(d)
(e)
Figure 9: Off-target saliency maps across varying adversarial budgets. Left: The original image (ground truth: hummingbird). Right: Input gradients from a naturally trained ResNet50 and adversarially trained models with increasing budgets. The gradients are computed with respect to incorrect target classes rather than the ground truth: goldfish (top row) and tennis ball (bottom row).
This observation aligns with the discussion of multiclass classification in Section 3 if the class conditionals for different classes sufficient overlap. Otherwise, this remains an interesting topic for future research.
To generate the saliency maps in Figures 1 and 9, we first compute the gradient of the respective class logit with respect to the input. Specifically, we used the true class for Figure 1 and incorrect classes for Figure 9. We then extract the maximum absolute gradient magnitude across channels for each pixel and applying a global min-max normalization to scale the resulting spatial map into the [0, 1] range for visualization.