PHYSICAL PDF PAGE 16 / 23

                            Efficient Robust Conformal Prediction via Lipschitz-Bounded Networks



                                                                                                                 k

                                                                                                

Step 2: pointwise concentration and union bound For every k ∈ {1, · · · , m−1}, we set ϵk := inf ϵ ≥ 0 : γ(ϵ) ≥ m    ,

                                                                                                                   k

with the convention that inf ∅ = +∞. Let also ϵm := +∞. Note that 0 ≤ ϵ1 ≤ ϵ2 ≤ · · · ≤ ϵm ≤ +∞ and that γ(ϵk ) ≥ m

whenever ϵk < ∞ (by right-continuity of γ on [0, +∞)).

                                         1

First note that, if ϵ1 = +∞, then γ(ϵ) < m for all ϵ ≥ 0 by def of ϵ1 ). In this case, the conclusion of Theorem B.2 would

hold trivially.

We can thus assume without loss of generality that ϵ1 < +∞, and set



                                        K := max {k ∈ {1, · · · , m − 1} : ϵk < +∞} .



Note that 0 ≤ ϵ1 ≤ · · · ≤ ϵK < ϵK+1 = · · · = ϵm = +∞.

Combining (23) with a union bound, and using K ≤ m − 1, we get:

                                                                                   

                                                                           δ    Kδ

                          P ∀k ∈ {1, · · · , K}, γ(ϵk ) ≤ γ +

                                                            m (ϵk ,           )       ≥ 1 − δ.

                                                                                        ≥1−                       (24)

                                                                          m−1  m−1

                                   n                                             o

                                                                              δ

Step 3: bridging the gaps Let Ωδ := ∀k ∈ {1, · · · , K}, γ(ϵk ) ≤ γ +

                                                                    m (ϵ k , m−1   be the event appearing in (24). We

now work on the event Ωδ .

Let ϵ ≥ ϵ1 . Note that ϵ belongs to one of the following K disjoint (possibly empty) intervals:



                          Ik = [ϵk , ϵk+1 ), k ∈ {1, · · · , K}   (by convention, Ik = ∅ if ϵk = ϵk+1 ).



We let k ∈ {1, · · · , K} be such that ϵ ∈ Ik , i.e., ϵk ≤ ϵ < ϵk+1 .

                     k

Recall that γ(ϵk ) ≥ m , and note that γ(ϵ) ≤ k+1

                                               m .

Therefore,

                                k+1

                       γ(ϵ) ≤

                                 m

                                         1

                            ≤ γ(ϵk ) +

                                        m

                                +          δ      1

                            ≤ γ m (ϵk ,       )+                                                    (we work on Ωδ )

                                        m−1       m

                                +        δ       1                                                          δ

                            ≤ γ m (ϵ,        )+           (by ϵk ≤ ϵ and monotonicity of γ +

                                                                                           m (·,               ))

                                      m−1       m                                                          m−1

                          1

Since we also have γ(ϵ) ≤ m if ϵ1 > 0 and ϵ ∈ [0, ϵ1 ) (by definition of ϵ1 ), we just proved that, on the event Ωδ ,



                                                                            δ    1

                                              ∀ϵ ≥ 0, γ(ϵ) ≤ γ +

                                                               m (ϵ,           )+ .

                                                                           m−1   m

Recalling that P(Ωδ ) ≥ 1 − δ concludes the proof.



We can control γ = P(s̄ϵ (Xtest , Ytest ) ≤ qα ) similarly (up to a coin flip), using

                                                                  m

                                                            1 X

                                                   γ m :=        1s̄ (X ,Y )≤q

                                                            m i=1 ϵ i i α



and                                                n                                         o

                              γ−

                               m

                                 (ϵ, δ) := 1 − max  p ∈ [0, 1] : Binm,p (m(1 − γ m

                                                                                   (ϵ))) ≥ δ   .

We have the following lower bound.

Theorem B.3. Assume that A1 and A2 from 3.2 hold true. Let (Xi , Yi )1≤i≤m be m ≥ 2 independent copies of (Xtest , Ytest ).

Then:

                                                                                         

                                                                           δ            1

                                     P ∀ϵ > 0, γ(ϵ) ≥ γ −  ϵ,                       −           ≥ 1 − δ.                (25)

                                                        m                 m−1           m



                                                                      4

