Online Allocation with Differential Privacy

Jianyi Yang, Xingyu Zhou, Mostafa Mushsharat, Shaolei RenNeurIPS 2026

TL;DR

When users share a limited resource—like the battery on an edge server or peak-hour power in a data center—every allocation decision subtly leaks information about previous users through the dwindling budget. This paper establishes the mathematical limits of keeping these online decisions private and introduces a general algorithmic framework (PPOA) that protects user data while still achieving near-optimal resource allocation, even in worst-case scenarios.

What Problem Does This Paper Address?

Imagine an edge AI server running on a finite battery. As user requests arrive one by one, the system decides on the fly whether to route a task to a heavy, accurate model or a lightweight, battery-saving one. This is the classic online allocation problem: maximizing total reward over time without blowing a fixed resource budget.

Here is the catch: a shared budget couples everyone together. If a malicious user sends a routine request and gets routed to a tiny, low-power model, they can deduce that earlier users must have submitted heavy tasks that drained the battery. Shared constraints create a side channel that leaks sensitive user contexts.

Naturally, we want Differential Privacy (DP)—which injects carefully calibrated mathematical noise so an attacker cannot tell whether any single user participated. While researchers have combined DP with resource allocation before, they relied on offline setups or friendly "random arrival" assumptions. Nobody had solved the adversarial online setting—where requests arrive in worst-case sequences—while ensuring budget feasibility and bounding failure probabilities over time. Worse, naively injecting DP noise into standard online allocation algorithms causes errors to snowball over time, ruining performance.

Methods

Because standard DP is too strict (more on that below), the authors target two practical relaxations:

  • Joint DP (JDP): Assumes a trusted central allocator; User B cannot see User A's allocation, so we only need to stop information from leaking across users via the shared budget.
  • Local DP (LDP): For decentralized systems where users make decisions locally and only broadcast noisy coordination signals (like remaining budget) to peers.

To solve this, the authors propose PPOA (Privacy-Preserving Online Allocation), a primal-dual meta-algorithm. Here, a "dual variable" acts like a dynamic price tag on the resource—rising when the budget gets tight to encourage saving, and falling when resources are plentiful. PPOA selects actions using the user's clean local data alongside a privatized dual price and privatized remaining budget. To ensure noise doesn't trick the system into overspending, PPOA subtracts a calculated safety buffer ($B_{\text{gap},t}$) from the noisy budget.

They instantiate PPOA into two concrete algorithms:

  1. PPOA-DMD (for JDP & LDP): Uses Dual Mirror Descent, adding Gaussian noise to resource consumption at each step. Crucially, instead of standard DMD—where unbounded noise accumulates and destabilizes the price—they introduce a projected update that caps the dual variable's norm ($\mu_{\max}$), keeping the learning stable.
  2. PPOA-FTRL (for centralized JDP): Uses Follow-the-Regularized-Leader paired with tree aggregation. Instead of adding fresh noise to every single step independently, it organizes cumulative consumption into a binary tree, requiring vastly less total noise to maintain the same privacy guarantee.

Datasets

  • RouterBench: Used in the main text to simulate real-time AI model routing on a battery-constrained edge data center, deciding which AI model serves incoming sequential queries.
  • An additional evaluation on online advertising bidding is noted as being in the appendix, though specific dataset names for that experiment are not discussed in the main text.

Key Insights and Ideas

  • Standard DP is a dead end here: The authors prove an impossibility result (Theorem 1): under standard $(\epsilon, \delta)$-DP, no online allocation algorithm can achieve sublinear regret, and its worst-case competitive ratio caps out at $\delta$ (a failure parameter usually set near zero). If you have to hide a user's action even from themselves, the algorithm cannot adapt to their needs. Relaxing to JDP or LDP is mathematically necessary.
  • Capping the "price" tames adversarial noise: In decentralized settings (LDP), noise must be added at every step. Capping the dual variable via projection prevents unlucky noise spikes from pricing future users out of the market, unlocking worst-case adversarial guarantees.
  • Centralized aggregation yields a massive privacy discount: By using tree aggregation over raw historical data, PPOA-FTRL shrinks the privacy-induced error penalty to the square root of PPOA-DMD's penalty—a major win when privacy requirements are tight.

Key Results

Evaluated on RouterBench (with privacy parameters $\epsilon = 10, \delta = 0.01$), all tested methods achieved zero budget violations, allowing a clean comparison of rewards (measured against the offline optimum):

  • Standard DP fails in practice: The standard DP baseline (DPA) scored worst, with an average reward ratio (AVG) of 0.591 and worst-case competitive ratio (CR) of 0.514—even losing to a simple non-private Greedy baseline (0.710 AVG / 0.632 CR).
  • Projection matters for LDP/JDP: PPOA-DMD achieved 0.801 AVG and 0.665 CR, consistently beating unprojected Noisy DMD (0.778 AVG / 0.635 CR).
  • Tree aggregation dominates JDP: When centralized JDP suffices, PPOA-FTRL jumped to 0.879 AVG and 0.834 CR—dramatically outperforming naive noisy FTRL (0.726 AVG / 0.597 CR) and approaching non-private upper bounds (DMD at 0.919 AVG / 0.876 CR).

Limitations and Future Work

  • Optimality of privacy scaling: While the paper establishes the first adversarial performance bounds here, the authors have not proven that their regret bounds are the tightest possible with respect to privacy parameters ($\epsilon, \delta$).
  • Asymptotic vs. finite guarantees: Worst-case competitive ratios are proven asymptotically in probability (meaning failure probabilities vanish as time $T \to \infty$). Strengthening these to almost-sure asymptotic or strict finite-horizon bounds remains open.
  • Standard DP alternatives: Exploring whether any meaningful, alternative performance guarantees can be salvaged under strict standard DP is left for future work.

Summary updated

Abstract

We study private online allocation problems, where allocation decisions must satisfy differential privacy (DP) to protect sensitive user information while optimizing performance under limited resources. We first formalize differential privacy notions suited to different privacy requirements in online allocation and establish the fundamental performance limits of any algorithm under these definitions. Based on these insights, we propose PPOA, a privacy-preserving meta algorithm for online allocation, and establish sufficient conditions under which PPOA preserves Joint DP (JDP) or Local DP (LDP) while achieving asymptotically near-optimal performance. Building on these conditions, PPOA can be instantiated into a variety of concrete algorithms. In particular, we present the specific designs, which include PPOA-DMD that preserves JDP and LDP and PPOA-FTRL that preserves JDP. We analyze their performance under both adversarial and stochastic settings and characterize the fundamental trade-offs between DP and allocation performance. Finally, we demonstrate the superior performance of the proposed algorithms via numerical experiments on AI model routing in battery-powered edge systems.
BibTeX
@inproceedings{yang2026online,
  author = {Jianyi Yang and Xingyu Zhou and Mostafa Mushsharat and Shaolei Ren},
  title = {{Online Allocation with Differential Privacy}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=hO8NU92Rtb},
}
Figure