cs.LGOct 21, 2026

Private Online Prediction from Experts with Small Losses

Authors: Bo Li, Peng Ye

Organizations: Guangzhou HKUST Fok Ying Tung Research Institute · Department of Computer Science and Engineering, HKUST

Abstract

We consider online prediction from experts, a fundamental problem in machine learning, under differential privacy constraints. Existing private algorithms achieve near-optimal regret O~(T)\tilde{O}(\sqrt{T}), where TT is the time horizon. However, this bound becomes suboptimal when L⋆L^\star, the cumulative loss of the best expert, is significantly less than TT. In this work, we present the first differentially private algorithm with regret O~(L⋆)\tilde{O}(\sqrt{L^\star}), offering a substantial improvement in the low-loss regime. Our regret bound matches the non-private lower bound up to poly-logarithmic factors for constant privacy parameters, demonstrating that privacy incurs only a small cost in this setting. Our result assumes that the input sequence is oblivious, i.e., it is fixed in advance and independent of the algorithm's outputs. We also prove that an Ω~(T)\tildeΩ(\sqrt{T}) regret is inevitable for adaptively generated inputs, even when L⋆=0L^\star = 0.

Explore similar work

Oct 5, 2026

Private online learning and prediction for Littlestone classes

We study mistake bounds for differentially private online learning and online prediction under oblivious realisable adversaries. Online learning requires the learner to release a hypothesis at each time step whereas in online prediction, the learner only needs to make predictions without releasing a hypothesis. Using a novel lower bound for private online learning and an upper bound for private prediction, we show that the sample complexity of these two problems are separated by a factor that grows with the time horizon for every class of finite Littlestone dimension dd. First, we prove that every (ε,δ)(ε,δ)-private online learner has a deterministic realisable stream of length TT on which the mistake bound is at least E[MT]=O(dεlog⁡2/3T)\mathbb E [M_T]= O\left(\frac dε\log^{2/3} T\right). In particular, this is the first non-trivial lower in the range 1/T<δ<1/log⁡T)1/T<δ<1/\log T) left open in earlier works[SR22,DSS24,LWY24]. Second, we prove that for every class of of Littlestone dimension dd, there exists an (ε,δ)(ε,δ)-jointly private predictor with at most 22cd2ε−2log⁡2(2/(εδ))2^{2^{cd^2}}ε^{-2}\log^2(2/(εδ)) expected mistakes, independently of TT, for some absolute constant c>0c>0. Thus, for every fixed class of finite Littlestone dimension when δ=Θ(1/log⁡T)δ=Θ(1/\log T), private learning requires O(log⁡2/3T)O\left(\log^{2/3} T\right) expected mistakes, whereas private prediction admits O(log⁡log⁡T2)O(\log\log T^2).
May 27, 2026

Optimal Gap-Dependent Regret for Private Stochastic Decision-Theoretic Online Learning

We study stochastic decision-theoretic online learning with full information and event-level pure differential privacy. A COLT open problem of Hu and Mehta asks to determine the optimal gap-dependent regret rate for stochastic decision-theoretic online learning under pure event-level differential privacy. For KK actions, losses in [0,1][0,1], and a unique best action separated from the second-best action by gap Δmin⁡Δ_{\min}, the known lower bound is of order log⁡Kmin⁡{Δmin⁡,ε},\frac{\log K}{\min\{Δ_{\min},\varepsilon\}}, or equivalently, up to universal constants, of order log⁡KΔmin⁡+log⁡Kε.\frac{\log K}{Δ_{\min}}+\frac{\log K}{\varepsilon}. We give a horizon-free pure-DP algorithm and prove the explicit regret bound Reg⁡T≤1000⋅(log⁡KΔmin⁡+log⁡Kε)\operatorname{Reg}_T \le 1000 \cdot \left(\frac{\log K}{Δ_{\min}}+\frac{\log K}{\varepsilon}\right) for every horizon TT. The numerical constant is not optimized. The algorithm partitions time into blocks of exponentially increasing size, plays a single action throughout each block, and chooses the next action by an exponential mechanism applied to a data-independent random prefix of the previous block. The random prefix converts block regret into a sum, over all prefix lengths, of softmax selection errors. A single entropy-potential argument controls all privacy-dominated large-gap actions at cost log⁡K/ε\log K/\varepsilon.
Nov 17, 2025

On the Gradient Complexity of Private Optimization with Private Oracles

We study the running time, in terms of first order oracle queries, of differentially private empirical/population risk minimization of Lipschitz convex losses. We first consider the setting where the loss is non-smooth and the optimizer interacts with a private proxy oracle, which sends only private messages about a minibatch of gradients. In this setting, we show that expected running time Ω(min⁡{dα2,dlog⁡(1/α)})Ω(\min\{\frac{\sqrt{d}}{α^2}, \frac{d}{\log(1/α)}\}) is necessary to achieve αα excess risk on problems of dimension dd when d≥1/α2d \geq 1/α^2. Upper bounds via DP-SGD show these results are tight when d>Ω~(1/α4)d>\tildeΩ(1/α^4). We further show our lower bound can be strengthened to Ω(min⁡{dmˉα2,dlog⁡(1/α)})Ω(\min\{\frac{d}{\bar{m}α^2}, \frac{d}{\log(1/α)} \}) for algorithms which use minibatches of size at most mˉ<d\bar{m} < \sqrt{d}. We next consider smooth losses, where we relax the private oracle assumption and give lower bounds under only the condition that the optimizer is private. Here, we lower bound the expected number of first order oracle calls by Ω~(dα+min⁡{1α2,n})\tildeΩ\big(\frac{\sqrt{d}}α + \min\{\frac{1}{α^2}, n\}\big), where nn is the size of the dataset. Modifications to existing algorithms show this bound is nearly tight. Compared to non-private lower bounds, our results show that differentially private optimizers pay a dimension dependent runtime penalty. Finally, as a natural extension of our proof technique, we show lower bounds in the non-smooth setting for optimizers interacting with information limited oracles. Specifically, if the proxy oracle transmits at most ΓΓ-bits of information about the gradients in the minibatch, then Ω(min⁡{dα2Γ,dlog⁡(1/α)})Ω\big(\min\{\frac{d}{α^2Γ}, \frac{d}{\log(1/α)}\}\big) oracle calls are needed. This result shows fundamental limitations of gradient quantization techniques in optimization.