[Paper Review] Fast GPU Implementation of Sparse Signal Recovery from Random Projections
This paper presents a fast GPU-accelerated implementation of the Matching Pursuit (MP) algorithm for sparse signal recovery from random projections using NVIDIA's CUDA and CUBLAS. By leveraging GPU parallelism, the method achieves up to 31 times speedup over highly optimized CPU-based CBLAS implementations, especially for large-scale problems, demonstrating significant performance gains in sparse signal reconstruction workloads.
We consider the problem of sparse signal recovery from a small number of random projections (measurements). This is a well known NP-hard to solve combinatorial optimization problem. A frequently used approach is based on greedy iterative procedures, such as the Matching Pursuit (MP) algorithm. Here, we discuss a fast GPU implementation of the MP algorithm, based on the recently released NVIDIA CUDA API and CUBLAS library. The results show that the GPU version is substantially faster (up to 31 times) than the highly optimized CPU version based on CBLAS (GNU Scientific Library).
Motivation & Objective
- To address the computational bottleneck in sparse signal recovery from random projections, which is NP-hard and slow with traditional CPU methods.
- To explore the feasibility and performance of accelerating the Matching Pursuit (MP) algorithm using GPU hardware and the CUDA programming model.
- To compare the performance of GPU-based CUBLAS with highly optimized CPU-based CBLAS for large-scale sparse signal reconstruction.
- To evaluate the impact of problem size and precision (single/double) on GPU acceleration efficiency.
Proposed method
- The MP algorithm is implemented using NVIDIA's CUDA API and CUBLAS library to exploit massive parallelism on GPU architectures.
- The method uses random projection matrices Ψ with normalized columns to encode sparse signals x into lower-dimensional measurements y = Ψx.
- At each MP iteration, the algorithm computes inner products between the residual and dictionary atoms (columns of Ψ) to select the best-matching atom, using GPU-accelerated BLAS kernels.
- The algorithm runs iteratively until the reconstruction error ε = 10⁻⁷ is reached or the maximum number of iterations T = N is reached.
- Performance is evaluated on two GPUs: an entry-level GeForce 8400GS (GPU0) and a high-end GTX280 (GPU1), with both single and double precision.
- The same random seeds are used across CPU and GPU implementations to ensure consistent comparison of results.
Experimental results
Research questions
- RQ1How does GPU-accelerated MP compare in performance to highly optimized CPU-based CBLAS for sparse signal recovery?
- RQ2What is the maximum speedup achievable using GPU acceleration for large-scale sparse signal reconstruction?
- RQ3How does problem size (signal length M) affect the performance gap between CPU and GPU implementations?
- RQ4Why does the GPU performance exhibit a discontinuity around M = 8192 in the logarithmic time scale?
- RQ5To what extent does the choice of precision (single vs. double) influence the GPU speedup?
Key findings
- The GPU version of the MP algorithm achieves up to 31 times speedup over the CPU version in single precision for large problems (M = 15,000).
- For double precision, the GPU achieves up to 21 times speedup over the CPU at M = 15,000.
- For a signal of length M = 16,384, reconstruction takes 1,900 seconds on CPU but under 58 seconds on GPU, demonstrating a 33x speedup.
- The performance gap between CPU and GPU increases rapidly with problem size, becoming significant only for M > 2,000.
- A performance discontinuity is observed at M = 8,192 across both GPUs and precisions, indicating a CUBLAS implementation artifact rather than a hardware limitation.
- The results confirm that GPU acceleration is most effective when the problem scales to thousands of parallel threads, fully utilizing GPU hardware capabilities.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.