Skip to main content

Unit Propagation by Means of Coordinate-Wise Minimization

  • Conference paper
  • First Online:
Machine Learning, Optimization, and Data Science (LOD 2020)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 12565))

Abstract

We present a novel theoretical result concerning the applicability of coordinate-wise minimization on the dual problem of linear programming (LP) relaxation of weighted partial Max-SAT that shows that every fixed point of this procedure defines a feasible primal solution. In addition, this primal solution corresponds to the result of a certain propagation rule applicable to weighted Max-SAT. Moreover, we analyze the particular case of LP relaxation of SAT and observe that coordinate-wise minimization on the dual problem resembles unit propagation and also has the same time complexity as a naive unit propagation algorithm. We compare our theoretical results with max-sum diffusion which is a coordinate-wise minimization algorithm that is used to optimize the dual of the LP relaxation of the Max-Sum problem and can in fact perform a different kind of constraint propagation, namely deciding whether a given constraint satisfaction problem (CSP) has non-empty arc consistency closure.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    We define \(-\infty \cdot 0\) to be 0 by convention in (3a) if infinite values are used.

  2. 2.

    Max-sum diffusion is usually defined for finite values only, but a generalization based on the relative interior rule is straightforward. Alternatively, one could replace \(-\infty \) with arbitrary finite negative number to find the AC closure.

  3. 3.

    By shifted ReLU, we understand \(f(x) = \max \{a+x,b\}\) for some constants ab. The function is constant on \((-\infty ,b-a]\) and increasing on \([b-a,\infty )\), where \(b-a\) is its breakpoint (point of non-differentiability).

  4. 4.

    If the values of the breakpoints with minimal value coincide, we allow \(b_1 = b_2\).

  5. 5.

    By a cycle of updates, we mean a single loop of updates in which each variable is updated once with the relative interior rule.

  6. 6.

    The reasoning in case that the unit clause is in form \(1-x_i \ge 1\) is analogous.

  7. 7.

    Weighted partial Max-SAT can be reduced into weighted Max-SAT by assigning large weights to the hard clauses, this is mentioned, e.g., in [11].

  8. 8.

    Smallest in terms of the size of the file. The considered 500 instances had up to 287 thousand variables and up to 1.4 million clauses.

References

  1. Bacchus, F., Järvisalo, M., Martins, R.: MaxSAT Evaluation 2019: solver and benchmark descriptions (2019). http://hdl.handle.net/10138/306989

  2. Cooper, M.C., de Givry, S., Sanchez, M., Schiex, T., Zytnicki, M., Werner, T.: Soft arc consistency revisited. Artif. Intell. 174(7–8), 449–478 (2010)

    Article  MathSciNet  Google Scholar 

  3. Cooper, M.C., de Givry, S., Sánchez, M., Schiex, T., Zytnicki, M.: Virtual arc consistency for weighted CSP. In: AAAI, pp. 253–258 (2008)

    Google Scholar 

  4. Dlask, T., Werner, T.: A class of linear programs solvable by coordinate-wise minimization. In: Kotsireas, I.S., Pardalos, P.M. (eds.) LION 2020. LNCS, vol. 12096, pp. 52–67. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-53552-0_8

    Chapter  Google Scholar 

  5. Globerson, A., Jaakkola, T.S.: Fixing max-product: convergent message passing algorithms for MAP LP-relaxations. In: Advances in Neural Information Processing Systems, pp. 553–560 (2008)

    Google Scholar 

  6. Kappes, J., Andres, B., et al.: A comparative study of modern inference techniques for discrete energy minimization problems. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1328–1335 (2013)

    Google Scholar 

  7. Kolmogorov, V.: Convergent tree-reweighted message passing for energy minimization. IEEE Trans. Pattern Anal. Mach. Intell. 28(10), 1568–1583 (2006)

    Article  Google Scholar 

  8. Kolmogorov, V., Thapper, J., Živný, S.: The power of linear programming for general-valued CSPs. SIAM J. Comput. 44(1), 1–36 (2015)

    Article  MathSciNet  Google Scholar 

  9. Kovalevsky, V., Koval, V.: A diffusion algorithm for decreasing energy of max-sum labeling problem. Glushkov Institute of Cybernetics, Kiev, USSR (1975)

    Google Scholar 

  10. Niedermeier, R., Rossmanith, P.: New upper bounds for maximum satisfiability. J. Algorithms 36(1), 63–88 (2000)

    Article  MathSciNet  Google Scholar 

  11. Pipatsrisawat, K., Palyan, A., Chavira, M., Choi, A., Darwiche, A.: Solving weighted max-sat problems in a reduced search space: a performance analysis. J. Satisfiab. Boolean Model. Comput. 4(2–4), 191–217 (2008)

    Article  Google Scholar 

  12. Werner, T.: A linear programming approach to max-sum problem: a review. IEEE Trans. Pattern Anal. Mach. Intell. 29(7), 1165–1179 (2007)

    Article  Google Scholar 

  13. Werner, T., Průša, D., Dlask, T.: Relative interior rule in block-coordinate descent. In: Conference on Computer Vision and Pattern Recognition (2020)

    Google Scholar 

  14. Werner, T., Průša, D.: Relative interior rule in block-coordinate minimization. \({\rm ArXiv}\).\({\rm org}\) (2019)

    Google Scholar 

  15. Xing, Z., Zhang, W.: MaxSolver: an efficient exact algorithm for (weighted) maximum satisfiability. Artif. Intell. 164(1–2), 47–80 (2005)

    Article  MathSciNet  Google Scholar 

  16. Zhang, H., Stickel, M.E.: An efficient algorithm for unit propagation. In: Proceedings of the 4th International Symposium on Artificial Intelligence and Mathematics, vol. 96 (1996)

    Google Scholar 

Download references

Acknowledgement

Research described in the paper was supervised by doc. Ing. Tomáš Werner, Ph.D., FEE CTU in Prague. This work has been supported by Czech Science Foundation project 19-09967S and Grant Agency of CTU in Prague, grant SGS19/170/OHK3/3T/13.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Tomáš Dlask .

Editor information

Editors and Affiliations

A Proof of Theorem 2

A Proof of Theorem 2

All of the following propositions assume that y is an ILM of (7) with \(\mathcal {H} = \emptyset \), \(c \in \mathcal {S}\) is an arbitrary clause, and \(i \in [n]\) is also arbitrary.

Proposition 2

If \(S_{ci} = 1\) and \(S_i^Ty > 0\), then \(w_c \ge y_c\).

Proof

Proof by contradiction – assume \(w_c < y_c\). From \(S_i^Ty > 0\), it follows from definition of \(k'_{ci}\) that \(S_{ci}y_c + k_{ci}' > 0\), thus \(y_c > -S_{ci}k_{ci}'\). Since there are two breakpoints (\(-S_{ci}k_{ci}'\) and \(w_c\)) that are strictly lower than \(y_c\) and \(w_c > 0\), \(y_c\) is not in the relative interior of optimizers by reasoning in Sect. 2.1.    \(\square \)

Proposition 3

If \(S_{ci} \ne 0\) and \(S_i^Ty=0\), then \(w_c \ge y_c\).

Proof

Following the reasoning in Sect. 2.1, \(y_c\) should be in the relative interior of (9) for two smallest breakpoints \(b_1,b_2\). Since \(y_c\) is equal to breakpoint \(b_j = -S_{ci}k'_{ci}\), it must hold that \(b_j = b_2 = b_1\) (or \(b_j = b_2 = 0 \ge b_1\), which trivially leads to \(y_c = 0 < w_c\)), otherwise \(y_c\) is not in the relative interior of optimizers. Since \(w_c>0\) is also a breakpoint, it must be greater or equal to the smallest breakpoint \(b_1\), this yields \(w_c \ge b_1 = b_j = -S_{ci}k'_{ci} = y_c.\) \(\square \)

Proposition 4

If \(S_{ci} = -1\), \(|c| = 1\), and \(S_i^Ty \ge 0\), then \(w_c \le y_c\).

Proof

Function (7a) restricted to \(y_c\) has two breakpoints, \(-S_{ci}k_{ci}'\) and \(w_c\). Since \(S_i^Ty = -y_c + k_{ci}' \ge 0\), it holds that \(y_c \le -S_{ci}k_{ci}'\). By the reasoning in Sect. 2.1, it can either hold that \(w_c< y_c < -S_{ci}k_{ci}'\) or \(w_c = y_c = -S_{ci}k_{ci}'\), hence \(w_c \le y_c\).     \(\square \)

Proposition 5

If \(S_{ci} = -1\) and \(S_i^Ty < 0\), then \(w_c \ge y_c\).

Proof

Similar to Proposition 2. It holds that \(y_c > -S_{ci}k_{ci}'\), which follows from \(S_{ci} = -1\) and \(S_i^Ty < 0\). Assuming \(w_c < y_c\) leads to a contradiction.    \(\square \)

Proposition 6

If \(S_{ci} = 1\), \(|c| = 1\), and \(S_i^Ty \le 0\), then \(w_c \le y_c\).

Proof

Similarly to Proposition 4, function (7a) restricted to \(y_c\) has two breakpoints, \(-S_{ci}k_{ci}'\) and \(w_c\). Since \(S_i^Ty = y_c + k_{ci}' \le 0\), it holds that \(y_c \le -S_{ci}k_{ci}'\). By the reasoning in Sect. 2.1, it can either hold that \(w_c< y_c < -S_{ci}k_{ci}'\) or \(w_c = y_c = -S_{ci}k_{ci}'\), hence \(w_c \le y_c\).    \(\square \)

Proof

(Theorem 2). We will prove the two parts of Theorem 2 separately, both by contradiction. For the first part, assume that \(S_i^Ty \ge 0\) (which should be contradictory because it results in \(x_i = 1\) or \(x_i = \tfrac{1}{2}\)). It holds that

$$\begin{aligned} \sum _{\begin{array}{c} c' \in \mathcal {S} \\ |c'| = 1 \\ S_{c'i} = -1 \end{array}} y_{c'} \ge \sum _{\begin{array}{c} c' \in \mathcal {S} \\ |c'| = 1 \\ S_{c'i} = -1 \end{array}} w_{c'} > \sum _{\begin{array}{c} c \in \mathcal {S} \\ S_{ci} = 1 \end{array}} w_c \ge \sum _{\begin{array}{c} c \in \mathcal {S} \\ S_{ci} = 1 \end{array}} y_c \end{aligned}$$
(17)

where inequality on the left follows from Proposition 4, inequality in the middle is equivalent to the assumption in Theorem 2 and inequality on the right follows from Propositions 2 and 3. This results in

$$\begin{aligned} \sum \limits _{\begin{array}{c} c' \in \mathcal {S} \\ S_{c'i} = -1 \end{array}} y_{c'} = \sum \limits _{\begin{array}{c} c' \in \mathcal {S} \\ |c'|> 1 \\ S_{c'i} = -1 \end{array}} y_{c'} + \sum _{\begin{array}{c} c' \in \mathcal {S} \\ |c'| = 1 \\ S_{c'i} = -1 \end{array}} y_{c'} \ge \sum _{\begin{array}{c} c' \in \mathcal {S} \\ |c'| = 1 \\ S_{c'i} = -1 \end{array}} y_{c'} > \sum _{\begin{array}{c} c \in \mathcal {S} \\ S_{ci} = 1 \end{array}} y_c \end{aligned}$$
(18)

where inequality on the right follows from (17) and inequality in the middle follows from non-negativity of \(y_c\), hence \(\sum \limits _{\begin{array}{c} c' \in \mathcal {S} \\ S_{c'i} = -1 \end{array}} y_{c'} > \sum \limits _{\begin{array}{c} c \in \mathcal {S} \\ S_{ci} = 1 \end{array}} y_c\), i.e., \(S_i^Ty < 0\), which is contradictory with \(S_i^Ty \ge 0\).

For the second part, assume that \(S_i^Ty \le 0\) (which should be contradictory, because it results in \(x_i = 0\) or \(x_i = \tfrac{1}{2}\)). Similarly as in the previous part, it holds that

$$\begin{aligned} \sum _{\begin{array}{c} c' \in \mathcal {S} \\ |c'| = 1 \\ S_{c'i} = 1 \end{array}} y_{c'} \ge \sum _{\begin{array}{c} c' \in \mathcal {S} \\ |c'| = 1 \\ S_{c'i} = 1 \end{array}} w_{c'} > \sum _{\begin{array}{c} c \in \mathcal {S} \\ S_{ci} = -1 \end{array}} w_c \ge \sum _{\begin{array}{c} c \in \mathcal {S} \\ S_{ci} = -1 \end{array}} y_c \end{aligned}$$
(19)

where the left inequality is given by Proposition 6, the middle inequality follows from the condition in Theorem 2, and the inequality on the right follows from Propositions 3 and 5. We proceed analogously as in the first part and obtain that \(S_i^Ty > 0\), which is contradictory.    \(\square \)

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Dlask, T. (2020). Unit Propagation by Means of Coordinate-Wise Minimization. In: Nicosia, G., et al. Machine Learning, Optimization, and Data Science. LOD 2020. Lecture Notes in Computer Science(), vol 12565. Springer, Cham. https://doi.org/10.1007/978-3-030-64583-0_60

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-64583-0_60

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-64582-3

  • Online ISBN: 978-3-030-64583-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics