Randomized consensus with attractive and repulsive links

Guodong Shi, Alexandre Proutière, Mikael Johansson, Karl Henrik Johansson

Abstract

Distributed consensus is a fundamental mechanism for achieving coordination in multi-agent systems, ranging from robotic swarms to social networks. While traditional models focus on cooperative (attractive) interactions, real-world networks often contain antagonistic (repulsive) links. This paper investigates the stability of randomized gossip algorithms in the presence of such repulsive links. We identify a critical phase-transition threshold for repulsive strength, beyond which even a single antagonistic interaction can cause global divergence. Our analysis spans complete, ring, and random graph topologies, characterizing convergence across three probabilistic modes: in expectation, in mean square, and almost surely.

Introduction

In distributed systems, consensus algorithms allow a group of agents to reach a common state through local interactions. Traditionally, these interactions are modeled as "attractive," where nodes move closer to their neighbors' values. However, this assumption fails to account for hostile social dynamics, communication faults, or malicious "man-in-the-middle" attacks that introduce "repulsive" updates—where nodes move away from a neighbor's state.

This research addresses the mathematical gap in understanding how these repulsive links disrupt global convergence. By employing a randomized gossip model, the authors demonstrate that the stability of a network is not merely a function of its connectivity, but is governed by a delicate balance between attractive and repulsive weights.

The Randomized Gossip Model

The study utilizes a discrete-time randomized gossip framework over a graph $G = (V, \mathcal{E})$, where the edge set is partitioned into attractive links ($\mathcal{E}_{att}$) and repulsive links ($\mathcal{E}_{rep}$).

  1. Interaction Selection: At each time step, a node is randomly selected to interact with one of its neighbors.
  2. Update Rules:
    • Attractive Link: The node performs a weighted average, moving toward the neighbor's state with a weight $\alpha$.
  3. Repulsive Link: The node performs a "repulsive weighted average," moving away from the neighbor's state with a weight $\beta$.

Using tools from matrix theory and stochastic processes, the authors analyze the spectral radius of the expected system matrix to determine the conditions under which the network remains stable or diverges.

Key Insights: The Phase Transition and "One Bad Apple"

The Critical Threshold

The most significant finding is the existence of a phase-transition threshold, $\beta_\star$. If the repulsive weight $\beta$ remains below this threshold, the network can tolerate the antagonism and still reach consensus. However, once $\beta$ exceeds $\beta_\star$, the system becomes unstable and the state values diverge toward infinity. This threshold is explicitly derived for various topologies; for instance, in a complete graph ($K_n$), the threshold is defined by the relationship between the number of nodes and the spectral properties of the repulsive Laplacian.

The "One Bad Apple" Effect

In sparse networks, the system's vulnerability is particularly acute. In a ring graph topology, the authors prove that a single repulsive link is sufficient to cause the entire network to diverge, provided its weight $\beta$ is greater than the attractive weight $\alpha$. This "one bad apple" effect highlights a critical security flaw in distributed consensus: a single compromised or antagonistic link can destroy the collective agreement of an otherwise cooperative network.

The No-Survivor Theorem

When divergence occurs, it is not localized. The authors establish a "No-Survivor Theorem," proving that if the system diverges almost surely, the distance between any two nodes in the network grows toward infinity. The instability introduced by a repulsive link propagates through the entire connected attractive graph, ensuring that no subset of the network can maintain a stable consensus.

Convergence Modes and Topology Results

The presence of repulsive links introduces unique behaviors in probabilistic convergence. Unlike standard consensus models, a system with repulsive links may converge "in expectation" while simultaneously diverging "almost surely."

Specific results for common topologies include:

  • Complete Graphs: The threshold $\beta_\star$ is sensitive to the total number of nodes $n$, allowing for higher repulsion tolerance as the network density increases.
  • Ring Graphs: These are highly vulnerable; divergence is guaranteed if $\beta > \alpha$.
  • Finite-Time Consensus: If the attractive graph contains a spanning tree and the attractive weight $\alpha = 1$, the network can reach consensus in finite time almost surely, provided the repulsive links do not exceed the stability threshold.

Conclusion and Future Directions

This work provides a rigorous mathematical foundation for understanding the limits of consensus in non-cooperative environments. By identifying the phase transition between agreement and divergence, it sets the stage for designing more robust distributed protocols.

However, several avenues for future research remain. The current model assumes asymmetric updates (one node at a time); symmetric updates, where both nodes in an interaction update simultaneously, may yield different stability properties. Additionally, the study focuses on static topologies. Exploring dynamic or switching links—where the sign of an interaction changes over time—could provide deeper insights into evolving social tensions or transient network faults. Finally, the development of "defensive" consensus protocols that can detect and mitigate the influence of repulsive links is a vital next step for securing distributed multi-agent systems.

Summary updated

BibTeX
@inproceedings{shi2013randomized,
  author = {Guodong Shi and Alexandre Proutière and Mikael Johansson and Karl Henrik Johansson},
  title = {{Randomized consensus with attractive and repulsive links}},
  booktitle = {CDC},
  year = {2013},
  url = {https://openreview.net/forum?id=7WhrqnZjIje},
}
Figure