WEBVTT
Kind: captions
Language: en-US

00:00:00.149 --> 00:00:05.590
Have you ever wondered how minions reproduce
or how a civilization full of them would behave?

00:00:05.590 --> 00:00:09.839
Me too! So I made an AI to imitate their behavior
and now we can answer these questions with science.

00:00:10.839 --> 00:00:14.539
Minions are known for three things: they are
evil beings, they are easily distracted by

00:00:14.539 --> 00:00:17.400
their curiosity and they love the curved yellow
fruit.

00:00:17.400 --> 00:00:20.660
Bernie here needs to eat bananas to survive
a day at work. When they get hungry, they

00:00:20.660 --> 00:00:24.250
will look for nearby fruit to munch. If they
can’t find any food sources, their hunger

00:00:24.250 --> 00:00:28.250
will increase and… let’s say they’d
go to a better place, maybe they are employed

00:00:28.250 --> 00:00:32.009
by some other lab with better health insurance.
When you see the yellow bubble, that means

00:00:32.009 --> 00:00:35.650
our friend decided to eat a banana. The circle
is filled with color if they succeed.

00:00:35.650 --> 00:00:39.440
It seems these three are thinking of a different
type of banana…

00:00:39.440 --> 00:00:42.710
Bernie likes to satisfy their evil needs by
being mean to other minions. When a minion

00:00:42.710 --> 00:00:46.360
makes fun of a colleague, their confidence
increases. Unfortunately, this also means

00:00:46.360 --> 00:00:50.180
that the one being bullied will lose self-esteem.
If a minion doesn’t feel comfortable in

00:00:50.180 --> 00:00:51.920
the lab, they will also leave for a better
place.

00:00:51.920 --> 00:00:55.830
Two red bubbles will appear when our simulated
minions are engaging in this type of behavior.

00:00:55.830 --> 00:00:59.640
Although apparently sometimes it means they
want to dance together or something.

00:00:59.640 --> 00:01:03.420
Finally, I told you Bernie and the crew are
easily distracted by shiny things. The trigger

00:01:03.420 --> 00:01:07.510
for this behavior in the simulation is this
evidently radioactive device. They like getting

00:01:07.510 --> 00:01:10.280
inside of it.
But they don’t know these tubes are extremely

00:01:10.280 --> 00:01:14.811
powerful machines, if there’s a minion inside
each one of them… new life is born!

00:01:14.811 --> 00:01:19.260
The clone will inherit the behavior patterns of
their ancestors, more on what this means soon

00:01:19.260 --> 00:01:22.620
(and, spoiler: it’s really cool).
The pink bubble shows when the minion is getting

00:01:22.620 --> 00:01:27.560
distracted and will create a clone by mistake.
Or like a million of them I guess…

00:01:27.560 --> 00:01:31.540
The AI driving these yellow beans with eyes
is constantly checking for behavior triggers

00:01:31.540 --> 00:01:35.410
inside a limited scope representing an area
of vision. For each target inside the area,

00:01:35.410 --> 00:01:39.390
it calculates a probability of execution based
on several parameters. If a minion is very

00:01:39.390 --> 00:01:42.960
hungry it is more likely for them to move
towards a banana and if they have low self-esteem

00:01:42.960 --> 00:01:45.150
they will probably try to increase it by annoying
a friend.

00:01:45.150 --> 00:01:49.430
But I’m only telling you part of the story,
the behaviors also depend on something else,

00:01:49.430 --> 00:01:52.890
minions are loaded with genetic information
that defines how they behave. And their genes

00:01:52.890 --> 00:01:57.370
mutate when they reproduce, making the population
evolve to a new level of intelligence.

00:01:57.370 --> 00:02:00.260
And I’ll explain this in a minute, but now
that we are speaking about taking things to

00:02:00.260 --> 00:02:06.409
the next level, have you heard about Core?
Core is a new PC gaming platform where anyone

00:02:06.409 --> 00:02:11.279
can create, share, and play multiplayer games.
You don’t believe me? Even deadmau5 has

00:02:11.279 --> 00:02:15.889
created beautiful worlds with Core and I’m
sure he is a busy guy! No coding is required

00:02:15.889 --> 00:02:19.359
to develop with Core. But hey, if you are
a nerd like me and you want to work on some

00:02:19.359 --> 00:02:23.150
complex game mechanics you can also do that
by coding your own scripts in Lua.

00:02:23.150 --> 00:02:28.829
There are thousands of free music, sound,
and art assets. Core also has built-in multiplayer

00:02:28.829 --> 00:02:32.129
so you can publish your games instantly for
others to play.

00:02:32.129 --> 00:02:37.580
Check this out. New project, we put a farm
here and a… chicken costume I guess…

00:02:37.580 --> 00:02:42.790
Hit “publish” and BOOM! It is there, literally
available for everyone to… walk around as

00:02:42.790 --> 00:02:48.319
a human-size chicken, instantly.
By the way, you can also earn money making

00:02:48.319 --> 00:02:53.120
games in Core! Some Core Creators have been
able to pay their bills, buy their dream cars

00:02:53.120 --> 00:02:57.959
and quit their day jobs with the help of the
Perks Program, which shares 50% of the revenue

00:02:57.959 --> 00:03:01.280
with creators! That is better than any other
game creation platform.

00:03:01.280 --> 00:03:07.310
I encourage you to use the link in the description
to download Core for free and give it a try!

00:03:07.310 --> 00:03:11.419
Back to the lab. Clone minions inherit characteristics
from their creators, such as their speed of

00:03:11.419 --> 00:03:15.209
movement or how aggressive they are, as in
how likely they are to bully other minions.

00:03:15.209 --> 00:03:19.209
For this, the simulation considers a very
simplistic abstraction of how real life genetic

00:03:19.209 --> 00:03:23.099
mutation works: when a clone is born, values
for each gene –or feature– are picked

00:03:23.099 --> 00:03:27.230
from their parents at random and then modified
slightly, also at random but within tight bounds.

00:03:27.230 --> 00:03:29.730
I modeled the following genes: movement speed,

00:03:29.730 --> 00:03:33.700
area of vision, aggressiveness and curiosity.
Minions that move faster need to eat more

00:03:33.700 --> 00:03:37.629
frequently to survive, while slower ones don’t
waste much energy and can go longer without

00:03:37.629 --> 00:03:41.719
any food. Will evolution make them faster
to reach bananas further away, or slower in

00:03:41.719 --> 00:03:45.579
order to survive more time?
The area of vision defines, well, how far

00:03:45.579 --> 00:03:49.499
they see. A bigger area helps them find more
bananas, for example. I would expect this

00:03:49.499 --> 00:03:51.569
value to increase, there is no clear disadvantage
to it.

00:03:51.569 --> 00:03:56.069
The aggressiveness is part of the equation
defining how probable it is for a minion to

00:03:56.069 --> 00:04:01.109
fight another one. Will they learn to be civil?
And finally their curiosity defines how likely

00:04:01.109 --> 00:04:04.709
they are to get attracted to playing around
with a cloning device. And, I didn’t tell

00:04:04.709 --> 00:04:10.250
you, but I put a secret reward inside them;
when they go in and are cloned, their hunger

00:04:10.250 --> 00:04:13.879
decreases, as if they were to find a banana
inside the device. However, they are not aware

00:04:13.879 --> 00:04:17.849
of this, it is not in their source code. When
they are hungry they only look for bananas,

00:04:17.849 --> 00:04:21.890
they don’t see these machines as food sources.
Do you think Bernie and the team will discover

00:04:21.890 --> 00:04:25.520
and exploit the reward?
This nerd stuff makes the artificial intelligence

00:04:25.520 --> 00:04:29.310
more intelligent and less artificial, because
minions with certain features will tend to

00:04:29.310 --> 00:04:33.300
survive and reproduce more than others with
less successful variants. So the population…

00:04:33.300 --> 00:04:34.620
literally… evolves!

00:04:34.620 --> 00:04:36.840
Let’s find out what our friends learned
then…

00:04:36.840 --> 00:04:41.400
The first hour of simulation the minion count
was stable around a value of 13. In this time,

00:04:41.400 --> 00:04:46.139
they got faster and their area of vision increased,
which helps them to find more sweet long fruits.

00:04:46.139 --> 00:04:50.020
They also became less aggressive, wow! They
begin to understand that fighting each other

00:04:50.020 --> 00:04:54.620
is not cool. And they also absolutely maxed
the value for their curiosity gene! Does it

00:04:54.620 --> 00:04:58.639
mean they discovered the hidden banana reward
and their genes adapted to take advantage of it?

00:04:58.639 --> 00:05:00.949
What happens next? In the following hour the

00:05:00.949 --> 00:05:05.259
population started going up as a consequence
of all the good things they learned. Unfortunately,

00:05:05.259 --> 00:05:09.539
keeping up gets increasingly harder, the more
minions in the lab the harder it is to find

00:05:09.539 --> 00:05:13.639
food. So they went back, they began to clone
less and to fight more, and they even lowered

00:05:13.639 --> 00:05:18.080
their speed of movement to become more energy
efficient, in case they didn't find any food.

00:05:18.080 --> 00:05:22.669
Surprisingly, evolution started favoring minions
with a smaller area of vision. Maybe being

00:05:22.669 --> 00:05:26.979
aware of more stimuli, like other minions
and the cloning devices is distracting them

00:05:26.979 --> 00:05:30.540
from looking for food?
One hour later the population started to look

00:05:30.540 --> 00:05:36.289
stable again. This is now a lab full of old,
slow, short-sighted, mean and boring minions.

00:05:36.289 --> 00:05:40.020
Depressed by the similarities with reality
and tired of listening to minions screaming

00:05:40.020 --> 00:05:44.430
nonsense, I stopped this simulation here and
decided to play around with some of the results.

00:05:44.430 --> 00:05:48.699
I was surprised by how the area of vision
began to go down at some point. I was expecting

00:05:48.699 --> 00:05:52.940
this value to always increase as there are
no obvious drawbacks to it. So I put the hypothesis

00:05:52.940 --> 00:05:56.870
about the minions getting distracted by other
things to the test by completely disabling

00:05:56.870 --> 00:06:00.810
the behavior that makes them bully each other.
In this case, the population grew a lot and

00:06:00.810 --> 00:06:06.139
much much faster, and these fricking smartheads
developed a strategy that only depends on

00:06:06.139 --> 00:06:10.340
the cloning devices as sources of food, they
waste as little energy as minionly possible

00:06:10.340 --> 00:06:14.930
and take turns to get the bananas inside the
machines. Absolutely fascinating, but they

00:06:14.930 --> 00:06:16.870
don’t need a wide vision for this…

00:06:16.870 --> 00:06:21.139
They won this one so I made things harder,
this time I also removed the reward from the

00:06:21.139 --> 00:06:26.009
cloning devices, no more extra bananas. And…
yes! The area of vision increased until a

00:06:26.009 --> 00:06:29.490
point that basically covered the entire lab
and remained kinda stable there.

00:06:29.490 --> 00:06:33.260
However, there is still a slight tendency
for this value to decrease over time, this

00:06:33.260 --> 00:06:38.229
might be because once again the minions evolved
into sloths basically, and being this slow

00:06:38.229 --> 00:06:42.590
they can’t reach distant targets. My conclusion:
it is very hard to predict natural selection,

00:06:42.590 --> 00:06:46.370
I expected the area of vision to simply go
up and it ended up being much more complex

00:06:46.370 --> 00:06:48.949
than that.
There is another interesting finding in this

00:06:48.949 --> 00:06:52.560
experiment, remember I removed the secret
price from the machines? There is absolutely

00:06:52.560 --> 00:06:57.789
no motivation for them to go inside a device,
but their curiosity mutated in favor of this

00:06:57.789 --> 00:07:02.539
behavior anyway, much slower than before,
but still. This is a natural bias, more curious

00:07:02.539 --> 00:07:06.870
minions reproduce more while less curious
ones don’t do as much, so it is less probable

00:07:06.870 --> 00:07:10.720
for their genes to survive over time. You
see? Some features might have no benefits

00:07:10.720 --> 00:07:13.450
at all and evolution could still favor them.

00:07:13.450 --> 00:07:17.229
One last simulation, I wanted to see what
happens if I give them a lot of food.

00:07:17.229 --> 00:07:21.050
Curiously enough, the minion count found an
upper bound at around a value of 40, which

00:07:21.050 --> 00:07:24.949
is much lower than with the previous settings.
They don’t need the hidden banana so they

00:07:24.949 --> 00:07:28.940
reproduce less, it took them a long time to
max their curiosity. The area of vision also

00:07:28.940 --> 00:07:32.020
didn’t increase that much, there is no need
for it, there are bananas everywhere.

00:07:32.020 --> 00:07:36.419
The most impressive result is that the aggressiveness
went straight up for the first time, apparently

00:07:36.419 --> 00:07:40.139
well fed minions have extra time to relax
and do other things, and they only know how

00:07:40.139 --> 00:07:43.789
to be mean. If a few minions bully others,
then the ones with low self-esteem need to

00:07:43.789 --> 00:07:48.480
defend themselves to survive, and the self-interest
cycle begins. I’m impressed by how well

00:07:48.480 --> 00:07:53.659
this represents real life, there was absolutely
no good in this behavior I introduced in the

00:07:53.659 --> 00:07:56.740
simulation, and in a perfect world with plenty
of food, these guys learned to fight each

00:07:56.740 --> 00:08:00.599
other to survive because they could not agree
on the strategy that would clearly be the

00:08:00.599 --> 00:08:04.150
best for all of them.
Lastly, the speed of movement went down in

00:08:04.150 --> 00:08:07.699
this one as well. I guess I’ll have to tweak
the relation between speed and energy to get

00:08:07.699 --> 00:08:09.490
more interesting results in this regard.

00:08:09.490 --> 00:08:12.849
But this is enough for this video, should
I make more like this in the future?

00:08:12.849 --> 00:08:16.129
Let me know in the comments and please consider subscribing
if you enjoyed the content.

00:08:16.129 --> 00:08:19.960
The idea for this project was inspired by
this amazing video, which is in turn inspired

00:08:19.960 --> 00:08:23.479
by a third one I also recommend… so, yeah,
have fun with those, you can find them in

00:08:23.479 --> 00:08:25.740
the description.
Remember to check out Core, the link is in

00:08:25.740 --> 00:08:28.590
the description as well.
And, what do you think? Should we make a game

00:08:28.590 --> 00:08:30.009
about breeding minions or - BANANA!

