Learning to Prune: Speeding up Repeated Computations

04/26/2019
by   Daniel Alabi, et al.
12

It is common to encounter situations where one must solve a sequence of similar computational problems. Running a standard algorithm with worst-case runtime guarantees on each instance will fail to take advantage of valuable structure shared across the problem instances. For example, when a commuter drives from work to home, there are typically only a handful of routes that will ever be the shortest path. A naive algorithm that does not exploit this common structure may spend most of its time checking roads that will never be in the shortest path. More generally, we can often ignore large swaths of the search space that will likely never contain an optimal solution. We present an algorithm that learns to maximally prune the search space on repeated computations, thereby reducing runtime while provably outputting the correct solution each period with high probability. Our algorithm employs a simple explore-exploit technique resembling those used in online algorithms, though our setting is quite different. We prove that, with respect to our model of pruning search spaces, our approach is optimal up to constant factors. Finally, we illustrate the applicability of our model and algorithm to three classic problems: shortest-path routing, string search, and linear programming. We present experiments confirming that our simple algorithm is effective at significantly reducing the runtime of solving repeated computations.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/01/2019

Bounded Dijkstra (BD): Search Space Reduction for Expediting Shortest Path Subroutines

The shortest path (SP) and shortest paths tree (SPT) problems arise both...
research
08/06/2018

Time-Dependent Shortest Path Queries Among Growing Discs

The determination of time-dependent collision-free shortest paths has re...
research
08/15/2023

Tightest Admissible Shortest Path

The shortest path problem in graphs is fundamental to AI. Nearly all var...
research
03/01/2023

A linear time algorithm for linearizing quadratic and higher-order shortest path problems

An instance of the NP-hard Quadratic Shortest Path Problem (QSPP) is cal...
research
04/02/2019

Incorrect implementations of the Floyd--Warshall algorithm give correct solutions after three repeats

The Floyd--Warshall algorithm is a well-known algorithm for the all-pair...
research
05/16/2018

Wireless coverage prediction via parametric shortest paths

When deciding where to place access points in a wireless network, it is ...
research
03/27/2013

The Optimality of Satisficing Solutions

This paper addresses a prevailing assumption in single-agent heuristic s...

Please sign up or login with your details

Forgot password? Click here to reset