Abstract
Online prediction from experts is a fundamental problem in machine learning and several works have studied this problem under privacy constraints. We propose and analyze new algorithms for this problem that improve over the regret bounds of the best existing algorithms for non-adaptive adversaries. For approximate differential privacy, our algorithms achieve regret bounds of $\tilde{O}(\sqrt{T \log d} + \log d/\epsilon)$ for the stochastic setting and $\tilde{O}(\sqrt{T \log d} + T^{1/3} \log d/\epsilon)$ for oblivious adversaries (where $d$ is the number of experts). For pure DP, our algorithms are the first to obtain sub-linear regret for oblivious adversaries in the high-dimensional regime $d \ge T$. Moreover, we prove new lower bounds for adaptive adversaries. Our results imply that unlike the non-private setting, there is a strong separation between the optimal regret for adaptive and non-adaptive adversaries for this problem. Our lower bounds also show a separation between pure and approximate differential privacy for adaptive adversaries where the latter is necessary to achieve the non-private $O(\sqrt{T})$ regret.
Introduction
In the world of private online learning, the "power" of your opponent matters much more than it does in standard machine learning. This paper addresses Online Prediction from Experts (OPE), a classic game where an algorithm chooses one of $d$ experts in each of $T$ rounds to minimize regret—the difference between its total loss and the loss of the best expert in hindsight.
When adding Differential Privacy (DP), the goal is to ensure the sequence of losses doesn't leak sensitive information. While non-private OPE treats oblivious (fixed strategy) and adaptive (reactive strategy) adversaries similarly, this work asks if that equivalence holds under privacy constraints. The authors demonstrate that adaptive adversaries are fundamentally harder to beat when privacy is required.
Methods
The paper introduces several algorithmic frameworks to optimize regret under privacy:
- Private Shrinking Dartboard: A "lazy" version of the Multiplicative Weights algorithm that saves privacy budget by avoiding frequent updates to the chosen expert.
- Batching: Rounds are grouped into batches, and updates only occur after a full batch of losses is observed, suitable for high-privacy scenarios.
- Reduction from DP-SCO: For stochastic adversaries, an offline private optimizer is converted into an online one by updating the model at logarithmic time steps.
- Fingerprinting Lower Bounds: Using techniques from cryptography, the authors prove that private algorithms forced to react to adaptive opponents eventually leak enough information to be exploited, leading to high regret.
Key Results
The paper establishes new regret bounds that significantly improve upon prior work for non-adaptive adversaries.
- Oblivious Adversaries (Approximate DP): Achieves a regret bound of $\tilde{O}(\sqrt{T \log d} + T^{1/3} \log d / \epsilon)$. As $T$ grows, the privacy cost becomes negligible relative to standard non-private regret.
- Oblivious Adversaries (Pure DP): The first algorithm to achieve sub-linear regret in the high-dimensional regime ($d \ge T$).
- Stochastic Adversaries: Near-optimal regret of $\tilde{O}(\sqrt{T \log d} + \frac{\log d}{\epsilon})$.
- Adaptive Lower Bounds: For small privacy parameters ($\epsilon \le 1/\sqrt{T}$), any private algorithm must suffer linear regret against an adaptive adversary, formally proving the separation between adversary types.
Key Insights: The Privacy-Adversary Gap
The most significant finding is that privacy breaks the symmetry between adversary types. In non-private settings, adaptive adversaries are no more dangerous than oblivious ones. However, under DP, an adaptive adversary can force linear regret where an oblivious one can be defeated.
- Laziness as a Virtue: Limiting how often an algorithm updates its model naturally limits information leakage, making "lazy" updates a core principle for private online learning.
- Pure vs. Approximate DP: There is a clear separation between these two regimes. For adaptive adversaries, approximate DP is strictly necessary to achieve optimal regret.
Limitations and Future Work
While this work significantly advances the field, several open questions remain. The fundamental connection between privacy and "switching costs" is not yet fully mapped. Additionally, extending these separations to the bandit setting—where only the loss of the chosen expert is observed—remains a challenge. Finally, while bounds are improved, small gaps between upper and lower bounds in certain privacy regimes persist for future research to address.
Summary updated