search
HomeMobile Game TutorialGaming NewsWill we soon see the day when AI will analyze your skill and automatically adjust the difficulty level? Report on the session where the method and its application to automatic level generation were discussed [CEDEC 2024]

The day may soon come when AI will finely adjust the difficulty based on the player's skill, and even create stages. Held on August 22, 2024 on the second day of the developer conference "CEDEC 2024" ``Methods for analyzing player's 'skill' and game's 'difficulty' and for automatic level generation. In "Applications" , the research results of Square Enix's AI & Engine Development Division were revealed.

AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]

● “Methods for analyzing player skill and game difficulty and application to automatic level generation” Speaker
  • A-seong Song (Square Enix AI & Engine Development Division Programmer)
  • Ken Shirodokoro (Square Enix AI & Engine Development Division AI Programmer)

Photo from left: Mr. Song A-seong, Mr. Ken Shirodokoro
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]


AI analyzes the player's skill and creates a pleasant difficulty


To play the game, players are required to have various abilities such as being able to land attacks and avoid attacks. Mr. Song points out that while each player has areas of strength and weakness, current game difficulty settings are uniform and are not tailored to each individual player.

In such a situation, if you change the difficulty level, all the elements will go up or down uniformly, which could lead to discrepancies. For example, if a person who is bad at evasion but good at attack lowers the difficulty and evades becomes easier, it will become too easy because they already have high skill at attacking.

Therefore, Mr. Song thought, ``If we could dynamically adjust the difficulty level for each field, we could provide an experience that fits each player's strengths and weaknesses.'' To do this, it is necessary to have a system that classifies players' abilities in advance and then allows AI to make judgments and analyses.


This is how the ``Ability Analysis'' mechanism using the ``Ability Graph'' was created. The "Game Master AI" not only monitors play and judges abilities, but also analyzes this and interferes with the development of the game, checking the player's skill and providing assistance or increasing the number of enemies. . An example was given where this was applied to a vertical scrolling shooting technology demo (players walk on land and receive interference from the terrain when moving. Terrain can be destroyed and items appear from within it).

The ability graph has a graph structure in which "ability nodes" are linked by "edges (arrows)." Ability nodes indicate the abilities you want to analyze, such as ``Basic (ability to perform basic tasks such as movement and attacks)'' and ``Action (ability to accomplish goals by making full use of multiple basic abilities, such as defeating enemies and picking up items). )" and "Tactics (abilities that represent gameplay strategies, such as reducing threats, preventing damage, and increasing status)."

Each ability node has a ``Mastery Rate (hereinafter referred to as MR)'' which indicates the player's proficiency level, and a ``Challenge Rate (hereinafter referred to as CR)'' which is the ability requested by the game. A link has a weight (relevance) value set, and the higher the value, the more important it is.
When you actually play the game, the game master AI checks the player's skill in each ability node item based on the ability graph. Ability characteristics are judged using a graph that has two axes: good←→weak and difficult←→easy.High MR means good (low means bad), and high the difference between CR and MR means difficult (low means bad). That's easy).



AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]

Seeing this, the game master AI intervenes in the development of the game. If you are good at something but find it difficult, ask a friendly NPC to help you, and if you are weak at something but find the task itself easy, you can display tips to help you improve, giving detailed follow-up. It can also be applied to production, and if you're having a hard time, you can create a disturbing atmosphere by making the background tattered and raining.

If the player is having a hard time, you can help them, or if the difficulty level is not enough, you can increase the number of enemies and obstacles. Express a ``comfortable difficulty'' that the player will find rewarding. It is said that it will be possible to do so.

AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]

When the player was having trouble destroying the terrain, an ally on the right side of the screen dropped lightning and broke the rocks
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]

In this ability node method, the calculation of MR and CR used for evaluation is important, so various ideas have been devised. Some ability nodes can be directly evaluated and others cannot. For example, in the case of "defeating an enemy," MR can be calculated from the number of enemies defeated and the number not defeated, and CR can be calculated from the type and number of enemies arranged in a level.

However, since tactical abilities are abstract, such as ``increase status'' or ``clear a stage successfully,'' they are estimated using weights from the MR and CR of the parent ability on the graph. This idea itself can be used regardless of the genre or map format, such as FPS, turn-based RPG, FPS, etc.

Looking to the future, Mr. Song said that he would like to be able to estimate the reasons why a play went well or not, and present content that helps people practice the abilities that caused the problem.

AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]


Using AI to automatically generate stages that match the player's skill


In the second half of the lecture, Mr. Shirodokoro talked about an example of using ability nodes and CR to automatically generate levels, an initiative in which AI creates stages according to the player's skill .

When using Procedural Content Generation (hereinafter referred to as PCG) for level generation, in this example, a PCG algorithm corresponding to each CR is required, but if the CR specifications change, the algorithm cannot be used, and multiple An algorithm that takes CR into consideration has the drawback of becoming too complex.

In order to solve this problem, Procedural Content Generation via Reinforcement Learning (level generation using reinforcement learning, hereinafter referred to as PCGRL) was used. It is possible to generate levels based on rewards set by humans, and in this case, if you use CR as a reward, the AI ​​will learn how to create levels.

Reinforcement learning is an agent that learns the best strategy based on rewards, searching for ways to obtain more rewards. In PCGRL, agents receive rewards when they place obstacles in the level they are editing, so they learn to aim for higher rewards (placements that match the intent of the stage design).

AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]

Even when it comes to PCGRL, there are various methods, each with its own limitations. For example, when using PCGRL to automatically generate a puzzle game where you push a crate into a goal (probably the so-called "Sokoban"), you can create a level with a certain degree of difficulty by adjusting the rewards, It is not possible to create levels according to parameters such as controlling the number.

In other words, it is impossible to generate levels according to the target CR. Controllable PCGRL solves this problem. In the example I gave earlier, PCGRL can control aspects such as the number of crates, goals, and the shortest number of steps, but it cannot generate the levels of a complex game like the shooting game that I want to create this time.

Multi-layer PCGRL automatically generates complex game levels by combining "level layers" such as enemies and terrain, "information layers" with information such as CR, terrain generation modules, enemy placement modules, etc. can. The terrain generation module creates the terrain, the enemy placement module places enemies based on this, and the item placement module places items to complete the level.

AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]

AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]

The lecture also explained how Multi-layer PCGRL automatically generates levels regarding the ability to destroy terrain. Multi-layer PCGRL automatically generates one screen at a time. The goal is to obtain an average CR of 20 rows, which is the average CR of 20 rows x 16 columns for one screen. Multi-layer PCGRL repeats trial and error so that the average CR of the generated level is an average of 20 rows CR. In other words, the policy of what level you want to generate is an average of 20 rows CR, and the more it matches, the higher the reward.

In this example, we are conducting a test in which we learn 20 million steps in about 4 days, specify random CRs, and create 100 levels (in this case, 100 screens worth of maps). It takes an average of 0.62 seconds to generate normally, 0.46 seconds to generate roads and other terrain to guide the player, and 0.74 seconds to add obstacles, all of which are fast, and all generated levels take an average of 20 lines. It is said that it met the criteria of CR.

When placing enemies and items on flat terrain with an average CR of 20 lines, enemies could be placed in an average of 0.32 seconds, items in 0.48 seconds, and 100% had an average CR of 20 lines. By having PCGRL edit existing levels, it is also possible to create a level that is easy at first but difficult in the second half. Additionally, when a test was conducted in which PCGRL generated levels in real time during play, good results were obtained.

AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]

AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]

AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]

AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]
AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]

Lastly, Mr. Song talked about ability analysis methods, such as dynamically generating content and quests, having the AI ​​complete maps that the player has begun to create, and creating new games that are single-player but reminiscent of multiplayer, such as player vs. game master AI. He concluded his lecture by talking about future prospects and thinking that it could be applied to sex.

AIが腕前を分析し,難度を自動調節してくれる日も近い? その手法とレベル自動生成への応用が語られたセッションをレポート[CEDEC 2024]

Auto-adjusting the difficulty level using AI has been a dream of game developers, something that has been a long-standing endeavor. It can be said that modern AI research and machine power have made that dream more realistic and far-reaching. As a player, you can enjoy a game that suits your skill level, and the automatic generation of levels will make the development more varied, so it's a wish that comes true. There is a recent trend of creating environments that are easy to play for a wide range of people, and there seems to be a strong need for automatic difficulty adjustment and automatic level generation, and this lecture gave a strong sense of their potential.

The above is the detailed content of Will we soon see the day when AI will analyze your skill and automatically adjust the difficulty level? Report on the session where the method and its application to automatic level generation were discussed [CEDEC 2024]. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Highly Acclaimed Horror Title REPO Is Trending On The PS5 Store, But Unsuspecting Fans BewareHighly Acclaimed Horror Title REPO Is Trending On The PS5 Store, But Unsuspecting Fans BewareMar 13, 2025 pm 04:27 PM

Beware of Fake R.E.P.O. on PlayStation Store! A deceptive game, R.E.P.O Horror, has appeared on the PlayStation 5 store, mimicking the popular Steam Early Access title, R.E.P.O. While currently trending, it's crucial to recognize this as a counterfe

LEGO Pokémon Is Officially Happening Following Leaked VideoLEGO Pokémon Is Officially Happening Following Leaked VideoMar 19, 2025 am 09:33 AM

LEGO is about to launch a Pokémon-themed building block set! In 2026, LEGO will be authorized by Pokémon, which is undoubtedly a grand event for Lego fans and Pokémon fans! Lego has had a wide range of licenses in recent years, ranging from Jaws to Twilight, with almost everything, but Pokémon has always been the exception. Since 2017, Mattel's Microtiles have been authorized by Pokémon, but this situation is about to change. Updated: March 18, 2025 14:17 EST Reported by Lara Jackson LEGO has officially confirmed its cooperation with Pokémon. After the initial leak, LEGO updated its official website and officially announced that it will work with Pokémon soon. No specific set or product has been announced yet, but the official website shows a Pikachu tail made of Lego bricks

Sony Is Reportedly Working On AI-Powered Characters, As Leaks Show Prototype Of Aloy From The Horizon FranchiseSony Is Reportedly Working On AI-Powered Characters, As Leaks Show Prototype Of Aloy From The Horizon FranchiseMar 13, 2025 pm 04:22 PM

Sony is reportedly developing AI-powered PlayStation characters, with leaked footage showcasing an AI-driven Aloy from Horizon Forbidden West. The footage, initially shared online before being removed due to copyright claims, shows Sony Interactive

The Results Are In For February 2025's Top PlayStation Downloads, With Two Hard Hitters Claiming Both US & EU Top SpotsThe Results Are In For February 2025's Top PlayStation Downloads, With Two Hard Hitters Claiming Both US & EU Top SpotsMar 13, 2025 pm 04:26 PM

PlayStation Store’s most popular game in February is revealed: a wonderful showdown between new games and veteran powerhouses! The list of the most popular games in the PlayStation store was released in February, with both expected popular games and some surprising surprises. Unlike Steam, the number of players on the PlayStation platform is not public, so the success of some games is difficult to accurately judge. However, the platform announces several of the most downloaded games every month, giving us a glimpse of the performance of new games and which games can maintain popularity for the long term. According to data released by PlayStation.Blog on March 10, PS5, PS4, PS VR2 and free

Steam Spring Sale Is On Now With Savings On RPG Of The Year, & Thousands More Games Up To 90% OffSteam Spring Sale Is On Now With Savings On RPG Of The Year, & Thousands More Games Up To 90% OffMar 18, 2025 am 09:48 AM

The 2025 Steam Spring Sale is live, offering massive discounts on thousands of games! This includes the 2024 RPG of the Year, Metaphor: ReFantazio, and many more top titles. Steam's seasonal sales are legendary for their deep discounts, saving play

The Sims' Biggest Competitor, inZOI, Reveals PC Specs That Might Already Change Your Mind On PlayingThe Sims' Biggest Competitor, inZOI, Reveals PC Specs That Might Already Change Your Mind On PlayingMar 14, 2025 am 09:02 AM

"inZOI" PC configuration requirements are announced, and some players may be dismissed from The PC configuration requirements for the highly anticipated Sims game "inZOI" have been officially announced recently. However, surprisingly, its configuration requirements are extremely high and may discourage many players. The game developed by inZOI Studio and released by Krafton, Inc. will be officially launched on March 27. The developer has announced the complete hardware requirements for different settings (minimum, medium, recommended and high). The official X account (formerly Twitter) post lists the system, processor, memory, graphics card and storage space required to run "inZOI". Compared with The Sims 4, "inZOI" is

PlayStation Plus Games For March Confirmed, Including UFC 5 & Prince Of PersiaPlayStation Plus Games For March Confirmed, Including UFC 5 & Prince Of PersiaMar 13, 2025 pm 04:21 PM

The PlayStation Plus March game catalog lineup is fully announced, with a variety of exciting new games. All PlayStation Plus members have access to a range of rotational monthly games, while the game catalog includes a larger library of long-term games available to subscribers of Extra and Premium levels. These games are not guaranteed to be permanently available, but they should not be removed immediately by the end of the month. PlayStation Plus game catalog The new games added on March 18 have been announced in the PlayStation blog post, among which UFC 5, Prince of Persia: Lost Crown and Football Young Player: The Rise of New Heroes is the most prominent. The other two-level game catalogs have new games including computers

Battlefield 6's Destructible Environment Footage Leak Has Fans Worried Another 2042 Disaster Is ImminentBattlefield 6's Destructible Environment Footage Leak Has Fans Worried Another 2042 Disaster Is ImminentMar 13, 2025 pm 04:25 PM

Recent leaks from the Battlefield 6 playtest have ignited excitement among fans, particularly the showcased destructible environments. However, the shadow of Battlefield 2042's disastrous launch hangs heavy, fueling concerns about a potential repeat

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),