Abstract
Determining node similarity is a cornerstone of network analysis, yet existing methods struggle to scale to modern graphs with billions of edges. We present Panther, a high-performance sampling algorithm that leverages random path co-occurrence to identify the "top-k" most similar nodes. By utilizing Vapnik-Chervonenkis (VC) dimension theory, Panther ensures that sample sizes remain independent of network scale. Our results demonstrate a 300x speedup over state-of-the-art methods like ReFeX, enabling efficient similarity search on networks with over a billion edges.
Introduction
In modern network science, similarity search is vital for applications ranging from friend recommendations to fraud detection. Researchers typically choose between fast local measures (e.g., Jaccard similarity), which lack structural depth, and comprehensive global measures (e.g., SimRank), which are computationally prohibitive for large-scale data. For instance, computing SimRank on a network with only 500,000 edges can exceed five days. Panther addresses this "Goldilocks" problem by providing a structurally aware method that scales linearly with network size.
Methodology
The Panther framework consists of two primary components: the core Panther algorithm and its extension, Panther++.
Panther: Random Path Sampling
The fundamental intuition behind Panther is that similar vertices are likely to appear on the same random paths. The algorithm generates $R$ random walks of length $T$ and calculates similarity based on the frequency of vertex co-occurrence within these paths.
A key theoretical contribution is the proof that the required number of samples $R$ is independent of the total number of vertices or edges in the network. Based on VC-dimension theory, the sample size depends only on the path length $T$ and the desired error tolerance, ensuring extreme scalability.
Panther++: Structural Fingerprinting
To identify similar nodes that may be disconnected in the graph, Panther++ maps nodes into a feature space. Each node is represented by a vector of its top-$D$ Panther similarity scores. These "structural fingerprints" are indexed using a kd-tree, allowing for efficient Euclidean distance calculations to find nodes with similar roles regardless of their proximity in the network.
Experimental Evaluation
We evaluated Panther on diverse datasets, including a Tencent Weibo social network with 1 billion edges, Twitter user data, and academic co-author networks (AMiner).
Efficiency and Scalability
Panther achieves remarkable performance gains. On a sub-network of 5 million edges, Panther++ outperformed ReFeX by approximately 300x. On the 1-billion-edge Tencent dataset, Panther processed top-k queries for every vertex in the network at an average rate of 0.0001 seconds per vertex.
Accuracy in Identity Resolution
In identity resolution tasks—matching authors across different conference datasets—Panther++ consistently outperformed baselines such as PageRank, Closeness Centrality, and SimRank. This indicates that Panther's efficiency does not compromise its ability to capture meaningful structural relationships.
Conclusion
Panther represents a significant leap in scalable network analysis. By grounding random path sampling in VC-dimension theory, it provides a robust and lightning-fast solution for similarity search in massive graphs. Future work will explore extensions to directed and dynamic networks, as well as automated parameter tuning for varying network topologies.
Summary updated