MIS on the fly

Yehuda Afek, Noga Alon, Ziv Bar-JosepharXiv 2011

Abstract

This paper presents a robust, distributed algorithm for finding a Maximal Independent Set (MIS), inspired by the biological process of lateral inhibition in fruit fly sensory bristle development. Operating under extreme constraints—using only 1-bit "beeps" for communication and lacking knowledge of network topology—the proposed algorithms achieve near-optimal time complexity. We discuss the transition from biological observation to formal algorithmic models, including handling asynchronous wake-ups and the absence of collision detection.

Introduction

Nature often solves complex coordination problems with minimal resources. A prime example is the development of sensory organ precursors (SOPs) on the head of a fruit fly (Drosophila melanogaster). During development, certain cells must decide to become SOPs (which develop into bristles) while ensuring their immediate neighbors do not, a process known as lateral inhibition. This biological mechanism effectively solves a version of the Maximal Independent Set (MIS) problem in a distributed, decentralized manner.

Figure 1: The arrangement of sensory bristles on a fruit fly's head, which serves as the biological inspiration for the distributed MIS algorithm.

In this work, we translate these biological principles into a formal distributed algorithm capable of operating in highly constrained environments, such as low-power sensor networks.

The MIS Problem and Constraints

The Maximal Independent Set (MIS) problem is a fundamental challenge in distributed computing. The goal is to select a subset of nodes (leaders) such that no two leaders are adjacent, and every non-leader is adjacent to at least one leader. This is critical for tasks like backbone construction in wireless networks and resource allocation.

Most classical algorithms for MIS assume a "clean" environment: nodes know how many neighbors they have, they all wake up at the same time, and they can send complex messages with IDs and headers. In reality, especially in biological systems or cheap radio sensor networks, these assumptions fail. We address a model where:

  • Communication is via "beeps": Nodes only send 1-bit unary signals.
  • No topology knowledge: Nodes do not know the network size or their own degree.
  • Asynchronous wake-up: Nodes may start at different times, triggered by a "wake-up wave."

Methods: The Beeping Model and Probability Sweeping

The core of our approach is a randomized algorithm that mimics lateral inhibition. Key technical contributions include:

  • Probability Sweeping: Since nodes don't know their degree, the algorithm "sweeps" through a range of probabilities. It starts by assuming a very high degree (low probability of beeping) and gradually increases the probability in phases to handle lower-degree nodes.
  • Collision Detection Variants: We provide two versions of the algorithm. The first assumes nodes can distinguish between silence and a "collision" (multiple neighbors beeping). The second removes this requirement, using a randomized "listening" strategy to detect neighbors with high probability.

Key Results and Complexity Analysis

Our theoretical analysis demonstrates that biological efficiency translates well to computational bounds:

  • Algorithm 1 (with Collision Detection): Achieves MIS in $O(\log^2 n)$ rounds. This is shown to be essentially optimal, as we prove a lower bound of $\Omega(\log^2 n)$ for any algorithm where all nodes must broadcast with the same probability in a given round.
  • Algorithm 2 (without Collision Detection): Achieves MIS in $O(\log^3 n)$ rounds, making it one of the most communication-efficient models for highly constrained radio networks.
  • Robustness: The algorithm remains efficient even if the estimate of the network size ($N$) is exponentially larger than the actual size ($n$), maintaining a complexity of $O(\log n \log N)$.

Discussion and Future Work

The fruit fly's forehead serves as a living proof-of-concept for distributed symmetry breaking. By stripping away the luxuries of modern networking—IDs, headers, and synchronized clocks—we arrive at a minimalist protocol that is both energy-efficient and robust.

The authors suggest that this "fly-inspired" approach could be extended to other distributed challenges, such as resource allocation during cell division and fault-tolerant routing in biological regulatory networks. These insights could lead to a new generation of ultra-low-power protocols for the Internet of Things (IoT) devices that lack the processing power for traditional networking stacks.

Summary updated

BibTeX
@misc{afek2011mis,
  author = {Yehuda Afek and Noga Alon and Ziv Bar-Joseph},
  title = {{MIS on the fly}},
  year = {2011},
  eprint = {1106.2126},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1106.2126},
}
Figure