PHYSICAL PDF PAGE 17 / 23

                               Efficient Robust Conformal Prediction via Lipschitz-Bounded Networks



First, note that our high probability lower bound on γ(ϵ) is similar to our high probability upper bound on γ(ϵ), by a simple

coin flip. Indeed, note that:



                                      1 − γ(ϵ) = P (s̄ϵ (Xtest , Ytest ) > qα ) .

                                                      m

                                                   1 X

                                   1 − γ m (ϵ) : =        1s̄ (X ,Y )>q                                                      (26)

                                                   m i=1 ϵ i i α

                                 1 − γ−

                                                                                         

                                      m

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



Issue Though these functions are non-decreasing in ϵ, they are left-continuous. This calls for additional technicalities, as

seen in the proof below.



Proof. We also proceed with three steps: many arguments are identical, but not all.



Step 1: left continuity of γ and γ −

                                   m

                                     (·, δ) on (0, +∞) This follows from similar arguments as in the proof of Theorem B.2.



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

k

m }, with the convention that inf ∅ = +∞. Let also ϵm := +∞.

                                                              k

Note that 0 ≤ ϵ1 ≤ ϵ2 ≤ · · · ≤ ϵm ≤ +∞ and that 1 − γ(ϵk ) ≤ m whenever 0 < ϵk ≤ +∞ (by left continuity of γ on

(0, +∞)).

                                             1

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

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 = +∞.

We now need additional technicalities.

For any q ∈ N∗ = {1, 2, · · · } and k ∈ {1, · · · , K}, we set

                                                       (         

                                                            1 − 1q ϵk + 1q ϵk+1     if k ≤ K − 1

                                             ϵqk =

                                                           ϵk + 1q                  if k = K



Note that                                              (

                                                           ϵk < ϵqk < ϵk+1    if ϵk < ϵk+1 .

                                                           ϵk = ϵqk = ϵk+1    if ϵk = ϵk+1 .



and that ϵq+1

          k   ≤ ϵqk .

By Langford (2005, Theorem 3.3), we have similarly to (23),

                                                                         

                                 ∀ϵ ≥ 0, ∀δ ∈ (0, 1), P γ(ϵ) ≥ γ −

                                                                 m

                                                                   (ϵ, δ)   ≥ 1 − δ.                                         (27)



Let δ ∈ (0, 1). Combining (27) with a union bound, we get, for any q ≥ 1,

                                                                                          

                                                                                       δ

                                    P ∀k ∈ {1, · · · , K}, γ(ϵqk ) ≥ γ − (ϵq ,

                                                                       m k

                                                                                          ) ≥ 1 − δ.                         (28)

                                                                                      m−1

We now work on the event                                                                            

                                                                                                 δ

                                        Ωqδ :=       ∀k ∈ {1, · · · , K}, γ(ϵqk ) ≥ γ − (ϵq ,

                                                                                      m k

                                                                                                    ) .

                                                                                                m−1

                S                  

                     K−1 k

We set E q :=        k=1 (ϵq , ϵk+1 ]   ∪ (ϵqK , +∞), where (ϵqk , ϵk+1 ] = ∅ if ϵk = ϵk+1 . Note that E q ⊆ E q+1 ⊆ (ϵ1 , +∞) and

∪q≥1 E q = (ϵ1 , +∞)



                                                                         5

