What intelligent machines can learn from a school of fish Radhika Nagpal

In my early days as a graduate student,

I went on a snorkeling trip
off the coast of the Bahamas.

I’d actually never swum
in the ocean before,

so it was a bit terrifying.

What I remember the most is,
as I put my head in the water

and I was trying really hard
to breathe through the snorkel,

this huge group
of striped yellow and black fish

came straight at me …

and I just froze.

And then, as if it had
suddenly changed its mind,

came towards me
and then swerved to the right

and went right around me.

It was absolutely mesmerizing.

Maybe many of you
have had this experience.

Of course, there’s the color
and the beauty of it,

but there was also
just the sheer oneness of it,

as if it wasn’t hundreds of fish

but a single entity
with a single collective mind

that was making decisions.

When I look back, I think that experience
really ended up determining

what I’ve worked on for most of my career.

I’m a computer scientist,

and the field that I work in
is artificial intelligence.

And a key theme in AI

is being able to understand intelligence
by creating our own computational systems

that display intelligence
the way we see it in nature.

Now, most popular views of AI, of course,
come from science fiction and the movies,

and I’m personally a big Star Wars fan.

But that tends to be a very human-centric
view of intelligence.

When you think of a fish school,

or when I think of a flock of starlings,

that feels like a really different
kind of intelligence.

For starters, any one fish is just so tiny

compared to the sheer size
of the collective,

so it seems that any one individual

would have a really limited
and myopic view of what’s going on,

and intelligence
isn’t really about the individual

but somehow a property
of the group itself.

Secondly, and the thing
that I still find most remarkable,

is that we know that there are no leaders
supervising this fish school.

Instead, this incredible
collective mind behavior

is emerging purely from the interactions
of one fish and another.

Somehow, there are these interactions
or rules of engagement

between neighboring fish

that make it all work out.

So the question for AI then becomes,

what are those rules of engagement
that lead to this kind of intelligence,

and of course, can we create our own?

And that’s the primary thing
that I work on with my team in my lab.

We work on it through theory,

looking at abstract rule systems

and thinking about
the mathematics behind it.

We also do it through biology,
working closely with experimentalists.

But mostly, we do it through robotics,

where we try to create
our own collective systems

that can do the kinds of things
that we see in nature,

or at least try to.

One of our first robotic quests
along this line

was to create our very own colony
of a thousand robots.

So very simple robots,

but they could be programmed
to exhibit collective intelligence,

and that’s what we were able to do.

So this is what a single robot looks like.

It’s quite small,
about the size of a quarter,

and you can program how it moves,

but it can also wirelessly
communicate with other robots,

and it can measure distances from them.

And so now we can start to program
exactly an interaction,

a rule of engagement between neighbors.

And once we have this system,

we can start to program many
different kinds of rules of engagement

that you would see in nature.

So for example,
spontaneous synchronization,

how audiences are clapping
and suddenly start all clapping together,

the fireflies flashing together.

We can program rules
for pattern formation,

how cells in a tissue

determine what role
they’re going to take on

and set the patterns of our bodies.

We can program rules for migration,

and in this way, we’re really learning
from nature’s rules.

But we can also take it a step further.

We can actually take these rules
that we’ve learned from nature

and combine them and create
entirely new collective behaviors

of our very own.

So for example,

imagine that you had
two different kinds of rules.

So your first rule is a motion rule

where a moving robot can move
around other stationary robots.

And your second rule is a pattern rule

where a robot takes on a color
based on its two nearest neighbors.

So if I start with a blob of robots
in a little pattern seed,

it turns out that these two rules
are sufficient for the group

to be able to self-assemble
a simple line pattern.

And if I have more
complicated pattern rules,

and I design error correction rules,

we can actually create really,
really complicated self assemblies,

and here’s what that looks like.

So here, you’re going to see
a thousand robots

that are working together
to self-assemble the letter K.

The K is on its side.

And the important thing
is that no one is in charge.

So any single robot is only talking
to a small number of robots nearby it,

and it’s using its motion rule
to move around the half-built structure

just looking for a place to fit in
based on its pattern rules.

And even though no robot
is doing anything perfectly,

the rules are such that we can get
the collective to do its goal

robustly together.

And the illusion becomes
almost so perfect, you know –

you just start to not even notice
that they’re individual robots at all,

and it becomes a single entity,

kind of like the school of fish.

So these are robots and rules
in two dimensions,

but we can also think about robots
and rules in three dimensions.

So what if we could create robots
that could build together?

And here, we can take inspiration
from social insects.

So if you think about
mound-building termites

or you think about army ants,

they create incredible,
complex nest structures out of mud

and even out of their own bodies.

And like the system I showed you before,

these insects actually
also have pattern rules

that help them determine what to build,

but the pattern can be made
out of other insects,

or it could be made out of mud.

And we can use that same idea
to create rules for robots.

So here, you’re going to see
some simulated robots.

So the simulated robot has a motion rule,

which is how it traverses
through the structure,

looking for a place to fit in,

and it has pattern rules
where it looks at groups of blocks

to decide whether to place a block.

And with the right motion rules
and the right pattern rules,

we can actually get the robots
to build whatever we want.

And of course, everybody wants
their own tower.

(Laughter)

So once we have these rules,

we can start to create the robot bodies
that go with these rules.

So here, you see a robot
that can climb over blocks,

but it can also lift and move these blocks

and it can start to edit
the very structure that it’s on.

But with these rules,

this is really only one kind of robot body
that you could imagine.

You could imagine
many different kinds of robot bodies.

So if you think about robots
that maybe could move sandbags

and could help build levees,

or we could think of robots
that built out of soft materials

and worked together
to shore up a collapsed building –

so just the same kind of rules
in different kinds of bodies.

Or if, like my group, you are completely
obsessed with army ants,

then maybe one day we can make robots
that can climb over literally anything

including other members of their tribe,

and self-assemble things
out of their own bodies.

Once you understand the rules,

just many different kinds
of robot visions become possible.

And coming back to the snorkeling trip,

we actually understand a great deal
about the rules that fish schools use.

So if we can invent
the bodies to go with that,

then maybe there is a future

where I and my group will get to snorkel
with a fish school of our own creation.

Each of these systems that I showed you

brings us closer to having
the mathematical and the conceptual tools

to create our own versions
of collective power,

and this can enable many different kinds
of future applications,

whether you think about robots
that build flood barriers

or you think about robotic bee colonies
that could pollinate crops

or underwater schools of robots
that monitor coral reefs,

or if we reach for the stars
and we thinking about programming

constellations of satellites.

In each of these systems,

being able to understand
how to design the rules of engagement

and being able to create
good collective behavior

becomes a key to realizing these visions.

So, so far I’ve talked about
rules for insects and for fish

and for robots,

but what about the rules that apply
to our own human collective?

And the last thought
that I’d like to leave you with

is that science is of course itself

an incredible manifestation
of collective intelligence,

but unlike the beautiful
fish schools that I study,

I feel we still have a much longer
evolutionary path to walk.

So in addition to working on improving
the science of robot collectives,

I also work on creating robots
and thinking about rules

that will improve
our own scientific collective.

There’s this saying that I love:

who does science
determines what science gets done.

Imagine a society

where we had rules of engagement

where every child grew up believing
that they could stand here

and be a technologist of the future,

or where every adult

believed that they had the ability
not just to understand but to change

how science and technology
impacts their everyday lives.

What would that society look like?

I believe that we can do that.

I believe that we can choose our rules,

and we engineer not just robots

but we can engineer
our own human collective,

and if we do and when we do,
it will be beautiful.

Thank you.

(Applause)

在我研究生的早期,

我在巴哈马海岸进行了一次浮潜之旅

其实我以前从来没有
在海里游泳过,

所以这有点可怕。

我记得最清楚的是,
当我把头伸进水里


用呼吸管努力呼吸时,

这条巨大
的黄色和黑色条纹鱼群

直接向我

袭来……我简直呆住了。

然后,就好像它
突然改变主意一样,

朝我走来

然后右转,绕过我。

这绝对令人着迷。

可能很多人
都有过这样的经历。

当然,有它的颜色
和美丽,

但也有它
纯粹的一体性,

好像不是数百条鱼,

而是一个
具有单一集体思想

的单一实体在做决定。

当我回首往事时,我认为那段经历
真的最终决定

了我在职业生涯的大部分时间里所从事的工作。

我是一名计算机科学家

,我工作的领域
是人工智能。

人工智能的一个关键主题

是能够
通过创建我们自己的计算系统来理解智能,这些计算系统

以我们在自然界中看到的方式显示智能。

现在,最流行的人工智能观点当然
来自科幻小说和电影,

而我个人是《星球大战》的忠实粉丝。

但这往往是一种非常以人为本
的智力观。

当你想到鱼群时,

或者当我想到一群八哥时

,感觉就像是一种完全不同
的智力。

对于初学者来说,与集体的庞大规模相比,任何一条鱼都太小

了,

所以似乎任何一个人

对正在发生的事情的看法都是非常有限和短视的,


智力并不是关于个人,

而是以某种方式
组本身的属性。

其次,
我仍然觉得最值得注意的

是,我们知道没有领导者在
监督这个鱼群。

相反,这种令人难以置信的
集体思维

行为纯粹来自
一条鱼和另一条鱼的相互作用。

不知何故,相邻的鱼之间存在这些相互作用
或参与规则

,这一切都得以解决。

那么人工智能的问题就变成了,

那些导致这种智能的参与规则是什么

,当然,我们可以创造我们自己的吗?


是我在实验室与我的团队合作的主要工作。

我们通过理论研究它,

研究抽象的规则系统

并思考
其背后的数学。

我们还通过生物学来做到这一点,
与实验家密切合作。

但大多数情况下,我们通过机器人技术来做到这一点

,我们试图创建
我们自己的集体系统

,这些系统可以做
我们在自然界中看到的事情,

或者至少尝试去做。

我们
沿着这条线的第一个机器人任务

是创建我们自己
的一千个机器人殖民地。

非常简单的机器人,

但它们可以被编程
以展示集体智慧

,这就是我们能够做到的。

所以这就是单个机器人的样子。

它非常小,
大约只有四分之一那么大

,你可以对它的移动方式进行编程,

但它也可以
与其他机器人进行无线通信,

并且可以测量与它们之间的距离。

所以现在我们可以开始精确地编程
一种互动,

一种邻居之间的接触规则。

一旦我们有了这个系统,

我们就可以开始

编写你在自然界中看到的许多不同类型的参与规则。

例如,
自发同步,

观众如何鼓掌
,突然开始一起鼓掌

,萤火虫一起闪烁。

我们可以
编写模式形成的规则,

组织中的细胞如何

确定
它们将要扮演的角色

并设置我们身体的模式。

我们可以为迁移制定规则

,通过这种方式,我们真的在
学习大自然的规则。

但我们也可以更进一步。

实际上,我们可以将
这些我们从大自然中学到的规则

结合起来,创造

出我们自己的全新集体行为。

例如,

假设您有
两种不同的规则。

所以你的第一条规则是一个运动规则

,一个移动的机器人可以
在其他静止的机器人周围移动。

您的第二条规则是模式规则

,其中机器人
根据其两个最近的邻居呈现颜色。

因此,如果我从
一个小图案种子中的一团机器人开始,

事实证明,这两个
规则足以让小组

能够自组装
一个简单的线条图案。

如果我有更
复杂的模式规则,

并且我设计纠错规则,

我们实际上可以创建非常
非常复杂的自组装

,这就是它的样子。

所以在这里,你会
看到一千个

机器人一起工作
,自行组装字母

K。K 在它的一边。

重要的
是没有人负责。

因此,任何单个机器人都只与
它附近的少数机器人交谈

,它使用它的运动规则
在半建成的结构周围移动,

只是
根据它的模式规则寻找适合的地方。

即使没有机器人
能完美地做任何事情

,规则是这样的,我们可以让

集体一起稳健地完成目标。

幻觉变得
几乎如此完美,你知道——

你甚至开始根本没有
注意到它们是单独的机器人

,它变成了一个单一的实体,

有点像鱼群。

所以这些是二维的机器人和规则

但我们也可以考虑
三维的机器人和规则。

那么,如果我们能创造
出可以一起建造的机器人呢?

在这里,我们可以
从群居昆虫中获得灵感。

因此,如果您考虑
建造土堆的白蚁

或军蚁,

它们会用泥土甚至自己的身体创造出令人难以置信的
复杂巢穴结构

就像我之前给你展示的系统一样,

这些昆虫实际上
也有图案规则

,可以帮助它们确定要建造什么,

但是图案可以
由其他昆虫制成,

也可以由泥制成。

我们可以使用同样的想法
为机器人创建规则。

所以在这里,你会看到
一些模拟机器人。

所以模拟机器人有一个运动规则,

即它如何
穿过结构,

寻找适合的地方

,它有模式规则
,它查看一组块

来决定是否放置一个块。

通过正确的运动规则
和正确的模式规则,

我们实际上可以让
机器人建造我们想要的任何东西。

当然,每个人都想要
自己的塔。

(笑声)

所以一旦我们有了这些规则,

我们就可以开始
创造符合这些规则的机器人身体。

所以在这里,你看到一个
机器人可以爬过积木,

但它也可以举起和移动这些积木

,它可以开始编辑
它所在的结构。

但有了这些规则,

这真的
只是你能想象到的一种机器人身体。

你可以想象
许多不同种类的机器人身体。

因此,如果您考虑机器人
可能可以移动沙袋

并可以帮助建造堤坝,

或者我们可以考虑
用软材料建造

并协同工作
以支撑倒塌的建筑物的机器人-

所以只是不同种类的相同
规则 的身体。

或者,如果像我的团队一样,你完全
沉迷于军蚁,

那么也许有一天我们可以制造
出可以爬过任何东西的机器人,

包括他们部落的其他成员,


用它们自己的身体自行组装东西。

一旦你理解了规则

,许多不同种类
的机器人视觉就成为可能。

回到浮潜之旅,

我们实际上非常
了解鱼群使用的规则。

因此,如果我们可以发明
相应的身体,

那么也许

未来我和我的团队将
与我们自己创造的鱼群一起浮潜。

我向您展示的这些系统中的每一个都

使我们更接近拥有

创建我们自己
的集体力量版本的数学和概念工具

,这可以实现许多不同类型
的未来应用,

无论您是
考虑建造防洪屏障的机器人

还是您 想想
可以为农作物授粉

的机器人蜂群或
监测珊瑚礁的水下机器人学校,

或者如果我们伸手去拿星星
,我们正在考虑

对卫星星座进行编程。

在每个系统中,

能够理解
如何设计参与规则

并能够创造
良好的集体行为

成为实现这些愿景的关键。

所以,到目前为止,我已经讨论
了昆虫、鱼类

和机器人

的规则,但适用
于我们人类集体的规则呢?

最后
我想告诉你的

是,科学本身当然是集体智慧

的不可思议的体现

但与
我研究的美丽鱼群不同,

我觉得我们还有更长的
进化道路要走。

因此,除了致力于改进
机器人集体的科学之外,

我还致力于创造机器人
并思考

将改善
我们自己的科学集体的规则。

有一句话我喜欢:

谁做科学
决定科学做什么。

想象一个

我们有参与规则的社会

,每个孩子长大后都
相信他们可以站在

这里成为未来的技术专家,

或者每个成年人都

相信他们不仅有
能力理解,而且有能力

改变科学和技术的
影响方式 他们的日常生活。

那个社会会是什么样子?

我相信我们可以做到这一点。

我相信我们可以选择我们的规则

,我们不仅可以设计机器人,

还可以设计
我们自己的人类集体

,如果我们这样做,当我们这样做时,
它会很漂亮。

谢谢你。

(掌声)