arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.11054cs.DB
收藏

MISS:寻找近似分析的最佳样本量

MISS: Finding Optimal Sample Sizes for Approximate Analytics

Xuebin Su, Hongzhi Wang, Jianzhong Li, Hong Gao

摘要:

如今,基于采样的近似查询处理(AQP)被广泛认为是实现大数据分析中交互性的一种有前途的方法。为了建立这样的AQP系统,找到最小的样本量的查询关于给定的错误约束一般,称为样本量优化(SSO),是一个必不可少的尚未解决的问题。理想情况下,解决SSO问题的目标是同时实现统计准确性,计算效率和广泛的适用性。现有的方法要么对查询的统计特性进行理想化的假设,要么完全忽略它们。这可能会导致过分强调三个目标中的一个,而忽视其他目标。为了克服这些局限性,我们首先仔细检查常见的分析查询共享的统计特性。然后,基于这些性质,我们提出了一个线性模型来描述样本大小和查询的近似误差之间的关系,称为误差模型。然后,我们提出了一个模型引导的迭代样本选择(MISS)框架来解决一般的SSO问题。然后,基于MISS框架,我们提出了一个具体的算法,称为$L^2$小姐,找到最佳的样本容量下的$L^2$范数误差度量。此外,我们扩展了$L^2$错过算法来处理其他错误度量。最后,我们从理论上和经验表明,$L^2$小姐算法及其扩展实现了令人满意的准确性和效率相当广泛的分析查询。

英文摘要:

Nowadays, sampling-based Approximate Query Processing (AQP) is widely regarded as a promising way to achieve interactivity in big data analytics. To build such an AQP system, finding the minimal sample size for a query regarding given error constraints in general, called Sample Size Optimization (SSO), is an essential yet unsolved problem. Ideally, the goal of solving the SSO problem is to achieve statistical accuracy, computational efficiency and broad applicability all at the same time. Existing approaches either make idealistic assumptions on the statistical properties of the query, or completely disregard them. This may result in overemphasizing only one of the three goals while neglect the others. To overcome these limitations, we first examine carefully the statistical properties shared by common analytical queries. Then, based on the properties, we propose a linear model describing the relationship between sample sizes and the approximation errors of a query, which is called the error model. Then, we propose a Model-guided Iterative Sample Selection (MISS) framework to solve the SSO problem generally. Afterwards, based on the MISS framework, we propose a concrete algorithm, called $L^2$Miss, to find optimal sample sizes under the $L^2$ norm error metric. Moreover, we extend the $L^2$Miss algorithm to handle other error metrics. Finally, we show theoretically and empirically that the $L^2$Miss algorithm and its extensions achieve satisfactory accuracy and efficiency for a considerably wide range of analytical queries.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑