@inproceedings{1ad220303d64427ba1e1b281918b99a5,
title = "Beyond worst-case analysis for joins with Minesweeper",
abstract = "We describe a new algorithm, Minesweeper, that is able to satisfy stronger runtime guarantees than previous join algorithms (colloquially, 'beyond worst-case guarantees') for data in indexed search trees. Our first contribution is developing a framework to measure this stronger notion of complexity, which we call certificate complexity, that extends notions of Barbay et al. and Demaine et al.; a certificate is a set of propositional formulae that certifies that the output is correct. This notion captures a natural class of join algorithms. In addition, the certificate allows us to define a strictly stronger notion of runtime complexity than traditional worst-case guarantees. Our second contribution is to develop a dichotomy theorem for the certificate-based notion of complexity. Roughly, we show that Minesweeper evaluates β-acyclic queries in time linear in the certificate plus the output size, while for any β-cyclic query there is some instance that takes superlinear time in the certificate (and for which the output is no larger than the certificate size). We also extend our certificate-complexity analysis to queries with bounded treewidth and the triangle query. We present empirical results that certificates can be much smaller than the input size, which suggests that ideas in minesweeper might lead to faster algorithms in practice.",
keywords = "Adaptive algorithm, Beta-acyclic queries, Bounded treewidth, Certificate, Instance optimality, Join algorithms, Triangle query",
author = "Ngo, \{Hung Q.\} and Nguyen, \{Dung T.\} and Christopher R{\'e} and Atri Rudra",
year = "2014",
month = jun,
day = "18",
doi = "10.1145/2594538.2594547",
language = "English",
isbn = "9781450323758",
series = "Proceedings of the ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems",
publisher = "Association for Computing Machinery ",
pages = "234--245",
booktitle = "PODS 2014 - Proceedings of the 33rd ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems",
address = "United States",
note = "33rd ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems, PODS 2014 ; Conference date: 22-06-2014 Through 27-06-2014",
}