On the External Validity of Average-Case Analyses of Graph Algorithms

Thomas Bläsius, Philipp Fischbeck
5/30/2022
cs.DScs.SI

Official code: thobl/external-validity (2 stars, C++, last commit 2023-11-20).

Abstract

The number one criticism of average-case analysis is that we do not actually know the probability distribution of real-world inputs. Thus, analyzing an algorithm on some random model has no implications for practical performance.

Show full abstract

At its core, this criticism doubts the existence of external validity, i.e., it assumes that algorithmic behavior on the somewhat simple and clean models does not translate beyond the models to practical performance real-world input. With this paper, we provide a first step towards studying the question of external validity systematically. To this end, we evaluate the performance of six graph algorithms on a collection of 2740 sparse real-world networks depending on two properties; the heterogeneity (variance in the degree distribution) and locality (tendency of edges to connect vertices that are already close). We compare this with the performance on generated networks with varying locality and heterogeneity. We find that the performance in the idealized setting of network models translates surprisingly well to real-world networks. Moreover, heterogeneity and locality appear to be the core properties impacting the performance of many graph algorithms.

View on arXivView PDF

Code Implementations(1)

21C++, RMay 27, 20223 years agoNOASSERTION

Similar Papers

Cite this paper

@article{blsius2022external,
  title  = {On the External Validity of Average-Case Analyses of Graph Algorithms},
  author = {Thomas Bläsius and Philipp Fischbeck},
  year   = {2022},
  eprint = {2205.15066},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.15066}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.15066.svg)](https://codeofpaper.com/paper/2205.15066)

Discussion