where \(K\)  is the number of target label categories (in our case, 16).
An alternative confidence function that has been shown to perform better on out-of-distribution detection tasks than MSP is the Energy score [1]}, defined as
\(E(z; T) = T\cdot log \sum _{j=1}^{K} e^{-z_j / T}\) 
