Research Article  Open Access
Xueqin Zhou, Xiangchu Feng, Mingli Jing, "Sparse Recovery by SemiIterative Hard Thresholding Algorithm", Mathematical Problems in Engineering, vol. 2013, Article ID 498589, 6 pages, 2013. https://doi.org/10.1155/2013/498589
Sparse Recovery by SemiIterative Hard Thresholding Algorithm
Abstract
We propose a computationally simple and efficient method for sparse recovery termed as the semiiterative hard thresholding (SIHT). Unlike the existing iterativeshrinkage algorithms, which rely crucially on using negative gradient as the search direction, the proposed algorithm uses the linear combination of the current gradient and directions of few previous steps as the search direction. Compared to other iterative shrinkage algorithms, the performances of the proposed method show a clear improvement in iterations and error in noiseless, whilst the computational complexity does not increase.
1. Introduction
Compressed sensing (CS) [1–3] is a new framework for acquiring sparse signals based on the revelation that a small number of linear measurements of the signal contain enough information for its reconstruction. CS relies on the fact that many natural signals are sparse or compressible when expressed in the proper basis and frame. The model of CS can be written as a linear sampling operator by a matrix yielding a measurement vector where is an matrix, is sparse vector, and . Since the linear sampling operator is not bijection and therefore has infinitely many solutions. Efficient algorithms to find sparse solutions are becoming very important. This leads to solving the minimization problem
Unfortunately, this minimization problem is NPhard [2]. As alternatives, approximation algorithms are often considered. Approximation algorithms to find sparse solutions may be classified into greedy pursuits algorithms, convex relaxation algorithms, Bayesian framework, and nonconvex optimization. In this paper, we will focus on greedy pursuits algorithms and convex relaxation algorithms; thus more details of Bayesian framework and nonconvex optimization methods can be found in [4, 5]. Greedy pursuits algorithms include orthogonal matching pursuit (OMP) [6], stagewise OMP (StOMP) [7], regularized OMP (ROMP) [8], compressive sampling matching pursuit (CoSaMP) [9], iterative hard thresholding (IHT) [10], and gradient descent with sparsification (GraDeS) [11]. Convex relaxation algorithms include gradient projection for sparse reconstruction (GPSR) [12] and sparse reconstruction by separable approximation (SpaRSA) [13]. For more details about convex relaxation algorithms, see, for example [14]. Convex relaxation algorithms succeed with a very small number of measurements, but they tend to be computationally burdensome [15]. An alternative family of numerical algorithms has gradually built, addressing the optimization problems very effectively [15]. This family is the iterativeshrinkage algorithms. Iterativeshrinkage algorithms include iterative hard thresholding (IHT) [10] and gradient descent with sparsification (GraDeS) [11], parallel coordinate descent (PCD) [16], and fast iterativeshrinkage thresholding algorithm (FISTA) [17]. In these methods, each iteration consists of a multiplication by and its transpose, along with a scalar shrinkage step on the obtained . For iterativeshrinkage algorithms, IHT and GraDeS use a negative gradient as the search direction, that is, Landweber iteration [18], but the main drawback of Landweber iteration is its slow performance, that is, a large number of iterations need to obtain the optimal convergence rates [18]. Inspired by the semiiterative method [18] and hard thresholding, we present an algorithm for solving sparse recovery, which requires less time and fewer iterations.
2. Background on Compressed Sensing
2.1. Sensing Matrix
Without further information, it is impossible to recover from , since is highly underdetermined. In order to recover a good estimate of from measurements, the measurement matrix must obey the restricted isometry property (RIP) [2], for all , denotes the set of sparse vectors, is restricted isometry constant, , provided that , where is some constant depending on each instance. It is difficult to verify the RIP conditions for a given matrix. A widely used technique for avoiding checking the RIP directly is to generate the matrix randomly, such as Gaussian matrix, symmetric Bernoulli matrix, and partial Fourier matrix [1–3], and to show that the resulting random matrix satisfies the RIP with high probability. In this paper, we will use Gaussian matrix as the measurement matrix.
2.2. Sparse Recovery
An alternative approach to sparse signal recovery is based on the idea of iterative greedy pursuit and tries to approximate the solution to (2) directly. In this case, the problem (2) is closely related to the following optimization problem: where denotes the sparse level of the vector
The second one is convex relaxation. In this case, the problem (2) is closely related to the following optimization problem: However, these methods are often inefficient, requiring many iterations and excessive central processing unit time to reach their solutions [15].
An alternative family of numerical algorithms has gradually built, addressing the above optimization problems very effectively [15]. This family is the iterativeshrinkage algorithms. We will discuss iterativeshrinkage algorithms in the next section.
3. SemiIterative Hard Thresholding
The main drawback of Landweber iteration is its comparatively slow rate of convergence while for Landweber iteration only information about the last iterate is used to construct the new approximation . In order to overcome the drawback, more sophisticated iteration methods have been developed on the basis of the socalled semiiterative methods. A basic step of a semiiterative method (polynomial acceleration methods) consists of one step of iteration, followed by an averaging process over all or some of the previously obtained approximations. A basic step of a semiiterative method has the form where . An example for semiiterative methods with optimal rate of convergence are the methods (twostep methods) by [18], which are defined by where
From (4), the gradient of the cost function is given by and easy to compute the step length that minimizes . By differentiating the function with respect to , we obtain By setting the derivative to zero, we obtain If we choose the step lengths by (10), thus , that is, the search direction is orthogonal to the gradient (previous search direction). In this case, the sequence of iterations is subject to zigzags. Since IHT and GraDeS use the negative gradient of the cost function as the search direction, and sampling matrix must obey the RIP, that is, , which means , thus the iteration zigzag toward the solution. As a result, a large number of iterations need to obtain the optimal solution.
In order to avoid zigzagging toward solution and find the sparse solution for (4), inspired by the methods [18] as mentioned above, we present the semiiterative hard thresholding method, which has the form where is the nonlinear operator that sets all but the largest (in magnitude) elements of a vector to zero. From (11), we use the linear combination of the current negative gradient and the search direction of the previous step as the new search direction. In this case, the search direction dose not tend to become orthogonal to the gradient ; thus SIHT avoids zigzagging toward solution. The algorithm is summarized as in Algorithm 1.

As mentioned above, the semiiterative hard thresholding algorithm is easy to implement. It involves the application of the matrix and at each iteration as well as two vector additions. The storage requirements are small. Apart from storage of , we only require the storage of the vector and , which require two elements to be stored. The choice of the parameter will be discussed in the next section.
4. Experimental Results
This section describes some experiments testifying to the performances of the proposed algorithm. All the experiments were carried out on HP z600 workstation with eight Intel Xeon 2.13 GHz processors and 16 GB of memory, using a MATLAB implementation under Windows XP.
4.1. Choice of the Parameter
In our experiment, we consider a typical CS scenario, where the goal is to reconstruct a length sparse vector from measurements. In this case, first, the random matrix is created by filling it with entries generated independently and identically distribution and then orthogonalizing the rows. Second, original vector contains randomly placed spikes, and the measurement is generated according to (1). Unless otherwise stated, we terminate the iteration after , with .
The experiment assesses how the running time of the proposed algorithm grows with the parameter . In order to find a better optimization parameter in the experiment, we set the parameter , respectively, to , whilst the running time of our method is computed. Figure 1 shows the running time of our algorithm as the parameter is varied. The label stands for measurements and sparse length vector in our experiments. A careful examination reveals that as parameter is increased, the running time of our method is minimized with respect to . For , the running time increases only marginally as is increased, that is, the choice of parameter appears to give good performance for a wide range of problems.
4.2. Comparison in Recovery Rate
In this experiment, we compared the empirical performance of GraDes, IHT, SpaRSA, FISTA, and SIHT solutions to the sparse recovery. We generated a Gaussian random matrix and generated sparse spikes vector. The reconstruction is considered to be exact when the 2 norm of the difference between the reconstruction and original vector is below . We repeated the experiment 100 times for each value of from 2 to 128 (in steps of 2). Figure 2 shows that SIHT algorithm provides higher probability of perfect recovery than GraDes, IHT, SpaRSA, and FISTA, when the sparse vectors are drawn spikes. Furthermore, in the perfect recovery case, we observe that the GraDes and SpaRSA algorithms perform similarly. While it reveals that measurements of SIHT require less than those of IHT, GraDes, SpaRSA, and FISTA to recover the sparse vector for a given and
4.3. Comparison in Running Time
In order to evaluate running time of the proposed algorithm, these experiments include comparisons with OMP, StOMP, ROMP, IHT, and GraDeS. Now, the sampling matrix , the measurement vector , and the sparsity level are given to each of the algorithms as inputs. For the proposed algorithm, we set ; the performance is insensitive to the choices. Table 1 compares the running time of the MATLAB implementation of SIHT and the five existing methods. The symbol “” indicates the algorithm fails.

Table 1 shows that the iterativeshrinkage algorithms are significantly faster than match pursuit algorithms. For simplicity, we will compare the performance of SIHT with IHT and GraDes in the next experiments.
4.4. Comparison in Sparsity
In this experiment, we show the dependence of the 2norm errors of different algorithms in different sparsity level . In Figure 3, we show the 2norm errors of SIHT comparison with IHT, GraDes, SpaRSA, and FISTA in different sparsity levels. We generated a Gaussian random matrix and generated sparse spikes vector or Gaussian vector. We repeated the experiment 100 times for each value of from 2 to 120 (in steps of 10). Both GraDes and SpaRSA begin to fail when sparsity level is above 120; thus the failed results are omitted from the figure.
(a)
(b)
Figure 3 shows that GraDes, IHT, and SIHT algorithms perform similarly for Gaussian sparse vectors, and GraDes algorithm is to fail in recovery for sparse spikes vectors when sparsity level is above 70, that is, GraDes algorithm requires more measurements to recover the sparse vectors. It reveals that FISTA, IHT, and SIHT algorithms are insensitive to the sparsity level , whilst GraDes and SpaRSA algorithms are sensitive to the sparsity level . In addition, SIHT algorithm outperforms other algorithms in 2norm errors for sparse spikes or Gaussian vector.
4.5. Comparison in Number of Iterations
In the experiment, we show the number of iterations required by SIHT algorithm in comparison with four algorithms, namely, IHT, GraDes, SpaRSA, and FISTA for sparse spikes vector or Gaussian vector. We generated a Gaussian random matrix and generated sparse spikes or Gaussian vector. Figures 4 and 5 show the number of iterations needed by the algorithms as mentioned above for , , and .
(a)
(b)
(a)
(b)
Figures 4 and 5 depict that IHT and GraDes algorithms show a faster rate of convergence, when the number of iteration is less than 4. However, when the number of iteration is above 6, owing to polynomial acceleration, FISTA and SIHT algorithms show a faster rate of convergence than the others. In addition, from Figures 4 and 5, for each , FISTA and IHT algorithms are roughly similar in terms of number of iterations. In that SIHT algorithm uses the linear combination of the current gradient and directions of a few previous steps as the new search direction, SIHT algorithm shows a faster rate of convergence than the others. While GraDes algorithm exhibits poorer performance than the others in rate of convergence.
From Figures 4 and 5, the 2norm errors of those algorithms except SpaRSA algorithm are insensitive to the number of iterations, that is, 2norm errors are strictly monotone reduced as iteration is increased.
As expected, these results suggest that SIHT outperforms other iterativeshrinkage algorithms in iterations and 2norm errors.
5. Conclusions
In this paper, semiiterative hard thresholding recovery algorithm for sparse recovery was proposed in this work. The proposed algorithm uses the linear combination of the current gradient and directions of a few previous steps as the new search direction and avoids zigzagging toward solution. Owing to using the new search direction, the performance of SIHT is improved compared with iterativeshrinkage algorithms.
Acknowledgments
This work was supported in part by the National Natural Science Foundation of China (Grant no. 61271294). The authors would like to thank Arvind Ganesh, Allen Y. Yang, and Zihan Zhou for sharing their software packages (L1benchmark) with us.
References
 D. L. Donoho, “Compressed sensing,” IEEE Transactions on Information Theory, vol. 52, no. 4, pp. 1289–1306, 2006. View at: Publisher Site  Google Scholar  Zentralblatt MATH  MathSciNet
 E. J. Candes and M. B. Wakin, “An introduction to compressive sampling,” IEEE Signal Processing Magazine, vol. 25, no. 2, pp. 21–30, 2008. View at: Publisher Site  Google Scholar
 E. J. Candes and T. Tao, “Nearoptimal signal recovery from random projections: universal encoding strategies?” IEEE Transactions on Information Theory, vol. 52, no. 12, pp. 5406–5425, 2006. View at: Publisher Site  Google Scholar  MathSciNet
 Z. Zhang and B. D. Rao, “Sparse signal recovery with temporally correlated source vectors using sparse Bayesian learning,” IEEE Journal of Selected Topics in Signal Processing, vol. 5, no. 5, pp. 912–926, 2011. View at: Publisher Site  Google Scholar
 R. Chartrand, “Exact reconstruction of sparse signals via nonconvex minimization,” IEEE Signal Processing Letters, vol. 14, no. 10, pp. 707–710, 2007. View at: Publisher Site  Google Scholar
 J. A. Tropp and A. C. Gilbert, “Signal recovery from random measurements via orthogonal matching pursuit,” IEEE Transactions on Information Theory, vol. 53, no. 12, pp. 4655–4666, 2007. View at: Publisher Site  Google Scholar  MathSciNet
 D. L. Donoho, Y. Tsaig, I. Drori, and J. L. Starck, “Sparse solution of underdetermined linear equations by stagewise orthogonal matching pursuit,” Stanford Statistics Technical Report 20062, 2006. View at: Google Scholar
 D. Needell and R. Vershynin, “Uniform uncertainty principle and signal recovery via regularized orthogonal matching pursuit,” Foundations of Computational Mathematics, vol. 9, no. 3, pp. 317–334, 2009. View at: Publisher Site  Google Scholar  Zentralblatt MATH  MathSciNet
 D. Needell and J. A. Tropp, “CoSaMP: iterative signal recovery from incomplete and inaccurate samples,” Applied and Computational Harmonic Analysis, vol. 26, no. 3, pp. 301–321, 2009. View at: Publisher Site  Google Scholar  Zentralblatt MATH  MathSciNet
 M. Figueiredo, R. Nowak, and S. Wright, “Gradient projection for sparse reconstruction: application to compressed sensing and other inverse problems,” IEEE Journal of Selected Topics in Signal Processing, vol. 1, no. 4, pp. 586–597, 2007. View at: Publisher Site  Google Scholar
 S. J. Wright, R. D. Nowak, and M. A. T. Figueiredo, “Sparse reconstruction by separable approximation,” IEEE Transactions on Signal Processing, vol. 57, no. 7, pp. 2479–2493, 2009. View at: Publisher Site  Google Scholar  MathSciNet
 A. Y. Yang, A. G. Zihan Zhou, S. S. Sastry, and Yi Ma, “Fast L1minimization algorithms for Robust face recognition,” . In press, http://arxiv.org/abs/1007.3753. View at: Google Scholar
 M. Zibulevsky and M. Elad, “L1L2 optimization in signal and image processing,” IEEE Signal Processing Magazine, vol. 27, no. 3, pp. 76–88, 2010. View at: Google Scholar
 T. Blumensath and M. E. Davies, “Iterative hard thresholding for compressed sensing,” Applied and Computational Harmonic Analysis, vol. 27, no. 3, pp. 265–274, 2009. View at: Publisher Site  Google Scholar  Zentralblatt MATH  MathSciNet
 R. Garg and R. Khandekar, “Gradient descent with sparsification: an iterative algorithm for sparse recovery with restricted isometry property,” in Proceedings of the 26th International Conference on Machine Learning, pp. 337–344, 2009. View at: Google Scholar
 M. Elad, B. Matalon, and M. Zibulevsky, “Coordinate and subspace optimization methods for linear least squares with nonquadratic regularization,” Applied and Computational Harmonic Analysis, vol. 23, no. 3, pp. 346–367, 2007. View at: Publisher Site  Google Scholar  Zentralblatt MATH  MathSciNet
 A. Beck and M. Teboulle, “A fast iterative shrinkagethresholding algorithm for linear inverse problems,” SIAM Journal on Imaging Sciences, vol. 2, no. 1, pp. 183–202, 2009. View at: Publisher Site  Google Scholar  Zentralblatt MATH  MathSciNet
 M. Hanke, “Accelerated Landweber iterations for the solution of illposed equations,” Numerische Mathematik, vol. 60, no. 3, pp. 341–373, 1991. View at: Publisher Site  Google Scholar  Zentralblatt MATH  MathSciNet
Copyright
Copyright © 2013 Xueqin Zhou et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.