Learning the Exact Topology of Undirected Consensus Networks

Saurav Talukdar, Deepjyoti Deka, Sandeep Attree, Donatello Materassi, Murti V. Salapaka · DOI

Abstract

Inferring the internal structure of distributed systems from observational data is a critical challenge for security, fault diagnosis, and performance optimization. While Wiener filtering is a widely used tool for topology identification, it is prone to identifying spurious "two-hop" connections, making it difficult to distinguish between direct physical interactions and indirect influences. This paper presents a novel two-stage algorithm that leverages a unique phase-response signature to prune these spurious links. By combining multivariate Wiener filtering with frequency-domain analysis, the method enables the exact recovery of undirected consensus network topologies without requiring prior knowledge of system parameters or link weights.

Introduction

In modern engineering, distributed systems such as autonomous drone swarms, smart power grids, and decentralized sensor networks rely on local interactions between agents to achieve global objectives. A common framework for these interactions is the consensus protocol, where agents update their states based on the states of their neighbors to reach a common value. For system administrators and researchers, knowing the exact "who-talks-to-whom" structure—the network topology—is vital for ensuring security, detecting malicious actors, and optimizing communication efficiency.

However, obtaining this topology is often difficult. "Active learning" techniques, which involve "poking" the system with known inputs and observing the response, are frequently impractical or prohibited due to safety and operational constraints. Passive learning, which infers structure solely from observed time-series data of agent states, is a more desirable but significantly harder alternative.

The standard mathematical tool for passive topology learning is multivariate non-causal Wiener filtering. This method attempts to predict an agent's current state using the past, present, and future states of all other agents in the network. While effective at identifying potential connections, Wiener filtering is inherently over-sensitive. It identifies not only direct physical neighbors but also "kin" nodes—those that share a common neighbor but are not directly connected themselves.

This limitation results in the reconstruction of a "kin-graph" that contains numerous spurious links. As shown in the figure below, different underlying physical topologies (Network A and Network B) can produce identical Wiener filter results, making it impossible to determine the true network structure using standard filtering alone.

Ambiguity in standard Wiener filter reconstruction: different physical networks (A and B) can yield the same reconstructed graph containing spurious links.

Methodology: Phase-Response Pruning

To overcome the ambiguity of the kin-graph, the authors propose a two-stage identification algorithm that requires no prior knowledge of the system's internal parameters or noise statistics.

Stage 1: Kin-Graph Construction

The algorithm begins by taking time-series measurements of the agents' states. It applies multivariate Wiener filtering to identify all potential edges. This stage produces a graph that includes every true physical edge plus spurious edges between nodes that are two hops away from each other.

Stage 2: Exact Topology Recovery

The core innovation of this research is the discovery of a mathematical "smoking gun" for spurious links. The researchers proved that the Wiener filters associated with two-hop (spurious) links have a unique signature: a flat phase angle of exactly $\pi$ (or $-\pi$) across all frequencies.

By evaluating the frequency response of the filters, the algorithm identifies any link with a phase near $\pi$ as spurious and prunes it from the graph. This leaves behind the exact physical interaction topology. This pruning step is robust because it relies on the fundamental physics of consensus dynamics rather than specific parameter values.

The 'kin-graph' (b) identifies both true physical edges (solid) and spurious two-hop links (dashed) that must be pruned to recover the exact topology (a).

Experimental Validation

The proposed method was rigorously tested using both high-fidelity numerical simulations and a real-world hardware testbed.

Numerical Simulations

Conducted in MATLAB, the simulations tested the algorithm on a 5-node network featuring various loop structures and additive white Gaussian noise. The results showed that as the number of data samples increased, the error rate for both false positives and false negatives dropped toward zero. With a sufficiently large dataset ($10^7$ samples), the reconstruction of the network was perfect, regardless of the presence of cycles or loops.

Hardware Testbed

To prove the algorithm's utility in real-world environments, the researchers deployed a network of five Raspberry Pi units communicating over Wi-Fi. This setup introduced complexities such as packet drops, non-ideal communication channels, and correlated noise. Despite these "messy" real-world conditions, the algorithm successfully reconstructed the 5-node topology. The error rate decreased consistently as more time-series data was collected, confirming that the theoretical phase signature holds true in practice.

Conclusion

This research provides a powerful, non-invasive framework for mapping the exact topology of undirected consensus networks. By identifying the unique phase-response signature of spurious links, the proposed algorithm solves a long-standing problem in passive network learning. The method is robust to loops, requires no prior knowledge of link weights, and has been proven effective in both theory and practice. Future research will explore extending this phase-based pruning technique to non-linear interaction models and developing real-time monitoring tools for detecting link failures as they occur.

Summary updated

BibTeX
@inproceedings{talukdar2017learning,
  author = {Saurav Talukdar and Deepjyoti Deka and Sandeep Attree and Donatello Materassi and Murti V. Salapaka},
  title = {{Learning the Exact Topology of Undirected Consensus Networks}},
  booktitle = {CDC},
  year = {2017},
  doi = {10.1109/cdc.2017.8264533},
}
Figure