Lu He, Timothy Miskell, R. Liu, Hengyong Yu, Huijuan Xu, Yan Luo
{"title":"Scalable 2D K-SVD parallel algorithm for dictionary learning on GPUs","authors":"Lu He, Timothy Miskell, R. Liu, Hengyong Yu, Huijuan Xu, Yan Luo","doi":"10.1145/2903150.2903176","DOIUrl":null,"url":null,"abstract":"In recent years, the K-SVD algorithm for dictionary learning has been widely used in the field of image processing. The learning algorithm constructs a dictionary consisting of groups of signal atoms derived from a set of images. The sparse linear combination of the signal atoms are used to construct the best possible match based upon the original images. The myriad applications of K-SVD algorithm include reconstruction, compression, denoising, sparse coding, super resolution, and feature extraction. The K-SVD algorithm is a serial machine learning algorithm whereby each of the signal atoms are trained in succession. All of the signal atoms are updated once within any given iteration. Given that the algorithmic complexity for one iteration is O(n4), the training phase of the K-SVD algorithm is time-intensive. In order to increase the speed the K-SVD algorithm and reduce the run-time execution of each iteration, the following paper proposes a parallel version of the K-SVD algorithm and verifies its validity. We design and optimize the parallel algorithm on an Nvidia Titan X GPU by employing three strategies, specifically batches, early stop, and streaming. Experimental results indicate that the parallel algorithm produces a pronounced speedup of 80x when compared to multi-thread MATLAB implementation of the K-SVD algorithm running on a quad-core CPU.","PeriodicalId":226569,"journal":{"name":"Proceedings of the ACM International Conference on Computing Frontiers","volume":"41 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-05-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the ACM International Conference on Computing Frontiers","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2903150.2903176","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4
Abstract
In recent years, the K-SVD algorithm for dictionary learning has been widely used in the field of image processing. The learning algorithm constructs a dictionary consisting of groups of signal atoms derived from a set of images. The sparse linear combination of the signal atoms are used to construct the best possible match based upon the original images. The myriad applications of K-SVD algorithm include reconstruction, compression, denoising, sparse coding, super resolution, and feature extraction. The K-SVD algorithm is a serial machine learning algorithm whereby each of the signal atoms are trained in succession. All of the signal atoms are updated once within any given iteration. Given that the algorithmic complexity for one iteration is O(n4), the training phase of the K-SVD algorithm is time-intensive. In order to increase the speed the K-SVD algorithm and reduce the run-time execution of each iteration, the following paper proposes a parallel version of the K-SVD algorithm and verifies its validity. We design and optimize the parallel algorithm on an Nvidia Titan X GPU by employing three strategies, specifically batches, early stop, and streaming. Experimental results indicate that the parallel algorithm produces a pronounced speedup of 80x when compared to multi-thread MATLAB implementation of the K-SVD algorithm running on a quad-core CPU.
近年来,用于字典学习的K-SVD算法在图像处理领域得到了广泛的应用。该学习算法构建了一个字典,该字典由来自一组图像的信号原子组组成。利用信号原子的稀疏线性组合来构建基于原始图像的最佳匹配。K-SVD算法的应用包括重构、压缩、去噪、稀疏编码、超分辨率和特征提取等。K-SVD算法是一种串行机器学习算法,其中每个信号原子被连续训练。在任何给定的迭代中,所有的信号原子都更新一次。考虑到一次迭代的算法复杂度为O(n4), K-SVD算法的训练阶段是时间密集型的。为了提高K-SVD算法的速度,减少每次迭代的运行时间,本文提出了K-SVD算法的并行版本,并验证了其有效性。我们在Nvidia Titan X GPU上设计并优化了并行算法,采用了三种策略,分别是批处理、提前停止和流式处理。实验结果表明,与在四核CPU上运行的K-SVD算法的多线程MATLAB实现相比,该并行算法产生了80倍的显着加速。