By Bayes’ rule, the fresh rear likelihood of y = step 1 is going to be expressed as:
(Failure of OOD detection under invariant classifier) Consider an out-of-distribution input which contains the environmental feature: ? out ( x ) = M inv z out + M e z e , where z out ? ? inv . Given the invariant classifier (cf. Lemma 2), the posterior probability https://datingranking.net/pl/blackfling-recenzja/ for the OOD input is p ( y = 1 ? ? out ) = ? ( 2 p ? z e ? + log ? / ( 1 ? ? ) ) , where ? is the logistic function. Thus for arbitrary confidence 0 < c : = P ( y = 1 ? ? out ) < 1 , there exists ? out ( x ) with z e such that p ? z e = 1 2 ? log c ( 1 ? ? ) ? ( 1 ? c ) .
Proof. Think an out-of-shipping type in x-out that have M inv = [ We s ? s 0 1 ? s ] , and you will Yards age = [ 0 s ? e p ? ] , then your element sign was ? elizabeth ( x ) = [ z aside p ? z elizabeth ] , where p is the tool-norm vector outlined inside the Lemma 2 .
Then we have P ( y = 1 ? ? out ) = P ( y = 1 ? z out , p ? z e ) = ? ( 2 p ? z e ? + log ? / ( 1 ? ? ) ) , where ? is the logistic function. Thus for arbitrary confidence 0 < c : = P ( y = 1 ? ? out ) < 1 , there exists ? out ( x ) with z e such that p ? z e = 1 2 ? log c ( 1 ? ? ) ? ( 1 ? c ) . ?
Remark: Within the a more general circumstances, z out should be modeled once the a haphazard vector which is in addition to the within the-shipment names y = 1 and you will y = ? step one and you will environment possess: z out ? ? y and you can z away ? ? z e . Therefore from inside the Eq. 5 i’ve P ( z away ? y = step 1 ) = P ( z away ? y = ? step 1 ) = P ( z aside ) . Following P ( y = step 1 ? ? away ) = ? ( dos p ? z age ? + journal ? / ( step one ? ? ) ) , same as when you look at the Eq. 7 . Therefore our very own chief theorem nonetheless keeps not as much as significantly more standard instance.
Appendix B Extension: Color Spurious Correlation
To advance examine our very own findings beyond records and you can intercourse spurious (environmental) keeps, you can expect even more fresh show to your ColorMNIST dataset, just like the shown for the Profile 5 . (more…)