WEBVTT
Kind: captions
Language: en-RU

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 created an AI to mimic 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 creatures, they are easily distracted by

00:00:14.539 --> 00:00:17.400
curiosity, and they love crooked yellow fruits.

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

00:00:20.660 --> 00:00:24.250
will look for nearby fruits to snack on.  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'll move on to a better place, maybe they're working

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

00:00:32.009 --> 00:00:35.650
our friend has decided to eat a banana.  If successful, the circle is filled with color.

00:00:35.650 --> 00:00:39.440
It looks like these three are thinking of a different type of banana...

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

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

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

00:00:50.180 --> 00:00:51.920
the lab, it will also go to a better place.

00:00:51.920 --> 00:00:55.830
When our simulated minions exhibit this behavior, two red bubbles will appear.

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

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

00:01:03.420 --> 00:01:07.510
this behavior in the simulation is an obviously radioactive device.  They like to get

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

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

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

00:01:19.260 --> 00:01:22.620
(and spoiler: it's really cool).  A pink bubble indicates when a minion

00:01:22.620 --> 00:01:27.560
gets distracted and creates a clone by mistake.  Or maybe a million of them...

00:01:27.560 --> 00:01:31.540
The AI ​​that controls those yellow bean eyes constantly checks for behavior triggers

00:01:31.540 --> 00:01:35.410
in a limited area that represents the field of view.  For each goal within the scope,

00:01:35.410 --> 00:01:39.390
the probability of completion is calculated based on several parameters.  If a minion is very

00:01:39.390 --> 00:01:42.960
hungry, he's more likely to move towards the banana, and if he has low self-esteem,

00:01:42.960 --> 00:01:45.150
he's likely to try to boost it by making his friend angry.

00:01:45.150 --> 00:01:49.430
But I'm only telling you part of the story, behavior also depends on something else,

00:01:49.430 --> 00:01:52.890
minions are loaded with genetic information that determines their behavior.  And their genes

00:01:52.890 --> 00:01:57.370
mutate as they reproduce, causing the population to evolve to new levels of intelligence.

00:01:57.370 --> 00:02:00.260
And I'll explain this in a minute, but now that we're talking about taking things

00:02:00.260 --> 00:02:06.409
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, publish, and play multiplayer games.  You don't believe me?  Even deadmau5

00:02:11.279 --> 00:02:15.889
has created beautiful worlds with Core, and I'm sure he's a very busy guy!  No coding is required to develop with Core

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

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

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

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

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

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

00:02:42.790 --> 00:02:48.319
human-sized chicken.  By the way, you can also make money by 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 a benefits program that shares 50% of the income

00:02:57.959 --> 00:03:01.280
with the creators!  It's better than any other game creation platform.

00:03:01.280 --> 00:03:07.310
I recommend you 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 stats from their creators, such as their

00:03:11.419 --> 00:03:15.209
movement speed or their aggressiveness, as well as the likelihood that they will bully other minions.

00:03:15.209 --> 00:03:19.209
To do this, the simulation considers a very simplified abstraction of how genetic mutation works in

00:03:19.209 --> 00:03:23.099
real life: when a clone is born, values ​​for each gene - or characteristic - are chosen

00:03:23.099 --> 00:03:27.230
randomly from their parents, and then modified slightly, also randomly, but within tight constraints.  borders.

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

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

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

00:03:37.629 --> 00:03:41.719
eating.  Will evolution force them to get to the bananas further faster or slower

00:03:41.719 --> 00:03:45.579
to survive longer?  The field of view determines, well, how far

00:03:45.579 --> 00:03:49.499
they can see.  For example, the larger the area, the more bananas.  I expected this

00:03:49.499 --> 00:03:51.569
value to increase, there are no obvious downsides to this.

00:03:51.569 --> 00:03:56.069
Aggression is part of the equation that determines how likely a minion is to

00:03:56.069 --> 00:04:01.109
fight another.  Will they learn to be polite?  Finally, their curiosity determines how likely

00:04:01.109 --> 00:04:04.709
they are to enjoy playing with the cloning device.  And, I didn't tell

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

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

00:04:13.879 --> 00:04:17.849
about it, it's 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 food in these machines.  Do you think Bernie and the team will find

00:04:21.890 --> 00:04:25.520
and use the reward?  This nerd stuff makes AI

00:04:25.520 --> 00:04:29.310
smarter and less artificial because minions with certain traits tend

00:04:29.310 --> 00:04:33.300
to survive and reproduce more than others with less fortunate traits.  So, the population is…

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

00:04:34.620 --> 00:04:36.840
Let's find out what our friends learned...

00:04:36.840 --> 00:04:41.400
For the first hour of the simulation, the minion count was stable at around 13. Over that time,

00:04:41.400 --> 00:04:46.139
they became faster and their field of view increased, helping them find sweeter, longer fruits.

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

00:04:50.020 --> 00:04:54.620
not cool.  And they also maximized the value of their curiosity gene!  Does this mean

00:04:54.620 --> 00:04:58.639
they have discovered a hidden banana reward and their genes have adapted to exploit it?

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

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

00:05:05.259 --> 00:05:09.539
's becoming increasingly difficult to keep track of them; the more minions there are 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 slowed down their

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

00:05:18.080 --> 00:05:22.669
Surprisingly, evolution has begun to favor minions with a smaller field of view.  Perhaps

00:05:22.669 --> 00:05:26.979
being aware of more stimuli, such as other minions and cloning devices, distracts them

00:05:26.979 --> 00:05:30.540
from searching for food?  An hour later, the population became

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

00:05:36.289 --> 00:05:40.020
Overwhelmed by the resemblance to reality and tired of listening to the meaningless

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

00:05:44.430 --> 00:05:48.699
I was surprised at how at some point the field of vision began to shrink.  I expected

00:05:48.699 --> 00:05:52.940
this value to always increase since it has no obvious downsides.  So I tested the hypothesis that the

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

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

00:06:00.810 --> 00:06:06.139
much faster, and these fucking smartasses developed a strategy that relies solely on the

00:06:06.139 --> 00:06:10.340
cloning machines as food sources, using as little energy as possible

00:06:10.340 --> 00:06:14.930
and taking turns picking bananas inside the machine.  Absolutely fascinating, but they

00:06:14.930 --> 00:06:16.870
don't need a big vision to do it...

00:06:16.870 --> 00:06:21.139
They won it, so I made it 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 field of view increased to a

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

00:06:29.490 --> 00:06:33.260
However, this value still shows a slight downward trend over time, this

00:06:33.260 --> 00:06:38.229
may be due to the minions being turned into sloths again and being so slow

00:06:38.229 --> 00:06:42.590
they are unable to reach distant targets.  My conclusion is that natural selection is very difficult to predict,

00:06:42.590 --> 00:06:46.370
I expected the field of view to simply increase, and in the end it turned out to be much more complicated

00:06:46.370 --> 00:06:48.949
.  There is another interesting discovery in this experiment

00:06:48.949 --> 00:06:52.560
, remember I removed the secret price from the cars?  They have absolutely

00:06:52.560 --> 00:06:57.789
no motivation to go inside the device, but their curiosity still shifted in favor of such

00:06:57.789 --> 00:07:02.539
behavior, much more slowly 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 reproduce less, so the likelihood of their genes surviving decreases over time

00:07:06.870 --> 00:07:10.720
.  Do you understand?  Some features may have no advantage at all,

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

00:07:13.450 --> 00:07:17.229
In the 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
Oddly enough, the upper limit for minion count is around 40, which is

00:07:21.050 --> 00:07:24.949
much lower than with previous settings.  They don't need a hidden banana, so they

00:07:24.949 --> 00:07:28.940
breed less often, it took them a long time to develop their curiosity.  The field of view has

00:07:28.940 --> 00:07:32.020
n't increased much either, there's no need for that, there are bananas everywhere.  The

00:07:32.020 --> 00:07:36.419
most impressive result is that aggressiveness has increased sharply 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 to

00:07:40.139 --> 00:07:43.789
be angry.  If a few minions bully others, those with low self-esteem need to

00:07:43.789 --> 00:07:48.480
defend themselves to survive, and a cycle of selfishness begins.  I'm impressed by how well

00:07:48.480 --> 00:07:53.659
this represents real life, there was absolutely nothing good about this behavior I imagined in the simulation,

00:07:53.659 --> 00:07:56.740
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 couldn't agree on a strategy that was clearly

00:08:00.599 --> 00:08:04.150
best for all of them.  Finally, the movement speed in this one has also been reduced

00:08:04.150 --> 00:08:07.699
.  I think I'll have to tweak the speed/energy ratio 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, is it worth doing 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 by

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

00:08:23.479 --> 00:08:25.740
description.  Don't forget to check out Core, the link is also in

00:08:25.740 --> 00:08:28.590
the description.  And what do you think?  Make a game

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

