arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2008.03433cs.LGcs.DCq-bio.QMstat.ML
收藏

GPU加速的原始学习用于极快的大规模分类

GPU-Accelerated Primal Learning for Extremely Fast Large-Scale Classification

University of California, Davis(加州大学戴维斯分校)

John T. Halloran, David M. Rocke

摘要:

解决L2正则化原始问题的最有效方法之一,如逻辑回归和线性支持向量机(SVM)分类,是广泛使用的信赖域牛顿算法,TRON。虽然TRON最近被证明在共享内存多核系统上有很大的加速,但由于算法的高度复杂性和严重的顺序性,利用图形处理单元(GPU)来加速该方法要困难得多。在这项工作中,我们表明,使用明智的GPU优化原则,TRON针对不同损失和特征表示的训练时间可能会大大减少。对于稀疏特征集,我们表明,使用GPU训练逻辑回归分类器在LIBLINEAR是一个数量级的速度比单独使用多线程。对于密集的特征集-这会带来更严格的内存限制-我们表明GPU大大减少了最先进的蛋白质组学分析所需的冗长的SVM学习时间,从而大大改善了最近提出的加速。此外,我们展示了如何将GPU加速与多线程混合,以便在数据集对于GPU内存需求来说太大时实现此类加速;在近25亿数据实例的大规模密集蛋白质组学数据集上,这些混合架构加速将SVM分析时间从半周以上减少到不到一天,同时使用有限的GPU内存。

英文摘要:

One of the most efficient methods to solve L2-regularized primal problems, such as logistic regression and linear support vector machine (SVM) classification, is the widely used trust region Newton algorithm, TRON. While TRON has recently been shown to enjoy substantial speedups on shared-memory multi-core systems, exploiting graphical processing units (GPUs) to speed up the method is significantly more difficult, owing to the highly complex and heavily sequential nature of the algorithm. In this work, we show that using judicious GPU-optimization principles, TRON training time for different losses and feature representations may be drastically reduced. For sparse feature sets, we show that using GPUs to train logistic regression classifiers in LIBLINEAR is up to an order-of-magnitude faster than solely using multithreading. For dense feature sets--which impose far more stringent memory constraints--we show that GPUs substantially reduce the lengthy SVM learning times required for state-of-the-art proteomics analysis, leading to dramatic improvements over recently proposed speedups. Furthermore, we show how GPU speedups may be mixed with multithreading to enable such speedups when the dataset is too large for GPU memory requirements; on a massive dense proteomics dataset of nearly a quarter-billion data instances, these mixed-architecture speedups reduce SVM analysis time from over half a week to less than a single day while using limited GPU memory.

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

↑