Abstract
This paper presents a large-scale structural analysis of the Facebook social graph as of May 2011, comprising 721 million active users and 68.7 billion friendship edges. By leveraging distributed computing and optimized graph algorithms, the study characterizes the network's macroscopic and microscopic properties. Key findings include a confirmation of the "six degrees of separation" phenomenon with an average path length of 4.7 hops, evidence of dense local neighborhood structures, and the observation that degree distributions deviate from strict power-laws. These results provide unprecedented insights into the structure of modern, near-global human social networks.
Introduction
Historically, sociological studies of human networks were constrained by small sample sizes. The advent of the internet enabled larger studies, but these often represented only specific sub-populations. This research aims to characterize the world's largest online social network at the time: Facebook. By analyzing a graph representing approximately 10% of the global population, the authors test whether standard network properties—such as the small-world effect, power-law degree distributions, and homophily—persist at a near-global scale. Understanding these properties is essential for both sociological theory and the engineering of large-scale graph algorithms.
Methodology
Processing a graph with nearly 70 billion edges required a 2,250-machine Hadoop/Hive cluster. The authors employed several optimized algorithms to handle the scale:
- Newman-Zipf (NZ) Algorithm: Used for computing connected components via edge streaming, allowing the process to run on a single 64GB RAM machine without holding the entire graph in memory.
- HyperANF Algorithm: Approximated the neighborhood function to calculate average path lengths across the entire graph on a 24-core machine.
- Reservoir Sampling: Selected a representative subset of 500,000 users to compute computationally intensive local metrics, such as clustering coefficients and neighborhood degeneracy.
Datasets
The study utilizes two primary datasets:
- Global Facebook Graph: An anonymized graph of 721 million active users (logged in within 28 days with at least one friend) and 68.7 billion reciprocal edges.
- U.S. Subgraph: A subset focusing on 149 million U.S. users and 15.9 billion edges.
Structural Insights
The Friendship Paradox
The data confirms the "Friendship Paradox": 83.6% of users have fewer friends than the median friend count of their own friends. This occurs because highly connected individuals appear in more friend lists, skewing the average upward.
Degree Distribution and Power-Laws
Contrary to common assumptions in network science, the degree distribution does not follow a strict power-law. As seen in the log-log plots of the probability density function and complementary cumulative distribution function, there is a noticeable curvature, suggesting that standard scale-free models are insufficient for describing human social networks at this scale.
Local Density and Homophily
While the global graph is sparse, local structures are remarkably dense. High degeneracy scores indicate that users often belong to tightly-knit cores; for example, a user with 500 friends typically has a core of at least 54 friends who are all interconnected. Furthermore, the network exhibits strong age homophily, though gender homophily is minimal.
Quantitative Results
Reachability and Connectedness
The Facebook graph is nearly fully connected, with 99.91% of active users belonging to a single giant component. The network also shows high modularity ($Q = 0.7486$), primarily driven by national borders; 84.2% of edges are within the same country.
Degrees of Separation
The study provides a modern empirical validation of the "small-world" theory. The average distance between any two users globally is 4.7 hops, and 4.3 hops within the U.S. Over 99% of all pairs are within six degrees of separation.
Discussion and Future Work
The findings highlight unique structural quirks, such as dense local clustering and positive degree correlation, which have significant implications for graph algorithm design. For instance, standard Breadth-First Search (BFS) strategies may face efficiency challenges due to the high number of redundant nodes encountered in local clusters. Future work should explore how these structural properties evolve as social platforms transition toward asymmetric "follower" models and as internet access expands globally.
Summary updated