Advertisement

The Match-Maker: Constant-Space Distributed Majority via Random Walks

  • Leszek Gąsieniec
  • David D. HamiltonEmail author
  • Russell Martin
  • Paul G. Spirakis
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 9212)

Abstract

We propose and analyze here a simple protocol for consensus on the majority color in networks whose nodes are initially one of two colors. Our protocol guarantees that, if a majority exists, then eventually each node learns of the majority color. Our protocol requires only 2 bits of memory per node and uses a simple token message, of also 2 bits size, that performs random walks. We show correctness of our protocol for any connected graph (even unknown to the nodes) and even for a natural class of dynamic graphs. We show upper and lower bounds on the convergence time of our protocol. We discuss termination and we also provide a variant of our protocol which the token uses a counter that can count only up to \(\sqrt{n}\log {}n\), where n is the number of network nodes. Our basic (memoryless) protocol takes only \(\mathcal {O}(n\log {}n)\) expected time on the clique which surprisingly does not deviate from the cover time of the random walk, and \(\mathcal {O}(n^2 m)\) time on any connected undirected network of m edges and this bound is met from below by an argument on the line. Finally, we also consider random walks that can count the difference of colors and we show upper bounds on the counter value by using coupling arguments.

Keywords

Random Walk Convergence Time Cover Time Simple Random Walk Basic Protocol 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Aleliunas, R., Karp, R.M., Lipton, R.J., Lovász, L., Rackoff, C.: Random walks, universal traversal sequences, and the complexity of maze problems. In: Proc. 20th Annual Symposium on Foundations of Computer Science, pp. 218–223 (1979)Google Scholar
  2. 2.
    Alon, N., Spencer, J.H., Erdös, P.: The Probabilistic Method. Wiley-Interscience Series in Discrete Mathematics and Optimization. Wiley (1992)Google Scholar
  3. 3.
    Angluin, D., Aspnes, J., Eisenstat, D.: A simple population protocol for fast robust approximate majority. Distributed Computing 21(2), 87–102 (2008)CrossRefzbMATHGoogle Scholar
  4. 4.
    Avin, C., Koucký, M., Lotker, Z.: How to explore a fast-changing world (cover time of a simple random walk on evolving graphs). In: Aceto, L., Damgård, I., Goldberg, L.A., Halldórsson, M.M., Ingólfsdóttir, A., Walukiewicz, I. (eds.) ICALP 2008, Part I. LNCS, vol. 5125, pp. 121–132. Springer, Heidelberg (2008) CrossRefGoogle Scholar
  5. 5.
    Birk, Y., Liss, L., Schuster, A., Wolff, R.: A local algorithm for ad hoc majority voting via charge fusion. In: Guerraoui, R. (ed.) DISC 2004. LNCS, vol. 3274, pp. 275–289. Springer, Heidelberg (2004) CrossRefGoogle Scholar
  6. 6.
    Ezhilchelvan, P., Mostefaoui, A., Raynal, M.: Randomized multivalued consensus. In: Proc. of Fourth IEEE International Symposium on Object-Oriented Real-Time Distributed Computing, ISORC - 2001, pp. 195–200 (2001)Google Scholar
  7. 7.
    Feige, U.: Collecting coupons on trees, and the analysis of random walks. Technical report CS93-20 of the Weizmann Institute (1993)Google Scholar
  8. 8.
    Feller, W.: An Introduction to Probability Theory and its Applications, vol. 1, 3rd edn. Wiley, New York (1968) zbMATHGoogle Scholar
  9. 9.
    Goemans, M.X.: Lecture notes on bipartite matchings (2009). http://www-math.mit.edu/~goemans/18433S09/matching-notes.pdf
  10. 10.
    Mertzios, G.B., Nikoletseas, S.E., Raptopoulos, C.L., Spirakis, P.G.: Determining majority in networks with local interactions and very small local memory. In: Esparza, J., Fraigniaud, P., Husfeldt, T., Koutsoupias, E. (eds.) ICALP 2014. LNCS, vol. 8572, pp. 871–882. Springer, Heidelberg (2014) Google Scholar
  11. 11.
    Mostefaoui, A., Raynal, M., Tronel, F.: From binary consensus to multivalued consensus in asynchronous message-passing systems. Information Processing Letters 73(5–6), 207–212 (2000)MathSciNetCrossRefGoogle Scholar
  12. 12.
    Motwani, R., Raghavan, P.: Randomized Algorithms. Cambridge University Press, New York (1995) CrossRefzbMATHGoogle Scholar
  13. 13.
    Papadimitriou, C.H., Steiglitz, K.: Combinatorial Optimization: Algorithms and Complexity. Ch 11, exercise 5(c). Prentice-Hall, Inc., NJ (1982)Google Scholar

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  • Leszek Gąsieniec
    • 1
  • David D. Hamilton
    • 1
    Email author
  • Russell Martin
    • 1
  • Paul G. Spirakis
    • 1
    • 2
  1. 1.Department of Computer ScienceUniversity of LiverpoolLiverpoolUK
  2. 2.Computer Technology Institute and Press “Diophantus”RionGreece

Personalised recommendations