swarm intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfdumb parts, properly...

60
Swarm Intelligence Eric Bonabeau April 22 - 25 2003 Westin Hotel, Santa Clara, CA

Upload: others

Post on 22-Sep-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Swarm IntelligenceEric Bonabeau

April 22 - 25 2003 Westin Hotel, Santa Clara, CA

Page 2: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Dumb parts, properly connected into a swarm, yield smart

results.

Kevin Kelly

Page 3: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Great, but how do you properly connect the parts??

Page 4: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Social insects do it

Page 5: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

From social insects to…artificial insects!

Page 6: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

A social insect colony is...

Flexible: the colony can respond to internalperturbations and external challenges

Robust: tasks are completed even if some individuals fail

Decentralized: there is no central control(ler) in the colony

Self-organized: paths to solutions are emergent rather than predefined

Page 7: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Swarm Intelligence

• is a mindset rather than a technology.• It is a bottom-up approach to controlling and

optimizing distributed systems, • using resilient, decentralized, self-organized

techniques, • initially inspired by how social insects operate

–shaped by millions of years of evolution (but does it matter in the end?).

Page 8: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Social insects

Page 9: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

How do we shape emergence?

How do we define individual behavior and interactions to produce desired emergent patterns?

How do we fight swarms –organizations that operate on swarm principles?

Page 10: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

1.Collective behavior

Page 11: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Swarm lesson #1: complexity from simple rules

Network 2: pick a protected and an aggressor, then move so as to be always located between your protected and his/her aggressor.

protected you aggressor

you protector aggressorNetwork 1: pick a protector and an aggressor, then move so that your protector is always located between you and your aggressor.

Page 12: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Bad news, good news

Bad news• Difficult to predict collective behavior from individual rules.• Interrogate one of the participants, it won’t tell you anything about the function of the group.• Small changes in rules lead to different group-level behavior.• Individual behavior looks like noise: how do you detect threats?

Good news

• Possible to efficiently control organization or manipulate groups using simple rules.

• Possible to predict group-level outcome using bottom simulation.

Page 13: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

The Icosystem Game

Page 14: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Results71% improvementAt least $10m/yr

ProblemOptimize cargo routingUse simple rules

Simple rules and bottom up modeling at Southwest Airlines

Page 15: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

2.Foraging and optimization,

routing

Page 16: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

0

25

50

75

100

per

cen

tag

eo

f p

assa

ges

0 10 20 30

time (minutes)

nest arena60°

15 cm

Double-bridge experiment

Page 17: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Ants collectively select the shortest path to the food source.

Nest

2

1

nest

food Foraging area

Foraging area

Nest12

.5 c

m

4 mn 8 mn

Simple (but not robust) optimization

Page 18: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

source 1

source 2

source 3

nest

a b

c d

Robustness via evaporation

Page 19: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

The Traveling Salesman (TSP)

Page 20: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

dij= distance between i and city j

τij= virtual pheromone on link (i,j)

m agents, each building a tour

At each step of a tour, the probability to go from city i to city j is proportional to (τij)a(dij)-b

After building a tour of length L, each agent reinforces the edges is has used by an amount proportional to 1/L

The virtual pheromone evaporates: τ (1−ρ) τ

Traveling sales-ants

Page 21: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Seattle

SanFrancisco

Salt LakeCity

LosAngeles

Las Vegas

San Diego Phoenix Albuquerque

Houston

OklahomaCity

Indianapolis

Miami

NewYork

Atlanta

Boston

Problem

Salt LakeCity

Las Vegas

Phoenix

Albu

quer

que

Houston

OklahomaCity

?

The ant algorithm

Concretely

Page 22: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

More than just one solution

Page 23: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

ProblemProduction scheduling

Dynamic problem with tough constraints

ResultsAlways finds a solution

Better than best solution on market

Order of magnitude faster!

Copes with glitches and perturbations

Dynamic factory scheduling

Page 24: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Simple agents are launched in thenetwork. Each agent goes from a source to a destination node.

An agent updates routing tables on its way to its destination, viewing its source as a destination.

"If you are going toward my source node,then hop to the node I am just comingfrom. Or don't."

Agent influence decreases with age.

Agents are artificially delayed at congested nodes.

A

BN

N'

N''

Routing in communications networks

Page 25: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Results (AntNet)

Routing in communications networks

Hot spotsuperim-posed toPoissontraffic.

Moving averageover 10s.

Page 26: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Existing successful commercial applications

Unilever plant schedulingPina Petroli truck routingAir Liquide supply chain optimization and controlBritish Telecom, France Telecom, MCI routing in communications networks

Page 27: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

3.Clustering and

sorting…larvae and

data

Page 28: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results
Page 29: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

An isolated item is more likely to be picked up by an unladen agent:

Pp=[k1/(k1+f)]2

where f=density of items in neighborhood

A laden agent is more likely to drop an item nextto other items:

Pd=[f/(k2+f)]2

Clustering model

Page 30: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results
Page 31: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Clustering robots

Page 32: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

The same principle can be applied to sort items of severaltypes (i=1,...,n).

f is replaced by fi, the fraction of type i items in the agent's neighborhood:

Pp(i)=[k1/(k1+fi)]2

Pd(i)=[f/(k2+fi)]2

From clustering to sorting…

Page 33: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Sorting robots

Page 34: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

4.Division of

labor

Page 35: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Bucket brigades in harvester ants

• Messor barbarus ants in southern Spain retrieve seeds from a source in a bucket brigade of up to six workers.

• The first and smallest ant collects a seed from a source and starts to carry it along a trail towards the nest until it meets a larger worker.

• This larger worker takes the seed from the ant andcontinues to transport the seed towards the nest while the smaller ant turns and walks back towards the seedsource. And so on.

Page 36: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

...

Production line Order/cash process

monitor

steam

finish

wrap

Food prep team

Take order

Cash Xact

Buc

ket

Brig

ade

?

Dedicatedorder taker

Flexorder taker

Bucket brigades at Taco Bell

Page 37: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Process step

time

Page 38: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Average pick rates as fraction of work standard both before, and after, switching from zone picking to bucketbrigades (in week 12) at the national distribution center of RevcoDrugstores (now CVS). Achieved 34% increasein throughput among order-pickers after converting to bucketbrigades.

Optimal work-sharing emergesspontaneously

Page 39: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

5.Cooperative

transport

Page 40: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Cooperative transport

When a single ant cannot retrieve large prey or food items, nestmates are recruitedto help. During an initial periodof up to several minutes, the ants change position and alignment around the itemwithout making progress, until eventually the item can be moved toward the nest.

Page 41: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Cooperative transport

• Scientists have reproduced emergent coordination with a swarm of very simple robots. Videotaped experiments athttp://www.cs.ualberta.ca/~kube/.

• Not the most efficient way of pushing a box. But, because of robots’ simplicity, promising in theperspective of miniaturization and low-cost robotics.

Page 42: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Robots

• Collective task completion• No need for overly complex

algorithms• Adaptable to changing environment

Page 43: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

6.Nest

building

Page 44: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

From a model of wasp nest building to

self-assembly

Page 45: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Building model

Agents move randomly on a 3D grid of sites.

An agent deposits a brick everytime it finds a stimulatingconfiguration.

Rule table contains all suchconfigurations. A rule table definesan algorithm.

Rule space is very large.

z

z+1

z-1

Page 46: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Engineered emergent patterns

Page 47: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

7.Designing

swarms

Page 48: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Circular mill in army ants: a circleof ants continuously following each other round and round in circles until death (Schneirla). Beebe (1921) observed a mill in Guyana that measured 1200 feetin circumference with a circuit time for each ant of about 2½hours. The mill persisted for two days, with ever increasing numbers of dead bodies littering the route, but eventually a few workers straggled from the trail thus breaking the cycle, and theraid marched off into the forest.

Simple rules are not always good

Page 49: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

How do we shape emergence?

How do we define individual behavior and interactions to produce desired emergent patterns?

Page 50: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

• Most algorithms generate structureless shapes.

• But some produce "structured" architectures.

• Structured architectures:

- Usually modular- Most complex patterns have large modules- Produced by specific algorithms- Convergence to similar shape in all runs- Compact- Take time to generate

Simulation of nest building

Page 51: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Some of the characteristics of "structured" architectures can be formalized (graph associatedwith the building process) and quantified.

Quantification is useful to define a fitness function. Heuristic fitnesscorrelates well with observers' notion ofstructure. A GA has beenrun with this fitness.

0

5

10

Obs

erve

rs'r

atin

g0.01 0.1 1

F

Genetic algorithm to explore rule space

Page 52: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Emergent patterns from evolutionary design

Page 53: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Emergent behavior by design

Page 54: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

8.The future

Page 55: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Swarm Intelligence…is obviously becoming

popular

Page 56: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

What’s really important

The decentralized mindset

Page 57: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Carl Anderson, Scott Camazine (http://www.scottcamazine.com/personal/research/index.htm)

What’s really important

Page 58: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Coming soon

More distributed optimization/control applications (scheduling, resource allocation, routing)Self-healing, self-organizing comm networksSwarm robotics will move beyond mappingSelf-aggregating devicesSelf-organized satellite deployment and maintenance (NSF/NASA/EPRI)Controlling swarms of UAVs, UGVs, UUVsSwarm “urban combat model”Swarm-based sensor networks, smart dustMore!

Page 59: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results

Articles

Swarm Intelligence, Scientific American, March 2000Swarm intelligence, Harvard Business Review, May 2001Predicting the Unpredictable, Harvard Business Review, March 2002Real-world applications of agent-based models of human systems, Proc. Nat. Acad. Sci. USA, 2002

Contact me at [email protected]

Page 60: Swarm Intelligencestaff.washington.edu/paymana/swarm/bonabeau03-etcon.pdfDumb parts, properly connected into a swarm, yield smart results. Kevin Kelly. ... The Icosystem Game. Results