Jump to content

AI Dungeon

From Wikipedia, the free encyclopedia

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

AI Dungeon is a single-player/multiplayer text adventure game which uses artificial intelligence (AI) to generate content and allows players to create and share adventures and custom prompts. The game's first version was made available in May 2019, and its second version (initially called AI Dungeon 2) was released on Google Colaboratory in December 2019. It was later ported that same month to its current cross-platform web application. The AI model was then reformed in July 2020.

Gameplay

[edit]

AI Dungeon is a text adventure game that uses artificial intelligence to generate random storylines in response to player-submitted stimuli.[1][2][3][4]

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

After beginning an adventure, four main interaction methods can be chosen for the player's text input:[8]

  • Do: Must be followed by a verb, allowing the player to perform an action.
  • Say: Must be followed by dialogue 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.
  • See: Must be followed by a description, allowing the player to perceive events, objects, or characters. Using this command creates an AI generated image, and does not affect gameplay.

The game adapts and responds to most actions the player enters.[9] Providing blank inputs can be used to prompt the AI to generate further content, and the game also provides players with options to undo or redo or modify recent events to improve the game's narrative.[10] Players can also tell the AI what elements to "remember" for reference in future parts of their playthrough.[11]

User-generated content

[edit]
AI Dungeon with a custom prompt

In addition to AI Dungeon's pre-configured settings, players can create custom "adventures" from scratch by describing the setting in text format, which the AI will then generate a setting from.[8][5]

These custom adventures can be published for others to play, with an interface for browsing published adventures and leaving comments under them.

Multiplayer

[edit]

AI Dungeon includes a multiplayer mode in which different players each have their own character and take turns interacting with the AI within the same game session. Multiplayer supports both online play across multiple devices or local play using a shared device.[12][13]

The game's hosts are able to supervise the AI and modify its output.[12][13]

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

Worlds

[edit]

AI Dungeon allows players to set their adventures within specific "Worlds" that give context to the broader environment where the adventure takes place.[14] This feature was first released with two different worlds available for selection: Xaxas, a "world of peace and prosperity"; and Kedar, a "world of dragons, demons, and monsters".[14]

Development

[edit]

AI Dungeon Classic (Early GPT-2)

[edit]
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 University's "Perception, Control, and Cognition" deep learning laboratory[9] in March 2019[8] during a hackathon.[17][18] Before this, Walton had been working as an intern for several companies in the field of autonomous vehicles.[9]

This creation used an early version of the GPT-2 natural-language-generating neural network, created by OpenAI,[19][20] allowing it to generate its original adventure narratives.[21] 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][13][15]

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

This led him to wonder if an AI could function as a dungeon master.[13]

Unlike later versions of AI Dungeon, the original did not allow players to specify any action they wanted. Instead, it generated 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][9] It is not to be confused with another GPT-2-based adventure game, GPT Adventure, created by Northwestern University neuroscience postgraduate student Nathan Whitmore, also released on Google Colab several months after the public release of AI Dungeon.[22][23]

AI Dungeon 2 (Full GPT-2)

[edit]

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[24]), compared with the 126 million parameter version used in the earliest stages of AI Dungeon's development.[25][19] The game was recreated by Walton, leveraging this new version of the model, and temporarily rebranded as AI Dungeon 2.[19][26]

Gameplay screenshot from the second version of AI Dungeon

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[27]) and multiple D&D rulebooks and adventures.[28]

The new version was released in December 2019 as open-source software available on GitHub.[29] It was accessible via Google Colab, an online tool for data scientists and AI researchers that allows for free execution of code on Google-hosted machines.[30][9] It could also be run locally on a PC, but in both cases, it required players to download the full model, around 5 gigabytes of data.[9] 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.[9] Due to the game's sudden and explosive growth that same month, however, it became closed-source, proprietary software and was relaunched by Walton's start-up development team, Latitude (with Walton taking on the role of CTO).[20][31] This relaunch constituted mobile apps for iOS and Android (built by app developer Braydon Batungbacal) on December 17.[32][33][9] 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.[9]

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

Following its first announcement in December 2019, a multiplayer mode was added to the game in April 2020.[34] Hosting a game in this mode was originally restricted to premium subscribers, although any players could join a hosted game.[12][13]

Dragon model release (GPT-3)

[edit]

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).[35][18][28] GPT-3 was trained with 570 gigabytes of text content (approximately one trillion words, with a $12 million development cost[6]) and can support 175 billion parameters, compared to the 40 gigabytes of training content and 1.5 billion parameters of GPT-2.[36][20]

The free model was also upgraded to a less advanced version of GPT-3 and was named 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."[6]

In the latter half of 2020, the "Worlds" feature was added to AI Dungeon, providing players with a selection of overarching worlds in which their adventures can take place.[14] In February 2021, it was announced that AI Dungeon's developers, Latitude, had raised $3.3 million in seed funding (led by NFX, with participation from Album VC and Griffin Gaming Partners) to "build games with 'infinite' story possibilities."[37] this funding intended to move AI content creation beyond the purely text-based nature of AI Dungeon as it existed at the time.

After its announcement on August 20, a new 'See' interaction mode was made available for all players and added to the game on August 30, 2022.

AI Dungeon was retired from Steam on March 12, 2024.[38]

Reception

[edit]

Approximately two thousand people played the original version of the game within the first month of its May 2019 release.[15][9] 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.[25]

As of December 2019, the game's corresponding Patreon campaign had raised approximately $15,000 per month.[8]

GPT-2 edition reviews

[edit]

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 criticized 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 criticizing the lack of memory for previous content:[39]

"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."[39]

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.[5]

GPT-3 edition reviews

[edit]

The AI's tendency to create graphic and sexual content despite not being prompted by players was noted by reviewers, including Lindsay Bicknell. Latitude CEO Nick Walton and researcher Suchin Gururangan responded to such concerns, stating that the behavior was unexpected and reasoning that such a thing occurs due to a lack of strict constraints placed on the GPT-3 model. They stated that they did not do enough to prevent it from behaving this way "in the wild".[40][41][42]

Creating non-game content

[edit]

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), thereby allowing the game to adapt to areas outside of this core focus.[6][43] Examples of AI Dungeon being used in this way include:

Content moderation and user privacy

[edit]

In April 2021, AI Dungeon implemented a new algorithm for content moderation to prevent instances of text-based simulated child pornography created by users. The moderation process involved a human moderator reading through private stories.[49][41][50][51] The filter frequently flagged false positives due to wording (terms like "eight-year-old laptop" misinterpreted as the age of a child), affecting both pornographic and non-pornographic stories. Controversy and review bombing of AI Dungeon occurred as a result of the moderation system, citing false positives and a lack of communication between Latitude and its user base following the change.[40]

Addition of advertisements

[edit]

In June 2022, AI Dungeon added advertisements to replace the past "energy" system, in which users would need to wait for energy to refill to generate more content.[52] The advertisement system would allow for infinite tries of AI output, but would occasionally interrupt gameplay with advertisements. This addition received backlash from users, and Latitude would add a beta system in response, allowing storing of actions through watching advertisements.[53] The advertisement system was removed by the end of 2022.[54]

References

[edit]
  1. ^ Jump up to: a b Nelius, Joanna (August 3, 2020). "This AI-Powered Choose-Your-Own-Adventure Text Game Is Super Fun and Makes No Sense". Gizmodo. Archived from the original on February 28, 2021. Retrieved August 4, 2020.
  2. ^ Macgregor, Jody (December 8, 2019). "This AI writes a text adventure while you play it". PC Gamer. Archived from the original on July 20, 2022. Retrieved December 10, 2019.
  3. ^ Vincent, James (December 6, 2019). "This AI text adventure game has pretty much infinite possibilities". The Verge. Archived from the original on July 13, 2022. Retrieved December 10, 2019.
  4. ^ Jump up to: a b c d Grannell, Craig (January 12, 2020). "App of the week: AI Dungeon". Stuff. Archived from the original on July 12, 2020. Retrieved July 11, 2020.
  5. ^ Jump up to: a b c d Mundy, Jon (February 28, 2020). "AI Dungeon - freeform narrative adventures". TapSmart. Archived from the original on July 14, 2020. Retrieved July 12, 2020.
  6. ^ Jump up to: a b c d e f Kulp, Patrick (July 24, 2020). "A Cutting-Edge Storytelling AI Co-Wrote This Story on Itself". Adweek. Archived from the original on July 27, 2020. Retrieved July 29, 2020.
  7. ^ McDonald, Glenn (March 18, 2020). "I slayed dragons with an AI-powered dungeon master". Experience Magazine. Archived from the original on August 2, 2022.
  8. ^ Jump up to: a b c d Robertson, Adi (December 30, 2019). "The infinite text adventure AI Dungeon 2 is now easy to play online". The Verge. Archived from the original on June 1, 2022. Retrieved March 6, 2020.
  9. ^ Jump up to: a b c d e f g h i j k l m Harris, John (January 9, 2020). "Creating the ever-improvising text adventures of AI Dungeon 2". Gamasutra. Archived from the original on July 26, 2020. Retrieved July 26, 2020.
  10. ^ Gailloreto, Coleman (November 15, 2020). "How Good Is The AI Dungeon At Narrating Roleplaying Games?". Screen Rant. Archived from the original on November 20, 2020. Retrieved November 20, 2020.
  11. ^ Creswell, Jacob (November 17, 2020). "AI Dungeon Proves Machine Learning Games Are the Future". Comic Book Resources. Archived from the original on November 19, 2020. Retrieved November 25, 2020.
  12. ^ Jump up to: a b c Dawe, Liam (April 15, 2020). "The AI generated text adventure 'AI Dungeon' can now be played online with others". GamingOnLinux. Archived from the original on April 29, 2023. Retrieved July 11, 2020.
  13. ^ Jump up to: a b c d e f g Walton, Nick (April 9, 2020). "AI Dungeon Multiplayer is Out!". Medium. Archived from the original on July 11, 2020. Retrieved July 11, 2020.
  14. ^ Jump up to: a b c Orr, Andrew (October 1, 2020). "Delve Into the 'AI Dungeon' for Text-Based Adventures". The Mac Observer. Archived from the original on October 10, 2020. Retrieved October 3, 2020.
  15. ^ Jump up to: a b c d e Hitt, Tarpley (December 9, 2019). "Meet the Mormon Gamer Who Took Dungeons & Dragons Online". The Daily Beast. Archived from the original on October 23, 2020. Retrieved July 17, 2020.
  16. ^ Jump up to: a b Olson, Mathew (December 17, 2019). "AI Dungeon 2, the Text Adventure Where You Can do Nearly Anything, Is Now on Mobile". USgamer. Archived from the original on September 20, 2020. Retrieved July 30, 2020.
  17. ^ Jump up to: a b c d Knight, Will (February 28, 2020). "Forget Chess—the Real Challenge Is Teaching AI to Play D&D". Wired. ISSN 1059-1028. Archived from the original on July 16, 2020. Retrieved July 16, 2020.
  18. ^ Jump up to: a b c Walton, Nick (July 14, 2020). "AI Dungeon: Dragon Model Upgrade". Medium. Archived from the original on October 31, 2020. Retrieved July 15, 2020.
  19. ^ Jump up to: a b c d Walton, Nick (February 11, 2020). "How we scaled AI Dungeon 2 to support over 1,000,000 users". Medium. Archived from the original on July 11, 2020. Retrieved July 11, 2020.
  20. ^ Jump up to: a b c Dormehl, Luke (June 12, 2020). "OpenAI's GPT-3 algorithm is here, and it's freakishly good at sounding human". Digital Trends. Archived from the original on July 20, 2020. Retrieved July 11, 2020.
  21. ^ Staff, Ars (January 20, 2020). "The machines are whispering: We tested AI Dungeon 2 and cannot stop laughing". Ars Technica. Archived from the original on July 11, 2020. Retrieved July 11, 2020.
  22. ^ Rayne, Elizabeth (September 9, 2019). "This AI 'choose your own adventure' game literally writes itself as you play". SYFY Wire. Archived from the original on July 26, 2020. Retrieved July 26, 2020.
  23. ^ Robitzski, Dan (September 5, 2019). "A neural network dreams up this text adventure game as you play". Futurism. Archived from the original on July 26, 2020. Retrieved July 26, 2020.
  24. ^ Guo, Jingru. "AI Notes: Parameter optimization in neural networks". DeepLearning.AI. Archived from the original on July 15, 2020. Retrieved July 15, 2020.
  25. ^ Jump up to: a b Lim, Hengtee (June 11, 2020). "Can AI Make Video Games? - How Nick Walton Created AI Dungeon". Lionbridge AI. Archived from the original on July 11, 2020. Retrieved July 11, 2020.
  26. ^ Grayson, Nathan (December 6, 2019). "In AI Dungeon 2, You Can Do Anything--Even Start A Rock Band Made Of Skeletons". Kotaku. Archived from the original on June 1, 2022. Retrieved December 14, 2019.
  27. ^ Diebel, Eric (September 1, 2015). "A Brief History Of The Interactive Gamebook". Overmental. Archived from the original on December 2, 2020. Retrieved July 13, 2020.
  28. ^ Jump up to: a b Coldewey, Devin (June 11, 2020). "OpenAI makes an all-purpose API for its text-based AI capabilities". TechCrunch. Archived from the original on April 29, 2023. Retrieved July 16, 2020.
  29. ^ Besly, Jordan (February 22, 2020). "Play AI Dungeon like it's 1980". Eigenbahn Blog. Archived from the original on July 18, 2020. Retrieved July 18, 2020.
  30. ^ Li, Abner (February 8, 2020). "Google introduces Colab Pro w/ faster GPUs, more memory". 9to5Google. Archived from the original on July 26, 2020. Retrieved July 26, 2020.
  31. ^ Vance, Ashlee (June 12, 2020). "Trillions of words analyzed, OpenAI sets loose AI language colossus". The Economic Times. Archived from the original on July 31, 2020. Retrieved July 11, 2020.
  32. ^ Jeffrey, Cal (December 18, 2019). "Non-linear text adventure AI Dungeon 2 now has iOS and Android apps". TechSpot. Archived from the original on July 12, 2020. Retrieved July 11, 2020.
  33. ^ Vincent, James (December 17, 2019). "Infinite text adventure AI Dungeon is now available on iOS and Android". The Verge. Archived from the original on July 12, 2020. Retrieved July 11, 2020.
  34. ^ Jump up to: a b Papadopoulos, Loukia (December 29, 2019). "10 of the Most Entertaining AIDungeon Stories Out There". Interesting Engineering. Archived from the original on April 23, 2020. Retrieved July 30, 2020.
  35. ^ Frauenfelder, Mark (July 17, 2020). "The new, GPT-3-powered version of AI Dungeon is scarily good". Boing Boing. Archived from the original on July 18, 2020. Retrieved July 18, 2020.
  36. ^ Heaven, Will Douglas (July 20, 2020). "OpenAI's new language generator GPT-3 is shockingly good—and completely mindless". MIT Technology Review. Archived from the original on July 25, 2020. Retrieved July 26, 2020.
  37. ^ Ha, Anthony (February 4, 2021). "AI Dungeon-maker Latitude raises $3.3M to build games with 'infinite' story possibilities". TechCrunch. Archived from the original on April 29, 2023. Retrieved February 9, 2021.
  38. ^ "AI Dungeon - AI Dungeon on Steam has been retired - Steam News". store.steampowered.com. March 12, 2024. Retrieved July 12, 2024.
  39. ^ Jump up to: a b c Bird, Campbell (December 30, 2019). "AI Dungeon review". 148Apps. Archived from the original on March 17, 2020. Retrieved August 5, 2020.
  40. ^ Jump up to: a b c Bicknell, Lindsay (June 22, 2021). "Latitude Games' AI Dungeon was changing the face of AI-generated content". Utah Business Magazine. Archived from the original on July 4, 2022. Retrieved June 23, 2021.
  41. ^ Jump up to: a b c Simonite, Tom (May 5, 2021). "It Began as an AI-Fueled Dungeon Game. It Got Much Darker". Wired. ISSN 1059-1028. Archived from the original on May 10, 2021. Retrieved May 10, 2021.
  42. ^ Stuart, Keith (July 19, 2021). "Think, fight, feel: how video game artificial intelligence is evolving". The Guardian. Archived from the original on June 1, 2022. Retrieved July 20, 2021.
  43. ^ Vincent, James (July 30, 2020). "OpenAI's latest breakthrough is astonishingly powerful, but still fighting its flaws". The Verge. Archived from the original on July 30, 2020. Retrieved July 31, 2020.
  44. ^ Cai, Fangyu (August 4, 2020). "As Its GPT-3 Model Wows the World, OpenAI CEO Suggests 'the Hype Is Way Too Much'". Synced. Archived from the original on August 7, 2020. Retrieved August 5, 2020.
  45. ^ Kriss Ph.D., Alexander (January 3, 2020). "I Talked to an AI About Life, Death, and Happiness". Psychology Today. Archived from the original on April 29, 2023. Retrieved August 5, 2020.
  46. ^ Harth, Rafael (July 21, 2020). "The "AI Dungeons" Dragon Model is heavily path dependent (testing GPT-3 on ethics)". LessWrong. Archived from the original on July 31, 2020. Retrieved July 29, 2020.
  47. ^ Cox, Matt (August 3, 2020). "Console an AI about its lack of sentience in AI Dungeon 2". Rock, Paper, Shotgun. Archived from the original on September 12, 2020. Retrieved August 3, 2020.
  48. ^ Girdwood, Andrew (December 7, 2019). "AI Dungeon 2: An AI-powered choose your own adventure game". Geek Native. Archived from the original on July 8, 2020. Retrieved August 5, 2020.
  49. ^ Jump up to: a b Jackson, Gita (April 30, 2021). "Text Adventure Game Community In Chaos Over Moderators Reading Their Erotica". Vice. Archived from the original on April 30, 2021. Retrieved May 4, 2021.
  50. ^ Jump up to: a b Cal, Jeffrey (May 5, 2021). "Machine-learning text adventure AI Dungeon is now being censored and users are furious". TechSpot. Archived from the original on May 5, 2021. Retrieved May 10, 2021.
  51. ^ Jump up to: a b Marshall, Cass (April 28, 2021). "AI Dungeon's new filter for stories involving minors incenses fans". Polygon. Archived from the original on April 28, 2021. Retrieved May 10, 2021.
  52. ^ "Latitude". latitude.io. Archived from the original on July 16, 2022. Retrieved July 11, 2022.
  53. ^ "Latitude Blog: A Retrospective on Ads". latitude.io. Archived from the original on July 15, 2022. Retrieved July 11, 2022.
  54. ^ "Latitude Blog: Unchained Release and Product Updates". latitude.io. Archived from the original on April 15, 2023. Retrieved April 15, 2023.
[edit]