20
Formal Complexity Analysis of Formal Complexity Analysis of RoboFlag Drill RoboFlag Drill & & Communication and Computation Communication and Computation in Distributed Negotiation in Distributed Negotiation Algorithms Algorithms Carla P. Gomes Carla P. Gomes Cornell University Cornell University

Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

  • Upload
    raisie

  • View
    22

  • Download
    4

Embed Size (px)

DESCRIPTION

Formal Complexity Analysis of RoboFlag Drill & Communication and Computation in Distributed Negotiation Algorithms Carla P. Gomes Cornell University. Formal Complexity Analysis of RoboFlag Drill. (joint work with Matt Earl and Raff D’Andrea). Question: - PowerPoint PPT Presentation

Citation preview

Page 1: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

Formal Complexity Analysis of RoboFlag Formal Complexity Analysis of RoboFlag DrillDrill

&&

Communication and ComputationCommunication and Computation

in Distributed Negotiation Algorithmsin Distributed Negotiation Algorithms

Carla P. GomesCarla P. Gomes

Cornell UniversityCornell University

Page 2: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

Formal Complexity Analysis of RoboFlag Formal Complexity Analysis of RoboFlag DrillDrill

(joint work with Matt Earl and Raff D’Andrea)

Page 3: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

Formal Complexity Analysis of Roboflag DrillFormal Complexity Analysis of Roboflag Drill

Question:

What is the computational complexity

of Roboflag Drill?

Page 4: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

Find the simplest particular case of Roboflag Drill for which we can formally prove that the task is NP-complete – Roboflag Drill Base

– Find a known NP-complete problem, Q

– Reduce Q to Roboflag Drill Base,

using a polynomial time reduction

Formal Complexity Analysis of Roboflag DrillFormal Complexity Analysis of Roboflag Drill

Page 5: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

Input: Set of attackers initial location

velocity (constant)direction (constant)

One defenderinitial locationvelocity (constant)direction – piecewise linear

Goal areaQuestion: Can the defender intersect all the attackers

before they reach the goal area?

RoboFlag Drill BaseRoboFlag Drill Base

Page 6: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

NP-Complete Problem Q:TDET - Scheduling tasks with time depend execution times

Input:Set of tasks

release timedeadlineprocessing time – dependent on start time;

One processorQuestion: Can we schedule all the task on the single processor, so

that they are all processed before the deadlines?

NP-complete problem, Q, to be reduced to NP-complete problem, Q, to be reduced to RoboFlag Drill BaseRoboFlag Drill Base

Page 7: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

NP-complete in the strong sense

Attackers all equidistant from the goal area:Polynomial(becomes NP-Complete with only two different distances)

Fixed number of attackers:

Fixed Parameter Complexity Class

RoboFlag Drill BaseRoboFlag Drill Base(conjectures)(conjectures)

Page 8: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

Communication and ComputationCommunication and Computation

in Distributed Negotiation Algorithmsin Distributed Negotiation Algorithms

(joint work with Cesar Fernandez, Bhaskar Krishnamachari, and Bart Selman)

Page 9: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

The behavThe behaviiour of Distributed Negotiation algorithmsour of Distributed Negotiation algorithms

DN algorithms solve a problem through a distributed computational search process

Agents exchange messages for reaching a global solution

A4

A1 A2 A3

m1 m2 m3

Alteration of the arrival order of messages by:

Active introduction of random delays by the agents Introduction of random delays because of the network traffic

The arrival order of the messages determines the decisions of A4

Page 10: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

Distributed Negotiation Problems (DNP)Distributed Negotiation Problems (DNP)

DNP:

Set of agents: A1, A2, ..., An

Set of local problems: P1, P2, ..., Pn

Pi belongs to Ai: only Ai can modify the variables of Pi

Global Problem among variables of different Pi

´sGoal:

Solve the local and global problems simultaniously

Simplest model:

One variable per agent and no local problems

Page 11: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

SensorDNP - a benchmark problemSensorDNP - a benchmark problem

Constraints:

Sensors: can track at most one target. Not all the sensors are compatible between them

Targets: need three compatible sensors

GoalGoal: track every target with three compatible

sensors

Page 12: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

DNP algorithmsDNP algorithms

ABTABT: Static priority order.

AWCAWC: Dynamic priority order and min-conflict heuristic.

Two types of messages sent by an agent:

ok?: inform neighbors about its own assignment

nogood: ask a higher priority agent to backtrack

Solution found: no agent changes its assignment or asks another agent to backtrack

Solution not found: top-priority agent asked to backtrack

We consider only complete algorithms: they always find a solution if there exists one

Page 13: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

DNP algorithms - randomization and restartingDNP algorithms - randomization and restarting

Modifications to the DNP algorithms:Active Randomization

For every agent:

with probability p deliver the next message with increased delay r

Restarting:

For the top-priority agent:

If timeout then1. Change at random its assignment2. Inform neighbors about change

Page 14: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

Network traffic models and delay distributionsNetwork traffic models and delay distributions

Low data load: fixed (deterministic) delays

Heavy data load and:

Traditional single user session sources:

Exponential delay distributions

Aggregate data sources:

Log-normal and Fractional Gaussian Noise

delay distributions

Our results: delays introduced by the network can Our results: delays introduced by the network can improve the performance of DNP algorithmsimprove the performance of DNP algorithms

Page 15: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

Exponential delay links: resultsExponential delay links: results

Instances tested:

3 mobiles and 15 sensors

Inter-agent communication links: exponentially distributed delays

15 instances for each value of Pc : Compatibility level between sensors (0 to 1)

Pv : Visibility level of sensors (0 to 1)

PC and PV model the level of resources available

Page 16: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

Phase Transition in SensorDNPPhase Transition in SensorDNP

Sharp transition to solvable instances at critical level of resources

Page 17: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

Mean complexityMean complexity

Peak in complexity around phase transition region

Worse for low level of compatibility (Pc)

Psat

= 0.2

Psat

= 0.8

Page 18: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

Active delaying of messagesActive delaying of messages

Inter-agent communication links with fixed delay

• Reduction on number of messages in almost all cases• Reduction on solution time for low values of r

Results on a hard soluble instance

Page 19: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

Comparing different delay distributionsComparing different delay distributions

Performance is improved when using restarting

using restarting

Cost distributions when solving a hard soluble instance

Page 20: Formal Complexity Analysis of RoboFlag Drill & Communication and Computation

SummarySummary

Formal Complexity Analysis of RoboFlag Drill –

Studying reduction from TDET

(Tasks with Time Dependent Execution Times)

Distributed Negotiation Algorithms

Phase transition phenomena with corresponding peak in complexity for distributed negotiation protocols;

Controlled randomization can increase performance of negotiation protocols dramatically.