Skip to main content
QUICK REVIEW

[Paper Review] Fast and Scalable Analysis of Massive Social Graphs

Xiaohan Zhao, Alessandra Sala|arXiv (Cornell University)|Jul 26, 2011
Complex Network Analysis TechniquesPhysics and Astronomy32 references12 citations
TL;DR

This paper proposes Rigel, a hyperbolic graph coordinate system that enables fast, scalable, and accurate approximation of node distances and shortest paths in massive social graphs. By embedding graphs into hyperbolic space and parallelizing the preprocessing phase, Rigel answers distance queries in tens of microseconds and computes exact shortest paths up to 18× faster than prior systems with comparable accuracy.

ABSTRACT

Graph analysis is a critical component of applications such as online social networks, protein interactions in biological networks, and Internet traffic analysis. The arrival of massive graphs with hundreds of millions of nodes, e.g. social graphs, presents a unique challenge to graph analysis applications. Most of these applications rely on computing distances between node pairs, which for large graphs can take minutes to compute using traditional algorithms such as breadth-first-search (BFS). In this paper, we study ways to enable scalable graph processing on today's massive graphs. We explore the design space of graph coordinate systems, a new approach that accurately approximates node distances in constant time by embedding graphs into coordinate spaces. We show that a hyperbolic embedding produces relatively low distortion error, and propose Rigel, a hyperbolic graph coordinate system that lends itself to efficient parallelization across a compute cluster. Rigel produces significantly more accurate results than prior systems, and is naturally parallelizable across compute clusters, allowing it to provide accurate results for graphs up to 43 million nodes. Finally, we show that Rigel's functionality can be easily extended to locate (near-) shortest paths between node pairs. After a one- time preprocessing cost, Rigel answers node-distance queries in 10's of microseconds, and also produces shortest path results up to 18 times faster than prior shortest-path systems with similar levels of accuracy.

Motivation & Objective

  • Address the scalability bottleneck of traditional graph algorithms like BFS and Dijkstra on massive graphs with up to 43 million nodes.
  • Improve the accuracy of graph coordinate systems beyond prior work (e.g., Orion), which suffered from 15–20% error rates.
  • Enable efficient, parallelizable preprocessing to support real-world deployment on commodity clusters.
  • Extend coordinate-based systems to support not only distance approximation but also exact shortest path recovery.
  • Achieve low-latency query performance (tens of microseconds) for both distance and path queries on large-scale graphs.

Proposed method

  • Embed large-scale social graphs into hyperbolic space to minimize distance distortion, leveraging the curvature of hyperbolic geometry for better approximation of graph distances.
  • Design a distributed, parallelizable graph embedding algorithm that scales across compute clusters, reducing preprocessing time for graphs with millions of nodes.
  • Use the resulting hyperbolic coordinates to approximate node-to-node distances in constant time, enabling sub-millisecond query resolution.
  • Develop Rigel Paths, a novel algorithm that leverages Rigel’s distance estimates to efficiently locate and reconstruct actual shortest paths between node pairs.
  • Integrate a hybrid query strategy: use Rigel’s distance estimates to guide path reconstruction, ensuring high accuracy while maintaining low latency.
  • Implement and evaluate the system on real-world social graphs (e.g., Facebook, Flickr, Renren) to validate performance and accuracy across diverse graph topologies.

Experimental results

Research questions

  • RQ1Can hyperbolic space provide lower distortion in graph distance approximation compared to Euclidean space for large social graphs?
  • RQ2How can the computationally expensive graph embedding process be effectively parallelized to scale to graphs with up to 43 million nodes?
  • RQ3To what extent can graph coordinates be used to recover exact shortest paths, and how does this compare to existing sketch-based or landmark-based path-finding methods?
  • RQ4What is the trade-off between preprocessing cost and query latency in a coordinate-based system, and can it achieve sub-millisecond query performance?
  • RQ5Can a coordinate system be both highly accurate and efficient enough for real-time graph analysis in production-scale social networks?

Key findings

  • Rigel achieves significantly lower distance distortion than prior systems like Orion, reducing error rates from 15–20% to much lower levels through hyperbolic embedding.
  • The system scales to graphs with up to 43 million nodes and over 1 billion edges, demonstrating practical feasibility on real-world social network datasets.
  • Rigel answers node distance queries in 10–100 microseconds, achieving sub-millisecond response times even on massive graphs.
  • Rigel Paths computes exact shortest paths for the majority of node pairs, with absolute errors below 0.3 hops, outperforming sketch-based methods in accuracy.
  • Rigel Paths resolves queries up to 18 times faster than state-of-the-art systems like TreeSketch and SketchCESC, while maintaining comparable or better accuracy.
  • The preprocessing phase of Rigel can be distributed across multiple machines with near-linear speedup, reducing total time to match or beat single-server sketch-based systems when parallelized.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.