Distributed Butterfly Analysis using Mobile Agents

Prabhat Kumar Chand, Apurba Das, Anisur Rahaman Molla
6/21/2025
cs.DCcs.MA

No confident code implementation found for this paper.

Abstract

Butterflies, or 4-cycles in bipartite graphs, are crucial for identifying cohesive structures and dense subgraphs. While agent-based data mining is gaining prominence, its application to bipartite networks remains relatively unexplored. We propose distributed, agent-based algorithms for \emph{Butterfly Counting} in a bipartite graph $G((A,B),E)$. Agents first determine their respective partitions and collaboratively construct a spanning tree, electing a leader within $O(n \log λ)$ rounds using only $O(\log λ)$ bits per agent. A novel meeting mechanism between adjacent agents improves efficiency and eliminates the need for prior knowledge of the graph, requiring only the highest agent ID $λ$ among the $n$ agents. Notably, our techniques naturally extend to general graphs, where leader election and spanning tree construction maintain the same round and memory complexities. Building on these foundations, agents count butterflies per node in $O(Δ)$ rounds and compute the total butterfly count of $G$ in $O(Δ+\min\{|A|,|B|\})$ rounds.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chand2025distributed,
  title  = {Distributed Butterfly Analysis using Mobile Agents},
  author = {Prabhat Kumar Chand and Apurba Das and Anisur Rahaman Molla},
  year   = {2025},
  eprint = {2506.17721},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.17721v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.17721.svg)](https://codeofpaper.com/paper/2506.17721)

Discussion