Supporting game design with evolutionary algorithms
Evolutionary algorithms optimize game parameters in complex games, enhancing gameplay diversity and competitiveness. The Grailbots demo illustrates Utility AI, emphasizing the need for effective fitness functions in game design.
Read original articleEvolutionary algorithms (EAs) are increasingly being utilized in game design to optimize game parameters by simulating various scenarios, particularly in complex games. These algorithms help balance character classes or unit types in multiplayer online games, ensuring no single strategy dominates gameplay. The article discusses a proof of concept using a demo called Grailbots, which showcases the Utility AI technique. In this demo, two teams of AI-controlled characters compete, with the goal of having the Grailbots win by a narrow margin against waves of enemies. The use of EAs allows for the automatic selection of optimal parameters to achieve this design goal. EAs are inspired by natural selection and involve maintaining a population of potential solutions that evolve over time through processes like mutation and crossover. The article also emphasizes the importance of designing a good fitness function, which evaluates the quality of solutions and can be deterministic or non-deterministic. Effective fitness functions are crucial for the successful application of EAs in game development, as they directly influence the optimization process.
- Evolutionary algorithms optimize game parameters by simulating various scenarios.
- The Grailbots demo illustrates the application of Utility AI in balancing gameplay.
- EAs mimic natural selection, evolving solutions through mutation and crossover.
- A well-designed fitness function is essential for effective optimization in game design.
- EAs can enhance gameplay diversity and competitiveness in multiplayer settings.
Related
"Superhuman" Go AIs still have trouble defending against these simple exploits
Researchers at MIT and FAR AI found vulnerabilities in top AI Go algorithms, allowing humans to defeat AI with unorthodox strategies. Efforts to improve defenses show limited success, highlighting challenges in creating robust AI systems.
Professional Poker Players Know the Optimal Strategy but Don't Always Use It
Professional poker players balance game theory optimal strategies with exploitative play to outsmart opponents. AI advancements challenge traditional approaches, pushing players to blend defensive and aggressive tactics for competitive success in evolving poker dynamics.
Canada-based Artificial Agency raises $16M to alter NPC behaviour in Games
Artificial Agency, a Canadian firm, raised $16 million to advance an AI behavior engine for video game NPCs. Led by ex-Google DeepMind experts, the company aims to innovate NPC interactions, diverging from traditional scripted approaches.
AI is already taking jobs in video game industry
AI's influence in gaming grows as companies like Activision Blizzard adopt generative AI, raising concerns about job security. Layoffs increase, but AI aims to boost efficiency without entirely replacing roles. Ethical worries persist.
Game AI Pro
Game AI Pro is a book series on advancements in game AI, with the latest volume published in December 2021. It covers various topics to enhance AI in video games.
I would call it a very good implementation of "old school" AI, where the behavior of your actors is all about utility curves, Monte Carlo search, and genetic algorithms. Basically all math/algorithm based stuff, kind of like old expert system AI implementations.
Of course "new school" AI is all about neural networks that can automatically learn those complex actor behaviors without the developer explicitly specifying all those mathematical algorithms.
Like many people here I'm very interested in working on hooking up modern "new school" AIs to virtual worlds, so it's very interesting to see Grail as a good concrete example of the algorithmic approach to game AI. I suspect some hybrid fusion of both approaches may give us some interesting and fun AI behavior.
[1] https://grail.com.pl/media/Grail_Whitepaper_June_2021.pdf
Today's game designers might use this sort of thing to find game-breaking exploits before those damned players do.
Many games were ruined post-release because developers tried to make the gameplay "more balanced". This usually leads to everything feeling the same.
Helldivers 2 was a good recent example, which is suprising since it's not a PvP game at all but a co-op PvE only.
NEAT is really well suited to modeling behaviors in a less structured way and gets used to play videogames.
OK I read the article. I'm very skeptical of this approach. I doubt we can actually uncover fitness functions that reliably maps to "fun", and I believe it would require huge engineering effort to keep the game "simulable." Their examples aren't convincing. What would be convincing is a full, complex, and _fun_ game using these techniques.
Also the article seems like an ad for their AI solution.
Related
"Superhuman" Go AIs still have trouble defending against these simple exploits
Researchers at MIT and FAR AI found vulnerabilities in top AI Go algorithms, allowing humans to defeat AI with unorthodox strategies. Efforts to improve defenses show limited success, highlighting challenges in creating robust AI systems.
Professional Poker Players Know the Optimal Strategy but Don't Always Use It
Professional poker players balance game theory optimal strategies with exploitative play to outsmart opponents. AI advancements challenge traditional approaches, pushing players to blend defensive and aggressive tactics for competitive success in evolving poker dynamics.
Canada-based Artificial Agency raises $16M to alter NPC behaviour in Games
Artificial Agency, a Canadian firm, raised $16 million to advance an AI behavior engine for video game NPCs. Led by ex-Google DeepMind experts, the company aims to innovate NPC interactions, diverging from traditional scripted approaches.
AI is already taking jobs in video game industry
AI's influence in gaming grows as companies like Activision Blizzard adopt generative AI, raising concerns about job security. Layoffs increase, but AI aims to boost efficiency without entirely replacing roles. Ethical worries persist.
Game AI Pro
Game AI Pro is a book series on advancements in game AI, with the latest volume published in December 2021. It covers various topics to enhance AI in video games.