Lune

SIGMOD2025顶会

Approximating Opaque Top-k Queries

Jiwon Chang, Fatemeh Nargesian

摘要

Combining query answering and data science workloads has become prevalent. An important class of such workloads is top-k queries with a scoring function implemented as an opaque UDF - a black box whose internal structure and scores on the search domain are unavailable. Some typical examples include costly calls to fuzzy classification and regression models. The models may also be changed in an ad-hoc manner. Since the algorithm does not know the scoring function's behavior on the input data, opaque top-k queries become expensive to evaluate exactly or speed up by indexing. Hence, we propose an approximation algorithm for opaque top-k query answering. Our proposed solution is a task-independent hierarchical index and a novel bandit algorithm. The index clusters elements by some cheap vector representation then builds a tree of the clusters. Our bandit is a diminishing returns submodular epsilon-greedy bandit algorithm that maximizes the sum of the solution set's scores. Our bandit models the distribution of scores in each arm using a histogram, then targets arms with fat tails. We prove that our bandit algorithm approaches a constant factor of the optimal algorithm. We evaluate our standalone library on large synthetic, image, and tabular datasets over a variety of scoring functions. Our method accelerates the time required to achieve nearly optimal scores by up to an order of magnitude compared to exhaustive scan while consistently outperforming baseline sampling algorithms.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper10

  1. A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor SearchMengzhao Wang, Xiaoliang Xu, Qiang Yue, Yuxiang WangVLDB 2021 · 354 次引用
  2. Selective Data Acquisition in the Wild for Model ChargingChengliang Chai, Jiabin Liu, Nan Tang, Guoliang Li 等VLDB 2022 · 62 次引用
  3. UQE: A Query Engine for Unstructured DatabasesHanjun Dai, Bethany Wang, Xingchen Wan, Bo Dai 等NeurIPS 2024 · 45 次引用
  4. Semantic Guided and Response Times Bounded Top-k Similarity Search over Knowledge GraphsYuxiang Wang, Arijit Khan, Tianxing Wu, Jiahui Jin 等ICDE 2020 · 45 次引用
  5. Babelfish: Efficient Execution of Polyglot QueriesPhilipp Marian Grulich, Steffen Zeuch, Volker MarklVLDB 2022 · 32 次引用

相关 Paper

  1. A Method for Optimizing Opaque Filter QueriesWenjia He, Michael R. Anderson, Maxwell Strome, Michael J. CafarellaSIGMOD 2020 · 15 次引用
  2. External Merge Sort for Top-K Queries: Eager input filtering guided by histogramsYannis Chronis, Thanh Do, Goetz Graefe, Keith PetersSIGMOD 2020 · 4 次引用
  3. A Rank-Based Approach to Recommender System's Top-K Queries with Uncertain ScoresCoral Scharf, Carmel Domshlak, Avigdor Gal, Haggai RoitmanSIGMOD 2025 · 2 次引用
  4. Stochastic Submodular Data ForgettingRamón Rico, Arno Siebes, Yannis VelegrakisSIGMOD 2026
  5. Nearly Minimax Optimal Submodular Maximization with Bandit FeedbackArtin Tajdini, Lalit Jain, Kevin JamiesonNeurIPS 2024 · 9 次引用
黄昏的海面,两侧是细线勾勒的悬崖