Skip to main content
Log in

Message Passing Algorithms for MLS-3LIN Problem

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

MLS-3LIN problem is a problem of finding a most likely solution for a given system of perturbed 3LIN-equations under a certain planted solution model. This problem is essentially the same as MAX-3LIN problem. We consider simple and efficient message passing algorithms for this problem, and investigate their success probability, where input instances are generated under the planted solution model with equation probability p and perturbation probability q. For some variant of a typical message passing algorithm, we prove that p=Θ(1/(nlnn)) is the threshold for the algorithm to work w.h.p. for any fixed constant q<1/2.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3

Similar content being viewed by others

Notes

  1. Precisely speaking, we may have to remove some more variables due to removing some variables. But we can show that this removal process converges very quickly; see, e.g., [3] for its detailed treatment.

  2. Precisely speaking, if more than two equations with the same left-hand side are obtained, then its right-hand side is determined by taking the majority vote.

  3. Though we state our result for Alg_3LIN, a similar result can be shown for AlgRedSP_3LIN.

  4. Note that in this case one can use the standard method in linear algebra to obtain the optimal solution (which is the solution satisfying all given equations). Here we consider this extreme case in order to show the limit of message passing algorithms.

  5. Here condition (c1) is used.

  6. This fact is pointed out by the referee of Algorithmica.

References

  1. Alon, N., Kahale, N.: A spectral technique for coloring random 3-colorable graphs. SIAM J. Comput. 26(6), 1733–1748 (1997)

    Article  MathSciNet  MATH  Google Scholar 

  2. Berke, R., Onsjö, M.: Propagation connectivity of random hypergraphs. In: Proceedings of the 5th Symposium on Stochastic Algorithms, Foundations and Applications (SAGA’09). Lecture Notes in Computer Science, vol. 5792, pp. 117–126 (2009)

    Chapter  Google Scholar 

  3. Coja-Oghlan, A.: A spectral heuristic for bisecting random graphs. Random Struct. Algorithms 29(3), 351–398 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  4. Coja-Oghlan, A., Goerdt, A., Lanka, A., Schädlich, F.: Techniques from combinatorial approximation algorithms yield efficient algorithms for random 2k-SAT. Theor. Comput. Sci. 329(1–3), 1–45 (2004)

    Article  MATH  Google Scholar 

  5. Coja-Oghlan, A., Mossel, E., Vilenchnik, D.: A spectral approach to analyzing belief propagation for 3-coloring. Comb. Probab. Comput. 18(6), 881–912 (2009)

    Article  MATH  Google Scholar 

  6. Coja-Oghlan, A., Onjsö, M., Watanabe, O.: Propagation connectivity of random hypergraphs. In: Proceedings of the 14th International Workshop on Randomization and Computation (RANDOM’10). Lecture Notes in Computer Science, vol. 6302, pp. 490–503 (2010). The final version appears in Electron. J. Comb. 19(P17), 1–25 (2012)

    Google Scholar 

  7. Feige, U., Ofek, E.: Spectral techniques applied to sparse random graphs. Random Struct. Algorithms 27(2), 251–275 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  8. Khot, S.A., Vishnoi, N.K.: The unique games conjecture, integrality gap for cut problems and embeddability of negative type metrics into L1. In: Proceedings of the 46th IEEE Symposium on Foundations of Computer Science (FOCS’05), pp. 53–62. IEEE Press, New York (2005)

    Chapter  Google Scholar 

  9. Pearl, J.: Probabilistic Reasoning in Intelligent Systems: Networks of Plausible Inference. Morgan Kaufmann, San Mateo (1988)

    Google Scholar 

  10. Onsjö, M., Watanabe, O.: A simple message passing algorithm for graph partition problem. In: Proceedings of the 17th International Symposium on Algorithms and Computation (ISAAC’06). Lecture Notes in Computer Science, vol. 4288, pp. 507–516 (2006)

    Chapter  Google Scholar 

  11. Watanabe, O., Yamamoto, M.: Belief propagation and spectral methods. Research Report of Department of Mathematical and Computing Sciences, Tokyo Institute of Technology, C-248 (2007)

  12. Watanabe, O., Yamamoto, M.: Average-case analysis for the MAX-2SAT problem. Theor. Comput. Sci. 411(16–18), 1685–1697 (2010)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Acknowledgements

The author would like to thank Dr. Amin Coja-Oghlan, Dr. Mikael Onsjö, and Dr. Masaki Yamamoto for their collaborations on related topics, which lead to this work. He also thanks to the referees of ANALCO 2012 and Algorithmica for valuable comments and suggestions for improving the presentation of the paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Osamu Watanabe.

Additional information

This work is supported in part by KAKENHI No. 22300003 and No. 24106008.

Appendix: Technical Lemmas

Appendix: Technical Lemmas

Here we explain spectral lemmas used in this paper. In particular, we give a proof for Lemma 4. Symbols are used in the same way as in the body without explanation.

We begin with stating the lemma in [4] from which Lemma 2 is derived.

Lemma A.1

(Lemma 39 of [4])

Let \(\hat{c}_{0}>0\) be any sufficiently large constant. For any \(\widetilde{p}\) such that \(\hat{c}_{0}/n\le\hat{p}\le(\ln n)^{O(1)}/n\), let D=(d ij )1≤i,jn be an n×n random symmetric matrix such that d ii =0 for each 1≤in, and d ij =1 (resp., d ij =0) with probability \(\hat{p}\) (resp., \(1-\hat{p}\)) independently for each 1≤i<jn. Then for any \(\hat{c}_{2}>1\), there exists some \(\hat{c}_{1}>0\) such that the following three statements hold w.h.p.

  1. (1)

    Let \(V''=\{i\in\{1,\ldots,n\}|\sum_{j=1}^{n} d_{ij}>\hat{c}_{2} n\hat{p}\}\), and V′={1,…,n}−V″. Let n′=#Vand D′=(d ij ) i,jV be the induced n′×nmatrix. Then we have \(n'\ge(1-\mathrm{exp}(-n\hat{p}/\hat{c}_{1}))n\).

  2. (2)

    For any unit vector ξ1, we have \(\|D'\boldsymbol{\xi}\|\le\hat{c}_{1}\sqrt{n'\hat{p}}\).

  3. (3)

    For any WVof cardinality \(\ge(1-(n\hat{p})^{-10})n\), then D″=(d ij ) i,jW satisfies \(\|D''\boldsymbol{1}-n\hat{p}\boldsymbol{1}\|\le\widehat {c}_{1}n\sqrt{\hat{p}}\).

By checking the proof of [4] as well as that of [1], it is not so hard to confirm that the bound of Lemma A.1 (2) can be shown for D″, which proves (2) of Lemma 2. For the other parts, it is easy to see that Lemma A.1 implies Lemma 2.

Next we apply Lemma 2 to show some properties of matrices B and C. Recall that \(\widehat{E}\) and \(\widehat{A}_{\widehat{E}}=(\hat{a}_{ij})\) denote respectively the original input instance and the corresponding matrix. We simply write \(\widehat{A}\) for \(\widehat{A}_{\widehat{E}}\). On the other hand, corresponding to B and C, let \(\widehat{B}=(\hat{b}_{ij})\) and \(\widehat{C}=(\widehat {c}_{ij})\) denote matrices that have 1 at each ij-entry such that \(\hat{a}_{ij}=1\) and \(\hat{a}_{ij}=-1\) in \(\widehat {A}\) respectively. Note that all \(\hat{b}_{ij}\)’s for i<j (resp., \(\hat{c}_{ij}\)’s for i<j) are mutually independent; hence, we can apply Lemma 2 by regarding \(\widehat{B}\) (resp., \(\widehat{C}\)) as matrix D of the lemma. In order to apply Lemma 2, we use \(\hat{n}\)\(\widehat{B}\) (resp., \(\widehat{C}\)), and p(1−q) (resp., pq) for n, D, and \(\widetilde{p}\) of the lemma. Note that both p(1−q) and pq are larger than \(\widetilde{c}_{0}/\hat{n}\) from our choiceFootnote 5 of c. Also by applying AlgPre, all ith entries of \(\widehat{B}\) (resp., \(\widehat{C}\)) such that \(\sum_{j} \hat{b}_{ij}\ge2\hat{n}p\) (resp., \(\sum_{j} \hat{c}_{ij}\ge2\hat{n}p\)) are removed from \(\widehat{B}\) (resp., \(\widehat{C}\)). Thus we use p for \(\widetilde{p}\,'\). Then the following bounds are obtained by Lemma 2.

Lemma A.2

The following holds w.h.p.

  1. (1)

    For any unit vector ξ1, we have \(\|B\boldsymbol{\xi}\|\le c_{1}\sqrt{np}\) and \(\|C\boldsymbol{\xi}\|\le c_{1}\sqrt{np}\).

  2. (2)

    \(\|B\overline{\boldsymbol{1}}-np(1-q)\overline{\boldsymbol{1}}\|\le c_{1}\sqrt{np}\) and \(\|C\overline{\boldsymbol{1}}-npq\overline{\boldsymbol{1}}\|\le c_{1}\sqrt{np}\).

Now we prove Lemma 4.

Lemma 4

The following holds w.h.p.

  1. (1)

    For any unit vector η1 and for any unit vector ξ, we have \(|\langle A\boldsymbol{\eta},\boldsymbol{\xi}\rangle|\le 2c_{1}\sqrt{np}\).

  2. (2)

    For any λ i , 2≤in, we have \(|\lambda_{i}|\le4c_{1}\sqrt{np}\).

  3. (3)

    \(\|A\overline{\boldsymbol{1}}-nr\overline{\boldsymbol{1}}\| \le 2c_{1}\sqrt{np}\).

Proof

(1) Let η and ξ be any unit vectors, and we assume that η1. By Cauchy-Schwartz inequality we have |〈B η,ξ〉|≤∥B η∥⋅∥ξ∥. Then by using the above lemma, we have

$$\bigl|\langle B\boldsymbol{\eta},\boldsymbol{\xi}\rangle\bigr| \le \|B\boldsymbol{\eta}\|\cdot\|\boldsymbol{\xi}\| = \|B\boldsymbol{\eta}\| \le c_1\sqrt{np}. $$

Similarly, we have \(|\langle C\boldsymbol{\eta},\boldsymbol{\xi}\rangle| \le c_{1}\sqrt{np}\). Thus, we have we have

(2) Let S 0 be the set of vectors perpendicular to 1. Then since \({\rm dim}(S_{0})=n-1\), by Theorem of Courant-Fischer, we have

$$\lambda_2 \le \max_{\boldsymbol{\eta}\in S_0}\langle A\boldsymbol{\eta },\boldsymbol{\eta}\rangle \le 2c_1\sqrt{np}. $$

On the other hand, to bound λ n , we express the nth eigenvector as \(\boldsymbol{\xi}_{n}=\alpha\overline{\boldsymbol{1}}+\beta \boldsymbol{\eta}\) for some α,β such that α 2+β 2=1, and η is a unit vector perpendicular to \(\overline {\boldsymbol{1}}\). Then we have

Here we used the facts that 〈A x,y〉=〈x,A y〉 due to the symmetry of A, and that \(\langle A\overline{\boldsymbol{1}},\overline{\boldsymbol {1}}\rangle\ge0\) w.h.p. For the last bound, we used the factFootnote 6 that 2|α|⋅|β|+β 2<1.62 under the constraint α 2+β 2=1.

(3) The claim follows from the following.

 □

Rights and permissions

Reprints and permissions

About this article

Cite this article

Watanabe, O. Message Passing Algorithms for MLS-3LIN Problem. Algorithmica 66, 848–868 (2013). https://doi.org/10.1007/s00453-013-9762-7

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-013-9762-7

Keywords

Navigation