arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1504.07890cs.CEcs.MS
收藏

大规模线性回归:开发高性能例程

Large-scale linear regression: Development of high-performance routines

Alvaro Frank, Diego Fabregat-Traver, Paolo Bientinesi

摘要:

在统计学中,一系列普通最小二乘问题(OLS)被用来研究感兴趣的变量集之间的线性相关性;在许多研究中,这些变量的数量至少有数百万,相应的数据集占用TB的磁盘空间。随着大规模数据集的可用性定期增加,处理它们的挑战也随之增加。事实上,传统的求解器--依赖于使用为单个OLS优化的黑盒例程--效率非常低,无法为大数据分析提供可行的解决方案。作为一个案例研究,在本文中,我们认为一个线性回归的二维网格相关的OLS问题,出现在全基因组关联分析的背景下,并给出了一个仔细的演练的发展{ \sc OLS网格},高性能的共享内存架构的例程;类似的步骤是相关的定制OLS求解器到其他应用程序。特别是,我们首先说明了设计高效的算法,利用结构的OLS问题,并消除冗余计算;然后,我们展示了如何有效地处理数据集,不适合在主内存中;最后,我们讨论了如何铸造的计算方面的有效内核,以及如何实现可扩展性。重要的是,沿途的每个设计决策都是通过简单的性能模型来证明的。{ \sc ols-grid}可在数小时内解决$10^{11}$相关的OLS问题,这些问题涉及TB级数据。

英文摘要:

In statistics, series of ordinary least squares problems (OLS) are used to study the linear correlation among sets of variables of interest; in many studies, the number of such variables is at least in the millions, and the corresponding datasets occupy terabytes of disk space. As the availability of large-scale datasets increases regularly, so does the challenge in dealing with them. Indeed, traditional solvers---which rely on the use of black-box" routines optimized for one single OLS---are highly inefficient and fail to provide a viable solution for big-data analyses. As a case study, in this paper we consider a linear regression consisting of two-dimensional grids of related OLS problems that arise in the context of genome-wide association analyses, and give a careful walkthrough for the development of {\sc ols-grid}, a high-performance routine for shared-memory architectures; analogous steps are relevant for tailoring OLS solvers to other applications. In particular, we first illustrate the design of efficient algorithms that exploit the structure of the OLS problems and eliminate redundant computations; then, we show how to effectively deal with datasets that do not fit in main memory; finally, we discuss how to cast the computation in terms of efficient kernels and how to achieve scalability. Importantly, each design decision along the way is justified by simple performance models. {\sc ols-grid} enables the solution of $10^{11}$ correlated OLS problems operating on terabytes of data in a matter of hours.

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

↑