VC dimension counts the questions a hypothesis class can answer in every possible way when they are posed all at once, and governs learning when examples are drawn i.i.d. from a fixed distribution; Littlestone dimension counts them when each question may depend on the answers to the previous ones, and governs learning when an adversary chooses every example. We introduce the \emph{epoch dimension} $\mathrm{ED}_n(H)$, which measures questions posed in at most $n$ epochs, all at once within an epoch and adaptively across epochs, with every answer given by a single hypothesis. It equals the VC dimension for $n=1$ and the Littlestone dimension once $n\ge\mathrm{LD}(H)$, and in between it can lie strictly between the two. We compute it for thresholds, unions of intervals, and cubes, prove that it is additive over products, and show that for half-spaces in $\mathbb{R}^d$ it is $dn+1$. We then show that it characterizes learning when a fixed concept labels examples whose distribution shifts at up to $n-1$ unannounced times: every learner can be forced to make $Ω(\mathrm{ED}_n(H))$ expected mistakes, and a layered version of Littlestone's standard optimal algorithm, aggregated over possible restart times by fixed share, makes $O(\mathrm{ED}_n(H)\log T)$ expected mistakes in $T$ rounds, without knowing $n$.
翻译:暂无翻译