Skip to main content
Log in

Learning from obstructions: An effective deep learning approach for minimum vertex cover

  • Published:
Annals of Mathematics and Artificial Intelligence Aims and scope Submit manuscript

Abstract

Computational intractability has for decades motivated the development of a plethora of methodologies that mainly aim at a quality-time trade-off. The use of Machine Learning has finally emerged as one of the possible tools to obtain approximate solutions to \(\mathcal {N}\mathcal {P}\)-hard optimization problems. Recently, Dai et al. introduced a method for computing such approximate solutions for instances of the Vertex Cover problem. In this paper we consider the effectiveness of selecting a proper training strategy by considering special problem instances called obstructions that we believe carry some intrinsic properties of the problem. Capitalizing on the recent work of Dai et al. on Vertex Cover, and using the same case study as well as 19 other problem instances, we show the utility of using obstructions for training neural networks. Experiments show that training with obstructions results in a surprisingly huge reduction in number of iterations needed for convergence, thus gaining a substantial reduction in the time needed for training the model.

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.

Similar content being viewed by others

Data availability

The data sets used in our experiments are publicly available. The graphs used in [11] can be obtained from http://www.memetracker.org/ and the authors’ public github site (https://github.com/Hanjun-Dai/graphnn). The other graphs are obtained from the Stanford Large Network Dataset Collection [25] and the Network Repository [29].

References

  1. Abu-Khzam, F.N., Langston, M.A., Mouawad, A.E., Nolan, C.P.: A hybrid graph representation for recursive backtracking algorithms. In: Lee, D., Chen, D.Z., Ying, S. (eds.) Frontiers in Algorithmics, 4th International Workshop, FAW 2010, Wuhan, China, August 11-13, 2010. Proceedings, vol. 6213 of Lecture Notes in Computer Science, pp. 136–147. Springer (2010)

  2. Abu-Khzam, F.N., Langston, M.A., Suters W.H.: Fast, effective vertex cover kernelization: a tale of two algorithms. In: 2005 ACS / IEEE International Conference on Computer Systems and Applications (AICCSA 2005), January 3-6, 2005, Cairo, Egypt, pp. 16. IEEE Computer Society (2005)

  3. Adler, I., Grohe, M., Kreutzer, S.: Computing excluded minors (2008)

  4. Bello, I., Pham, H., Le, Q.V., Norouzi, M., Bengio, S.: Neural combinatorial optimization with reinforcement learning (2016)

  5. Bruna, J., Zaremba, W., Szlam, A., LeCun, Y.: Spectral networks and locally connected networks on graphs (2013)

  6. Cattell, K., Dinneen, M.J.: A characterization of graphs with vertex cover up to five. In: Bouchitté, V., Morvan, M. (eds.) Orders, Algorithms, and Applications, International Workshop ORDAL ’94, Lyon, France, July 4-8, 1994, Proceedings, vol. 831 of Lecture Notes in Computer Science, pp. 86–99. Springer (1994)

  7. Cattell, K., Dinneen, M.J., Downey, R.G., Fellows, M.R., Langston, M.A.: On computing graph minor obstruction sets. Theoret. Comput. Sci. 233(1–2), 107–127 (2000)

    Article  MathSciNet  Google Scholar 

  8. Chlebík, M., Chlebíková, J.: Crown reductions for the minimum weighted vertex cover problem. Discret. Appl. Math. 156(3), 292–312 (2008)

    Article  MathSciNet  Google Scholar 

  9. Courcelle, B., Downey, R.G., Fellows, M.R.: A note on the computability of graph minor obstruction sets for monadic second order ideals. J. Univers. Comput. Sci. 3(11), 1194–1198 (1997)

    MathSciNet  MATH  Google Scholar 

  10. Dai, H., Dai, B., Song, L.: Discriminative embeddings of latent variable models for structured data. In: Balcan, M., Weinberger, K.Q. (eds.) Proceedings of the 33nd International Conference on Machine Learning, ICML 2016, New York City, NY, USA, June 19-24, 2016, vol. 48 of JMLR Workshop and Conference Proceedings, pp. 2702–2711. JMLR.org (2016)

  11. Dai, H., Kozareva, Z., Dai, B., Smola, A.J., Song, L.: Learning steady-states of iterative algorithms over graphs. In: Dy, J.G., Krause, A. (eds.) Proceedings of the 35th International Conference on Machine Learning, ICML 2018, Stockholmsmässan, Stockholm, Sweden, July 10-15, 2018, vol. 80 of Proceedings of Machine Learning Research, pp. 1114–1122. PMLR (2018)

  12. Dinneen, M., Versteegen, R.: Obstructions for the Graphs of Vertex Cover Seven. Technical report, Centre for Discrete Mathematics and Theoretical Computer Science (CDMTCS) (2012)

  13. Dinneen, M.J., Lai, R.: Properties of vertex cover obstructions. Discret. Math. 307(21), 2484–2500 (2007)

    Article  MathSciNet  Google Scholar 

  14. Dinneen, M.J., Xiong, L.: Minor-order obstructions for the graphs of vertex cover 6. Journal of Graph Theory 41(3), 163–178 (2002)

    Article  MathSciNet  Google Scholar 

  15. Downey, R.G., Fellows, M.R.: Parameterized Complexity. Monographs in Computer Science. Springer (1999)

  16. Fellows, M.R., Langston, M.A.: Nonconstructive tools for proving polynomial-time decidability. J. ACM 35(3), 727–739 (1988)

    Article  MathSciNet  Google Scholar 

  17. Fellows, M.R., Langston, M.A.: On search, decision, and the efficiency of polynomial-time algorithms. J. Comput. Syst. Sci. 49(3), 769–779 (1994)

    Article  MathSciNet  Google Scholar 

  18. Frasconi, P., Gori, M., Sperduti, A.: A general framework for adaptive processing of data structures. IEEE Trans. Neural Netw. 9(5), 768–786 (1998)

    Article  Google Scholar 

  19. Garey, M.R., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-Completeness. W. H Freeman (1979)

  20. Gori, M., Monfardini, G., Scarselli, F.: A new model for learning in graph domains. Proceedings. 2005 IEEE International Joint Conference on Neural Networks, 2005., 2:729–734 vol. 2 (2005)

  21. Karp, R.M.: Reducibility among Combinatorial Problems, pp. 85–103. Springer, US, Boston, MA (1972)

    MATH  Google Scholar 

  22. Khot, S., Regev, O.: Vertex cover might be hard to approximate to within 2 - \(\epsilon\). J. Comput. Syst. Sci. 74(3), 335–349 (2008). Computational Complexity 2003

  23. Kinnersley, N.G., Langston, M.A.: obstruction set isolation for the gate matrix layout problem. Discret. Appl. Math. 54(2–3), 169–213 (1994)

    Article  MathSciNet  Google Scholar 

  24. Kipf, T.N., Welling, M.: Variational graph auto-encoders (2016)

  25. Leskovec, J., Krevl, A.: SNAP Datasets: Stanford large network dataset collection. http://snap.stanford.edu/data (2014)

  26. McKay, B.D., Piperno, A.: Practical graph isomorphism, \(\{\text{ II }\}\). Journal of Symbolic Computation 60, 94–112 (2014)

  27. Nemhauser, G.L., L.E.T, Jr.: Vertex packings: Structural properties and algorithms. Math. Program. 8(1), 232–248 (1975)

    Article  MathSciNet  Google Scholar 

  28. Robertson, N., Seymour, P.: Graph minors. xx. wagner’s conjecture. J. Comb. Theory, Ser. B 92(2), 325–357 (2004). Special Issue Dedicated to Professor W.T. Tutte

  29. Rossi, R.A., Ahmed, N.K.: An interactive data repository with visual analytics. SIGKDD Explor. 17(2), 37–41 (2016)

    Article  Google Scholar 

  30. Scarselli, F., Gori, M., Tsoi, A.C., Hagenbuchner, M., Monfardini, G.: The graph neural network model. IEEE Trans. Neural Netw. 20(1), 61–80 (2009)

    Article  Google Scholar 

  31. Vinyals, O., Fortunato, M., Jaitly, N.: Pointer networks. In: Cortes, C., Lawrence, N.D., Lee, D.D., Sugiyama, M., Garnett, R. (eds.) Advances in Neural Information Processing Systems 28, pp. 2692–2700. Curran Associates, Inc. (2015)

  32. Wagner, K.: Über eine eigenschaft der ebenen komplexe. Math. Ann. 114(1), 570–590 (1937)

    Article  MathSciNet  Google Scholar 

  33. Zhang, Z., Cui, P., Zhu, W.: Deep learning on graphs: A survey. arXiv:1812.04202 (2018)

Download references

Funding

No funding was received for conducting this study.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Faisal N. Abu-Khzam.

Ethics declarations

Conflicts of interests/Competing interests

The authors have no competing interests or conflict of interest to declare that are relevant to the content of this article.

Additional information

Publisher's note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Abu-Khzam, F.N., Abd El-Wahab, M.M., Haidous, M. et al. Learning from obstructions: An effective deep learning approach for minimum vertex cover. Ann Math Artif Intell (2022). https://doi.org/10.1007/s10472-022-09813-2

Download citation

  • Published:

  • DOI: https://doi.org/10.1007/s10472-022-09813-2

Keywords

Mathematics Subject Classification (2010)

Navigation