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 released in May 2019, and its second version was released online and for iOS & Android in December 2019.
Gameplay
AI Dungeon is a text adventure game; however, unlike traditional text adventure games, which use predetermined content, AI Dungeon uses artificial intelligence to generate effectively limitless open-ended storylines.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?"Players are then prompted to choose a setting for their adventure, followed by other options relevant to the setting.
After beginning an adventure, there are three main interaction methods that can be chosen for each of the player's pieces of text input:
- 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.
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.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.Unlike the single-player game, in which actions and stories use second person narration, multiplayer game stories are presented using third-person narration.
Each game's host player is given additional permissions whereby they can supervise the AI and make modifications to its output.
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.
- 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
Development
''AI Dungeon Classic'' (Early GPT-2)
The first version of AI Dungeon was designed and created by Nick Walton of Brigham Young's 'Perception, Control, and Cognition' deep learning laboratory in March 2019, during a hackathon. Before this, Walton had been working as an intern for several companies working in the field of autonomous vehicles.This creation used an early version of the GPT-2 natural-language-generating neural network, created by OpenAI, allowing it to generate its own original adventure narratives. During his first interactions with GPT-2, Walton was partly inspired by the tabletop game Dungeons & Dragons, which he had played for the first time with his family a few months earlier:
“I realized that there were no games available that gave you the same freedom to do anything that I found in ... You can be so creative compared to other games."
This led him to the question:
"What if you could make an AI dungeon master?"Unlike later versions of AI Dungeon, the original did not allow players to specify any action they wanted. Instead, it generated them a list of possible actions to choose from.
This first version of the game was released to the public in May 2019. It was released within Google Colab ; however, it required the downloading of the full model for each player. 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.
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, and released several months after the public release of AI Dungeon.
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."
''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, compared with the 126 million parameter version used in the earliest stages of AI DungeonAI Dungeon 2
Initially, the new version was released as open source; however, in December 2019, it became closed source and was relaunched by Walton's startup development team, Latitude. This relaunch included both a new web-based interface on December 5 and mobile apps for iOS & Android on December 17. 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.
At this time, Nick Walton also established a Patreon campaign to support the game's further growth and turn the game into a commercial endeavor, which Walton felt was necessary in order to support the cost of delivering a high-quality version of the game. AI Dungeon was one of the only commercial applications to be based upon GPT-2.
Following its first announcement in December 2019, a multiplayer mode was added to the game in April 2020. Hosting a game in this play mode was originally restricted to premium subscribers ; however, it was made a free feature in July 2020.
''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. GPT-3 was trained with 570 gigabytes of text content and can support 175 billion parameters, compared to the 40GB of training content and 1.5 billion parameters of GPT-2. This upgrade allowed AI Dungeon to maintain a much more coherent story than previously possible.The previous, free model, based on a less advanced version of GPT-3, was renamed to Griffin.
Speaking of the differences between GPT-2 and GPT-3, Walton stated:
" 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."
Reception
Approximately two thousand people played the original version of the game within the first month of its May 2019 release. By contrast, within a week of its December 2019 relaunch, the game reached over 100,000 players and over 500,000 play-throughs, and reached 1.5 million players by June 2020.As of December 2019, the game's corresponding Patreon campaign was raising approximately $15,000 per month.