A Sublinear Algorithm for Approximate Shortest Paths in Large Networks

Sabyasachi Basu, Nadia Kōshima, Talya Eden, Omri Ben-Eliezer, C. Seshadhri

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

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.

Original languageEnglish
Title of host publicationWSDM 2025 - Proceedings of the 18th ACM International Conference on Web Search and Data Mining
Pages20-29
Number of pages10
ISBN (Electronic)9798400713293
DOIs
StatePublished - 10 Mar 2025
Event18th ACM International Conference on Web Search and Data Mining, WSDM 2025 - Hannover, Germany
Duration: 10 Mar 202514 Mar 2025

Publication series

NameWSDM 2025 - Proceedings of the 18th ACM International Conference on Web Search and Data Mining

Conference

Conference18th ACM International Conference on Web Search and Data Mining, WSDM 2025
Country/TerritoryGermany
CityHannover
Period10/03/2514/03/25

Keywords

  • Data mining
  • Graph algorithms
  • Social networks

All Science Journal Classification (ASJC) codes

  • Computer Networks and Communications
  • Computer Science Applications
  • Software

Fingerprint

Dive into the research topics of 'A Sublinear Algorithm for Approximate Shortest Paths in Large Networks'. Together they form a unique fingerprint.

Cite this