arXiv:2608.22185cs.DBAug 2026

Manuscript Offprint

arXiv:2608.22185

Residual Privacy Budgeting with Weighted Scarcity Allocation for Online Query Answering

Mina Khoshmehr, Fernando Beltran

Abstract

In many practical deployments of differential privacy, queries do not arrive all at once. We study online differentially private query answering under a finite zero-concentrated differential privacy (zCDP) contract. In this setting, queries arrive sequentially, carry different accuracy thresholds, and may overlap with information already released. We formulate this setting as residual privacy budgeting: for each arriving query, the mechanism first credits reusable support from previous DP outputs and then spends new budget only on the remaining support required to satisfy the current threshold. The controller separates feasible cases, where the minimal residual support is allocated exactly, from scarcity cases, where a weighted shortfall-conservation optimiser assigns limited support according to query difficulty. We define the weight using the Query Influence Factor (QIF), a diagnostic signal for query difficulty and instability rather than query importance. For scalar Gaussian exact reuse, inverse-variance fusion justifies additive support. We prove zCDP composition, residual minimality, 1-competitiveness against the offline optimum in the feasible regime, and avoidable expenditure for allocators that ignore released history. A scarcity impossibility result shows that no online allocator can guarantee a competitive ratio better than 1/n in threshold satisfaction, contextualising the QIF scarcity layer as a design choice for an inherently hard online problem.

1 Introduction

Differential privacy (DP) has evolved from a theoretical construct into a practical requirement for modern data systems. The primary challenge in practice is not how to answer a single query privately, but how to allocate a limited global privacy budget across a sequence of queries whose future features are unknown. This turns privacy into an online resource allocation problem.

Workload-aware mechanisms improve the utility of DP by exploiting the structure in a known workload. The matrix mechanism, HDMM, histogram-consistency methods, and recent scalable matrix-mechanism variants for noisy marginals optimise measurement strategies, consistency constraints, or covariance-aware plans for fixed or batch workloads [1, 2, 3, 4]. Iterative mechanisms such as MWEM and private multiplicative weights use transcript-aware measurement and update rules, but their primary object is measurement selection or distributional approximation rather than residual support allocation under per-query thresholded utility [5, 6]. Accuracy-aware systems such as APEx price queries against explicit utility targets, but do not explicitly credit support already present in previously released DP outputs [7]. Systems work on privacy-budget management, including PINQ, Sage, PrivateKube, and Cohere, treats privacy as an operational resource to be tracked, scheduled, or allocated across applications [8, 9, 10, 11]. Recent work on online query answering with multiple analysts also studies budget sharing under online query arrivals, but with a focus on fairness and ordering effects across analysts rather than residual support reuse [12].

Our setting is an instance of online resource allocation under uncertainty. The classical competitive analysis framework [13] measures an online algorithm's worst-case performance ratio against an offline optimum. In the online knapsack problem [14], items of varying size and value arrive sequentially and must be irrevocably accepted or rejected into a capacity-limited knapsack. Our setting differs in two ways: (1) support is additive, so partial allocation is possible and multiple allocations to the same query accumulate via fusion; and (2) queries can overlap with previously released outputs, enabling reuse. We show that these features make the feasible regime strictly easier than general online knapsack, where constant competitive ratios require randomisation or distributional assumptions [15]. In the scarcity regime, however, the problem retains the hardness of online selection.

Our mechanism differs from prior DP work by separating two questions: how much support is still needed after crediting released history, and how scarce remaining budget should be distributed when not all residual targets can be met. The first question is handled by residual allocation, while the second is handled by a difficulty-weighted scarcity layer. We define this weight using the Query Influence Factor (QIF), which is not an importance ranking over queries, but a diagnostic signal for matching privacy support to query difficulty and instability. We do not claim superiority over transcript-aware online matrix, HDMM-style, MWEM-style, or multi-analyst mechanisms. Extending the framework to those settings would require replacing the scalar support term ρthist\rho_{t}^{hist} with a workload-specific representation of how previous noisy releases reduce the uncertainty of the current query.