未登录,请登录后再发表信息
最新评论 (0)
播放视频

你能解开这个“变异”AI的迷题吗?

Can you solve the rogue AI riddle? - Dan Finkel

这集结束后 别走开 还有一个附送谜题
.
一个名为NIM的敌对人工智能
A hostile artificial intelligence called NIM
已经接管了全世界的计算机
has taken over the world’s computers.
你是唯一一个有足够技能关闭它的人
You’re the only person skilled enough to shut it down,
而且你只有一次机会
and you’ll only have one chance.
你已经闯入NIM的秘密实验室
You’ve broken into NIM’s secret lab,
现在 你在25层通电的水中
and now you’re floating in a raft
漂浮着的木筏上
on top of 25 stories of electrified water.
你已经暗中安装了一个遥控器
You’ve rigged up a remote that can lower the water level
可用它把水从房间两侧的铁栅栏喷出 以降低水位
by ejecting it from grates in the sides of the room.
如果你能把水位降低到0
If you can lower the water level to 0,
你就可以点击手动超越控制
you can hit the manual override,
关闭NIM 挽回败局
shut NIM off, and save the day.
但是 人工智能知道你在这里
However, the AI knows that you’re here,
它也可以用实验室底部的活板门
and it can lower the water level, too,
把水抽出 以降低水位
by sucking it through a trapdoor at the bottom of the lab.
如果是NIM把水位降到0
If NIM is the one to lower the water level to 0,
你就会被抽出实验室
you’ll be sucked out of the lab,
导致任务失败
resulting in a failed mission.
你和NIM轮流控制排水
Control over water drainage alternates between you and NIM,
谁都不能在轮到自己时 跳过
and neither can skip a turn.
你们每人每次要正好降低1层 3层或4层的水位
Each of you can lower the water levelby exactly 1, 3, or 4 stories at a time.
无论轮到谁 能把水位刚好降到0级
Whoever gets the level exactly to 0 on their turn
就能在这场致命对决中获胜
will win this deadly duel.
要注意的是 你们两个都不能把水降到0以下
Note that neither of you can lower the water below 0;
如果水位在2层
if the water level is at 2,
那么唯一可行步骤 就是降低一层水位
then the only move is to lower the water level 1 story.
你知道NIM已经计算好
You know that NIM has already
比赛中所有可能的结果
computed all possible outcomes of the contest,
会用最大限度提高成功率的办法参加比赛
and will play in a way that maximizes its chance of success.
由你先开始
You go first.
你怎样渡过难关 并关闭人工智能呢?
How can you surviveand shut off the artificial intelligence?
如果你想自己找出答案请在这里暂停
Pause here if you wantto figure it out for yourself.
数到1 后 公布答案
Answer in: 3
2
Answer in: 2
1
Answer in: 1
任何一步你都不能靠碰运气
You can’t leave anything up to chance –
NIM会利用一切可得的机会
NIM will take any advantage it can get.
你必须对它所有的举动
And you’ll need to have a response
都做出回应
to any possible move it makes.
其中的窍门儿就是
The trick here is to start
从你想要的结果开始 倒着推算
from where you want to end and work backwards.
你想把水位降到0
You want to be the one to lower the water level to 0,
水位必须在轮到你时
which means you need the water level to be at 1, 3, or 4
处在1、3或4层
when control switches to you.
如果水位在2层
If the water level were at 2,
你唯一选择 只能是降低一层水位
your only option would be to lower it 1 story,
但这样会导致NIM胜券在握
which would leadto NIM making the winning move.
如果我们把水位进行颜色编码
If we color code the water levels,
就能看出有个简单的原理在起作用:
we can see a simple principle at play:
有些像2层这样的“必输”水位
there are “losing” levels like 2,
谁轮到从那里开始 无论他怎样做
where no matter what whoever starts their turn there does,
都必输无疑
they’ll lose.
而且还有“必赢”水位
And there are winning levels,
无论谁从那里开始
where whoever starts their turn there
都会获胜 或给对手留下“必败”水位
can either win or leave their opponentwith a losing level.
所以 不仅1 3和4层是必赢水位
So not only are 1, 3, and 4 winning levels,
还有5层和6层
but so are 5 and 6,
因为你可迫使对手 从那里到2层
since you can send your opponent to 2 from there.
那么7层呢?
What about 7?
从7层开始 所有可能的行动
From 7, all possible moves
都会让你的对手到达一个必胜水位
would send your opponent to a winning level,
致使这层对你来说又是一个必败水位
making this another losing level.
我们可以用这种方法继续往上推算
And we can continue up the lab in this way.
如果你从一个必败水位上方
If you start your turn 1, 3,
1、3或4层开始
or 4 levels above a losing level,
那么你就在必胜水位上
then you’re at a winning level.
否则 你注定会输
Otherwise, you’re destined to lose.
你可以像这样一直算到25层
You could continue like this all the way to level 25.
但你可能会注意到
But as a shortcut,
8到11层的颜色与1到4层相同
you might notice that levels 8 through 11
可作为一条捷径
are colored identically to 1 through 4.
因为每层的颜色是由它下方
Since a level’s color is determined by the levels 1, 3,
1、3和4层决定的
and 4 stories below it,
那么第12层的颜色
this means that level 12 will
就会与第5层的相同
be the same color as level 5,
13层与6层相同 14层与7层相同以此类推
13 will match 6, 14 will match 7, and so on,
尤其是必败水位 永远都是7的倍数
In particular, the losing levelswill always be multiple of 7,
并且比7的倍数大2
and two greater than multiples of 7.
现在 从最初的25层开始
Now, from your original starting level of 25,
你必须确保你的对手
you have to make sure your opponent
每次都从必败水位开始 —
starts on a losing level every single turn —
NIM哪怕只有一次从必胜水位开始
if NIM starts on a winning leveleven once,
你都会彻底失败
it’s game over for you.
所以 你第一步只能选择
So your only choice on turn 1
把水位降低4层
is to lower the water level by 4 stories.
接下来无论人工智能做什么
No matter what the AI does,
都只能从必败水位开始直到你到达0水位
you can continue giving it losing levels until you reach 0
并开启手动超越控制
and trigger the manual override.
这样 危机便可避免
And with that, the crisis is averted.
现在 回到压力少些的网上漫游吧
Now, back to a less stressfulkind of surfing.
这里还有一个附送谜题
Here’s a bonus riddle
你可以在一个既致命又美味的二人游戏中用到类似的技能
where you can use similar skills in a deadly and delicious duo.
它是这样玩儿的:
Here’s how it works:
你和你的对手轮流吃一块方格巧克力
You and your opponent will take turns eating squares from a chocolate bar.
每次轮到你 都必须选一个方格
Each turn you must choose a square.
那会是一个长方形的左下角
That would be the lower left corner of a rectangle
你得掰下来吃掉
that you have to break off and eat.
每块都能放心食用
Every square is safe to eat,
除了左下角的一块
except the lower left one of the whole bar,
那块是有毒的
which is poisonous.
那么 如果你在用一块二乘三的巧克力来玩儿这个游戏
So, if you’re playing with a two-by-three bar,
而且你先来
and you go first,
你第一步应该怎么走 才能渡过难关呢?
what should your first move be to survive?
这个附加迷题由BRILLIANT.ORG赞助提供
This bonus riddle comes courtesy of our sponsor, BRILLIANT.ORG
BRILLIANT的内容遵循着一套特别好的原则
BRILLIANT’s content is guided by a great set of principles
其中包括它所有网站的内容整理
including curating content that it sites,
能培养好奇心 非常积极向上 而不随波逐流
cultivates curiosity, and it’s active, rather then passive.
今天就去brilliant看看吧
Check out BRILLIANT today
地址在brilliant.org/teded
at brilliant.org/teded
你们中的前832位
And first 832 of you
会得到七五折年费优惠
will get 25% off the annual subscription fee.
如果你想确认附加谜语的答案
And to confirm your answer to the bonus riddle,
请通过点击下方链接注册免费会员
sign up for a free membership by clicking the link below,
BRILLIANT会发邮件告诉你答案
and BRILLIANT will email you the solution.

发表评论

译制信息
视频概述

一个名为NIM的敌对人工智能已经接管了全世界的计算机,而你是唯一一个有能力关闭它的人……

听录译者

收集自网络

翻译译者

昵伊荙

审核员

审核员 V

视频来源

https://www.youtube.com/watch?v=qMFpOcLroOg

相关推荐