Exploring Hierarchies in Online Social Networks

Can Lu, Jeffrey Xu Yu, Rong-Hua Li, Hao Wei

Abstract

Social hierarchies are fundamental to directed networks, yet extracting them from massive, noisy graphs is computationally difficult. This paper proposes a framework that decomposes a directed graph into a maximum Eulerian subgraph (representing reciprocity) and a Directed Acyclic Graph (DAG) representing the true hierarchy. The authors introduce the "Greedy-&-Refine" (GR-U) algorithm, which is two orders of magnitude faster than previous state-of-the-art methods. Evaluation on 14 real-world datasets reveals a consistent "pyramid" structure in social hierarchies and demonstrates the utility of this decomposition for tasks like link direction prediction and social mobility analysis.

Introduction

While social hierarchies—the distinction between high-status "celebrities" and low-status "fans"—are intuitive, formally defining and computing them in massive digital networks is a significant challenge. Real-world social graphs are often "messy," containing numerous cycles (e.g., A follows B, B follows C, and C follows A) that obscure the underlying hierarchical flow.

Defining Hierarchy through Graph Decomposition

The authors argue that a true hierarchy is best represented by a Directed Acyclic Graph (DAG). To extract this DAG from a standard directed graph, they propose identifying and removing the maximum Eulerian subgraph. An Eulerian subgraph is one where every node has an equal in-degree and out-degree, representing purely reciprocal or cyclic relationships. By removing the largest possible such subgraph, the remaining edges form a DAG that represents the "pure" hierarchical structure of the network.

Figure 1: A directed graph illustrating the mixture of hierarchical flows and cyclic structures.

The Greedy-&-Refine Algorithm

The primary technical contribution is the Greedy-&-Refine (GR-U) algorithm, designed to handle massive datasets where previous $O(nm^2)$ approaches failed.

  1. Greedy Phase: This phase quickly identifies "pn-paths" (paths from nodes with excess out-degree to those with excess in-degree). By reversing or deleting these paths, the algorithm balances the graph to find a near-maximum Eulerian subgraph in linear time, $O(n + m)$.
  2. Refine Phase: Starting from the greedy solution, this phase employs an optimized cycle-detection approach (based on Bellman-Ford but using a queue-based DFS) to reach the absolute maximum Eulerian subgraph.

This two-stage process reduces complexity to $O(cm^2)$, where $c$ is a small constant, resulting in a 100x speedup over previous baselines.

Experimental Results and Insights

The authors evaluated GR-U on 14 datasets, including Google+, Sina Weibo, and Twitter, with sizes up to 1.6 million nodes.

The Social Pyramid

By analyzing the rank distribution of the extracted hierarchies, the study confirmed the existence of a "social pyramid": a small elite at the top and a vast majority at the bottom. As shown in Figure 3, this specific distribution is a unique property of real-world social hierarchies and is not found in randomly generated DAGs or simple Strongly Connected Components (SCCs).

Figure 3: Rank distribution comparison between the extracted hierarchy (a), random DAGs (b), and SCCs (c).

Applications: Mobility and Prediction

  • Social Mobility: By comparing snapshots of networks over time, the authors found that Google+ exhibited higher status volatility compared to the more established Sina Weibo.
  • Link Direction Prediction: The extracted hierarchy is so robust that it can predict the direction of a link between two users with over 80% accuracy, simply by looking at their relative ranks.

Conclusion

The GR-U algorithm makes the formal study of social hierarchies feasible at the scale of modern social media. By mathematically separating cyclic reciprocity from hierarchical flow, researchers can better understand the structural dynamics of online influence and social mobility. Future work may extend this model to weighted graphs to account for varying strengths of social ties.

Summary updated

BibTeX
@article{lu2016exploring,
  author = {Can Lu and Jeffrey Xu Yu and Rong-Hua Li and Hao Wei},
  title = {{Exploring Hierarchies in Online Social Networks}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2016},
  url = {https://openreview.net/forum?id=9SNwo212t0},
}
Figure