Fine-Grained I/O Complexity via Reductions: New lower bounds, faster algorithms, and a time hierarchy

11/21/2017
by   Erik D. Demaine, et al.
0

This paper initiates the study of I/O algorithms (minimizing cache misses) from the perspective of fine-grained complexity (conditional polynomial lower bounds). Specifically, we aim to answer why sparse graph problems are so hard, and why the Longest Common Subsequence problem gets a savings of a factor of the size of cache times the length of a cache line, but no more. We take the reductions and techniques from complexity and fine-grained complexity and apply them to the I/O model to generate new (conditional) lower bounds as well as faster algorithms. We also prove the existence of a time hierarchy for the I/O model, which motivates the fine-grained reductions. Using fine-grained reductions, we give an algorithm for distinguishing 2 vs. 3 diameter and radius that runs in O(|E|^2/(MB)) cache misses, which for sparse graphs improves over the previous O(|V|^2/B) running time. We give new reductions from radius and diameter to Wiener index and median. We show meaningful reductions between problems that have linear-time solutions in the RAM model. The reductions use low I/O complexity (typically O(n/B)), and thus help to finely capture the relationship between "I/O linear time" Θ(n/B) and RAM linear time Θ(n). We generate new I/O assumptions based on the difficulty of improving sparse graph problem running times in the I/O model. We create conjectures that the current best known algorithms for Single Source Shortest Paths (SSSP), diameter, and radius are optimal. From these I/O-model assumptions, we show that many of the known reductions in the word-RAM model can naturally extend to hold in the I/O model as well (e.g., a lower bound on the I/O complexity of Longest Common Subsequence that matches the best known running time). Finally, we prove an analog of the Time Hierarchy Theorem in the I/O model.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/28/2023

Fine-grained reductions around CFL-reachability

In this paper we study the fine-grained complexity of the CFL reachabili...
research
04/06/2022

Approximation Algorithms and Hardness for n-Pairs Shortest Paths and All-Nodes Shortest Cycles

We study the approximability of two related problems: n-Pairs Shortest P...
research
03/02/2018

Multivariate Fine-Grained Complexity of Longest Common Subsequence

We revisit the classic combinatorial pattern matching problem of finding...
research
08/25/2019

Fine-Grained Complexity of k-OPT in Bounded-Degree Graphs for Solving TSP

Local search is a widely-employed strategy for finding good solutions to...
research
05/07/2018

Fine-grained Complexity Meets IP = PSPACE

In this paper we study the fine-grained complexity of finding exact and ...
research
01/02/2020

Coarse-Grained Complexity for Dynamic Algorithms

To date, the only way to argue polynomial lower bounds for dynamic algor...
research
02/14/2019

Parameterized Fine-Grained Reductions

During recent years the field of fine-grained complexity has bloomed to ...

Please sign up or login with your details

Forgot password? Click here to reset