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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Bläsius, Thomas, Fischbeck, Philipp
Format: Preprint
Published: 2022
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916117242445824
author Bläsius, Thomas
Fischbeck, Philipp
author_facet Bläsius, Thomas
Fischbeck, Philipp
contents 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. 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.
format Preprint
id arxiv_https___arxiv_org_abs_2205_15066
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle On the External Validity of Average-Case Analyses of Graph Algorithms
Bläsius, Thomas
Fischbeck, Philipp
Data Structures and Algorithms
Social and Information Networks
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. 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.
title On the External Validity of Average-Case Analyses of Graph Algorithms
topic Data Structures and Algorithms
Social and Information Networks
url https://arxiv.org/abs/2205.15066