English

DIPS: Optimal Dynamic Index for Poisson $\boldsymbol{\pi}$ps Sampling

Databases 2024-12-30 v1

Abstract

This paper addresses the Poisson π\pips sampling problem, a topic of significant academic interest in various domains and with practical data mining applications, such as influence maximization. The problem includes a set S\mathcal{S} of nn elements, where each element vv is assigned a weight w(v)w(v) reflecting its importance. The goal is to generate a random subset XX of S\mathcal{S}, where each element vSv \in \mathcal{S} is included in XX independently with probability cw(v)vSw(v)\frac{c\cdot w(v)}{\sum_{v \in \mathcal{S}} w(v)}, where 0<c10<c\leq 1 is a constant. The subsets must be independent across different queries. While the Poisson π\pips sampling problem can be reduced to the well-studied subset sampling problem, updates in Poisson π\pips sampling, such as adding a new element or removing an element, would cause the probabilities of all nn elements to change in the corresponding subset sampling problem, making this approach impractical for dynamic scenarios. To address this, we propose a dynamic index specifically tailored for the Poisson π\pips sampling problem, supporting optimal expected O(1)\mathcal{O}(1) query time and O(1)\mathcal{O}(1) index update time, with an optimal O(n)\mathcal{O}(n) space cost. Our solution involves recursively partitioning the set by weights and ultimately using table lookup. The core of our solution lies in addressing the challenges posed by weight explosion and correlations between elements. Empirical evaluations demonstrate that our approach achieves significant speedups in update time while maintaining consistently competitive query time compared to the subset-sampling-based methods.

Keywords

Cite

@article{arxiv.2412.19415,
  title  = {DIPS: Optimal Dynamic Index for Poisson $\boldsymbol{\pi}$ps Sampling},
  author = {Jinchao Huang and Sibo Wang},
  journal= {arXiv preprint arXiv:2412.19415},
  year   = {2024}
}
R2 v1 2026-06-28T20:49:33.141Z