Improved Distributed Algorithms for Random Colorings

Authors Charlie Carlson, Daniel Frishberg, Eric Vigoda



PDF
Thumbnail PDF

File

LIPIcs.OPODIS.2023.13.pdf
  • Filesize: 0.65 MB
  • 18 pages

Document Identifiers

Author Details

Charlie Carlson
  • Department of Computer Science, University of California, Santa Barbara, CA, USA
Daniel Frishberg
  • Department of Computer Science and Software Engineering, California Polytechnic State University, San Luis Obispo, CA, USA
Eric Vigoda
  • Department of Computer Science, University of California, Santa Barbara, CA, USA

Cite AsGet BibTex

Charlie Carlson, Daniel Frishberg, and Eric Vigoda. Improved Distributed Algorithms for Random Colorings. In 27th International Conference on Principles of Distributed Systems (OPODIS 2023). Leibniz International Proceedings in Informatics (LIPIcs), Volume 286, pp. 13:1-13:18, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2024)
https://doi.org/10.4230/LIPIcs.OPODIS.2023.13

Abstract

Markov Chain Monte Carlo (MCMC) algorithms are a widely-used algorithmic tool for sampling from high-dimensional distributions, a notable example is the equilibirum distribution of graphical models. The Glauber dynamics, also known as the Gibbs sampler, is the simplest example of an MCMC algorithm; the transitions of the chain update the configuration at a randomly chosen coordinate at each step. Several works have studied distributed versions of the Glauber dynamics and we extend these efforts to a more general family of Markov chains. An important combinatorial problem in the study of MCMC algorithms is random colorings. Given a graph G of maximum degree Δ and an integer k ≥ Δ+1, the goal is to generate a random proper vertex k-coloring of G. Jerrum (1995) proved that the Glauber dynamics has O(nlog{n}) mixing time when k > 2Δ. Fischer and Ghaffari (2018), and independently Feng, Hayes, and Yin (2018), presented a parallel and distributed version of the Glauber dynamics which converges in O(log{n}) rounds for k > (2+ε)Δ for any ε > 0. We improve this result to k > (11/6-δ)Δ for a fixed δ > 0. This matches the state of the art for randomly sampling colorings of general graphs in the sequential setting. Whereas previous works focused on distributed variants of the Glauber dynamics, our work presents a parallel and distributed version of the more general flip dynamics presented by Vigoda (2000) (and refined by Chen, Delcourt, Moitra, Perarnau, and Postle (2019)), which recolors local maximal two-colored components in each step.

Subject Classification

ACM Subject Classification
  • Theory of computation → Distributed algorithms
  • Theory of computation → Graph algorithms analysis
  • Theory of computation → Random walks and Markov chains
Keywords
  • Distributed Graph Algorithms
  • Local Algorithms
  • Coloring
  • Glauber Dynamics
  • Sampling
  • Markov Chains

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. Leonid Barenboim, Michael Elkin, and Uri Goldenberg. Locally-iterative distributed (Δ+1)-coloring and applications. Journal of the ACM, 69(1):5:1-5:26, 2021. URL: https://doi.org/10.1145/3486625.
  2. Leonid Barenboim, Michael Elkin, Seth Pettie, and Johannes Schneider. The locality of distributed symmetry breaking. Journal of the ACM, 63(3), 2016. URL: https://doi.org/10.1145/2903137.
  3. Anton Bernshteyn, Tyler Brazelton, Ruijia Cao, and Akum Kang. Counting colorings of triangle-free graphs. Journal of Combinatorial Theory, Series B, 161:86-108, 2023. URL: https://doi.org/10.1016/J.JCTB.2023.02.004.
  4. Russ Bubley and Martin E. Dyer. Path coupling: a technique for proving rapid mixing in Markov chains. In Proceedings of the 38th Annual IEEE Symposium on Foundations of Computer Science (FOCS), pages 223-231, 1997. URL: https://doi.org/10.1109/SFCS.1997.646111.
  5. Sitan Chen, Michelle Delcourt, Ankur Moitra, Guillem Perarnau, and Luke Postle. Improved bounds for randomly sampling colorings via linear programming. In Proceedings of the 30th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 2216-2234, 2019. URL: https://doi.org/10.1137/1.9781611975482.134.
  6. Zongchen Chen, Kuikui Liu, Nitya Mani, and Ankur Moitra. Strong spatial mixing for colorings on trees and its algorithmic applications. In Proceedings of the 64th IEEE Symposium on Foundations of Computer Science (FOCS), 2023. Google Scholar
  7. Constantinos Daskalakis, Nishanth Dikkala, and Siddhartha Jayanti. Hogwild!-Gibbs can be panaccurate. In Proceedings of the 31st Advances in Neural Information Processing Systems (NeurIPS), pages 32-41, 2018. URL: https://proceedings.neurips.cc/paper/2018/hash/a5bfc9e07964f8dddeb95fc584cd965d-Abstract.html.
  8. Christopher De Sa, Kunle Olukotun, and Christopher Ré. Ensuring rapid mixing and low bias for asynchronous Gibbs sampling. In Proceedings of the 33rd International Conference on Machine Learning (ICML), pages 1567-1576, 2016. URL: http://proceedings.mlr.press/v48/sa16.html.
  9. Martin Dyer, Alan Frieze, Thomas P. Hayes, and Eric Vigoda. Randomly coloring constant degree graphs. Random Structures & Algorithms, 43(2):181-200, 2013. URL: https://doi.org/10.1002/RSA.20451.
  10. Martin Dyer and Catherine Greenhill. Random walks on combinatorial objects. Surveys in Combinatorics, pages 101-136, 1999. Google Scholar
  11. Weiming Feng, Thomas P. Hayes, and Yitong Yin. Distributed symmetry breaking in sampling (optimal distributed randomly coloring with fewer colors). arXiv preprint, 2018. URL: https://arxiv.org/abs/1802.06953.
  12. Weiming Feng, Yuxin Sun, and Yitong Yin. What can be sampled locally? In Proceedings of the International Symposium on Principles of Distributed Computing (PODC), pages 121-130, 2017. URL: https://doi.org/10.1145/3087801.3087815.
  13. Weiming Feng and Yitong Yin. On local distributed sampling and counting. In Proceedings of the 37th ACM Symposium on Principles of Distributed Computing (PODC), pages 189-198, 2018. URL: https://doi.org/10.1145/3212734.3212757.
  14. Manuela Fischer and Mohsen Ghaffari. A simple parallel and distributed sampling technique: Local Glauber dynamics. In 32nd International Symposium on Distributed Computing (DISC), volume 121, pages 26:1-26:11, 2018. URL: https://doi.org/10.4230/LIPICS.DISC.2018.26.
  15. Xinyu Fu, Yitong Yin, and Chaodong Zheng. Locally-iterative (Δ+1)-coloring in sublinear (in Δ) rounds. arXiv preprint, 2023. URL: https://arxiv.org/abs/2207.14458.
  16. Marc Fuchs and Fabian Kuhn. Brief announcement: List defective colorings: Distributed algorithms and applications. In Proceedings of the 35th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA), 2023. URL: https://doi.org/10.1145/3558481.3591319.
  17. Joseph Gonzales, Yucheng Low, Arthur Gretton, and Carlos Guestrin. Parallel Gibbs sampling: From colored fields to thin junction trees. In Proceedings of the 14th International Conference on Artificial Intelligence and Statistics (AISTATS), volume 15, pages 324-332, 2011. URL: http://proceedings.mlr.press/v15/gonzalez11a/gonzalez11a.pdf.
  18. G.E. Hinton. Training products of experts by minimizing contrastive divergence. Neural computation, 14(8):1771-1800, 2002. URL: https://doi.org/10.1162/089976602760128018.
  19. G.E. Hinton, S. Osindero, and Y-W. Teh. A fast learning algorithm for deep belief nets. Neural computation, 18(7):1527-1554, 2006. URL: https://doi.org/10.1162/NECO.2006.18.7.1527.
  20. G.E. Hinton and R.R. Salakhutdinov. Replicated softmax: an undirected topic model. In Advances in Neural Information Processing Systems (NeurIPS), pages 1607-1614, 2009. URL: https://proceedings.neurips.cc/paper/2009/hash/31839b036f63806cba3f47b93af8ccb5-Abstract.html.
  21. Mark Jerrum. A very simple algorithm for estimating the number of k-colorings of a low-degree graph. Random Structures & Algorithms, 7(2):157-165, 1995. URL: https://doi.org/10.1002/RSA.3240070205.
  22. Michael I. Jordan, Jason D. Lee, and Yun Yang. Communication-efficient distributed statistical inference. Journal of the American Statistical Association, 2018. URL: https://doi.org/10.1080/01621459.2018.1429274.
  23. Christos Karras, Aristeidis Karras, Dimitrios Tsolis, Konstantinos C. Giotopoulos, and Spyros Sioutas. Distributed gibbs sampling and lda modelling for large scale big data management on pyspark. In 2022 7th South-East Europe Design Automation, Computer Engineering, Computer Networks and Social Media Conference (SEEDA-CECNSM), pages 1-8, 2022. URL: https://doi.org/10.1109/SEEDA-CECNSM57760.2022.9932990.
  24. Daphne Koller and Nir Friedman. Probabilistic Graphical Models: Principles and Techniques. MIT Press, 2009. URL: http://mitpress.mit.edu/catalog/item/default.asp?ttype=2&tid=11886.
  25. Fabian Kuhn. Weak graph colorings: Distributed algorithms and applications. In Proceedings of the 21st ACM Symposium on Parallelism in Algorithms and Architectures (SPAA), pages 138-144, 2009. URL: https://doi.org/10.1145/1583991.1584032.
  26. Nathan Linial. Locality in distributed graph algorithms. SIAM Journal on Computing, 21(1):193-201, 1992. URL: https://doi.org/10.1137/0221015.
  27. Hongyang Liu and Yitong Yin. Simple parallel algorithms for single-site dynamics. In 54th Annual ACM SIGACT Symposium on Theory of Computing (STOC), pages 1431-1444, 2022. URL: https://doi.org/10.1145/3519935.3519999.
  28. Kevin P. Murphy. Machine learning: a probabilistic perspective. MIT Press, 2012. Google Scholar
  29. Moni Naor and Larry Stockmeyer. What can be computed locally? In Proceedings of the 25th Annual ACM Symposium on Theory of Computing (STOC), pages 184-193, 1993. URL: https://doi.org/10.1145/167088.167149.
  30. S. Osindero and G.E. Hinton. Modeling image patches with a directed hierarchy of Markov random fields. In Advances in Neural Information Processing Systems (NeurIPS), pages 1121-1128, 2008. Google Scholar
  31. R. Salakhutdinov and G.E. Hinton. Deep Boltzmann machines. In Proceedings of the 12th International Conference on Artificial Intelligence and Statistics (AISTATS), pages 448-455, 2009. Google Scholar
  32. R. Salakhutdinov, A. Mnih, and G.E. Hinton. Restricted Boltzmann machines for collaborative filtering. In Proceedings of the 24th International Conference on Machine Learning (ICML), pages 791-798, 2007. Google Scholar
  33. Jesús Salas and Alan D. Sokal. Absence of phase transition for antiferromagnetic Potts models via the Dobrushin uniqueness theorem. Journal of Statistical Physics, 86(3-4):551-579, 1997. URL: https://doi.org/10.1007/BF02199113.
  34. Johannes Schneider and Roger Wattenhofer. A new technique for distributed symmetry breaking. In Proceedings of the 29th ACM SIGACT-SIGOPS Symposium on Principles of Distributed Computing (PODC), pages 257-266, 2010. URL: https://doi.org/10.1145/1835698.1835760.
  35. Alexander Smola and Shravan Narayanamurthy. An architecture for parallel topic models. In Proceedings of the VLDB Endowment (PVLDB), 2010. URL: https://doi.org/10.14778/1920841.1920931.
  36. Alexander Terenin, Daniel Simpson, and David Draper. Asynchronous Gibbs sampling. In Proceedings of the 23rd International Conference on Artificial Intelligence and Statistics (AISTATS), pages 144-154, 2020. URL: http://proceedings.mlr.press/v108/terenin20a.html.
  37. Eric Vigoda. Improved bounds for sampling colorings. Journal of Mathematical Physics, 41(3):1555-1569, 2000. URL: https://doi.org/10.1063/1.533196.
  38. Feng Yan, Ningyi Xu, and Yuan Qi. Parallel inference for latent dirichlet allocation on graphics processing units. In Advances in Neural Information Processing Systems (NeurIPS), volume 22, 2009. URL: https://proceedings.neurips.cc/paper/2009/hash/ed265bc903a5a097f61d3ec064d96d2e-Abstract.html.
  39. Yuan Yang, Jianfei Chen, and Jun Zhu. Distributing the stochastic gradient sampler for large-scale LDA. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD), pages 1975-1984, 2016. URL: https://doi.org/10.1145/2939672.2939821.
  40. Ce Zhang and Christopher Ré. Dimmwitted: A study of main-memory statistical analytics. In Proceedings of the VLDB Endowment (PVLDB), 2014. URL: https://doi.org/10.14778/2732977.2733001.
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail