PHYSICAL PDF PAGE 6 / 23

                             Efficient Robust Conformal Prediction via Lipschitz-Bounded Networks



simultaneity strengthens the practical utility of the bounds,

as no prior assumptions about the adversary’s strategy are

required. Moreover, this result holds not only for the exact

                                                     ′

sets C α,ϵ and C α,ϵ , but also for any C ′α,ϵ and C α,ϵ verifying

                             ′

C ′α,ϵ ⊆ C α,ϵ and C α,ϵ ⊆ C α,ϵ . This allows to use approxi-

mate sets from common robustness approaches, such as that

of Section 4. Naturally, the informativeness of the bound is

directly linked to the tightness of the estimate.

                                                                         Figure 2: Calibration and test time on the CIFAR-10 dataset for

                                                                         different robust CP methods. Our method has negligible overhead

4. Fast Computations for Robust and Vanilla                              compared to vanilla CP. Here we use ncal = 4750, ntest = 4750

                                                                         and nmc = 1024, CAS (lite) corresponds to the version of CAS that

   CP with Lipschitz bounds                                              leverages CDF-Aware smoothed Prediction Sets only at calibration

In this section, we introduce Lipschitz bounds for neural                time.

networks and use their validity across the totality of the

support of X to enable fast computations of conservative

                                                                         schitz bounds. Finally, these constraints also mitigate the

and restrictive scores.

                                                                         gradient vanishing problem (Li et al., 2019) and allow for

4.1. On the Lipschitz Constant of Neural Networks                        more efficient training.

Definition 4.1 (Lipschitz constant). A neural network clas-              Therefore, Lipschitz-constrained networks have two main

sifier f : X → Rc is said to be L-Lipschitz in ℓp norm if it             advantages: their training objective explicitly promotes ro-

verifies the following behavior:                                         bustness and the estimation of the Lipschitz constant is

                                                                         locally tight. These particular traits will be key to getting

                                                                         fast and tight estimations of the conservative and restrictive

    ∀(x, y) ∈ X 2 , ∥f (x) − f (y)∥p ≤ L.∥x − y∥p            (17)        scores.



Importantly, most deep neural networks -excluding atten-                 4.2. Computing Conservative and Restrictive

tion based architectures (Havens et al., 2024)- are Lipschitz                 Conformal Scores

continuous.                                                              In this section, we use the global Lipschitz bound of our

                                                                         networks to efficiently estimate the conservative and restric-

Estimating Lipschitz constants of neural networks                        tive prediction sets at model inference. We call our method

Computing the exact Lipschitz constant of deep neural net-               lip-rcp. These estimations are then used to construct robust

works is an NP-hard problem as stated in (Virmaux & Sca-                 CP sets and audit the robustness of vanilla CP as per § 3.

man, 2018). In order to mitigate this issue, some methods                Our approach can be connected to the Lipschitz properties

like (Wang et al., 2024) compute over-estimations of the                 exhibited by the smoothed classifier introduced in RSCP.

Lipschitz constant of the network, for instance by comput-

                                                                         However, at inference time, most Lipschitz weight re-

ing the product of the Lipschitz constant of the network’s

                                                                         parametrization schemes can be exported as a set of reg-

layers. Unfortunately, these methods currently offer very

                                                                         ular neural network weights to eliminate any computational

loose estimations, any breakthroughs in that field would

                                                                         overhead compared to their unconstrained counterparts.

benefit our framework.

A more popular alternative to ad-hoc computation lies in                 Lipschitz score bounds Assuming the non-conformity

the field of “Lipschitz by design” architectures. This very              score s(x, y) can be expressed as ψ(f (x), y) such that f is

active field relies on the seminal work of (Anil et al., 2019)           an Ln -Lipschitz classifier and ψ(·, y) is Ls -Lipschitz in ℓp

to provide efficient weight re-parametrizations that ensure              norm for all y ∈ Y, we can write:

1-Lipschitz behavior in ℓ2 norm (in general). Some notable

examples include Riemannian optimization inspired imple-                   ∀y ∈ Y, |s(x, y) − s(x + δ, y)| ≤ Ln · Ls · ∥δ∥p .        (18)

mentations (Lezcano Casado, 2019), or even performance-

focused implementations with reduced computational over-                 This induces the following bounds ∀x̃ ∈ Bϵ (x), ∀y ∈ Y :

heads during training (Araujo et al., 2023; Boissin et al.,

                                                                          s(x, y) − Ln ·Ls ·ϵ ≤ s(x̃, y) ≤ s(x, y) + Ln ·Ls ·ϵ (19)

2025). Using Lipschitz-constrained networks introduces                    |       {z        }              |       {z        }

the several advantages. First and foremost, Lipschitz-                         =slip-rcp (x,y)                     =slip-rcp (x,y)

constrained networks allow explicit control of their place-

ment on the robustness-accuracy trade-off (Béthune et al.,              Score function In the literature of CP, the Least Ambigu-

2022). Also, additional orthogonality constraints on these               ous Classifier (LAC) score, usually based on the softmax

networks have been shown to result in generally tighter Lip-             function, is classically used to provide conformal scores.



                                                                     6

