Modern database workloads are highly predictable: query streams are dominated by recurring jobs and templates, even when their arrival order is not known in advance. This motivates a learning-augmented view of online differentially private (DP) analytics: can algorithms utilize predictions about which queries will occur to improve utility under a single global privacy budget, while remaining robust when predictions are wrong? We study online DP query answering, where a curator must answer a stream $Q$ of $S$ linear queries arriving in uniformly random order under privacy budget $(ε,δ)$. We present LAPRAS, which assumes access to an oracle that outputs a prediction set of queries likely to appear in the stream and uses it to guide privacy spending. LAPRAS answers predicted queries using the offline-optimal Matrix Mechanism and answers the remaining queries online from a residual budget. To pace spending across an unknown number of unpredicted queries, we introduce Smooth Allocation, which forms an unbiased stopping-time estimate $\widehat{B}$ from the first $T=Θ(\log^2 S)$ unpredicted queries and continuously recalibrates per-query expenditure. Empirically, over two real datasets, we validate the intended consistency--robustness trade-off: LAPRAS achieves near-offline utility under high overlap and degrades gracefully to baseline-level performance when overlap is low.
翻译:摘要:现代数据库工作负载具有高度可预测性:查询流主要由重复性任务与模板构成,即使其到达顺序无法预先获知。这一特性催生了在线差分隐私分析的学习增强视角:算法能否利用关于未来查询类型的预测,在单一全局隐私预算约束下提升数据效用,同时在预测失准时保持鲁棒性?我们研究在线差分隐私查询应答问题,其中数据管理者需在隐私预算$(ε,δ)$约束下,对以均匀随机顺序到达的含有$S$个线性查询的流$Q$进行应答。本文提出LAPRAS方法,该方法假设可访问一个能输出流中可能出现查询的预测集的预言机,并据此指导隐私预算分配。LAPRAS对预测查询采用离线最优的矩阵机制进行应答,而对剩余查询则通过残差预算以在线方式处理。为应对未知数量的非预测查询的预算分配,我们提出平滑分配方法:该方法基于前$T=Θ(\log^2 S)$个非预测查询构造无偏停时估计量$\widehat{B}$,并持续动态校准每个查询的预算消耗。在两个真实数据集上的实验验证了预期的一致性与鲁棒性权衡效果:当查询重叠度高时,LAPRAS可实现接近离线状态的数据效用;当重叠度较低时,其性能优雅退化为基线水平。