Home Mobile Game Tutorial Gaming News 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]

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]

Aug 26, 2024 pm 03:37 PM

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 of this Website
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

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

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Nintendo Switch 2 Has Officially Revealed What The Mysterious C Button Really Does Nintendo Switch 2 Has Officially Revealed What The Mysterious C Button Really Does Apr 03, 2025 am 09:15 AM

The Nintendo Switch 2's right Joy-Con now boasts a dedicated GameChat button (C button). This exciting addition unlocks the console's enhanced social features, allowing for seamless in-game communication. Prior to the official reveal during Nintendo'

Nintendo Switch 2 Price Quietly Revealed By Nintendo Nintendo Switch 2 Price Quietly Revealed By Nintendo Apr 03, 2025 am 09:37 AM

The Nintendo Switch 2 price has been officially revealed! A Nintendo Direct showcased the console's features and upcoming games, but the price was quietly announced in a subsequent press release. Get ready for launch on June 5th! The standard Ninten

Hollow Knight: Silksong Promises 2025 Release During Nintendo Switch 2 Direct Hollow Knight: Silksong Promises 2025 Release During Nintendo Switch 2 Direct Apr 03, 2025 am 09:27 AM

Hollow Knight: Silksong is officially coming to Nintendo Switch 2 in 2025! After a six-year wait, the highly anticipated sequel to the acclaimed Metroidvania, Hollow Knight, is finally nearing release. The news was confirmed during Nintendo's April

Dana White Announces UFC 316 Main And Co-Main Title Fights Dana White Announces UFC 316 Main And Co-Main Title Fights Apr 03, 2025 am 07:40 AM

UFC 316: A Double Header of Title Fights and Exciting Matchups Dana White's Instagram Live announcement ignited the MMA world, revealing a stacked UFC 316 card set for June 7th at the Prudential Center in Newark, New Jersey. The event boasts not one

'Daredevil: Born Again' Misled Everyone In Its Marketing 'Daredevil: Born Again' Misled Everyone In Its Marketing Apr 04, 2025 am 07:43 AM

Daredevil: Born Again's Season 1 – A Strange Start, Promising Finish? Seven episodes into Daredevil: Born Again, and the experience has been… unusual. Spoilers ahead: The return of Karen Page and Foggy Nelson was heavily anticipated after initial re

Dimension 20 Brings WWE Superstars Out Of The Ring And To A D&D Table Dimension 20 Brings WWE Superstars Out Of The Ring And To A D&D Table Apr 04, 2025 am 07:36 AM

Dimension 20's latest Side Quest, Titan Takedown, features a unique collaboration: four WWE Superstars – Xavier Woods (Austin Creed), Kofi Kingston, Bayley, and Chelsea Green – embarking on a D&D adventure. Creed's involvement, leveraging his Up

An Update On The 'House Of David' Season 2 Release Date On Amazon An Update On The 'House Of David' Season 2 Release Date On Amazon Apr 04, 2025 am 07:39 AM

House of David Season 2: What to Expect and When to Watch Excited for more of David's adventures after his epic Goliath battle? Amazon has officially greenlit House of David season 2, and production is reportedly underway! While a precise release d

LEGO Pokémon Is Officially Happening Following Leaked Video LEGO Pokémon Is Officially Happening Following Leaked Video Mar 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

See all articles