English

A Theoretical Framework for Distribution-Aware Dataset Search

Databases 2025-03-28 v1 Data Structures and Algorithms

Abstract

Effective data discovery is a cornerstone of modern data-driven decision-making. Yet, identifying datasets with specific distributional characteristics, such as percentiles or preferences, remains challenging. While recent proposals have enabled users to search based on percentile predicates, much of the research in data discovery relies on heuristics. This paper presents the first theoretically backed framework that unifies data discovery under centralized and decentralized settings. Let P={P1,...,PN}\mathcal{P}=\{P_1,...,P_N\} be a repository of NN datasets, where PiRdP_i\subset \mathbb{R}^d, for d=O(1)d=O(1) . We study the percentile indexing (Ptile) problem and the preference indexing (Pref) problem under the centralized and the federated setting. In the centralized setting we assume direct access to the datasets. In the federated setting we assume access to a synopsis of each dataset. The goal of Ptile is to construct a data structure such that given a predicate (rectangle RR and interval θ\theta) report all indexes JJ such that jJj\in J iff PjR/Pjθ|P_j\cap R|/|P_j|\in\theta. The goal of Pref is to construct a data structure such that given a predicate (vector vv and interval θ\theta) report all indexes JJ such that jJj\in J iff ω(Pj,v)θ\omega(P_j,v)\in \theta, where ω(Pj,v)\omega(P_j,v) is the inner-product of the kk-th largest projection of PjP_j on vv. We first show that we cannot hope for near-linear data structures with polylogarithmic query time in the centralized setting. Next we show O~(N)\tilde{O}(N) space data structures that answer Ptile and Pref queries in O~(1+OUT)\tilde{O}(1+OUT) time, where OUTOUT is the output size. Each data structure returns a set of indexes JJ such that i) for every PiP_i that satisfies the predicate, iJi\in J and ii) if jJj\in J then PjP_j satisfies the predicate up to an additive error ε+2δ\varepsilon+2\delta, where ε(0,1)\varepsilon\in(0,1) and δ\delta is the error of synopses.

Keywords

Cite

@article{arxiv.2503.21235,
  title  = {A Theoretical Framework for Distribution-Aware Dataset Search},
  author = {Aryan Esmailpour and Sainyam Galhotra and Rahul Raychaudhury and Stavros Sintos},
  journal= {arXiv preprint arXiv:2503.21235},
  year   = {2025}
}
R2 v1 2026-06-28T22:36:18.450Z