A Sublinear Algorithm for Approximate Shortest Paths in Large Networks
Author(s)
Basu, Sabyasachi; Eden, Talya; Ben-Eliezer, Omri; Seshadhri, C.; Koshima, Nadia
Download3701551.3703512.pdf (1.421Mb)
Publisher with Creative Commons License
Publisher with Creative Commons License
Creative Commons Attribution
Terms of use
Metadata
Show full item recordAbstract
Computing distances and finding shortest paths in massive real-world networks is a fundamental algorithmic task in network analysis. There are two main approaches to solving this task. On one end are traversal-based algorithms like bidirectional breadth-first search (BiBFS), which have no preprocessing step but are slow on individual distance inquiries. On the other end are indexing-based approaches, which create and maintain a large index. This allows for answering individual inquiries very fast; however, index creation is prohibitively expensive. We seek to bridge these two extremes: quickly answer distance inquiries without the need for costly preprocessing.
We propose a new algorithm and data structure, WormHole, for approximate shortest path computations. WormHole leverages structural properties of social networks to build a sublinearly sized index, drawing upon the core-periphery decomposition of Ben-Eliezer et al. [10]. Empirically, WormHole's preprocessing time improves upon index-based solutions by orders of magnitude: indexing billion edges graphs takes only a few minutes. Real time performance is consistently much faster than in BiBFS. The acceleration comes at the cost of a minor accuracy trade-off. We complement these empirical results with provable theoretical guarantees.
Description
WSDM ’25, March 10–14, 2025, Hannover, Germany
Date issued
2025-03-10Department
Massachusetts Institute of Technology. Department of Mechanical EngineeringPublisher
ACM|Proceedings of the Eighteenth ACM International Conference on Web Search and Data Mining
Citation
Sabyasachi Basu, Nadia Kōshima, Talya Eden, Omri Ben-Eliezer, and C. Seshadhri. 2025. A Sublinear Algorithm for Approximate Shortest Paths in Large Networks. In Proceedings of the Eighteenth ACM International Conference on Web Search and Data Mining (WSDM '25). Association for Computing Machinery, New York, NY, USA, 20–29.
Version: Final published version
ISBN
979-8-4007-1329-3
Collections
The following license files are associated with this item: