Independent Range Sampling on Interval Data (Longer Version)
Abstract
Many applications require efficient management of large sets of intervals because many objects are associated with intervals (e.g., time and price intervals). In such interval management systems, range search is a primitive operator for retrieving and analysis tasks. As dataset sizes are growing nowadays, range search results are also becoming larger, which may overwhelm users and incur long computation time. Because applications are usually satisfied with a subset of the result set, it is desirable to efficiently obtain only small samples from the result set.We therefore address the problem of independent range sampling on interval data, which outputs random samples that overlap a given query interval and are independent of the samples of all previous queries. To efficiently solve this problem theoretically and practically, we propose a variant of an interval tree, namely the augmented interval tree (or AIT), and we show that there exists an exact algorithm that needs space and time, where is the dataset size. The simple structure of an AIT provides flexible extensions: (i) its time and space complexities respectively become expected and by bucketing intervals and (ii) it can deal with weighted intervals and outputs weighted random samples in time. We conduct extensive experiments on real datasets, and the results demonstrate that our algorithms significantly outperform competitors.
Cite
@article{arxiv.2405.08315,
title = {Independent Range Sampling on Interval Data (Longer Version)},
author = {Daichi Amagata},
journal= {arXiv preprint arXiv:2405.08315},
year = {2024}
}
Comments
Ful version of our ICDE2024 paper