Skip to main content

Can’t get enough of ‘Doom’? A.I. can generate an infinite number of new levels

DOOM Level Generation using Generative Adversarial Networks

Tech companies like Google DeepMind have demonstrated how cutting-edge artificial intelligence can learn how to play classic video games better than most human players. But could an A.I. design classic video game stages as well as human designers? That’s a question posed by researchers from Italy, who have developed an artificial neural network that’s capable of generating a theoretically infinite number of new levels of the classic 1993 first-person-shooter Doom. If you’ve spent the past 25 years wishing Doom would never end, today is your lucky day!

To create the new levels, two deep-learning neural networks were shown 1,000 existing Doom levels. This gave them the ability to learn the features found in popular levels, and use these as the basis for generating new ones. The researchers didn’t directly have any input on the levels generated. However, their selection of the levels used to teach the network allowed them to exert a small amount of control — like the parent who tries to shape their kids’ music tastes by only playing them classic albums produced during the golden age of, say, 1988 to 1997.

“There are no explicit bias encoded in the networks that generate the levels, but we expected — and found in our analysis — the networks generate levels that share similarities with levels used for training,” Daniele Loiacono, an assistant professor at Italy’s Politecnico of Milano, told Digital Trends. “Accordingly, choosing the set of levels to use for training makes it possible to affect the quality and the characteristics of the levels generated.”

So what does this mean for future game design then? Are tomorrow’s AAA developer jobs going to snapped up by bots instead of human creators? Not necessarily.

“We think that this work, as well as several recent works in the game research literature, suggest that it would be possible very soon to develop better design tools, where A.I. could assist human designers with the game content creation,” Loiacono said. “Such ‘intelligent’ design tools could save time for human designers and, at the same time, allow them to work at a higher level of abstraction. Our other work deals with using A.I. to generate game content, including tracks for racing games, 3D assets, weapons and maps for FPS, and levels for platformers. In particular, this approach could be applied to generate maps also for real-time strategy, multiplayer online battle arena, and RPG games.”

Along with Loiacono, other researchers on the project included former Politecnico di Milano student Edoardo Giacomello and Pier Luca Lanzi, a full professor at the university. You can read their paper here. The project’s repository is also available for examination on Github.

Editors' Recommendations

Luke Dormehl
I'm a UK-based tech writer covering Cool Tech at Digital Trends. I've also written for Fast Company, Wired, the Guardian…
Newegg’s AI PC Builder is a dumpster fire that I can’t look away from
Newegg's AI PC builder

Newegg is the latest to capitalize on the hype of ChatGPT by integrating the GPT model into its PC Builder tool. It sounds great -- give it a prompt tailored for your purpose and get a PC build, all with quick links to buy what you need. There's just one problem -- it's terrible.

No, the Newegg AI PC Builder isn't just giving out a few odd recommendations. It's still in beta, and that's to be expected. The problem is that the AI seems to actively ignore the prompt you give it, suggests outlandish and unbalanced PCs, and has a clear bias toward charging you more when you asked to spend less.
A grab bag of nonsense

Read more
Grammarly’s new ChatGPT-like AI generator can do a lot more than proofread your writing
GrammarlyGO's Rewrite for Length feature is shown.

Grammarly, one of the biggest names in writing tools, is adding AI-generated text to its repertoire on the heels of the wild popularity of ChatGPT. Known as GrammarlyGO, this new tool is focused on improving writing rather than replacing the writer.

GrammarlyGO will roll out in beta form to existing users in April. All tiers, including developers, business, education, and premium users, will have access. You can even use GrammarlyGO with a free account.

Read more
I can’t believe I’m recommending Forspoken on PS5 over PC
Frey using magic in Forspoken.

I'll almost always recommend a PC release over a console release. You have access to more graphics options, more opportunities to optimize your performance, and a community-driven support system for modifying or repairing your games. That's especially true as the current generation of consoles begin to show their age.

But there is still an unsung advantage of playing games on console over a PC, and Square Enix's Forspoken brings that advantage the PS5 has over PC into the spotlight.
Forspoken on PS5
Forspoken PS5 Quality vs. Performance vs. Ray Tracing

Read more