Evaluations of language models at a confidence threshold $t$ score a correct answer $1$, an abstention $0$ and a wrong answer $-t/(1-t)$. The shortfall from a perfect score is the risk of realizable learning with Chow's reject option, which interpolates between PAC learning at $t=0$ and reliable learning without errors at $t=1$. For nontrivial classes, the minimax rates at these two ends are set by the VC dimension and the star number, respectively. We determine how the rate depends on $1/(1-t)$ in between, for every binary class. Up to $t=1/2$ abstention gives no gain, and above $1/2$ the minimax risk of a nontrivial class after $n$ examples is $π/n$ up to absolute constants, where $π$ is the largest value of a panel system on at most $n+1$ points shattered by the class. A panel system consists of two adjacent layers of sets in which every lower set lies in many upper sets and every upper set contains many lower sets. The parameter $π$ lies between $\frac{1}{2}\min\{d,n+1\}$ and $\min\{s,n+1\}$, where $d$ is the VC dimension and $s$ the star number, and its dependence on $n$ is necessary, since no rate $\min\{D,n+1\}/n$ with $D$ independent of $n$ holds for all classes with constants uniform in $t$. As $1/(1-t)$ grows, abstention lowers the risk by a factor of order $1/(1-t)$ for threshold functions and parities, of order $\log(1/(1-t))$ for dictators and monotone conjunctions on many features, and of constant order for intervals, boxes and affine halfspaces in dimension at least two, the last two regimes at large sample sizes. The shattered panel systems of a class, compared with its VC dimension, decide how much abstention removes from the cost $1/(1-t)$ of an error.
翻译:暂无翻译