• Non ci sono risultati.

Sistemi per il Governo dei Robot

N/A
N/A
Protected

Academic year: 2021

Condividi "Sistemi per il Governo dei Robot"

Copied!
78
0
0

Testo completo

(1)

Sistemi per il Governo dei Robot

Silvia Rossi - Lezione 22

(2)
(3)

Objectives

List and describe the dimensions of a multi-agent system:

heterogeneity, control regime, cooperation, and goals

List and describe the axes for describing a MAS task (time, subject of action, movement, dependency)

List and describe the axes for describing a MAS collective (composition, size, communications, reconfigurability)

Given a description of an intended task, a collection of robots, and the permitted interactions between robots, design a multi-

agent system and describe the system in terms of heterogeneity, control, cooperation, and goals.

(4)

Objectives (cont.)

Compute the social entropy of a team.

Be able to program a set of homogeneous reactive robots to accomplish a foraging task.

Describe the use of social rules and internal motivation for emergent social behavior.

Be able to diagram the steps of robots in a team using Mataric’s social rules

(5)

Objectives (cont.)

Given a layout of robots and tasks and a table such as Fig. 8.6 partially filled in, be able

Fill in the change in impatience and acquiescence

Given a layout of robots and tasks and a table such as Fig. 8.6 with t0 through tn:

show the next two moves and corresponding changes to the level of

impatience and acquiescence of each task and the task list for robots in a team using ALLIANCE

(6)

What we (should) got so far…

Robot:

In a real environemt

Able to perceive and act Able to think

ENVIRONMENT

(7)

Why Multi-robot?

(8)

Why Multi-robot?

Some tasks require a team

(9)

Why Multi - robot?

Some tasks require a team [video]

(10)

Why Multi-robot?

Faster execution

Some tasks may be decomposed ad divided in order to be executed more efficiently

Mapping of a big area

(11)

Why Multi-robot?

Faster execution

Some tasks may be decomposed ad divided in order to be executed more efficiently

Mapping of a big area

(12)

Why Multi-robot?

Costs

More specialist robots are preferred to a single generalist one

Simpler design

(13)

Why Multi-robot?

Failure robustness is increased by the number of robots and the replication [video]

(14)

Why Not Multi-robot?

Coordination

Communication Test difficulties N x Problem

(15)

The Study of Multiple Robots

DISTRIBUTED ARTIFICIAL INTELLIGENCE

DISTRIBUTED PROBLEM

SOLVING

MULTI- AGENT SYSTEMS

(16)

The Study of Agency

(after Stone and Veloso 2002)

DISTRIBUTED ARTIFICIAL INTELLIGENCE

DISTRIBUTED PROBLEM

SOLVING

MULTI- AGENT SYSTEMS

HOW TO SOLVE PROBLEMS

OR MEET GOALS BY

“DIVIDE AND CONQUER”

SINGLE COMPUTER:

HOW TO DECOMPOSE TASK?

DIVIDE AMONG AGENTS:

WHO TO SUBCONTRACT TO?

(17)

4 Dimensions of a Multi-agent System

Heterogeneity

Same (homogeneous) vs. different (heterogeneous) Can be different on either software or hardware

Control Regime

Centralized (Phantom Menance) vs. Distributed

Cooperation

Active (acknowledge each other) vs. Non-active (cooperation emerges, not explicit)

Communicating or non-communicating

Goals

(18)

The Ecological Niche of a Multi-Agent System

Remember….

Single Robot

Task

Environment Agent

(19)

The Ecological Niche of a Multi-Agent System

Multi-agent system

Task

Environment

Individual Agent Collective

EMPHASIS

(20)

MAS Ecological Niche: Task

(after Balch 02)

There are 4 axes of a MAS Task

Time

Subject of Action Movement

Dependency

(21)

4 Categories of Time

1. Fixed time

ex. Collect as many cans in 10 minutes

2. Minimum time

ex. Visit all rooms as fast as possible (minimize the time)

3. Unlimited time

ex. Patrol the building

4. Synchronization required

ex. Push two buttons at same time

(22)

Class Question

Consider the task of humanitarian demining–

clearing a complex terrain of land mines- with robots.

This task falls into what category of time?

Fixed

Minimum Unlimited

Synchronized

(23)

2 Categories of Subject of Action

Subject of Action:

Object-based

robots place a single object- ex. soccer

Robot-based

robots place themselves- ex. mapping

(24)

Class Question

Consider the task of humanitarian demining–

clearing a complex terrain of land mines- with robots.

This task falls into what category of time?

Object-based Robot-based

(25)

4 Categories of Movement

1. Coverage

Spread out to cover as much as possible

2. Convergence

Robots meet from different start positions

3. Movement-to

Going to a single location

4. Movement-while

(26)

Class Question

Consider the task of humanitarian demining–

clearing a complex terrain of land mines- with robots.

This task falls into what category of time?

Coverage

Convergence Movement-to

(27)

3 Categories of Dependency

1. Independent

Robots don’t have to work directly or be aware of others

2. Dependent

Must work together for efficiency ex. Box pushing

3. Interdependent

Cyclic dependency ex. resupply

(28)

Box-Pushing

(29)

MAS Task Summary

Time

Fixed time task (ex. Collect as many cans in 10 minutes) Minimum time (ex. Visit all rooms as fast as possible) Unlimited time (ex. Patrol the building)

Synchronization required (ex. Push two buttons at same time)

Subject of Action

Object-based (e.g., robots place a single object- soccer) Robot-based (e.g., robots place themselves- mapping)

Movement

Coverage (ex. Spread out to cover as much as possible) Convergence (ex. Robots meet from different start positions) Movement-to (ex. Going to a single location)

Movement-while (ex. Formation control)

Dependency

Independent (ex. Doesn’t require agents to know about others) Dependent (ex. Task requires multiple agents)

(30)

Class Question

Consider the task of search and rescue, where multiple robots are to be used to search a

collapsed building.

Describe the task in terms of the 3 axes of a collective task

Time

Subject of action Movement

(31)

Class Question

Consider the task of forensic sampling, where robots are to enter the floor a building where a

crime has been committed, and then photograph and scan the entire floor as accurately as possible.

Describe the task in terms of the 3 axes of a collective task

Time

Subject of action Movement

(32)

MAS Ecological Niche:

Collective

(after Dudek, Jenkin, and Milios 02)

There are 4 axes of a collective:

Composition

Size of the collective Communication

Collective reconfigurability

(33)

2 Categories of Composition

Composition

–Homogeneous –Heterogeneous

(34)

Case Studies

Georgia Tech 1994 AAAI Mobile Robot Competition team

Each robot hardware and software homogeneous

Reactive behaviors

Wander-for-goal Move-to-goal Avoid

Avoid-other-robots Grab-trash

Drop-trash

Affordances

Orange=goal

DIMENSIONAL SCORE:

HOMOGENEOUS

DISTRIBUTED CONTROL

ACTIVE COOPERATION (THOUGH MINIMAL)

(35)

Example of Heterogeneous Team

USF USAR team

Robot had different hardware, software

Currently teleoped

navigation with autonomous reactive victim detection

Single goal, active cooperation

Confirm a victim with distributed sensors

Open door, “spotting” for

navigation in confined spaces

DIMENSIONAL SCORE:

HETEROGENEOUS

DISTRIBUTED CONTROL (COULD BE CENTRAL.)

ACTIVE COOPERATION SINGLE GOAL

(36)

Social Entropy

Way to measure heterogeneity of a collective

(go to board-> 4 identical, 4 marsupial)

(37)

4 Categories of Size

Size of the collective

Alone Pair

Limited

n<<than size of task or environment

Infinite

n>>than size of task or environment)

(38)

3 Categories of Reconfigurability

Collective reconfigurability

Static

The organization doesn’t change, no matter what

Communicated

Coordinated rearrangement

Ex. Ordered to change formation

Dynamically

Changes arbitrarily (esp. due to failure)

(39)

Box Pushing: Dynamic Reconfigurability

(40)

Communication

Cooperation between robots can be achieved by communication mechanisms and the

exchange of messages.

Direct and indirect communication.

(41)

Communication

Direct communication makes use of dedicated hardware

Indirect communication makes use of stigmergy

Can reduce complexity in the design of large scale systems

(42)

5 Categories

Infinite

comms are free

Motion

costs as much to communicate as it would to move

ex. Box pushing (if other robot can feel the box, it’s comms)

Low

comms costs more than moving from one location to another

Zero

no communication between agents

(43)

What Do Robots Say to Each Other?

How do they “talk”?

Implicit: signaling, postures, smell Explicit: language

Who does the talking?

“the boss” -Centralized control Everybody - Distributed control

(44)

What do Robots Say?

(after Jung and Zelinsky 02)

Communication without meaning preservation

Emitter can’t interpret its own signal

Receiver reacts in a specific way (stimulus-response) Ex. Mating displays, bacteria emit chemicals

Communication with meaning preservation

Shared common representation

Ex. Ant leaves pheromone trail to food, itself & peers can follow

(45)

Summary: Collective

Composition

Homogeneous, Heterogeneous

Size of the collective

Alone, Pair, Limited, Infinite

Communication

Infinite- comms are free

Motion – costs as much to communicate as it would to move

Low – comms costs more than moving from one location to another Zero – no communication between agents

Topology

Broadcast, address, tree, graph

Collective reconfigurability

(46)

Class Exercise

Consider the case of resupply, where many multiple vehicles are in the field and a lesser number of

smaller vehicles exist to carry fuel to them, return to base, and then carry more fuel out on demand. A

field vehicle emits a message that it needs to be

refueled. The message intensity increases inversely proportional to the amount of remaining fuel.

Describe the MAS task.

(47)

In the end…most popular

Homogeneous Non-communicating agents

Heterogeneous Non-communicating agents

Homogeneous communicating agents

Heterogeneous communicating agents

(48)

Class Exercise

Design a multi-agent team for USAR in terms of

Heterogeneity Control

Cooperation Goals

(49)

Coordination

Coordination problems are present both in artificial and natural systems.

Examples from nature:

(50)

Cooperation taxonomy

COOPERATION

(51)

Cooperation

The ability of a group to cooperate in order to achieve a common goal.

We can distinguish among cooperative and competitive systems.

A pure cooperative system has a single shared goal among the agents.

(52)

Cooperation taxonomy

AWARE UNAWARE

COOPERATION

(53)

Knowledge

Represents the ability of a the robots to have information about the rest of the group.

Aware: robots are aware of the team metes

Unaware: robots acts without considering their team mates

Frequently inspired by biological domains

Easier to manage from the engineering point of view

Knowledge is not equal to communication: robot can manage the presence of other robots without the necessity to communicate with them.

(54)

Cooperation taxonomy

AWARE UNAWARE

COOPERATION

STRONG

COORDINATION

WEAK

COORDINATION

NO

COORDINATION

(55)

Coordination levels

We talk about coordination when, before acting, the robot takes into account other robots

actions in order to have a coherent global behavior.

There are different methods to take into account other robots actions.

An interaction protocol is defined as a set of rules that robots have to follows in order to interact.

May require a subdivision in different roles.

According to the protocol we can classify different coordination mechanisms.

(56)

Coordination

(57)

What kind of coordination?

(58)

What kind of coordination? a b

(59)

Cooperation taxonomy

CENTRALIZED WEAK DISTRIBUTED

AWARE UNAWARE

COOPERATION

STRONG

COORDINATION

WEAK

COORDINATION

NO

COORDINATION

(60)

Organization and Control

How, in a group of robots, decisions take place?

Main distinction among centralized and distributed control.

(61)

Centralized

A single system takes decision for the group

Potentially optimal

Coordination may be implicit Difficult management

Single point of failure Slow reaction time.

(62)

Distributed

Each robots takes decision according to its knowledge

Simple and quick

Multiple simultaneous tasks - Explicit coordination

(63)

Coordination

WEAK COORDINATION STRONG COORDINATION

SUB-TASKS DECOMPOSITION

PARALLEL EXECUTION

MINOR INTERACTION

STRATEGIES TO DECOMPOSE AND ALLOCATE TASKS ARE NEEDED.

NOT DECOMPOSABLE TASKS

COORDINATED EXECUTION

STRONG INTERACTION

(64)

Tasks for multi-robot teams

Mapping and exploration Target tracking

Inspection WEAK COORDINATION

(65)

Tasks for multi-robot teams

Object transportation Robot soccer

Large-scale construction Coordinated exploration

ROBOTIC

CONSTRUCTION.

STRONG COORDINATION

(66)

Trasporto di oggetti

(67)

Working with objects

(68)

Flocking

(69)

Human-robot Coordination

(70)

Human-robot Coordination

(71)

How to Get

“Right” Emergent Behavior

Societal Rules vs. behaviors

Nerd Herd, Maja Mataric

What if homogeneous, individual goals operating in the same area?: example-- traffic and traffic jams

Motivation

ALLIANCE, Lynn Parker

What if have single goal, divided among homogeneous agents and one robot breaks?:

example—cleaning up a nuclear spill

(72)

Explicit Social Rules vs. Behaviors

Societal Rules

Ignorant Coexistence

Basic reactive approach, except robots couldn’t recognize other robots

High degree of task interference

Informed Coexistence

Recognize each other PLUS simple social rule: if detect robot, stop and wait P; if still there, turn left then resume move to goal

Better

Intelligent Coexistence

Recognize each other PLUS behavior: repulsed by other robots concurrent with attraction to move in same direction as the majority

(73)

Mataric’s Nerd Herd and Social Rules

(74)

Motivation: ALLIANCE

Divide and conquer works until a robot fails; then what about the failed robot’s area

Robot A fails:

It may realize that its not doing a good job: becomes increasingly

FRUSTRATED and change behavior (give up) called ACQUIESCENCE

Allows other robots to help without task interference

It may be clueless

Other robots can help, but not as efficiently

Robot B is finished with its task

Sees that waiting on Robot A, and becomes increasingly FRUSTRATED

(75)

ALLIANCE

(76)

Summary

Many, cheap robots is often better than single, expensive robot

Multi-agents are generally at least reactive, sometimes hybrid deliberative/reactive

Dimensions for categorizing:

Heterogeneity, control, cooperation, and goals (may change dynamically)

Interference is a big problem

Social rules

(77)

Review Questions

What are the dimensions of a multi-agent system?

– Heterogeneity, control regime, cooperation, goals

What are the four axes of a task in a collective?

time, subject of action, movement, dependency

What are the four axes of a collective?

– composition, size, communications, reconfigurability

Which is more likely to fail to in the field?

(78)

The Coordination Problem

Managing the interdependencies between the activities of agents. e.g.

You and I both want to leave the room. We independently walk towards the door, which can only fit one of us. I graciously

permit you to leave first.

Riferimenti

Documenti correlati

to quantify the levels of exogenous D6-Chol in brain areas and plasma after single or repeated IN

While in the ds10 duplex/trans-δ-viniferin systems no significant variations were detected in terms of binding energies between the two best poses at minor and major

While in the ds10 duplex/trans-δ-viniferin systems no significant variations were detected in terms of binding energies between the two best poses at minor and major grooves, in

Disegnare il diagramma degli stati (evidenziando gli stati accettanti) e la tabella delle transizioni che corrispondono all’automa di Moore che riceve in input sequenze di bit (0 e 1)

Of course, we must not lapse into a sort of technological determinism, as if the fortune of migrants in the countryside was linked to mechanisation (or to agriculture 4.0). The

In relazione alle figure, inserisci al posto dei puntini il termine che rende vere le seguenti

[r]

In the propositional case, procedures have been proposed for determining the satisfiability of a set of clauses that appear to work much better in practice than Resolution. The