A Multi-parameter Complexity Analysis of Cost-optimal and Net-benefit Planning

Similar documents
Principles of AI Planning. Principles of AI Planning. 7.1 How to obtain a heuristic. 7.2 Relaxed planning tasks. 7.1 How to obtain a heuristic

W[1]-hardness. Dániel Marx 1. Hungarian Academy of Sciences (MTA SZTAKI) Budapest, Hungary

NP-Hard (A) (B) (C) (D) 3 n 2 n TSP-Min any Instance V, E Question: Hamiltonian Cycle TSP V, n 22 n E u, v V H

W[1]-hardness. Dániel Marx. Recent Advances in Parameterized Complexity Tel Aviv, Israel, December 3, 2017

Introduction to Graph Theory

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

Parameterized Reductions

Parameterized Complexity - an Overview

Core Membership Computation for Succinct Representations of Coalitional Games

CSE 417 Branch & Bound (pt 4) Branch & Bound

Parameterized graph separation problems

Planning with Abstraction Hierarchies can be Exponentially Less Efficient*

Integer Programming Theory

Exact Algorithms Lecture 7: FPT Hardness and the ETH

CS364A: Algorithmic Game Theory Lecture #19: Pure Nash Equilibria and PLS-Completeness

Discrete Optimization. Lecture Notes 2

3 No-Wait Job Shops with Variable Processing Times

Introduction to Algorithms

Copyright 2000, Kevin Wayne 1

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/27/18

The complement of PATH is in NL

Vertex Cover Approximations

Traveling Salesman Problem (TSP) Input: undirected graph G=(V,E), c: E R + Goal: find a tour (Hamiltonian cycle) of minimum cost

Chapter 3. Set Theory. 3.1 What is a Set?

Algorithm must complete after a finite number of instructions have been executed. Each step must be clearly defined, having only one interpretation.

General properties of staircase and convex dual feasible functions

PART 1 GRAPHICAL STRUCTURE

Time Complexity of an Algorithm

Chapter S:V. V. Formal Properties of A*

Finding a -regular Supergraph of Minimum Order

6.006 Introduction to Algorithms. Lecture 25: Complexity Prof. Erik Demaine

Parameterized Complexity of Independence and Domination on Geometric Graphs

4 Integer Linear Programming (ILP)

Theorem 2.9: nearest addition algorithm

Single Source Shortest Path

Finding a winning strategy in variations of Kayles

P and NP (Millenium problem)

Domination Cover Pebbling: Structural Results

Retiming. Adapted from: Synthesis and Optimization of Digital Circuits, G. De Micheli Stanford. Outline. Structural optimization methods. Retiming.

COT 6936: Topics in Algorithms! Giri Narasimhan. ECS 254A / EC 2443; Phone: x3748

Module 6 NP-Complete Problems and Heuristics

Lecture 4: September 11, 2003

1. Lecture notes on bipartite matching February 4th,

A and Branch-and-Bound Search

Clustering. (Part 2)

The Cover Pebbling Number of Graphs

Implicit Abstraction Heuristics for Cost-Optimal Planning

Basic Combinatorics. Math 40210, Section 01 Fall Homework 4 Solutions

Fixed Parameter Algorithms

Domain-Dependent Heuristics and Tie-Breakers: Topics in Automated Planning

Throughput-Optimal Broadcast in Wireless Networks with Point-to-Multipoint Transmissions

6th Bay Area Mathematical Olympiad

The Complexity of Computing the Solution Obtained by a Specifi

Stanford University CS359G: Graph Partitioning and Expanders Handout 1 Luca Trevisan January 4, 2011

Parallel Auction Algorithm for Linear Assignment Problem

UNIT-II NUMBER THEORY

MAT 3271: Selected Solutions to the Assignment 6

CSE 417 Network Flows (pt 4) Min Cost Flows

Parameterized Computational Complexity of Dodgson and Young Elections

CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 14: Combinatorial Problems as Linear Programs I. Instructor: Shaddin Dughmi

NP-Completeness. Algorithms

CSE 215: Foundations of Computer Science Recitation Exercises Set #4 Stony Brook University. Name: ID#: Section #: Score: / 4

Greedy Approximations

Rational Numbers: Multiply and Divide

Hardness of Subgraph and Supergraph Problems in c-tournaments

Module 6 P, NP, NP-Complete Problems and Approximation Algorithms

36.1 Relaxed Planning Graphs

Minimizing Movement: Fixed-Parameter Tractability

Graphs and Network Flows IE411. Lecture 21. Dr. Ted Ralphs

COMP 355 Advanced Algorithms Approximation Algorithms: VC and TSP Chapter 11 (KT) Section (CLRS)

Algorithms for Integer Programming

Chapter 3 Complexity of Classical Planning

Models of distributed computing: port numbering and local algorithms

Important separators and parameterized algorithms

For Monday. Read chapter 18, sections Homework:

Parameterized Algorithm for Eternal Vertex Cover

Fall CS598CC: Approximation Algorithms. Chandra Chekuri

An Edge-Swap Heuristic for Finding Dense Spanning Trees

Solutions for the Exam 6 January 2014

COMPETENCY 1.0 UNDERSTAND THE STRUCTURE OF THE BASE TEN NUMERATION SYSTEM AND NUMBER THEORY

arxiv: v1 [cs.db] 23 May 2016

Directed Model Checking for PROMELA with Relaxation-Based Distance Functions

Improving network robustness

Bandwidth Approximation of Many-Caterpillars

Lagrange Multipliers and Problem Formulation

SECTION A (40 marks)

LP-Modelling. dr.ir. C.A.J. Hurkens Technische Universiteit Eindhoven. January 30, 2008

FINAL EXAM SOLUTIONS

Limitations of Algorithmic Solvability In this Chapter we investigate the power of algorithms to solve problems Some can be solved algorithmically and

T. Biedl and B. Genc. 1 Introduction

Heuristic Functions. Lecture Heuristic Search. Stefan Edelkamp

Combinatorial Optimization

Best known solution time is Ω(V!) Check every permutation of vertices to see if there is a graph edge between adjacent vertices

Graph Theory and Optimization Approximation Algorithms

The method of rationalizing

Objective. Vocabulary. 1.1: Sets of Numbers. 1-1 Sets of Numbers

Routing algorithms. Jan Lönnberg, 51101M. October 2, Based on G. Tel: Introduction to Distributed Algorithms, chapter 4.

EXERCISES SHORTEST PATHS: APPLICATIONS, OPTIMIZATION, VARIATIONS, AND SOLVING THE CONSTRAINED SHORTEST PATH PROBLEM. 1 Applications and Modelling

The method of rationalizing

Problem 1. Which of the following is true of functions =100 +log and = + log? Problem 2. Which of the following is true of functions = 2 and =3?

Transcription:

A Multi-parameter Analysis of and Linköping University {meysam.aghighi,christer.backstrom}@liu.se June 17, 2016 SAS+

Length Optimal Length Optimal (LOP): Asks for a plan of bounded length. SAS+

Length Optimal Length Optimal (LOP): Asks for a plan of bounded length. Standard complexity: PSPACE-complete (Bylander, AIJ-1994) SAS+

Length Optimal Length Optimal (LOP): Asks for a plan of bounded length. Standard complexity: PSPACE-complete (Bylander, AIJ-1994) complexity: W[2]-complete with plan length as parameter (, et. al., AAAI-2012 and JCSS-2015) SAS+

Cost Optimal Cost Optimal (COP): Asks for a plan of bounded cost. SAS+

Cost Optimal Cost Optimal (COP): Asks for a plan of bounded cost. Often more difficult than LOP in practice, at least when using zero-cost or rational-cost actions. SAS+

Cost Optimal Cost Optimal (COP): Asks for a plan of bounded cost. Often more difficult than LOP in practice, at least when using zero-cost or rational-cost actions. Standard complexity analysis cannot distinguish this: COP is PSPACE-complete for all types of costs. SAS+

Cost Optimal Cost Optimal (COP): Asks for a plan of bounded cost. Often more difficult than LOP in practice, at least when using zero-cost or rational-cost actions. Standard complexity analysis cannot distinguish this: COP is PSPACE-complete for all types of costs. analysis can be used instead. With plan cost as parameter, we have: COP is W[2]-complete for positive integer costs (i.e. the same complexity as LOP) COP is para-np-hard if the costs are non-negative integers or positive rationals (i.e. much harder than LOP). (Aghighi and, IJCAI-2015) SAS+

This Paper SAS+ In this paper, we refine our previous analysis by: Using many other parameters in combination with plan cost Analysing more cost domains

Theory Standard : Measures time complexity as a function t(n), where n is the input size The complexity depends only on the instance size. : Measures time complexity as a function t(n, k), where n is the input size and k is some parameter we can choose. SAS+ The complexity depends both on the instance size and the parameter. Different parameters can give different complexity!

Theory Standard tractability: Solvable in O(n c ) time for some constant c. Fixed-parameter tractability (fpt): solvable in O(f (k) n c ) time, where f is some computable function and c is some constant. SAS+ This allows exponentiality in the parameter, but not in the instance size. (More relaxed and realistic than standard tractability.)

Classes There is a hardness concept similar to NP-completeness but using different classes para-np W[P]. W[2] W[1] SAS+ FPT P

Several Parameters Analogous when using more than one parameter. For example, for two parameters k 1 and k 2 we define fpt as solvable in O(f (k 1, k 2 ).n c ) time. Straighforward for parameters of the instance. Some subtle issues if using more than one parameter of the solution, e.g. both plan cost and plan length. (See paper.) SAS+

SAS + SAS + planning framework and Nebel (1995) A SAS + planning instance: P = V, A, I, G V variables A actions I initial state G goal state Each variable v V has a finite domain D(v). SAS+ Each action a A, a : pre(a) eff(a)

Domains Z + = {1, 2, 3,...} Z 0 = {0, 1, 2, 3,...} Q + = {x Q x > 0} Q 0 = {x Q x 0} Q 1 = {x Q x 1} SAS+ Domain Q 1 is included to distinguish if hardness results for Q + are due to rational values or small values.

COP(D,π) Let D be a numeric domain and π a set of parameters. We define the following problem: COP(D,π): INSTANCE: A tuple P, c, k P = V, A, I, G is a SAS + planning instance c : A D is a cost function k D PARAMETERS: A set of parameters π. SAS+ QUESTION: Does P have a plan ω of cost c(ω) k?

The Parameters: We considered the following parameters: k Max. plan cost l Max. plan length z Max. number of zero-cost actions c min Min. positive action cost c max Max. action cost d Max. denominator of positive action costs #c Max. number of different action costs #d Max. number of different denominators SAS+ E.g. COP(Z 0, {k, l})

COP Major Results Z + para-np-hard - in W[P] - in W[2] k COP(Z + ) remains W[2]-complete for all parameter combinations that include k. That is, COP(Z + ) is no harder than LOP. SAS+

COP Major Results Z + Z 0 para-np-hard - k in W[P] - - in W[2] k kl, kz COP(Z 0 ) is in W[2] for the parameter combinations {k, l} and {k, z} but it is para-np-hard for {k}. That is, COP(Z 0 ) is very hard unless we somehow restrict the plan length. SAS+

COP Major Results Z + Z 0 Q 1 para-np-hard - k - in W[P] - - k in W[2] k kl, kz kd COP(Q 1 ) is in W[2] for {k, d} and in W[P] for {k}. That is, COP for rational costs may be harder than LOP unless we restrict the denominators of the costs, even if we have no costs smaller than one! (We say may be since we have not proven hardness for W[P], only membership.) SAS+

COP Major Results Z + Z 0 Q 1 Q + para-np-hard - k - k in W[P] - - k kl, k 1 c min in W[2] k kl, kz kd kd COP(Q + ) is in W[2] for {k, d}, in W[P] for {k, l} and {k, 1 c min }, but para-np-hard for {k}. That is, COP for arbitrary positive rational costs is very hard unless we restrict the plan length or the minimum action cost. If restricting the denominators, it is no harder than LOP. SAS+ Even without zero-cost actions, it matters if we allow costs smaller than one or not!

COP Major Results Z + Z 0 Q 1 Q + Q 0 para-np-hard - k - k k, kd 1 c min in W[P] - - k kl, k 1 c min kl in W[2] k kl, kz kd kd kld, kzd COP(Q 0 ) is in W[2] for {k, l, d} and {k, z, d}, in W[P] for {k, l}, but remains para-np-hard for {k, d, 1 c min }. If we allow also zero-cost actions, then it does not help to restrict the denominators or the minimum action cost, unless we also restrict the plan length. SAS+

COP Major Results Z + Z 0 Q 1 Q + Q 0 para-np-hard - k - k k, kd 1 c min in W[P] - - k kl, k 1 c min kl in W[2] k kl, kz kd kd kld, kzd An example of how to interpret the results: What does it mean that COP for positive rationals is easier if we also restrict the denominators? SAS+

Upper We can derive the following upper bounds: (n = P ) COP(Z +, {k}) can be solved in O(n k ) time COP(Q +, {k, d}) can be solved in O(n kd d ) time Obviously, the second result is not very useful unless we have a maximum value for d. Hence, the denominators matter! SAS+

A Separation The upper bounds are not sufficient to prove that the latter case is harder. We can also prove a lower-bound result for COP(Q +, {k}) to get a separation as follows: (n = P ) COP(Z +, {k}) can be solved in time O(n k ) COP(Q +, {k}) cannot be solved in time O(n ck ) for any c > 0, unless P = NP SAS+ That is, COP is strictly harder for positive rationals than for positive integers!

NBP(D,π) INSTANCE: A tuple P, c, u, b P = V, A, I, G is a SAS + planning instance c : A D is a cost function u : vars(g) D is a utility function b D is a benefit value PARAMETER: A set of parameters π. QUESTION: Is there a state s and a plan ω from I to s such that u(s) c(ω) b? SAS+

NBP(D,π) Previously known complexity results: NBP is PSPACE-complete for all cost-domains (van den Briel et. al., AAAI-2004) NBP is para-np-hard for all cost domains, using b as parameter (Aghighi and, IJCAI-2015) We have made a multi-parameter analysis also for NBP. SAS+

Additional Parameters In addition to the parameters for COP, we also use: b Min. net-benefit of plan u min Min. variable utility u max Max. variable utility #u Number of different utility values t Sum of all utilities, i.e. t = v vars(g) u(v) SAS+

NBP Summary of Results u min, u max and #u didn t have a great impact on the parameterised complexity of NBP SAS+

NBP Summary of Results u min, u max and #u didn t have a great impact on the parameterised complexity of NBP On the other hand, the sum of all utilities, t, had: NBP(D,{b, t}) fpt COP(D,{k}) SAS+

NBP Summary of Results u min, u max and #u didn t have a great impact on the parameterised complexity of NBP On the other hand, the sum of all utilities, t, had: NBP(D,{b, t}) fpt COP(D,{k}) Membership results for NBP follow from the above parameterised reduction. SAS+

Zero-cost actions Practical experience shows that zero-cost actions are difficult for COP, and that it helps to somehow take also plan length into account. Our results indicate that this is not caused by the actual algorithms used for planning, but is an inherent hardness in the problem. Restricting the plan length seems necessary to avoid the hardness. SAS+

Rational-cost actions It has been suggested in the literature that positive rational costs are difficult for heuristic search algorithms, and that a large span or ratio of costs is difficult. Our results show that also this hardness is inherent in the problem. However, neither the span nor the ratio seems important, but the minimum cost is (and the maximum denominator even more). SAS+

Thank you! SAS+