AI Dungeon

AI Dungeon is a free-to-play single-player and multiplayer text adventure game which uses artificial intelligence to generate unlimited content. It also allows players to create and share their own custom adventure settings. The game's first version was made available on Colab in May 2019, and its second version (initially called AI Dungeon 2) was released online and for iOS & Android in December 2019.

AI Dungeon
Developer(s)Nick Walton, Latitude
Designer(s)Nick Walton
Platform(s)
Release
  • Windows, macOS
  • December 5, 2019
  • Android, iOS
  • December 17, 2019
Genre(s)Interactive fiction
Mode(s)Single-player, multiplayer

Gameplay

Gameplay screenshot from the second version of AI Dungeon (also known as AI Dungeon 2).

AI Dungeon is a text adventure game; however, unlike traditional text adventure games, which use pre-written content,[1] AI Dungeon uses artificial intelligence to generate effectively limitless open-ended storylines.[2][3][4]

When first beginning the game, players are greeted by the following opening:

"You're about to enter a world of endless possibilities, where you can do absolutely anything you can imagine.... Will you proceed?"[5]

Players are then prompted to choose a setting for their adventure (e.g. fantasy, mystery, apocalyptic, cyberpunk, zombies),[6][7] followed by other options relevant to the setting (such as character class for fantasy settings).[8]

After beginning an adventure, there are three main interaction methods that can be chosen for each of the player's pieces of text input:[9]

  • Do: Must be followed by a verb, allowing the player to perform an action.
  • Say: Must be followed by dialog sentences, allowing players to communicate with other characters.
  • Story: Can be followed by sentences describing something that happens to progress the story, or that players want the AI to know for future events.

The game's artificial intelligence allows it to adapt and respond to almost any action entered by the player.[10]

Providing blank input can also be used to prompt the AI to generate further content.

User-generated content

In addition to the pre-configured settings available in AI Dungeon, players also have the ability to create entirely custom "adventures" from scratch, simply by describing the setting in text format. The AI will then generate a setting, based on the user's input.[9][6]

Custom adventures that players create can also be published for others to play through in their own way. The game provides an interface for browsing published adventures, along with the ability to leave comments and upvote/like each one.

Multiplayer

AI Dungeon also features a multiplayer mode, whereby different players each have a dedicated character, and can take turns interacting with the AI within the same game session. This supports both online play across multiple devices or local "pass-n-play" style using a shared device.[11][12]

Unlike the single-player game, in which actions and stories use second person narration ("you..."), multiplayer game stories are presented using third-person narration.[12]

Each game's host player is given additional permissions (likened to that of a Dungeons & Dragons Dungeon Master) whereby they can supervise the AI and make modifications to its output.[11][12]

Premium features

The game also features additional functionality for players who pay for a monthly premium subscription, such as:

  • Access to the advanced Dragon AI model.[13]
  • Text-to-speech functionality to provide audio narration.
  • Custom scripts when creating adventures.
  • The ability to configure advanced settings, such as the length and randomness level of responses.

Artbreeder content

AI Dungeon also provides the ability for players to select avatars for themselves which were generated by Artbreeder, an artificial intelligence website which uses generative adversarial network (GAN) technology to combine and synthesize images.[14]

Development

AI Dungeon Classic (Early GPT-2)

Screenshot from the first version of AI Dungeon (also known as AI Dungeon Classic).

The first version of AI Dungeon (sometimes referred to as AI Dungeon Classic[15][16]) was designed and created by Nick Walton of Brigham Young's 'Perception, Control, and Cognition' deep learning laboratory[10] in March 2019,[9] during a hackathon.[17][18] Before this, Walton had been working as an intern for several companies working in the field of autonomous vehicles.[10]

This creation used an early version of the GPT-2 (Generative Pretrained Transformer 2) natural-language-generating neural network, created by OpenAI,[19][20] allowing it to generate its own original adventure narratives.[5] During his first interactions with GPT-2, Walton was partly inspired by the tabletop game Dungeons & Dragons (D&D), which he had played for the first time with his family a few months earlier:[17][12][15]

“I realized that there were no games available that gave you the same freedom to do anything that I found in [Dungeons & Dragons][12] ... You can be so creative compared to other games."[17]

This led him to the question:[12]

"What if you could make an AI dungeon master?"[21]

However, despite this focus on player freedom, unlike later versions of AI Dungeon, the original did not allow players to specify any action they wanted. Instead, it generated them a finite list of possible actions to choose from.[16]

This first version of the game was released to the public in May 2019.[15][10] It was released within Google Colab (an online Google tool for data scientists and AI researchers, which allows for free execution of code on Google-hosted machines[22][10]); however, it required the downloading of the full model for each player (a size of 5 gigabytes at the time).[10] Within days of the initial release, this mandatory download resulted in bandwidth charges of over $20,000, forcing the temporary shut-down of the game until a peer-to-peer alternative solution was established.[10]

This initial version is not to be confused with another GPT-2-based adventure game, GPT Adventure, created by Northwestern University neuroscience postgraduate student Nathan Whitmore, trained using 1970s text-based games (such as Zork),[23] and released (also on Google Colab) several months after the public release of AI Dungeon.[24][25]

Reflecting later, in July 2020, on the first version of AI Dungeon, its creator, Walton, stated that:

"The first version of AI Dungeon was entertaining in its own wacky way, but it could almost never form a cohesive story ... it was nothing like what it’s become today."[18]

AI Dungeon 2 (Full GPT-2)

In November 2019, a new, 'full' version of GPT-2 was released by OpenAI. This new model included support for 1.5 billion parameters (which determine the accuracy with which a machine learning model can perform a task[26]), compared with the 126 million parameter version used in the earliest stages of AI Dungeon's development.[21][19] The game was recreated by Walton, leveraging this new version of the model, and temporarily rebranded as AI Dungeon 2.[19][27]

AI Dungeon 2's AI was given more focused training compared to its predecessor, using genre-specific text.[15] This training material included approximately 30 megabytes of content web-scraped from chooseyourstory.com (an online community website of content inspired by interactive gamebooks, written by contributors of multiple skill levels, using logic of differing complexity[28])[29] and multiple D&D rulebooks & adventures.[30]

Initially, the new version was released as open source;[31] however, in December 2019, it became closed source and was relaunched by Walton's startup development team, Latitude (with Walton taking on the role of CTO[20]).[32] This relaunch included both a new web-based interface on December 5[33][9] and mobile apps for iOS & Android (built by app developer Braydon Batungbacal[10]) on December 17.[34][35] Other members of this team included Thorsten Kreutz for the game's long-term strategy, and the creator's brother, Alan Walton, for hosting infrastructure.[10]

At this time, Nick Walton also established a Patreon campaign to support the game's further growth (such as addition of multiplayer and voice support,[10] along with longer-term plans to include music and image content[10]) and turn the game into a commercial endeavor, which Walton felt was necessary in order to cover the costs of delivering a high-quality version of the game.[17][10] AI Dungeon was one of the only commercial applications to be based upon GPT-2.[7]

Following its first announcement in December 2019,[36] a multiplayer mode was added to the game in April 2020. Hosting a game in this play mode was originally restricted to premium subscribers (although any players could join a hosted game); however, it was made a free feature in July 2020.[11][12]

Dragon model release (GPT-3)

In July 2020, the developers introduced a premium-exclusive version of the AI model, named Dragon, which uses OpenAI's new API for leveraging the GPT-3 model without maintaining a local copy (released on June 11, 2020[30]).[37][18] GPT-3 was trained with 570 gigabytes of text content (approximately one trillion words, with a $12 million development cost[7]) and can support 175 billion parameters, compared to the 40GB of training content and 1.5 billion parameters of GPT-2.[38][20] This upgrade allowed AI Dungeon to maintain a much more coherent story than previously possible.[39][40]

The free model, which was moved from GPT-2 to a less advanced version of GPT-3, was renamed to Griffin.[18]

Speaking shortly after this release, on the differences between GPT-2 and GPT-3, Walton stated:

"[GPT-3 is] one of the most powerful AI models in the world[1] ... It's just much more coherent in terms of understanding who the characters are, what they’re saying, what’s going on in the story and just being able to write an interesting and believable story."[7]

Reception

Approximately two thousand people played the original version of the game within the first month of its May 2019 release.[15][10] By contrast, within a week of its December 2019 relaunch, the game reached over 100,000 players and over 500,000 play-throughs,[19] and reached 1.5 million players by June 2020.[21]

As of December 2019, the game's corresponding Patreon campaign was raising approximately $15,000 per month.[9]

GPT-2 edition reviews

Reception
Review scores
PublicationScore
Stuff[4]
TapSmart[6]
148Apps[41]

In his January 2020 review of the GPT-2-powered version of AI Dungeon (known at the time as AI Dungeon 2), Craig Grannell of Stuff Magazine named it 'App of the Week' and awarded it 4 out of 5 stars. Grannell praised the game's flexibility and its custom story feature, but criticised the abrupt shifts in content that were common in the GPT-2 edition of the game:[4]

[AI Dungeon is] an endless world of dreamlike storytelling, and a fascinating glimpse into the future of AI.[4]

Campbell Bird of 148Apps also awarded this edition of the game 4 out of 5 stars in his review, also praising its creativity whilst criticising the lack of memory for previous content:[41]

AI Dungeon is like doing improv with a partner who is equal parts enthusiastic and drunk ... [It] is a game that’s charming, occasionally frustrating, but mostly just impressive in its raw creativity and spirit.[41]

Jon Mundy of TapSmart awarded it a 3 out of 5 star rating, similarly praising its variety and the "magical" custom adventure option, but described its adventure narratives as "often too passive and vague" and lacking in resolution.[6]

Creating non-game content

In addition to those who used AI Dungeon for its primary purpose as a game, other users experimented with using its language generation interface to create other forms of content that would not be found in traditional games (primarily via the custom adventure option). Although the game was primarily trained using text adventures, training content for the GPT models themselves included large amounts of web content (including the entirety of the English-language Wikipedia[42]), thereby allowing the game to adapt to areas outside of this core focus.[7] Examples of AI Dungeon being used in this way include it:

  • Co-writing an article discussing GPT-3 itself.[7]
  • Responding to philosophical essays written on GPT-3.[43]
  • Having a discussion with a psychologist.[44]
  • Fabricating an interview discussion on ethics.[45]
  • Participating in its own therapy session.[13]
  • Allowing interaction with fictional versions of celebrities.[36]
  • Posting content to a fictional version of Instagram.[46]

References

  1. Nelius, Joanna (2020-08-03). "This AI-Powered Choose-Your-Own-Adventure Text Game Is Super Fun and Makes No Sense". Gizmodo. Retrieved 2020-08-04.
  2. Macgregor, Jody (December 8, 2019). "This AI writes a text adventure while you play it". PC Gamer. Retrieved December 10, 2019.
  3. Vincent, James (December 6, 2019). "This AI text adventure game has pretty much infinite possibilities". The Verge. Retrieved December 10, 2019.
  4. Grannell, Craig (2020-01-12). "App of the week: AI Dungeon". Stuff. Retrieved 2020-07-11.
  5. Staff, Ars (2020-01-20). "The machines are whispering: We tested AI Dungeon 2 and cannot stop laughing". Ars Technica. Retrieved 2020-07-11.
  6. Mundy, Jon (2020-02-28). "AI Dungeon - freeform narrative adventures". TapSmart. Retrieved 2020-07-12.
  7. Kulp, Patrick (2020-07-24). "A Cutting-Edge Storytelling AI Co-Wrote This Story on Itself". Adweek. Retrieved 2020-07-29.
  8. McDonald, Glenn (2020-03-18). "I slayed dragons with an AI-powered dungeon master". Experience Magazine.
  9. Robertson, Adi (30 December 2019). "The infinite text adventure AI Dungeon 2 is now easy to play online". The Verge. Retrieved 6 March 2020.
  10. Harris, John (2020-01-09). "Creating the ever-improvising text adventures of AI Dungeon 2". Gamasutra. Retrieved 2020-07-26.
  11. Dawe, Liam (2020-04-15). "The AI generated text adventure 'AI Dungeon' can now be played online with others". GamingOnLinux. Retrieved 2020-07-11.
  12. Walton, Nick (2020-04-09). "AI Dungeon Multiplayer is Out!". Medium. Retrieved 2020-07-11.
  13. Cox, Matt (2020-08-03). "Console an AI about its lack of sentience in AI Dungeon 2". Rock, Paper, Shotgun. Retrieved 2020-08-03.
  14. Kulicki, Maks (2020-05-22). "3 Artificial Intelligence tools to enhance your creativity". Medium. Retrieved 2020-07-26.
  15. Hitt, Tarpley (2019-12-09). "Meet the Mormon Gamer Who Took Dungeons & Dragons Online". The Daily Beast. Retrieved 2020-07-17.
  16. Olson, Mathew (2019-12-17). "AI Dungeon 2, the Text Adventure Where You Can do Nearly Anything, Is Now on Mobile". USgamer. Retrieved 2020-07-30.
  17. Knight, Will (2020-02-28). "Forget Chess—the Real Challenge Is Teaching AI to Play D&D". Wired. ISSN 1059-1028. Retrieved 2020-07-16.
  18. Walton, Nick (2020-07-14). "AI Dungeon: Dragon Model Upgrade". Medium. Retrieved 2020-07-15.
  19. Walton, Nick (2020-02-11). "How we scaled AI Dungeon 2 to support over 1,000,000 users". Medium. Retrieved 2020-07-11.
  20. Dormehl, Luke (2020-06-12). "OpenAI's GPT-3 algorithm is here, and it's freakishly good at sounding human". Digital Trends. Retrieved 2020-07-11.
  21. Lim, Hengtee (2020-06-11). "Can AI Make Video Games? - How Nick Walton Created AI Dungeon". Lionbridge AI. Retrieved 2020-07-11.
  22. Li, Abner (2020-02-08). "Google introduces Colab Pro w/ faster GPUs, more memory". 9to5Google. Retrieved 2020-07-26.
  23. "A student turned the world's best AI bot into a choose your own adventure game". Diagram News. 2019-09-16. Retrieved 2020-07-26.
  24. Rayne, Elizabeth (2019-09-09). "This AI 'choose your own adventure' game literally writes itself as you play". SYFY Wire. Retrieved 2020-07-26.
  25. Robitzski, Dan (2019-09-05). "A neural network dreams up this text adventure game as you play". Futurism. Retrieved 2020-07-26.
  26. Guo, Jingru. "AI Notes: Parameter optimization in neural networks". deeplearning.ai. Retrieved 2020-07-15.
  27. Grayson, Nathan (December 6, 2019). "In AI Dungeon 2, You Can Do Anything--Even Start A Rock Band Made Of Skeletons". Kotaku. Retrieved December 14, 2019.
  28. Diebel, Eric (2015-09-01). "A Brief History Of The Interactive Gamebook". Overmental. Retrieved 2020-07-13.
  29. Boog, Jason (2019-12-14). "The Creator of AI Dungeon 2 Shares GPT-2 Finetuning Advice". Medium. Retrieved 2020-07-30.
  30. Coldewey, Devin (2020-06-11). "OpenAI makes an all-purpose API for its text-based AI capabilities". TechCrunch. Retrieved 2020-07-16.
  31. Besly, Jordan (2020-02-22). "Play AI Dungeon like it's 1980". Eigenbahn Blog. Retrieved 2020-07-18.
  32. Vance, Ashlee (2020-06-12). "Trillions of words analyzed, OpenAI sets loose AI language colossus". The Economic Times. Retrieved 2020-07-11.
  33. Risi, Craig (2019-12-10). "AI Dungeon 2 has been released, showcasing even more random, machine-powered adventures". Critical Hit. Retrieved 2020-07-12.
  34. Jeffrey, Cal (2019-12-18). "Non-linear text adventure AI Dungeon 2 now has iOS and Android apps". TechSpot. Retrieved 2020-07-11.
  35. Vincent, James (2019-12-17). "Infinite text adventure AI Dungeon is now available on iOS and Android". The Verge. Retrieved 2020-07-11.
  36. Papadopoulos, Loukia (2019-12-29). "10 of the Most Entertaining AIDungeon Stories Out There". Interesting Engineering. Retrieved 2020-07-30.
  37. Frauenfelder, Mark (2020-07-17). "The new, GPT-3-powered version of AI Dungeon is scarily good". Boing Boing. Retrieved 2020-07-18.
  38. Heaven, Will Douglas (2020-07-20). "OpenAI's new language generator GPT-3 is shockingly good—and completely mindless". MIT Technology Review. Retrieved 2020-07-26.
  39. Bastian, Matthias (2020-07-18). "AI Dungeon: KI-Textadventure mit GPT-3 "ein Paradigmenwechsel"". MIXED (in German). Retrieved 2020-07-19.
  40. Nieri, Adam (2020-07-18). "AI-written Scenario for Dungeons & Dragons Is Actually Quite Good". Mind Matters. Retrieved 2020-07-19.
  41. Bird, Campbell (2019-12-30). "AI Dungeon review". 148Apps. Retrieved 2020-08-05.
  42. Vincent, James (2020-07-30). "OpenAI's latest breakthrough is astonishingly powerful, but still fighting its flaws". The Verge. Retrieved 2020-07-31.
  43. Cai, Fangyu (2020-08-04). "As Its GPT-3 Model Wows the World, OpenAI CEO Suggests 'the Hype Is Way Too Much'". Synced. Retrieved 2020-08-05.
  44. Kriss Ph.D., Alexander (2020-01-03). "I Talked to an AI About Life, Death, and Happiness". Psychology Today. Retrieved 2020-08-05.
  45. Harth, Rafael (2020-07-21). "The "AI Dungeons" Dragon Model is heavily path dependent (testing GPT-3 on ethics)". LessWrong. Retrieved 2020-07-29.
  46. Girdwood, Andrew (2019-12-07). "AI Dungeon 2: An AI-powered choose your own adventure game". Geek Native. Retrieved 2020-08-05.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.