The question of answering queries over ML predictions has been gaining attention in the database community. This question is challenging because the cost of finding high quality answers corresponds to invoking an oracle such as a human expert or an expensive deep neural network model on every single item in the DB and then applying the query. We develop a novel unified framework for approximate query answering by leveraging a proxy to minimize the oracle usage of finding high quality answers for both Precision-Target (PT) and Recall-Target (RT) queries. Our framework uses a judicious combination of invoking the expensive oracle on data samples and applying the cheap proxy on the objects in the DB. It relies on two assumptions. Under the Proxy Quality assumption, proxy quality can be quantified in a probabilistic manner w.r.t. the oracle. This allows us to develop two algorithms: PQA that efficiently finds high quality answers with high probability and no oracle calls, and PQE, a heuristic extension that achieves empirically good performance with a small number of oracle calls. Alternatively, under the Core Set Closure assumption, we develop two algorithms: CSC that efficiently returns high quality answers with high probability and minimal oracle usage, and CSE, which extends it to more general settings. Our extensive experiments on five real-world datasets on both query types, PT and RT, demonstrate that our algorithms outperform the state-of-the-art and achieve high result quality with provable statistical guarantees.
翻译:解答 ML 预测问题的答案问题在数据库界引起了人们的注意。 这个问题之所以具有挑战性,是因为找到高质量答案的成本与在 DB 中引用人类专家或昂贵的深神经网络模型等神器相匹配, 然后应用查询。 我们开发了一个用于近似解答的新的统一框架, 利用一个代理来尽量减少对精准- 目标(PT) 和回调- 目标( RT) 查询的高质量答案的使用。 我们的框架使用一种明智的组合, 即对数据样本援引昂贵的神器, 对 DB 中的对象应用廉价的代理。 它依赖于两个假设。 在代理质量假设中, 代理质量可以以概率化的方式量化 。 这使我们能够开发两种算法: 高效发现高质量答案的PQA, 高概率和无触电压的电话, 以及 超常识化的扩展, 在核心 关闭 假设下, 代理质量 和 高标准- 质量 测试中, 我们以高概率化的C 和高标准 两种算法 都展示了我们高等级的C 。