



Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Esta página não é visível na pré-visualização
Não perca as partes importantes!




Hewlett–Packard Laboratories Palo Alto, CA 94304, USA Email: [email protected]
Abstract — Interior-point algorithms constitute a very interest- ing class of algorithms for solving linear-programming problems. In this paper we study efficient implementations of such algo- rithms for solving the linear program that appears in the linear- programming decoder formulation.
I. INTRODUCTION Consider a binary linear code C of length n that is used for data transmission over a binary-input discrete memoryless channel. As was observed by Feldman et al. [1], [2], the ML decoder for this setup can be written as
ˆxML = arg min x∈C
〈γ, x〉,
where γ is a length-n vector that contains the log-likelihood ratios and where 〈γ, x〉 is the inner product (in R) of the vector γ with the vector x. Because the cost function in this minimization problem is linear, this is essentially equivalent to the solution of
x ˆ′ ML , arg min x∈conv(C)
〈γ, x〉,
where conv(C) denotes the convex hull of C when C is embedded in Rn. (We say “essentially equivalent” because in the case where there is a unique optimal codeword then the two minimization problems yield the same solution. However, when there are multiple optimal codewords then xˆML and xˆ′ ML are non-singlet sets and it holds that conv(ˆxML) = xˆ′ ML.) Because the above two optimization problems are usually practically intractable, Feldman et al. [1], [2] proposed to solve a relaxation of the above problem. Namely, for a code C that can be written as the intersection of m binary linear codes of length n, i.e., C , ∩mj=1Cj , they introduced the so-called linear programming (LP) decoder
ˆxLP , arg min x∈P
〈γ, x〉, (1)
with the relaxed polytope
⋂^ m
j=
conv(Cj ) ⊇ conv(C) ⊇ C, (2)
(^0) This is essentially the paper that appeared in the Proceedings of the 2008 Information Theory and Applications Workshop, UC San Diego, CA, USA, January 27 – February 1, 2008. The only (major) change concerns the vector γ: it is now defined such that ˆxML, ˆx′ ML, and ˆxLP are solutions to minimization (and not maximization ) problems.
for which it can easily be shown that all codewords in C are vertices of P. The same polytope P appeared also in papers by Koetter and Vontobel [3], [4], [5], where message-passing iterative (MPI) decoders were analyzed and where this polytope P was called the fundamental polytope. The appearance of the same object in these two different contexts suggests that there is a tight connection between LP decoding and MPI decoding. The above codes Cj can be any codes of length n, however, in the following we will focus on the case where these codes are codes of dimension n− 1. For example, let H be an m×n parity-check matrix for the code C and let hT j be the j-th row of H.^1 Then, defining
Cj =
x ∈ { 0 , 1 }n^
∣ (^) 〈hj , x〉 = 0 (mod 2 )
for j = 1,... , m, we obtain C = ∩mj=1Cj. Of course, the reason why the decoder in (1) is called LP decoder is because the optimization problem in that equation is a linear program (LP).^2 There are two standard forms for LPs, namely minimize 〈c, x〉 subj. to Ax = b (3) x ≥ 0
and
maximize 〈b, λ〉 subj. to ATλ + s = c (4) s ≥ 0
Any LP can be reformulated (by introducing suitable auxiliary variables, by reformulating equalities as two inequalities, etc.) so that it looks like the first standard form. Any LP can also be reformulated so that it looks like the second standard form. Moreover, the first and second standard form are tightly related in the sense that they are dual convex programs. Usually, the LP in (3) is called the primal LP and the LP in (4) is called the dual LP. (As it is to be expected from the expression “duality,” the primal LP is the dual of the dual LP.) Not unexpectedly, there are many ways to express the LP that appears in (1) in either the first or the second standard (^1) Note that in this paper all vectors are column vectors. (^2) We use LP to denote both “linear programming” and “linear program.”
form, and each of these reformulations has its advantages (and disadvantages). Once it is expressed in one of the standard forms, any general-purpose LP solver can basically be used to obtain the LP decoder output. However, the LP at hand has a lot of structure and one should take advantage of it in order to obtain very fast algorithms that can compete complexity- and time-wise with MPI decoders. Several ideas have been presented in the past in this direc- tion, e.g., by Feldman et al. [6] who briefly mentioned the use of sub-gradient methods for solving the LP of an early version of the LP decoder (namely for turbo-like codes), by Yang et al. [7], [8] on efficiently solvable variations of the LP decoder, by Taghavi and Siegel [9] on cutting-hyperplane- type approaches, by Vontobel and Koetter [10] on coordinate- ascent-type approaches, by Dimakis and Wainwright [11] and by Draper et al. [12] on improvements upon the LP decoder solution, and by Taghavi and Siegel [13] and by Wadayama [14] on using variations of LP decoding (together with efficient implementations) for intersymbol-interference channels. In this paper our focus will be on so-called interior-point algorithms, a type of LP solvers that has become popular with the seminal work of Karmarkar [15]. (After the publication of [15] in 1984, earlier work on interior-point-type algorithms by Dikin [16] and others became more widely known). We present some initial thoughts on how to use this class of algorithms in the context of LP decoding. So far, with the notable exception of [14], interior-point-type algorithms that are especially targeted to the LP in (1) do not seem to have been considered. One of our goals by pursuing these type of methods is that we can potentially obtain algorithms that are better analyzable than MPI decoders, especially when it comes to finite-length codes. (Wadayama [14] discusses some efficient interior-point-type methods, however, he is trying to minimize a quadratic cost function, and the final solution is obtained through the use of the sum-product algorithm that is initialized by the result of the interior-point search. Al- though [14] presents some very interesting approaches that are worthwhile pursuing, it is not quite clear if these algorithms are better analyzable than MPI decoders.) There are some interesting facts about interior-point-type algorithms that make them worthwhile study objects. First of all, there are variants for which one can prove polynomial-time convergence (even in the worst case, which is in contrast to the simplex algorithm). Secondly, we can round an intermediate result to the next vector with only 0 / 12 / 1 entries and check if it is a codeword.^3 (This is very similar to the stopping criterion that is used for MPI algorithms.) Note that a similar approach will probably not work well for simplex- type algorithms that typically wander from vertex to vertex of the fundamental polytope. The reason is that rounding the coordinates of a vertex yields only a codeword if the vertex
(^3) To be precise, by rounding we mean that coordinates below 1 2 are mapped to 0 , that coordinates above 12 are mapped to 1 , and that coordinates equal to 12 are mapped to 12.
was a codeword.^4 Thirdly, interior-point-type algorithms are also interesting because they are less sensitive than simplex- type algorithms to degenerate vertices of the feasible region; this is important because the fundamental polytope has many degenerate vertices. The present paper is structured as follows. In Secs. II and III we discuss two classes of interior-point algorithms, namely affine-scaling algorithms and primal-dual interior-point algo- rithms, respectively. As we will see, the bottleneck step of the algorithms in these two sections is to repeatedly find the solution to a certain type of system of linear equations. Therefore, we will address this issue, and efficient solutions to it, in Sec. IV. Finally, we briefly mention some approaches for potential algorithm simplifications in Sec. V and we conclude the paper in Sec. VI.
II. AFFINE-SCALING ALGORITHMS An interesting class of interior-point-type algorithms are so-called affine scaling algorithms which were introduced by Dikin [16] and re-invented many times afterwards. Good introductions to this class of algorithms can be found in [17], [18]. Fig. 1 gives an intuitive picture of the workings of one instance of an affine-scaling algorithm. Consider the LP in (3) and assume that the set of all feasible points, i.e., the set of all x such that Ax = b and x ≥ 0 , is a triangle. For the vector c shown in Fig. 1, the optimal solution will be the vertex in the lower left part. The algorithm works as follows:
IV. EFFICIENT APPROACHES FOR SOLVING Pu = v WHERE P IS A POSITIVE DEFINITE MATRIX In Secs. II and III we saw that the crucial part in the discussed algorithms was to repeatedly and efficiently solve a system of linear equations that looks like
Pu = v,
where P is an iteration-dependent positive definite matrix and where v is an iteration-dependent vector. The fact that P is positive definite helps because u can also be seen to be the solution of the quadratic unconstrained optimization problem
minimize
uTPu − 〈v, u〉 (5)
subj. to u ∈ Rh
where we assumed that P is an h×h-matrix. It is important to remark that for the algorithms in Secs. II and III the vector u usually does not have to be found perfectly. It is good enough to find an approximation of u that is close enough to the correct u. (For more details, see e.g. [18, Ch. 9].) Using a standard gradient-type algorithm to find u might work. However, the matrix P is often ill-conditioned, i.e., the ratio of the largest to the smallest eigenvalue can be quite big (especially towards the final iterations), and so the convergence speed of a gradient-type algorithm might suffer considerably. Therefore, more sophisticated approaches are desirable. Such an approach is the conjugate-gradient algorithm which was introduced by Hestenes and Stiefel [24]. (See Shewchuk’s paper [25] for a very readable introduction to this topic and for some historical comments.) This method is especially attractive when P is sparse or when P can be written as a product of sparse matrices, the latter being the case for LP decoding of LDPC codes. In the context of the affine-scaling algorithm, e.g. Resende and Veiga [26] used the conjugate-gradient algorithm to effi- ciently solve the relevant equation systems. They also studied the behavior of the conjugate-gradient algorithm with different pre-conditioners. A quite different, yet interesting variant to solve the mini- mization problem in (5) is by using graphical models. Namely, one can represent the cost function in (5) by an additive factor graph [27], [28], [29]. Of course, there are a variety of factor graph representations for the this cost function, however, probably the most reasonable choice in the context of LP decoding is to choose the factor graph that looks topologically like the factor graph that is usually used for sum-product or min-sum algorithm decoding of LDPC codes. One can then try to find the solution with the help of the min-sum algorithm. [Equivalently, one can look at the maximization problem
maximize exp
uTPu + 〈v, u〉
subj. to u ∈ Rh.
Here the function to be optimized is proportional to a Gaus- sian density and can be represented with a Gaussian factor
(a) (b)
Fig. 2. Replacement of a partial factor graph representing a degree-k check function node by another partial factor graph with k− 2 check nodes of degree three and with k − 3 new auxiliary variable nodes. (Here k = 6.)
graph [27], [28], [29]. (Which in contrast to the above factor graph is a multiplicative factor graph.) One can then try to find the solution with the help of the max-product algorithm, which in the case of Gaussian graphical models is equivalent (up to proportionality constants) to the sum-product algorithm.] The reason for this being an interesting approach is that the behavior of the min-sum algorithm applied to a quadratic- cost-function factor graphs is much better understood than for other factor graphs. E.g., it is known that if the algorithm converges then the solution vector is correct. Moreover, by now there are also practically verifiable sufficient conditions for convergence [30], [31], [32]. However, the quadratic-cost- function factor graphs needed for the above problem are more general than the special class of quadratic-cost-function factor graphs considered in the cited papers. Of course, one could represent the cost function in (6) by a factor graph within this special class (so that the above-mentioned results are applicable), however, and quite interestingly, when this cost function is represented by a factor graph that is not in this special class, then the convergence conditions seem to be (judging from some empirical evidence) less stringent. In fact, we obtained some very interesting behavior in the context of the short-step affine-scaling algorithm where only one iteration of the min-sum algorithm was performed per iteration of the affine-scaling algorithm. (The min-sum algorithm was initialized with the messages obtained in the previous affine- scaling algorithm iteration.)
V. OTHER SIMPLIFICATIONS Depending on the used algorithm, there are many small (but very useful) variations that can lead – when properly applied
VI. CONCLUSION We have presented some initial considerations towards using interior-point algorithms for obtaining efficient LP decoders. Encouraging preliminary results have been obtained but more research is needed to fully understand and exploit the potential of these algorithms.
This research was partly supported by NSF Grant CCF-
REFERENCES [1] J. Feldman, “Decoding error-correcting codes via linear programming,” Ph.D. dissertation, Massachusetts Institute of Technology, Cambridge, MA, 2003. [2] J. Feldman, M. J. Wainwright, and D. R. Karger, “Using linear program- ming to decode binary linear codes,” IEEE Trans. on Inform. Theory , vol. IT–51, no. 3, pp. 954–972, May 2005. [3] R. Koetter and P. O. Vontobel, “Graph covers and iterative decoding of finite-length codes,” in Proc. 3rd Intern. Symp. on Turbo Codes and Related Topics , Brest, France, Sept. 1–5 2003, pp. 75–82. [4] P. O. Vontobel and R. Koetter, “Graph-cover decoding and finite- length analysis of message-passing iterative decoding of LDPC codes,” accepted for IEEE Trans. Inform. Theory, available online under http://www.arxiv.org/abs/cs.IT/0512078, 2007. [5] ——, “On the relationship between linear programming decoding and min-sum algorithm decoding,” in Proc. Intern. Symp. on Inform. Theory and its Applications (ISITA) , Parma, Italy, Oct. 10–13 2004, pp. 991–
[6] J. Feldman, D. R. Karger, and M. J. Wainwright, “Linear programming- based decoding of turbo-like codes and its relation to iterative ap- proaches,” in Proc. 40th Allerton Conf. on Communications, Control, and Computing , Allerton House, Monticello, Illinois, USA, October 2– 4 2002. [7] K. Yang, X. Wang, and J. Feldman, “Non-linear programming ap- proaches to decoding low-density parity-check codes,” in Proc. 43rd Allerton Conf. on Communications, Control, and Computing , Allerton House, Monticello, Illinois, USA, Sep. 28–30 2005. [8] ——, “Fast ML decoding of SPC product code by linear program- ming decoding,” in Proc. IEEE GLOBECOM , Washington, DC, USA, Nov. 26–30 2007, pp. 1577–1581. [9] M. H. Taghavi and P. H. Siegel, “Adaptive linear programming decod- ing,” in Proc. IEEE Intern. Symp. on Inform. Theory , Seattle, WA, USA, July 9–14 2006, pp. 1374–1378. [10] P. O. Vontobel and R. Koetter, “On low-complexity linear-programming decoding of LDPC codes,” Europ. Trans. on Telecomm. , vol. 5, pp. 509– 517, Aug. 2007. [11] A. G. Dimakis and M. J. Wainwright, “Guessing facets: polytope structure and improved LP decoder,” in Proc. IEEE Intern. Symp. on Inform. Theory , Seattle, WA, USA, July 9–14 2006, pp. 1369–1373. [12] S. C. Draper, J. S. Yedidia, and Y. Wang, “ML decoding via mixed- integer adaptive linear programming,” in Proc. IEEE Intern. Symp. on Inform. Theory , Nice, France, June 24–29 2007, pp. 1656–1660. [13] M. H. Taghavi and P. H. Siegel, “Equalization on graphs: linear programming and message passing,” in Proc. IEEE Intern. Symp. on Inform. Theory , Nice, France, June 24–29 2007, pp. 2551–2555. [14] T. Wadayama, “Interior point decoding for linear vector chan- nels,” submitted, available online under http://arxiv.org/abs/ 0705.3990, May 2007. [15] N. Karmarkar, “A new polynomial-time algorithm for linear program- ming,” Combinatorica , vol. 4, no. 4, pp. 373–395, Dec. 1984. [16] I. I. Dikin, “Iterative solution of problems of linear and quadratic programming,” Soviet Math. Doklady , vol. 8, pp. 674–675, 1967.
[17] D. Bertsekas, Nonlinear Programming , 2nd ed. Belmont, MA: Athena Scientific, 1999. [18] D. Bertsimas and J. N. Tsitsiklis, Linear Optimization. Belmont, MA: Athena Scientific, 1997. [19] T. Tsuchiya, “Global convergence of the affine scaling methods for degenerate linear programming problems,” Math. Progr. , vol. 52, no. 3, pp. 377–404, May 1991. [20] T. Tsuchiya and M. Muramatsu, “Global convergence of a long-step affine scaling algorithm for degenerate linear programming problems,” SIAM J. Opt. , vol. 5, no. 3, pp. 525–551, Aug. 1995. [21] R. Saigal, “A simple proof of a primal affine scaling method,” Ann. Oper. Res. , vol. 62, pp. 303–324, 1996. [22] I. Adler and R. D. C. Monteiro, “Limiting behavior of the affine scaling continuous trajectories for linear programming problems,” Math. Progr. , vol. 50, no. 1, pp. 29–51, Mar. 1991. [23] S. J. Wright, Primal-Dual Interior-Point Methods. Philadelphia, PA: Society for Industrial and Applied Mathematics (SIAM), 1997. [24] M. R. Hestenes and E. Stiefel, “Methods of conjugate gradients for solving linear systems,” Journal of Research of the National Bureau of Standards , vol. 49, 1952. [25] J. R. Shewchuk, An introduction to the conjugate gradient method without the agonizing pain. Technical Report, Carnegie Mellon University, Pittsburgh, PA, 1994. [26] M. G. C. Resende and G. Veiga, “An implementation of the dual affine scaling algorithm for minimum-cost flow on bipartite uncapacitated networks,” SIAM Journal on Optimization , vol. 3, no. 3, pp. 516–537,
[27] F. R. Kschischang, B. J. Frey, and H.-A. Loeliger, “Factor graphs and the sum-product algorithm,” IEEE Trans. on Inform. Theory , vol. IT–47, no. 2, pp. 498–519, Feb. 2001. [28] G. D. Forney, Jr., “Codes on graphs: normal realizations,” IEEE Trans. on Inform. Theory , vol. IT–47, no. 2, pp. 520–548, Feb. 2001. [29] H.-A. Loeliger, “An introduction to factor graphs,” IEEE Sig. Proc. Mag. , vol. 21, no. 1, pp. 28–41, Jan. 2004. [30] D. M. Malioutov, J. K. Johnson, and A. S. Willsky, “Walk-sums and belief propagation in Gaussian graphical models,” J. Mach. Learn. Res. , vol. 7, pp. 2031–2064, Dec. 2006. [31] C. C. Moallemi and B. Van Roy, “Convergence of the min-sum message passing algorithm for quadratic optimization,” submitted , Mar. 2006. [32] ——, “Convergence of the min-sum algorithm for convex optimization,” submitted , May 2007. [33] M. Chertkov and M. Stepanov, “Pseudo-codeword landscape,” in Proc. IEEE Intern. Symp. on Inform. Theory , Nice, France, June 24–29 2007, pp. 1546–1550. [34] K. Yang, X. Wang, and J. Feldman, “Cascaded formulation of the fundamental polytope of general linear block codes,” in Proc. IEEE Intern. Symp. on Inform. Theory , Nice, France, June 24–29 2007, pp. 1361–1365.