WEBVTT
Kind: captions
Language: en-VI

00:00:00.160 --> 00:00:04.800
I downloaded screenshots from every game on Steam and used neural networks to build a

00:00:04.800 --> 00:00:09.760
Game Map, a landscape where similar-looking games are grouped together.

00:00:09.760 --> 00:00:13.680
What can we learn from the visuals of the most successful games

00:00:13.680 --> 00:00:20.080
and how they are presented on this platform?  To save you the wait, the answer isn't entirely clear.

00:00:20.080 --> 00:00:24.320
But I will guide you through some interesting models, and you can decide for yourself.

00:00:24.320 --> 00:00:29.440
Let's start with the method.  I obtained the data for all Steam games directly from the source,

00:00:29.440 --> 00:00:36.560
via their API and a bit of web scraping.  This includes game tags, prices, reviews, and URLs for

00:00:36.560 --> 00:00:42.160
promotional images used on each store page.  Then, I wrote a small piece of code to download some of

00:00:42.160 --> 00:00:48.160
those images.  I focused on the first image that appeared in the gallery and the title image (a

00:00:48.160 --> 00:00:53.920
wide image that usually includes the game title and serves as the main visual identifier on Steam).

00:00:53.920 --> 00:00:59.440
In total, that provided me with approximately 130,000 images of each type, which I scaled down to

00:00:59.440 --> 00:01:05.600
low-resolution thumbnails for analysis.  That's a lot of pictures.  Performing the following steps

00:01:05.600 --> 00:01:11.760
on all datasets is computationally infeasible, so I narrowed the dataset down to just over 10,000 games.

00:01:11.760 --> 00:01:17.520
To ensure relevance, I included every game with more than 3,000 reviews, and a

00:01:17.520 --> 00:01:26.960
random 5% sample from the rest;  Approximately 3,700 popular games and 6,800 smaller titles, including low-quality ones.

00:01:26.960 --> 00:01:30.720
Then, I used a type of machine learning model called a neural network,

00:01:30.720 --> 00:01:36.560
specifically EfficientNet-B3, to process the images, treating the screenshots and headers as

00:01:36.560 --> 00:01:41.680
two separate groups.  I chose this model because it works well with large image datasets

00:01:41.680 --> 00:01:47.600
and has been proven to be able to identify games from screenshots with high accuracy.

00:01:47.600 --> 00:01:53.280
Neural networks need data to learn patterns.  For training, I used a reference dataset

00:01:53.280 --> 00:01:58.640
called ImageNet-1K;  Over a million images were tagged across thousands of categories,

00:01:58.640 --> 00:02:04.400
from animals and vehicles to everyday objects, all to provide the model with a broad visual platform.

00:02:05.040 --> 00:02:10.560
Models like these generate massive numerical vectors that describe each image.  In this case,

00:02:10.560 --> 00:02:18.240
over 1,500 values ​​capture different image features.  It's so multifaceted that it's

00:02:18.240 --> 00:02:25.267
difficult for us humans to comprehend.  Therefore, I used an algorithm called T-distributed Stochastic Neighbor Embedding.

00:02:25.267 --> 00:02:31.760
We often abbreviate it as t-SNE, and pretend we remember what those letters mean.  I used it

00:02:31.760 --> 00:02:36.960
to compress those multidimensional results into just two dimensions while keeping similar images

00:02:36.960 --> 00:02:42.960
close together and different images further apart.  After obtaining those two-dimensional coordinates,

00:02:42.960 --> 00:02:48.560
I plotted each image as a point on the plane.  And that's the result: a visual map of the game,

00:02:48.560 --> 00:02:52.160
including the cover art and screenshots.

00:02:52.160 --> 00:02:54.800
Exploring the map was fun,

00:02:54.800 --> 00:03:00.000
but it became even more exciting when we started adding metadata.  Throughout the video,

00:03:00.000 --> 00:03:05.280
I will color the dots using various game information obtained from Steam.  Remember,

00:03:05.280 --> 00:03:11.360
the classification process never actually sees any of this metadata.  So, if you notice clusters appearing,

00:03:11.360 --> 00:03:17.120
those patterns are things the model is inferring entirely on its own, based solely on the image.

00:03:17.120 --> 00:03:23.520
For example, these are games that are tagged as 3D;  And these are the games that are tagged as 2D.  It

00:03:23.520 --> 00:03:28.160
seems the model decided to place 3D graphics on the left and 2D graphics on the right.

00:03:28.160 --> 00:03:32.880
We can also consider specific categories.  Some genres are identified with good accuracy,

00:03:32.880 --> 00:03:38.880
such as racing games or graphic novels.  It's possible those images are too typical (for example,

00:03:38.880 --> 00:03:43.760
every racing game shows a racing car) or they're easily recognizable

00:03:43.760 --> 00:03:50.240
based on the training data I used.  Other genres, such as platformers or roguelikes, are

00:03:50.240 --> 00:03:56.080
not clearly grouped together.  Perhaps they simply don't have a single defining image.

00:03:56.640 --> 00:04:01.760
I'll share these charts so you can explore for yourself, but for now, these are some of the

00:04:01.760 --> 00:04:06.720
areas that stand out to me.  For example, there's a large cluster of action games,

00:04:06.720 --> 00:04:13.520
mostly shooters, on the left, and an area I'll politely avoid mentioning in this video, at the top.  The

00:04:13.520 --> 00:04:19.200
large central block is harder to categorize, but it creates a smooth transition between the nearby visual groups:

00:04:19.200 --> 00:04:26.640
alongside shooters, we see titles with a gloomy appearance, followed by sci-fi roads, vehicles and spaceships,

00:04:26.640 --> 00:04:33.600
top-down RPGs, 2D fighting games, 2D platform games, and even puzzle games.

00:04:33.600 --> 00:04:37.440
Overall, the neural network produced a logical composition:

00:04:37.440 --> 00:04:44.160
images placed close together actually looked similar, both in terms of scene elements and visual style.

00:04:44.160 --> 00:04:49.280
Without going into too much detail, we can also compare this to a title map.

00:04:49.280 --> 00:04:54.560
Some earlier categories remained clearly defined, such as racing games.  But other groups,

00:04:54.560 --> 00:05:00.560
neatly grouped together with screenshots, look much more diverse here, such as horror games.

00:05:00.560 --> 00:05:06.720
Interestingly, neural networks can also distinguish between 2D and 3D games based solely on

00:05:06.720 --> 00:05:13.040
their title images.  This suggests that these banners contain some real information about the gameplay.  That's the kind of

00:05:13.040 --> 00:05:19.120
detailed information that's really useful; players can understand it in a similar way to a model.  It's

00:05:19.120 --> 00:05:23.440
also interesting to look at the small "islands" along the edges of the map, the

00:05:23.440 --> 00:05:28.960
game's art pieces that the model has decided to separate from the rest.  What makes them stand out?

00:05:28.960 --> 00:05:34.720
Some of them coincide with games already known for their uniqueness, particularly in terms of art style and graphics.

00:05:35.360 --> 00:05:40.160
Returning to the screenshot, let's start by adding some numerical data;  Starting with the number of

00:05:40.160 --> 00:05:46.800
reviews each game receives, this is a pretty good indicator of sales and overall popularity.

00:05:46.800 --> 00:05:52.960
Surprisingly, there is a notable correlation between screenshots and the number of reviews.  Most of the

00:05:52.960 --> 00:05:58.720
major games are concentrated on the left, with one area having a particularly high density.  So what do they have in common

00:05:58.720 --> 00:06:07.120
?  They're all full of action: guns, runners, war scenes, and lots of explosions.  The

00:06:07.120 --> 00:06:14.320
"Action" tag appears frequently here, but it's also widely used in other games.  Tags such as

00:06:14.320 --> 00:06:23.360
"War", "FPS", "Military", "Tactical", and "Shooting" are also appropriate, although none of them uniquely define

00:06:23.360 --> 00:06:30.400
the region.  A few highly acclaimed exceptions include "It Takes Two" and "Lethal Company".

00:06:31.440 --> 00:06:36.800
On the other hand, poorly rated games tend to be on the right side of the chart.

00:06:36.800 --> 00:06:42.880
However, correlation does not necessarily mean causation.  These images aren't necessarily the reason why the

00:06:42.880 --> 00:06:48.720
games perform the way they do.  It's more likely that powerful 3D action games come

00:06:48.720 --> 00:06:54.160
from large AAA studios with bigger budgets and marketing power, leading to higher sales

00:06:54.160 --> 00:06:59.280
and therefore more positive reviews.  Therefore, it's not the screenshots themselves that drive success,

00:06:59.280 --> 00:07:05.440
but the broader context they reflect.  However, it's fascinating that this type of information

00:07:05.440 --> 00:07:11.920
can be captured in just a single frame of a game.  So what about the psychological impact of the reviews, and the percentage of

00:07:11.920 --> 00:07:16.880
positive reviews each game receives?  How do these screenshots relate to the

00:07:16.880 --> 00:07:21.760
overall reception of a game?  I didn't find much information here, but it's still interesting to note that

00:07:21.760 --> 00:07:28.480
predicting public opinion based solely on screenshots is impractical, at least with this method.

00:07:28.480 --> 00:07:33.600
When we color-code the map according to price, we see another clear correlation, similar to what we found

00:07:33.600 --> 00:07:39.760
with the number of reviews.  We can get a rough estimate of a game's price from its first screenshot.  However,

00:07:39.760 --> 00:07:44.560
that doesn't mean the image determines the price.  Perhaps there's a common element behind both,

00:07:44.560 --> 00:07:49.360
such as some genres implying both a typical price range and a visual style.

00:07:50.000 --> 00:07:55.040
That said, this shows that players associate specific aesthetic elements with

00:07:55.040 --> 00:08:00.240
different price points, because this pattern is very recognizable.  From a practical standpoint, it

00:08:00.240 --> 00:08:05.360
seems difficult to justify a high price if a game looks like those in

00:08:05.360 --> 00:08:12.080
lower price segments.  I often describe many of these games as low-budget games, and the model has recognized that.

00:08:12.080 --> 00:08:17.280
This left-to-right, expensive-to-cheap trend is evident even within smaller clusters, not just the

00:08:17.280 --> 00:08:23.120
main cluster.  Exploring those individual groups helps to show how visuals convey

00:08:23.120 --> 00:08:28.560
production values ​​and the importance of good art direction when creating advertising materials.  It may sound

00:08:28.560 --> 00:08:34.320
trivial, but data confirms that images convey production quality, and therefore price,

00:08:34.320 --> 00:08:39.760
something both we and this model can perceive.  But we shouldn't judge a book by its cover:

00:08:39.760 --> 00:08:46.400
we see that opinions vary widely, and even low-budget games can receive very positive reviews.

00:08:47.120 --> 00:08:53.120
I also want to quickly emphasize that similar patterns emerge when considering game titles.

00:08:53.120 --> 00:08:59.200
The neural network grouped the games by number of reviews and price in a similar way, and

00:08:59.200 --> 00:09:05.040
again failed to capture the reviewers' sentiments.  I find it interesting that these banners contain almost the

00:09:05.040 --> 00:09:09.920
same information as the actual screenshots from the game.  I guess the developers are thinking a lot

00:09:09.920 --> 00:09:15.520
about what their titles convey.  So far, we've covered the

00:09:15.520 --> 00:09:22.240
metadata map from Steam, but images themselves are a rich space to explore.  I wrote some code to

00:09:22.240 --> 00:09:29.200
calculate a few basic features at the pixel level.  This is the dominant color in each image.

00:09:29.200 --> 00:09:33.920
It turns out this is a rather useful attribute for classification.  Overall,

00:09:33.920 --> 00:09:39.440
I think the color red is dominant.  Some areas stand out with their distinctive colors: the

00:09:39.440 --> 00:09:45.280
lower area displays a lot of green, consistent with the many landscapes in that part of the map;

00:09:45.280 --> 00:09:52.080
Action games tend to be orange-themed, with lots of explosions and fire;  And the

00:09:52.080 --> 00:09:58.720
upper area displays a lot of pink, often associated with anime and adult video games, where character art tends to

00:09:58.720 --> 00:10:05.120
focus on lighter skin tones.  However, it's clear that there's a vast and diverse range of art forms, with

00:10:05.120 --> 00:10:10.880
games using color in very different ways.  Image brightness is

00:10:10.880 --> 00:10:17.120
another interesting factor.  The neural network clearly grouped the games by this value, although it didn't consider it the

00:10:17.120 --> 00:10:23.760
primary factor.  If you look closely, the brightness seems to form smaller clusters within larger clusters.

00:10:23.760 --> 00:10:28.720
For example, while 3D-2D differentiation predominates from left to right, brightness

00:10:28.720 --> 00:10:35.040
acts as a finer divide within those groups.  Some genres are visually defined by brightness:

00:10:35.040 --> 00:10:42.320
two extremes are horror games and arcade games, dark and bright respectively.  And if we focus on the

00:10:42.320 --> 00:10:49.280
group of highly-rated games we've seen earlier, they fall somewhere in the middle of the brightness range.

00:10:49.280 --> 00:10:53.280
We observe a similar pattern with saturation: the intensity of color,

00:10:53.280 --> 00:10:59.360
or the vibrancy of an image.  Most games, especially the big titles, fall within the mid-range category.

00:10:59.360 --> 00:11:04.960
Images with high saturation tend to be concentrated on the right side of the map.  This isn't entirely clear,

00:11:04.960 --> 00:11:10.080
but it's not a coincidence either.  Remember, that's where we find games with fewer reviews

00:11:10.080 --> 00:11:17.440
and lower prices.  Perhaps games with higher budgets prefer more realistic, less saturated visuals.

00:11:17.440 --> 00:11:21.200
So, in terms of design, there seem to be some clear conventions,

00:11:21.200 --> 00:11:25.920
especially within certain genres, but there is still plenty of room for artistic freedom.

00:11:25.920 --> 00:11:30.480
I'll leave it to you to discover these insights about the title case, along with a few

00:11:30.480 --> 00:11:35.440
other interesting data points that I've omitted in this video.  There is a link to the charts in the description.

00:11:35.440 --> 00:11:41.600
And if you want to learn more, you can become a member on Patreon to access the entire project.

00:11:41.600 --> 00:11:46.880
This exercise demonstrates that even a low-resolution frame of a game can contain a

00:11:46.880 --> 00:11:51.920
wealth of useful information.  Perhaps a similar process could be helpful for things like

00:11:51.920 --> 00:11:58.960
genre detection or automatic tagging based on visual cues.  However, given the context of this discovery,

00:11:58.960 --> 00:12:04.640
it is difficult to draw general conclusions.  Gaming maps are most valuable when used for specific questions.

00:12:04.640 --> 00:12:11.040
Developers can use it as a reference, a source of ideas, or simply as inspiration for artistic direction,

00:12:11.040 --> 00:12:17.120
exploring both groups and exceptions.  This method has many limitations,

00:12:17.120 --> 00:12:21.200
but that's okay.  The goal is to look at data from a different, more intuitive perspective,

00:12:21.200 --> 00:12:24.960
and to stimulate new ways of thinking.  Developing this process also prompted

00:12:24.960 --> 00:12:29.760
me to research topics I wasn't really familiar with, such as neural networks.  If you'd like to

00:12:29.760 --> 00:12:34.240
learn more about this, I'd like to introduce the sponsor of this video: Brilliant.

00:12:34.240 --> 00:12:38.640
If you've watched to the end of the video, you're probably interested in these topics.

00:12:38.640 --> 00:12:42.400
Brilliant transforms anyone into a science enthusiast, with engaging visuals,

00:12:42.400 --> 00:12:47.920
but also through interactive problem-solving.  Their computer science courses help you build a

00:12:47.920 --> 00:12:52.000
solid foundation, even if you're just starting out, and develop the

00:12:52.000 --> 00:12:58.000
confidence to tackle more complex ideas.  The lessons are compiled by real experts and

00:12:58.000 --> 00:13:04.800
cover everything from algorithmic thinking to artificial intelligence and, yes, neural networks.

00:13:04.800 --> 00:13:08.880
Personally, I find Brilliant incredibly helpful for maintaining sharpness and refreshing

00:13:08.880 --> 00:13:15.120
skills I've forgotten, while also being a friendly yet comprehensive way to explore new topics.

00:13:15.120 --> 00:13:20.720
To learn for free on Brilliant, visit brilliant.org/NewbieIndieGameDev,

00:13:20.720 --> 00:13:25.360
scan the QR code on the screen, or click the link in the description.  Brilliant has also

00:13:25.360 --> 00:13:30.000
given our viewers a 20% discount on the annual Premium subscription, giving you

00:13:30.000 --> 00:13:34.800
unlimited daily access to everything on Brilliant.  I'm sure you'll learn a lot.  I highly

00:13:34.800 --> 00:13:41.440
recommend you give it a try.  Okay, see you next time.

