PHYSICAL PDF PAGE 14 / 23

                              Efficient Robust Conformal Prediction via Lipschitz-Bounded Networks









Figure 5: Illustration of the proof of (22). On the ball Bϵ+δ (x), the score x 7→ s(x, y) is minimized at some x̃. On the smaller ball Bϵ (x),

the minimum can only be larger, but not larger than s(x′′ , y) which is close to s(x̃, y) by continuity of s(·, y).







Let K ⊂ X be any compact set such that P(Xtest ∈ K) ≥ 1 − η2 .

By right-continuity of the cdf t 7→ Fϵ (t) := P (sϵ (Xtest , Ytest ) ≤ t|Xtest ∈ K), there exists ρ > 0 s.t. Fϵ (qα + ρ) ≤

Fϵ (qα ) + η2 .

                            each y ∈ Y (with Y finite), the function s(·, y) is continuous and thus uniformly continuous on

We now use the fact that, for

the compact set Kϵ+1 := x + u : x ∈ K, u ∈ Rd , ∥u∥ ≤ ϵ + 1 . Therefore, there exists δ ∈ (0, 1) s.t.,





                              ∀y ∈ Y, ∀x, x′ ∈ Kϵ+1 , ∥x − x′ ∥ ≤ δ =⇒ |s(x, y) − s(x′ , y)| ≤ ρ.                                        (21)





Note that, for any y ∈ Y and x ∈ K, by (21) above,





                              sϵ (x, y) =     inf       s(x̃, y) ≤      inf        s(x̃, y) + ρ = sϵ+δ (x, y) + ρ.                       (22)

                                            x̃∈Bϵ (x)                x̃∈Bϵ+δ (x)







 This follows from Figure 5. More formally, let x̃ ∈ Bϵ+δ (x) be such that s(x̃, y) = sϵ+δ (x, y). Inequality (22) is immediate

if ∥x̃ − x∥ ≤ ϵ. We thus assume without loss of generality that ∥x̃ − x∥ > ϵ. Then, let x′′ ∈ [x, x̃] ⊂ X be such that

∥x′′ − x∥ = ϵ (recall that X is convex). In this case ∥x̃ − x′′ ∥ ≤ δ and thus (by (21)) s(x′′ , y) ≤ s(x̃, y) + ρ which implies

sϵ (x, y) ≤ s(x′′ , y) ≤ sϵ+δ (x, y) + ρ. This concludes the proof of (22).

We are ready to conclude:



                                                                           

                        γ(ϵ + δ) = P sϵ+δ (Xtest , Ytest ) ≤ qα

                                                                                   

                         ≤ P (Xtest ∈ K) · P sϵ+δ (Xtest , Ytest ) ≤ qα | Xtest ∈ K + P (Xtest ∈

                                                                                               / K)

                         by (22)                                                            η

                           ≤ P (Xtest ∈ K) · P (sϵ (Xtest , Ytest ) ≤ qα + ρ | Xtest ∈ K) +

                                             |                      {z                  } 2

                                                                     =Fϵ (qα +ρ)≤Fϵ (qα )+ η2

                                             h                                         ηi η

                         ≤ P (Xtest ∈ K) · P ( sϵ (Xtest , Ytest ) ≤ qα | Xtest ∈ K) +   +

                                                                                       2   2

                         ≤ P (sϵ (Xtest , Ytest ) ≤ qα ) + η

                         = γ(ϵ) + η





This entails |γ(ϵ′ ) − γ(ϵ)| ≤ η for all ϵ′ ∈ [ϵ, ϵ + δ], and proves that γ is right-continuous.

The proof that γ is left-continuous follows from similar arguments. Put briefly: for all ϵ > 0 and η > 0, there exist a



                                                                          2

