Jump to content

AI Dungeon

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 2603:7000:1f00:6b91:e4dc:c41e:532d:81fe (talk) at 20:56, 11 August 2021 (Content moderation and user privacy). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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 free-to-play single-player and multiplayer text adventure game which uses artificial intelligence to generate 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. The AI model was then upgraded in July 2020.

Gameplay

Gameplay screenshot from the second version of AI Dungeon (originally 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, and the game also provides players with options to undo/redo or modify recent events, in order to improve the game's narrative.[11] Players are also given an option to explicitly tell the AI what elements to "remember" for reference in future parts of their playthrough.[12]

User-generated content

AI dungeon with a custom prompt

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 could also be published for others to play through in their own way. The game provided 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.[13][14]

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

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.[13][14]

Worlds

AI Dungeon also provides players with the ability to set their adventures within specific 'Worlds', which give context to the broader environment in which the adventure takes place.[15] This feature was first released with two different worlds available for selection:

  • "Xaxas is a world of peace and prosperity. It is a land in which all races live together in harmony."[15]
  • "Kedar is a world of dragons, demons, and monsters."[15]

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.[16]
  • 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 a premade avatar for themselves which were generated by Artbreeder,[17] an artificial intelligence website which uses generative adversarial network (GAN) technology to combine and synthesize images.[18]

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[19][20]) was designed and created by Nick Walton of Brigham Young University's 'Perception, Control, and Cognition' deep learning laboratory[10] in March 2019,[9] during a hackathon.[21][22] 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 natural-language-generating neural network, created by OpenAI,[23][24] 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:[21][14][19]

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

This led him to the question:[14]

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

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

This first version of the game was released to the public in May 2019.[19][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[26][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),[27] and released (also on Google Colab) several months after the public release of AI Dungeon.[28][29]

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

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

AI Dungeon 2's AI was given more focused training compared to its predecessor, using genre-specific text.[19] 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[32])[33] and multiple D&D rulebooks & adventures.[34]

Initially, the new version was released as open-source software available on GitHub;[35] however, in December 2019, it became closed-source, proprietary software and was relaunched by Walton's startup development team, Latitude (with Walton taking on the role of CTO[24]).[36] This relaunch included both a new web-based interface on December 5[37][9] and mobile apps for iOS & Android (built by app developer Braydon Batungbacal[10]) on December 17.[38][39] 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.[21][10] AI Dungeon was one of the only commercial applications to be based upon GPT-2.[7]

Following its first announcement in December 2019,[40] 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.[13][14]

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[34]).[41][22] 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.[42][24] This upgrade allowed AI Dungeon to maintain a much more coherent story than previously possible.[43][44]

The free model was also upgraded to GPT-3, albeit a less advanced version, and was named Griffin.[22]

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]

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.[15] 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."[45] The intention of this funding was to move AI content creation beyond the purely text-based nature of AI Dungeon as it existed at the time. In the words of Walton:

“With this technology, you could have a world with tens of thousands of characters with their own hopes and wants and dreams ... You can have worlds that are dynamic, that are alive, rather than something like World of Warcraft, where you’ve got 10 million people who are doing the same quest.”[45]

Reception

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

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

GPT-2 edition reviews

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:[46]

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

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]

GPT-3 edition reviews

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 employee Suchin Gururangan responded to such concerns stating that the behaviour was unexpected and reasoning that such a thing occurs due to a lack of strict constraints placed on the GPT-3 model, and that they did not do enough to prevent it from behaving this way "In the wild".[47][48][49]

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

Content moderation and user privacy

In April 2021, AI Dungeon implemented a new algorithm for content moderation to combat instances of text-based Child pornography created by users. The moderation process involved a human moderator reading through private stories.[55][48][56][57] The filter frequently flagged false positives due to wording, (Terms like "eight-year-old laptop" misread as the age of a child) affecting legal 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 userbase following the change.[47]

References

  1. ^ a b 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.{{cite web}}: CS1 maint: url-status (link)
  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. ^ a b c d Grannell, Craig (2020-01-12). "App of the week: AI Dungeon". Stuff. Retrieved 2020-07-11.{{cite web}}: CS1 maint: url-status (link)
  5. ^ a b 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. ^ a b c d Mundy, Jon (2020-02-28). "AI Dungeon - freeform narrative adventures". TapSmart. Retrieved 2020-07-12.{{cite web}}: CS1 maint: url-status (link)
  7. ^ a b c d e f Kulp, Patrick (2020-07-24). "A Cutting-Edge Storytelling AI Co-Wrote This Story on Itself". Adweek. Retrieved 2020-07-29.{{cite web}}: CS1 maint: url-status (link)
  8. ^ McDonald, Glenn (2020-03-18). "I slayed dragons with an AI-powered dungeon master". Experience Magazine.{{cite web}}: CS1 maint: url-status (link)
  9. ^ a b c d e 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. ^ a b c d e f g h i j k l m Harris, John (2020-01-09). "Creating the ever-improvising text adventures of AI Dungeon 2". Gamasutra. Retrieved 2020-07-26.{{cite web}}: CS1 maint: url-status (link)
  11. ^ Gailloreto, Coleman (2020-11-15). "How Good Is The AI Dungeon At Narrating Roleplaying Games?". ScreenRant. Retrieved 2020-11-20.{{cite web}}: CS1 maint: url-status (link)
  12. ^ Creswell, Jacob (2020-11-17). "AI Dungeon Proves Machine Learning Games Are the Future". Comic Book Resources. Retrieved 2020-11-25.{{cite web}}: CS1 maint: url-status (link)
  13. ^ a b c Dawe, Liam (2020-04-15). "The AI generated text adventure 'AI Dungeon' can now be played online with others". GamingOnLinux. Retrieved 2020-07-11.{{cite web}}: CS1 maint: url-status (link)
  14. ^ a b c d e f g Walton, Nick (2020-04-09). "AI Dungeon Multiplayer is Out!". Medium. Retrieved 2020-07-11.
  15. ^ a b c d Orr, Andrew (2020-10-01). "Delve Into the 'AI Dungeon' for Text-Based Adventures". The Mac Observer. Retrieved 2020-10-03.{{cite web}}: CS1 maint: url-status (link)
  16. ^ a b Cox, Matt (2020-08-03). "Console an AI about its lack of sentience in AI Dungeon 2". Rock, Paper, Shotgun. Retrieved 2020-08-03.
  17. ^ @AiDungeon (May 1, 2020). "How have you been liking the AI generated avatars? (All images created on @Artbreeder)" (Tweet) – via Twitter.
  18. ^ Kulicki, Maks (2020-05-22). "3 Artificial Intelligence tools to enhance your creativity". Medium. Retrieved 2020-07-26.
  19. ^ a b c d e Hitt, Tarpley (2019-12-09). "Meet the Mormon Gamer Who Took Dungeons & Dragons Online". The Daily Beast. Retrieved 2020-07-17.
  20. ^ a b 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.
  21. ^ a b c d 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.{{cite news}}: CS1 maint: url-status (link)
  22. ^ a b c d Walton, Nick (2020-07-14). "AI Dungeon: Dragon Model Upgrade". Medium. Retrieved 2020-07-15.
  23. ^ a b c d Walton, Nick (2020-02-11). "How we scaled AI Dungeon 2 to support over 1,000,000 users". Medium. Retrieved 2020-07-11.
  24. ^ a b c 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.{{cite web}}: CS1 maint: url-status (link)
  25. ^ a b c Lim, Hengtee (2020-06-11). "Can AI Make Video Games? - How Nick Walton Created AI Dungeon". Lionbridge AI. Retrieved 2020-07-11.{{cite web}}: CS1 maint: url-status (link)
  26. ^ Li, Abner (2020-02-08). "Google introduces Colab Pro w/ faster GPUs, more memory". 9to5Google. Retrieved 2020-07-26.
  27. ^ "A student turned the world's best AI bot into a choose your own adventure game". Diagram News. 2019-09-16. Archived from the original on 2020-07-26. Retrieved 2020-07-26.
  28. ^ Rayne, Elizabeth (2019-09-09). "This AI 'choose your own adventure' game literally writes itself as you play". SYFY Wire. Retrieved 2020-07-26.{{cite web}}: CS1 maint: url-status (link)
  29. ^ Robitzski, Dan (2019-09-05). "A neural network dreams up this text adventure game as you play". Futurism. Retrieved 2020-07-26.{{cite web}}: CS1 maint: url-status (link)
  30. ^ Guo, Jingru. "AI Notes: Parameter optimization in neural networks". deeplearning.ai. Retrieved 2020-07-15.
  31. ^ 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.
  32. ^ Diebel, Eric (2015-09-01). "A Brief History Of The Interactive Gamebook". Overmental. Retrieved 2020-07-13.{{cite web}}: CS1 maint: url-status (link)
  33. ^ Boog, Jason (2019-12-14). "The Creator of AI Dungeon 2 Shares GPT-2 Finetuning Advice". Medium. Retrieved 2020-07-30.
  34. ^ a b Coldewey, Devin (2020-06-11). "OpenAI makes an all-purpose API for its text-based AI capabilities". TechCrunch. Retrieved 2020-07-16.{{cite web}}: CS1 maint: url-status (link)
  35. ^ Besly, Jordan (2020-02-22). "Play AI Dungeon like it's 1980". Eigenbahn Blog. Retrieved 2020-07-18.{{cite web}}: CS1 maint: url-status (link)
  36. ^ Vance, Ashlee (2020-06-12). "Trillions of words analyzed, OpenAI sets loose AI language colossus". The Economic Times. Retrieved 2020-07-11.{{cite news}}: CS1 maint: url-status (link)
  37. ^ Risi, Craig (2019-12-10). "AI Dungeon 2 has been released, showcasing even more random, machine-powered adventures". Critical Hit. Retrieved 2020-07-12.{{cite web}}: CS1 maint: url-status (link)
  38. ^ Jeffrey, Cal (2019-12-18). "Non-linear text adventure AI Dungeon 2 now has iOS and Android apps". TechSpot. Retrieved 2020-07-11.{{cite web}}: CS1 maint: url-status (link)
  39. ^ Vincent, James (2019-12-17). "Infinite text adventure AI Dungeon is now available on iOS and Android". The Verge. Retrieved 2020-07-11.
  40. ^ a b Papadopoulos, Loukia (2019-12-29). "10 of the Most Entertaining AIDungeon Stories Out There". Interesting Engineering. Retrieved 2020-07-30.{{cite web}}: CS1 maint: url-status (link)
  41. ^ Frauenfelder, Mark (2020-07-17). "The new, GPT-3-powered version of AI Dungeon is scarily good". Boing Boing. Retrieved 2020-07-18.{{cite web}}: CS1 maint: url-status (link)
  42. ^ 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.{{cite web}}: CS1 maint: url-status (link)
  43. ^ Bastian, Matthias (2020-07-18). "AI Dungeon: KI-Textadventure mit GPT-3 "ein Paradigmenwechsel"". MIXED (in German). Retrieved 2020-07-19.{{cite web}}: CS1 maint: url-status (link)
  44. ^ Nieri, Adam (2020-07-18). "AI-written Scenario for Dungeons & Dragons Is Actually Quite Good". Mind Matters. Retrieved 2020-07-19.{{cite web}}: CS1 maint: url-status (link)
  45. ^ a b Ha, Anthony (2021-02-04). "AI Dungeon-maker Latitude raises $3.3M to build games with 'infinite' story possibilities". TechCrunch. Retrieved 2021-02-09.{{cite web}}: CS1 maint: url-status (link)
  46. ^ a b c Bird, Campbell (2019-12-30). "AI Dungeon review". 148Apps. Retrieved 2020-08-05.{{cite web}}: CS1 maint: url-status (link)
  47. ^ a b c Bicknell, Lindsay. "Latitude Games' AI Dungeon was changing the face of AI-generated content". Utah Business Magazine. Retrieved 23 June 2021.
  48. ^ a b c Simonite, Tom (2021-05-05). "It Began as an AI-Fueled Dungeon Game. It Got Much Darker". Wired. ISSN 1059-1028. Retrieved 2021-05-10.
  49. ^ Stuart, Keith. "Think, fight, feel: how video game artificial intelligence is evolving". The Guardian. Retrieved 20 July 2021.
  50. ^ Vincent, James (2020-07-30). "OpenAI's latest breakthrough is astonishingly powerful, but still fighting its flaws". The Verge. Retrieved 2020-07-31.
  51. ^ 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.{{cite web}}: CS1 maint: url-status (link)
  52. ^ Kriss Ph.D., Alexander (2020-01-03). "I Talked to an AI About Life, Death, and Happiness". Psychology Today. Retrieved 2020-08-05.{{cite web}}: CS1 maint: url-status (link)
  53. ^ Harth, Rafael (2020-07-21). "The "AI Dungeons" Dragon Model is heavily path dependent (testing GPT-3 on ethics)". LessWrong. Retrieved 2020-07-29.{{cite web}}: CS1 maint: url-status (link)
  54. ^ Girdwood, Andrew (2019-12-07). "AI Dungeon 2: An AI-powered choose your own adventure game". Geek Native. Retrieved 2020-08-05.{{cite web}}: CS1 maint: url-status (link)
  55. ^ a b Jackson, Gita (2021-04-30). "Text Adventure Game Community In Chaos Over Moderators Reading Their Erotica". Vice. Retrieved 2021-05-04.{{cite web}}: CS1 maint: url-status (link)
  56. ^ a b Cal, Jeffrey (2021-05-05). "Machine-learning text adventure AI Dungeon is now being censored and users are furious". TechSpot. Retrieved 2021-05-10.{{cite web}}: CS1 maint: url-status (link)
  57. ^ a b Marshall, Cass (2021-04-28). "AI Dungeon's new filter for stories involving minors incenses fans". Polygon. Retrieved 2021-05-10.{{cite web}}: CS1 maint: url-status (link)