arXiv:2610.06822cs.LGOct 2026

Manuscript Offprint

arXiv:2610.06822

Private online learning and prediction for Littlestone classes

Amartya Sanyal

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We study differentially private online learning and jointly private online prediction against oblivious realisable adversaries. Online learning releases a hypothesis before observing each example, whereas online prediction releases only a prediction for the current instance. For every class of finite Littlestone dimension d≥2d \ge 2, every (ε,δ)(\varepsilon, \delta)-private online learner incurs Ω(min⁡{(d/ε)(log⁡T)2/3,d/δ})\Omega(\min\{(\mathrm{d}/\varepsilon)(\log T)^{2/3}, d/\delta\}) expected mistakes on some deterministic realisable stream of length TT, provided 0<ε≤10 < \varepsilon \le 1, 0≤δ≤min⁡{ε2,1/4}0 \le \delta \le \min\{\varepsilon^2, 1/4\}, and T≥(d/ε)2T \ge (d/\varepsilon)^2. We also prove an Ω(min⁡{(log⁡(2T))2/3,1/δ})\Omega(\min\{(\log(2T))^{2/3}, 1/\delta\}) lower bound for point functions on a three-element domain at ε=1/100\varepsilon = 1/100 and 0≤δ≤1/40 \le \delta \le 1/4. For private prediction, every nonempty class of finite Littlestone dimension dd admits an (ε,δ)(\varepsilon, \delta)-jointly private predictor with at most 2c(d+1)2ε−2log⁡2(2/(εδ))2^{c(d+1)^2} \varepsilon^{-2} \log^2(2/(\varepsilon \delta)) expected mistakes, independently of TT, for 0<ε≤10 < \varepsilon \le 1, 0<δ<1/100 < \delta < 1/10, and an absolute constant c>0c > 0. Thus, for fixed d≥2d \ge 2 and ε\varepsilon, at δ=Θ(1/log⁡T)\delta = \Theta(1/\log T), private learning requires Ω((log⁡T)2/3)\Omega((\log T)^{2/3}) expected mistakes, whereas private prediction admits O((log⁡log⁡T)2)O((\log \log T)^2). The same separation holds for point functions on three elements at ε=1/100\varepsilon = 1/100.

1 Introduction

In realisable online learning, given a hypothesis class H\mathcal{H}, a learner predicts the labels of a sequence of examples consistent with one unknown h∈Hh \in \mathcal{H}. It is well known that if the class H\mathcal{H} has Littlestone dimension Ldim(H)=d\text{Ldim}(\mathcal{H}) = d, then the Standard Optimal Algorithm makes at most dd mistakes on any stream, independently of the horizon TT [Lit88]. Additionally, this bound is also known to be tight; thus Littlestone dimension tightly characterises the mistake bound for realisable online learning.

Private online learning Under differential privacy, there exist algorithms with mistake bounds logarithmic in TT for fixed privacy parameters [GL21, Lyu26]. Whether this dependence on the horizon is necessary was posed as an open question in [SR22]. Subsequent lower bounds have shown that this logarithmic dependence may be necessary, but only for certain algorithms [DSS24], hypothesis classes [CLN+^{+}24], or ranges of δ\delta, (δ≤ε/T(\delta \leq \varepsilon/T in [LWY24]). This raises the following question:

Question. How many mistakes must an arbitrary private online learner make on a fixed hypothesis class for every value of δ\delta?

We make progress on this question in the range of δ\delta left open by prior work, up to order 1/log⁡T1/\log T. We prove a lower bound polynomial in log⁡T\log T, first for point functions on three elements and then for every class of finite Littlestone dimension at least two.

Our argument starts with a simpler class, point functions on a three-element domain:

POINT3={f1,f2,f3},fj:{1,2,3}→{0,1},fj(x)=1{x=j}.\mathrm{POINT}_{3}=\left\{f_{1},f_{2},f_{3}\right\},\qquad f_{j}:\left\{1,2,3\right\}\rightarrow\left\{0,1\right\},\qquad f_{j}\left(x\right)=\mathbf{1}\left\{x=j\right\}.
ResultPoint domainDP LearnerLower bound
[DSS24]{1,2,3}\{1, 2, 3\}ConcentratedΩ(log⁡T)\Omega\left(\log T\right)
[CLN+24][\mathrm{CLN}^{+}24]{0,…,T}\{0, \dots, T\}AllΩ(log⁡T)\Omega\left(\log T\right)
[LWY24]{1,2,3}\{1, 2, 3\}AllΩ(log⁡log⁡T)\Omega\left(\log \log T\right)
Theorem A{1,2,3}\{1, 2, 3\}AllΩ((log⁡T)2/3)\Omega\left(\left(\log T\right)^{2/3}\right)

Table 1: Lower bounds for expected total mistakes of private online learners on POINT3_{3} at δ=1/(log⁡T)\delta = 1/(\log T). [DSS24, LWY24]'s results also extend to other Littlestone classes. [CLN+^{+}24] considers point functions on {0,…,T}\{0, \dots, T\}, a domain that grows with TT. The [LWY24] entry follows by setting T′=⌊εlog⁡T⌋T' = \lfloor \varepsilon \log T \rfloor, applying their theorem to the first T′T' rounds, and filling the remaining rounds with dummy points.

This class has Littlestone dimension one and a single mistake suffices without privacy. The main point is that f1f_1 and f2f_2 agree at point 3 but disagree at point 1; thus one mistake at 1 suffices. We first prove a lower bound for this problem with online DP in Theorem A and then extend this to every class of Littlestone dimension at least two in Theorem B.

Theorem A. For ε0=1/100\varepsilon_0 = 1/100 and 0≤δ≤1/40 \le \delta \le 1/4, every (ε0,δ)(\varepsilon_0, \delta)-differentially private online learner of POINT3_{3} has a realisable stream of length TT on which

E[MT]=Ω(min⁡{(log⁡(2T))2/3,1δ}).\mathbb{E}\left[M_{T}\right]=\Omega\left(\min\left\{(\log\left(2T\right))^{2/3}, \frac{1}{\delta}\right\}\right).

At δ=Θ(1/log⁡T)\delta = \Theta\left(1/\log T\right), Theorem A improves the Ω(log⁡log⁡T)\Omega\left(\log \log T\right) [LWY24, see Table 1 caption] to Ω((log⁡T)2/3)\Omega\left(\left(\log T\right)^{2/3}\right) for arbitrary private learners on POINT3_{3}. Table 1 compares our bound to existing bounds for this range of δ\delta. As shown in Figure 1, a gap remains to the O(log⁡T)O\left(\log T\right) upper bound [GL21, LWY24] for this range of δ\delta. For polynomially small δ\delta, the Ω(log⁡T)\Omega\left(\log T\right) lower bound of [LWY24] is stronger and tight. When δ≥(log⁡T)−2/3\delta \ge \left(\log T\right)^{-2/3}, Theorem A matches the O(1/δ)O\left(1/\delta\right) upper bound using the name-and-shame variant of SOA [DSS24].

General Littlestone Classes: Our next result gives a lower bound linear in dd, for every class with d≥2d \ge 2, while retaining the polylogarithmic dependence on TT that we show for POINT3_{3}.

Theorem B. Let H\mathcal{H} have finite Littlestone dimension d≥2d \ge 2. For 0<ε≤10 < \varepsilon \le 1, 0≤δ≤min⁡{ε2,1/4}0 \le \delta \le \min\{\varepsilon^2, 1/4\}, and T≥(d/ε)2T \ge (d/\varepsilon)^2, every (ε,δ)(\varepsilon, \delta)-differentially private online learner of H\mathcal{H} has a deterministic realisable stream of length TT on which

E[MT]=Ω(min⁡{dε(log⁡T)2/3,dδ}).\mathbb{E}\left[M_{T}\right]=\Omega\left(\min\left\{\frac{d}{\varepsilon}\left(\log T\right)^{2/3},\frac{d}{\delta}\right\}\right).

Intuitively, a shattered Littlestone tree supplies dd successive stages in the non-private setting, at each of which a learner can be forced to make a mistake. In our setting, the tree supplies Θ(d)\Theta(d) phases, each instantiating the hard construction underlying Theorem 1. Following a single path through the tree keeps the entire stream realisable, while the mistake contributions from successive phases add. The construction is visualised in Figure 3.

For fixed dd and ε\varepsilon, this is, to our knowledge, the first lower bound polynomial in log⁡T\log T that applies to every such class and every private learner when δ=Θ(1/log⁡T)\delta = \Theta\left(1/\log T\right).

Private online prediction The lower bounds above show that private online learning can require a number of mistakes growing polynomially with log⁡T\log T. We next consider the slightly easier problem

Figure

Figure 1: Expected total mistakes E[MT]\mathbb{E}[M_T] for POINT 3_3 at ε=1/100\varepsilon = 1/100. Solid curves are upper bounds and dashed curves are lower bounds; grey shading marks the open gap.

of private online prediction. Here, the algorithm observes xtx_t, releases only its prediction for xtx_t, and then observes yty_t. For point functions, [CLN+24][CLN^{+}24] already gives a prediction mistake bound independent of the horizon TT and polylogarithmic in 1/δ1/\delta, but the corresponding question remains open for general classes.

Question. Does every class of finite Littlestone dimension admit an (ε,δ)(\varepsilon, \delta)-jointly private online predictor whose expected mistake bound is independent of TT and polylogarithmic in 1/δ1/\delta, on every fixed realisable stream?

We answer this question affirmatively. Intuitively, in online learning, the learner releases a hypothesis at every round. Its predictions at informative points are therefore visible even on rounds when it receives a dummy example. The learner receives informative examples only occasionally, but its released hypotheses reveal predictions at those points throughout the stream. This makes the prediction setting harder for the adversary. In the prediction setting, the privacy guarantee excludes the prediction at the round where the neighbouring streams differ. In online learning, the hypothesis released at that round does not depend on the current example, since it is released before that example is observed.

Below, we show that every class of finite Littlestone dimension admits an expected mistake bound independent of T, with polylogarithmic dependence on 1/δ1/\delta.

Theorem C. Let H be nonempty with finite Littlestone dimension d. For 0<ε≤10 < \varepsilon \leq 1 and 0<δ<1/100 < \delta < 1/10, there is an (ε,δ)(\varepsilon, \delta)-jointly differentially private online predictor such that, on every fixed realisable stream of length T,

E[MT]≤22c(d+1)2ε2log⁡22εδ,\mathbb{E}\left[M_{T}\right]\leq\frac{2^{2^{c(d+1)^{2}}}}{\varepsilon^{2}}\log^{2}\frac{2}{\varepsilon\delta},

where c > 0 is an absolute constant.

For every fixed class of finite Littlestone dimension d≥2d \geq 2, Theorems B and C separate private online learning from private online prediction. At fixed ε\varepsilon and δ=Θ(1/log⁡T)\delta = \Theta(1/\log T), the former requires Ω((log⁡T)2/3)\Omega\left((\log T)^{2/3}\right) expected mistakes on some stream, whereas the latter admits O((log⁡log⁡T)2)O\left((\log \log T)^2\right) expected mistakes on every realisable stream. The same separation also holds for POINT 3_3 by Theorem A.