WEBVTT
Kind: captions
Language: en

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

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

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

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

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

00:00:20.660 --> 00:00:24.250
they will look for nearby fruit to eat.  If they can't find any food source,

00:00:24.250 --> 00:00:28.250
their hunger will increase and... let's say they go to a better place, maybe they work

00:00:28.250 --> 00:00:32.009
in a different lab with better health insurance.  When you see the yellow bubble, it means

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

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

00:00:39.440 --> 00:00:42.710
Bernie wants to satisfy their evil needs by being mean to other henchmen.  When a minion makes fun of

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

00:00:46.360 --> 00:00:50.180
that the oppressed will lose self-esteem.  If a minion is uncomfortable in the

00:00:50.180 --> 00:00:51.920
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 perform this type of behavior.

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

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

00:01:03.420 --> 00:01:07.510
for this behavior in the simulation is this apparently radioactive device.  They want to go

00:01:07.510 --> 00:01:10.280
inside it.  But they don't know that these pipes are

00:01:10.280 --> 00:01:14.811
very powerful machines, if there is a minion inside each of them... new life is born!

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

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

00:01:22.620 --> 00:01:27.560
distracted and will create a clone by accident.  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 looking for behavior triggers

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

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

00:01:39.390 --> 00:01:42.960
hungry they are more likely to move on to a banana and if they have low self-esteem they

00:01:42.960 --> 00:01:45.150
are likely to try to increase it by annoying a friend.

00:01:45.150 --> 00:01:49.430
But what I'm telling you is only part of the story, behaviors also depend on other things,

00:01:49.430 --> 00:01:52.890
minions are full of genetic information that determines 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

00:02:00.260 --> 00:02:06.409
we're talking about taking things to the next level, have you heard of 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's a busy man!  No coding is required

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

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

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

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

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

00:02:37.580 --> 00:02:42.790
Hit "publish" and BOOM!  It's there, literally available for everyone to... walk around as

00:02:42.790 --> 00:02:48.319
a human-sized chicken, right away.  By the way, you can also make money making

00:02:48.319 --> 00:02:53.120
games on 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's better than any other game creation platform.  I

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

00:03:07.310 --> 00:03:11.419
Back to the lab.  Clone minions inherit traits from their creators, like their

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

00:03:15.209 --> 00:03:19.209
For this, the simulation considers a very simple abstraction of how

00:03:19.209 --> 00:03:23.099
real-life genetic mutation works: when a clone is born, the values ​​for each gene -or feature- are

00:03:23.099 --> 00:03:27.230
chosen from their parents at random and then modified slightly, also at random but within strict limits.  borders.

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

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

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

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

00:03:41.719 --> 00:03:45.579
to survive for more time?  The field of vision determines, well, how far

00:03:45.579 --> 00:03:49.499
they can see.  A larger 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 this.

00:03:51.569 --> 00:03:56.069
Aggressiveness is part of the equation that determines the likelihood that one minion will

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

00:04:01.109 --> 00:04:04.709
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 enter and are cloned, their hunger is

00:04:10.250 --> 00:04:13.879
reduced, as if a banana is found inside the device.  However, they don't know

00:04:13.879 --> 00:04:17.849
this, it's not in their source code.  When they are hungry they just look for bananas,

00:04:17.849 --> 00:04:21.890
they don't see these machines as a source of food.  Do you think

00:04:21.890 --> 00:04:25.520
Bernie and the team will discover and exploit the reward?  This nerd thing makes artificial intelligence

00:04:25.520 --> 00:04:29.310
smarter and less artificial, as minions with certain features are likely 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... is thriving!

00:04:34.620 --> 00:04:36.840
Let's see what our friends learned then...

00:04:36.840 --> 00:04:41.400
The first hour of the simulation the number of minions was stable at 13. This time,

00:04:41.400 --> 00:04:46.139
they moved faster and their area of ​​vision increased, helping them find sweeter long fruits.

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

00:04:50.020 --> 00:04:54.620
is not cool.  And they really maximized the value for their curiosity gene too!  Does this mean

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

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

00:05:00.949 --> 00:05:05.259
the population began to increase as a result of all the good things they learned.  Unfortunately,

00:05:05.259 --> 00:05:09.539
keeping it is becoming more difficult, the more minions in the lab the harder it is to find

00:05:09.539 --> 00:05:13.639
food.  So they came back, they started cloning less and fighting more, and they even lowered

00:05:13.639 --> 00:05:18.080
their movement speed to be more energy efficient, in case they couldn't find food.

00:05:18.080 --> 00:05:22.669
Surprisingly, evolution began favoring minions with smaller visual fields.  Maybe being

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

00:05:26.979 --> 00:05:30.540
from finding food?  After an hour the population started to look

00:05:30.540 --> 00:05:36.289
stable again.  It's now a lab full of old, slow, short-sighted, evil and boring minions.

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

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 started to decrease at some point.  I expect

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

00:05:52.940 --> 00:05:56.870
about minions being distracted by other things by completely disabling

00:05:56.870 --> 00:06:00.810
the behavior that bullies each other.  In this case, the population grew much

00:06:00.810 --> 00:06:06.139
larger and faster, and these fricking smartheads developed a strategy that depended solely on

00:06:06.139 --> 00:06:10.340
the cloning devices as a food source, they wasted as little energy as possible

00:06:10.340 --> 00:06:14.930
and took turns getting bananas inside the machines.  Absolutely fascinating, but

00:06:14.930 --> 00:06:16.870
they don't need a broad perspective 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 for

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

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

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

00:06:33.260 --> 00:06:38.229
this may be because once again the minions have become sloths, and due to their slowness

00:06:38.229 --> 00:06:42.590
they cannot reach distant targets.  My conclusion: it's very difficult to predict natural selection,

00:06:42.590 --> 00:06:46.370
I expect the area of ​​vision will only increase and it will become more complex

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

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

00:06:52.560 --> 00:06:57.789
no motivation for them to enter a device, but their curiosity still changed in favor of

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

00:07:02.539 --> 00:07:06.870
minions reproduce while less curious ones produce less, so

00:07:06.870 --> 00:07:10.720
their genes are less likely to survive over time.  You see?  Some features may not have any benefits

00:07:10.720 --> 00:07:13.450
and evolution may still favor them.

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

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

00:07:21.050 --> 00:07:24.949
lower than previous settings.  They didn't need the hidden banana so

00:07:24.949 --> 00:07:28.940
they reproduced less, it took them longer to max out their curiosity.  The area of ​​vision didn't increase much either

00:07:28.940 --> 00:07:32.020
, there was no need, there were bananas everywhere.

00:07:32.020 --> 00:07:36.419
The most impressive result is that the aggression goes away for the first time, it seems that the

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

00:07:40.139 --> 00:07:43.789
be mean.  If some henchmen oppress others, then those with low self-esteem have to

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

00:07:48.480 --> 00:07:53.659
well it represented real life, there was absolutely no goodness in this behavior that I introduced into the

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

00:07:56.740 --> 00:08:00.599
to survive because they couldn't get along.  in the strategy that would clearly be

00:08:00.599 --> 00:08:04.150
best for all of them.  Finally, the movement speed has also decreased on this

00:08:04.150 --> 00:08:07.699
one.  I think I need to tweak the relationship 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 in turn was inspired

00:08:19.960 --> 00:08:23.479
by the third one I also recommend... so, yeah, enjoy those, you can find them in the

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

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

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

