Universal Approximation with Certified Networks

Maximilian Baader, Matthew B Mirman, Martin Vechev

TL;DR

This paper proves the existence of neural networks that are both highly accurate and certifiably robust using interval bound propagation. This is a significant step towards building safer AI systems, as it demonstrates that the trade-off between accuracy and certifiable robustness isn't a fundamental limitation of neural networks themselves.

What Problem Does This Paper Address?

The increasing deployment of neural networks in safety-critical applications (e.g., autonomous driving, medical diagnosis) necessitates robust models that can withstand adversarial attacks. Adversarial attacks involve making tiny, imperceptible perturbations to input data that cause a neural network to misclassify it. While empirical defenses (training with adversarial examples) can improve robustness, they don't offer formal guarantees. Certifiable robustness, on the other hand, provides mathematical proof that a network will remain correct within a certain input perturbation range. However, achieving high accuracy and high certifiable robustness simultaneously has been a major challenge. Existing methods often suffer from a significant gap between standard accuracy and certified accuracy, leading to questions about whether this gap is an inherent limitation. This paper tackles this by asking: can neural networks theoretically approximate functions while also being certifiably robust?

Methods

The core contribution of this paper is a theoretical result, a "Universal Approximation Theorem for Interval-Certified ReLU Networks." They prove that for any continuous function, there exists a ReLU neural network that can approximate it arbitrarily well. Crucially, this approximation is also "certifiable" using interval bound propagation.

Here's a breakdown of their approach:

  • Interval Bound Propagation (IBP): This is a standard technique for verifying neural network robustness. It works by propagating intervals (ranges of possible values) through the network instead of single values. If the output interval for a given input region is entirely within the correct class, the network is certified robust for that region.
  • Constructive Proof: While the paper doesn't provide a direct training algorithm, their proof is constructive. They show how such a network could be built by:
  • N-slicing: Decomposing the target continuous function into a series of "slices" or local segments.
  • Local Bump Functions: Constructing small, localized ReLU networks (called "local bumps") that approximate each slice.
  • Combining Networks: Assembling these local bump networks to form a larger network that approximates the original function.
  • Theoretical Guarantee: The key is that their construction ensures that when interval bound propagation is applied to the constructed network, the resulting output interval is provably close to the true range of the function over the input region.

Datasets

Not discussed in the paper. The paper focuses on theoretical existence proofs for arbitrary continuous functions, rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • Bridging the Gap: The most significant insight is that the perceived trade-off between accuracy and certifiable robustness might not be a fundamental limitation of neural networks themselves, but rather a challenge in current training and verification methods. This paper proves that networks can exist with both properties.
  • Universal Approximation for Certified Networks: They extend the classical Universal Approximation Theorem to the realm of certified robustness. This means that the expressive power of neural networks extends to functions that can be reliably verified.
  • Interval Analysis as a Scalable Tool: The paper leverages interval bound propagation, a relatively scalable verification technique, to define "certifiable robustness." This suggests that their theoretical result has practical implications for building verifiable systems.
  • Constructive Existence Proof: By showing a method to construct such networks, even if not directly trainable with current optimizers, they provide a strong theoretical foundation.

Key Results

The paper's primary result is a theoretical theorem (Theorem 1.1 and Theorem 4.6) stating:

  • For any continuous function $f$ defined on a compact domain $\Gamma$, and for any desired accuracy $\delta > 0$, there exists a ReLU neural network $n$.
  • This network $n$ approximates $f$ arbitrarily closely.
  • Crucially, interval bound propagation applied to $n$ over any box $B \subseteq \Gamma$ yields a result that is arbitrarily close to the optimal output range of $f$ on $B$. Specifically, for a box $B$, if $l = \min f(B)$ and $u = \max f(B)$, then the propagated interval $n\#(B)$ satisfies $[l + \delta, u - \delta] \subseteq n\#(B) \subseteq [l - \delta, u + \delta]$.

This proves the existence of such networks, answering an open question about the theoretical capabilities of neural networks for certified approximation.

Limitations and Future Work

  • Constructive but Not Directly Trainable: The paper provides a constructive proof for the existence of such networks but does not offer a method for training them with standard optimization techniques. The authors acknowledge this, stating, "We note that we do not provide a method for training a certified ReLU network even though our method is constructive, we aim to answer an existential question and thus we focus on proving that a given network exists."
  • Network Size and Complexity: The paper doesn't specify the size or complexity of the networks required for this universal approximation. Future work could investigate the inherent hardness of finding these networks with standard optimization methods and the required network capacity.
  • Focus on Interval Analysis: While interval analysis is scalable, it's also an approximation. The paper's results are specific to this method. Extending the theoretical guarantees to other, potentially more precise, verification techniques would be valuable.

Summary updated

Abstract

Training neural networks to be certifiably robust is critical to ensure their safety against adversarial attacks. However, it is currently very difficult to train a neural network that is both accurate and certifiably robust. In this work we take a step towards addressing this challenge. We prove that for every continuous function f, there exists a network n such that: (i) n approximates f arbitrarily close, and (ii) simple interval bound propagation of a region B through n yields a result that is arbitrarily close to the optimal output of f on B. Our result can be seen as a Universal Approximation Theorem for interval-certified ReLU networks. To the best of our knowledge, this is the first work to prove the existence of accurate, interval-certified networks.
BibTeX
@inproceedings{baader2020universal,
  author = {Maximilian Baader and Matthew B Mirman and Martin Vechev},
  title = {{Universal Approximation with Certified Networks}},
  booktitle = {International Conference on Learning Representations},
  year = {2020},
}
Figure