Tracking the Best Expert Privately

Aadirupa Saha, Vinod Raman, Hilal Asi · DOI

Introduction

In the classical "Prediction with Expert Advice" framework, a learner aims to make a sequence of decisions by following the advice of a pool of experts. Traditionally, performance is measured by static regret—the difference between the learner's total loss and the loss of the single best expert in hindsight. However, in dynamic real-world environments such as financial markets or recommendation systems, the "best" expert often changes over time. This necessitates the minimization of dynamic regret, where the learner is compared against a sequence of experts that can switch up to $S$ times over a horizon $T$.

Integrating Differential Privacy (DP) into this framework introduces a significant challenge. DP requires that the presence or absence of any single data point (e.g., an expert's loss on a specific day) does not significantly affect the algorithm's output. Conversely, minimizing dynamic regret requires the algorithm to be highly sensitive to changes in the environment to "track" the shifting best expert. This paper by Asi, Raman, and Saha provides the first comprehensive study of this tension, establishing near-optimal bounds and identifying fundamental limits in private online learning.

The Challenge: Sensitivity vs. Privacy

The core difficulty in private dynamic tracking lies in the "restart" problem. To adapt to a shift in the best expert, an algorithm must effectively "forget" past data and focus on recent trends. In a non-private setting, this is straightforward. In a private setting, however, every time an algorithm adapts or restarts, it consumes a portion of its "privacy budget" ($\epsilon$). If the environment shifts frequently, the algorithm risks either exhausting its privacy budget or failing to adapt quickly enough, leading to linear regret.

This research establishes that the ability to track a moving target privately depends heavily on the nature of the adversary and the stringency of the privacy requirements.

Algorithmic Strategies

The authors tackle three distinct types of adversaries with tailored strategies designed to balance agility with privacy:

1. Shifting Stochastic Adversaries

In this setting, losses are sampled from a distribution that remains stationary for periods before shifting. The authors propose a "Lazy" Report-Noisy-Max algorithm integrated with the Sparse Vector Technique (SVT).

  • The "Smoke Detector" Mechanism: SVT acts as a monitor. The algorithm continues using its current strategy until SVT detects that the accumulated regret has crossed a certain threshold, indicating a likely distribution shift.
  • Privacy Efficiency: By only "restarting" the learner when a shift is detected, the algorithm conserves its privacy budget, paying primarily for the number of shifts $S$ rather than the total time $T$.

2. Oblivious Adversaries

Oblivious adversaries determine the entire sequence of losses before the game begins. To handle this, the authors utilize a meta-expert reduction.

  • They construct a set of "meta-experts," where each meta-expert represents a specific sequence of $S$ switches among the original experts.
  • By running a private static-regret algorithm over this expanded pool, they prove that sub-linear dynamic regret is achievable even under strict privacy constraints.

3. Adaptive Adversaries

Adaptive adversaries can adjust future losses based on the learner's previous actions. The authors adapt a non-private algorithm by injecting independent Laplace noise into loss vectors and performing updates on a "clipped simplex." This clipping ensures that no single expert's weight drops too low, which prevents any single data point from having an outsized influence on the model, thereby preserving privacy.

The Critical Privacy Threshold

A key insight of the paper is the identification of a sharp phase transition in the feasibility of private tracking at the threshold $\epsilon \approx \sqrt{S/T}$.

  • High-Privacy Regime ($\epsilon < \sqrt{S/T}$): The authors prove a lower bound showing that it is mathematically impossible to achieve sub-linear regret against an adaptive adversary in this regime. Any $(\epsilon, \delta)$-DP algorithm will eventually suffer $\Omega(T)$ regret.
  • The Separation: Interestingly, sub-linear regret remains possible against oblivious adversaries in this same regime. This establishes a formal separation between oblivious and adaptive adversaries in the private setting—a distinction that does not exist in non-private dynamic regret.

Theoretical Results and Bounds

As a theoretical study, the paper establishes the following regret bounds (omitting logarithmic factors for clarity):

Adversary Type Upper Bound (Regret) Lower Bound (Regret)
Shifting Stochastic $\sqrt{ST} + \frac{S}{\epsilon}$ $\sqrt{ST} + \frac{S}{\epsilon}$
Oblivious $\sqrt{ST} + \frac{ST^{1/3}}{\epsilon^{2/3}}$ $\sqrt{ST} + \frac{S}{\epsilon}$
Adaptive $\frac{\sqrt{ST}}{\epsilon} + \frac{S}{\epsilon}$ $\sqrt{ST} + \frac{S}{(\epsilon \log \dots)^2}$

For the shifting stochastic case, the proposed algorithm is nearly optimal. However, for adaptive adversaries, the cost of privacy is significantly higher, as evidenced by the $1/\epsilon$ dependence.

Limitations and Future Work

While this work provides the first sub-linear regret bounds for private tracking, it highlights several areas for future research:

  • Computational Efficiency: The meta-expert approach for oblivious adversaries involves an exponential number of sequences, making it a theoretical proof of concept rather than a practical implementation.
  • Tightening Gaps: There are still gaps between the upper and lower bounds for oblivious and adaptive settings, particularly regarding the exact dependence on $T$ and $\epsilon$.
  • Efficient Algorithms: A major open question is whether a polynomial-time algorithm can match the regret bounds found in the oblivious setting.

Summary updated

BibTeX
@inproceedings{saha2025tracking,
  author = {Aadirupa Saha and Vinod Raman and Hilal Asi},
  title = {{Tracking the Best Expert Privately}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=WhHHQXVBdi},
}
Figure