AI Dungeon
   HOME

TheInfoList



OR:

''AI Dungeon'' is a
free-to-play Free-to-play (F2P or FtP) video games are games that give players access to a significant portion of their content without paying or do not require paying to continue playing. Free-to-play is distinct from traditional commercial software, which ...
single-player A single-player video game is a video game where input from only one player is expected throughout the course of the gaming session. A single-player game is usually a game that can only be played by one person, while "single-player mode" is usually ...
and
multiplayer A multiplayer video game is a video game in which more than one person can play in the same game environment at the same time, either locally on the same computing system ( couch co-op), on different computing systems via a local area network, or ...
text adventure game which uses artificial intelligence (A.I.) to generate content. It allows players to create and share their own custom adventure settings. The game's first version was made available on Google Colaboratory in May 2019, and its second version (initially called ''AI Dungeon 2'') was released online and for iOS and Android in December 2019. The AI model was then upgraded in July 2020.


Gameplay

''AI Dungeon'' is a text adventure game that uses artificial intelligence to generate random storylines in response to player submitted stimulus. In the game, players are prompted to choose a setting for their adventure (e.g.
fantasy Fantasy is a genre of speculative fiction involving magical elements, typically set in a fictional universe and sometimes inspired by mythology and folklore. Its roots are in oral traditions, which then became fantasy literature and d ...
, mystery, apocalyptic,
cyberpunk Cyberpunk is a subgenre of science fiction in a dystopian futuristic setting that tends to focus on a "combination of lowlife and high tech", featuring futuristic technological and scientific achievements, such as artificial intelligence and ...
,
zombie A zombie ( Haitian French: , ht, zonbi) is a mythological undead corporeal revenant created through the reanimation of a corpse. Zombies are most commonly found in horror and fantasy genre works. The term comes from Haitian folklore, in w ...
s), followed by other options relevant to the setting (such as
character class In tabletop games and video games, a character class is a job or profession commonly used to differentiate the abilities of different game characters. In role-playing games (RPGs), character classes aggregate several abilities and aptitudes, ...
for fantasy settings). After beginning an adventure, there are four main interaction methods that can be chosen for each of the player's pieces of text input: * Do: Must be followed by a
verb A verb () is a word ( part of speech) that in syntax generally conveys an action (''bring'', ''read'', ''walk'', ''run'', ''learn''), an occurrence (''happen'', ''become''), or a state of being (''be'', ''exist'', ''stand''). In the usual descr ...
, 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 description, allowing the player to perceive events, objects, or characters. The game adapts and responds to most actions entered by the player. 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 or redo or modify recent events in order to improve the game's narrative. Players are also given an option to explicitly tell the AI what elements to "remember" for reference in future parts of their play-through.


User-generated content

In addition to the pre-configured settings available in ''AI Dungeon'', players have the ability to create custom "adventures" from scratch 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 be published for others to play. The game provides an interface for browsing published adventures along with the ability to leave comments and
like In English, the word ''like'' has a very flexible range of uses, ranging from conventional to non-standard. It can be used as a noun, verb, adverb, adjective, preposition, particle, conjunction, hedge, filler, and quotative. Uses Comparisons ' ...
them.


Multiplayer

''AI Dungeon'' includes a
multiplayer A multiplayer video game is a video game in which more than one person can play in the same game environment at the same time, either locally on the same computing system ( couch co-op), on different computing systems via a local area network, or ...
mode in which 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 play using a shared device. The game's host players are given additional permissions, whereby they can supervise the AI and make modifications to its output. Unlike the single-player game, in which actions and stories use second person narration, multiplayer game stories are presented using third-person narration.


Worlds

''AI Dungeon'' allows players to set their adventures within specific "Worlds" that give context to the broader environment where the adventure takes place. 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 A dragon is a reptilian legendary creature that appears in the folklore of many cultures worldwide. Beliefs about dragons vary considerably through regions, but dragons in western cultures since the High Middle Ages have often been depicted as ...
,
demons A demon is a malevolent supernatural entity. Historically, belief in demons, or stories about demons, occurs in religion, occultism, literature, fiction, mythology, and folklore; as well as in media such as comics, video games, movies, anime ...
, and monsters".


Development


''AI Dungeon Classic'' (Early GPT-2)

The first version of ''AI Dungeon'' (sometimes referred to as ''AI Dungeon Classic'') was designed and created by Nick Walton of
Brigham Young University Brigham Young University (BYU, sometimes referred to colloquially as The Y) is a private research university in Provo, Utah. It was founded in 1875 by religious leader Brigham Young and is sponsored by the Church of Jesus Christ of Latter-d ...
's "Perception, Control, and Cognition"
deep learning Deep learning (also known as deep structured learning) is part of a broader family of machine learning methods based on artificial neural networks with representation learning. Learning can be supervised, semi-supervised or unsupervised. ...
laboratory in March 2019 during a
hackathon A hackathon (also known as a hack day, hackfest, datathon or codefest; a portmanteau of hacking and marathon) is an event where people engage in rapid and collaborative engineering over a relatively short period of time such as 24 or 48 hours. Th ...
. Before this, Walton had been working as an
intern An internship is a period of work experience offered by an organization for a limited period of time. Once confined to medical graduates, internship is used practice for a wide range of placements in businesses, non-profit organizations and gove ...
for several companies in the field of
autonomous vehicles Vehicular automation involves the use of mechatronics, artificial intelligence, and multi-agent systems to assist the operator of a vehicle (car, aircraft, watercraft, or otherwise).Hu, J.; Bhowmick, P.; Lanzon, A.,Group Coordinated Control o ...
. This creation used an early version of the
GPT-2 Generative Pre-trained Transformer 2 (GPT-2) is an open-source artificial intelligence created by OpenAI in February 2019. GPT-2 translates text, answers questions, summarizes passages, and generates text output on a level that, while someti ...
natural-language-generating
neural network A neural network is a network or circuit of biological neurons, or, in a modern sense, an artificial neural network, composed of artificial neurons or nodes. Thus, a neural network is either a biological neural network, made up of biological ...
, created by
OpenAI OpenAI is an artificial intelligence (AI) research laboratory consisting of the for-profit corporation OpenAI LP and its parent company, the non-profit OpenAI Inc. The company conducts research in the field of AI with the stated goal of promo ...
, allowing it to generate its own original adventure narratives. During his first interactions with GPT-2, Walton was partly inspired by the
tabletop game Tabletop games or tabletops are games that are normally played on a table or other flat surface, such as board games, card games, dice games, miniature wargames, or tile-based games. Classification according to equipment used Tabletop ga ...
Dungeons & Dragons ''Dungeons & Dragons'' (commonly abbreviated as ''D&D'' or ''DnD'') is a fantasy tabletop role-playing game (RPG) originally designed by Gary Gygax and Dave Arneson. The game was first published in 1974 by Tactical Studies Rules, Inc. (TS ...
(D&D), 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 [
Dungeons & Dragons ''Dungeons & Dragons'' (commonly abbreviated as ''D&D'' or ''DnD'') is a fantasy tabletop role-playing game (RPG) originally designed by Gary Gygax and Dave Arneson. The game was first published in 1974 by Tactical Studies Rules, Inc. (TS ...
] ... You can be so creative compared to other games."
This led him to wonder if an AI could function as a Dungeon Master, 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 finite 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 Google LLC () is an American Multinational corporation, multinational technology company focusing on Search Engine, search engine technology, online advertising, cloud computing, software, computer software, quantum computing, e-commerce, ar ...
Colab, an online tool for
data scientists Data science is an interdisciplinary field that uses scientific methods, processes, algorithms and systems to extract or extrapolate knowledge and insights from noisy, structured and unstructured data, and apply knowledge from data across a ...
and AI researchers that allows for free execution of code on Google-hosted machines. It required players to download the full model, 5
gigabyte The gigabyte () is a multiple of the unit byte for digital information. The prefix '' giga'' means 109 in the International System of Units (SI). Therefore, one gigabyte is one billion bytes. The unit symbol for the gigabyte is GB. This definit ...
s of data at the time. Within days of the initial release, this mandatory download resulted in
bandwidth Bandwidth commonly refers to: * Bandwidth (signal processing) or ''analog bandwidth'', ''frequency bandwidth'', or ''radio bandwidth'', a measure of the width of a frequency range * Bandwidth (computing), the rate of data transfer, bit rate or thr ...
charges of over $20,000, forcing the temporary shut-down of the game until a
peer-to-peer Peer-to-peer (P2P) computing or networking is a distributed application architecture that partitions tasks or workloads between peers. Peers are equally privileged, equipotent participants in the network. They are said to form 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 Northwestern University is a private research university in Evanston, Illinois. Founded in 1851, Northwestern is the oldest chartered university in Illinois and is ranked among the most prestigious academic institutions in the world. Charte ...
neuroscience Neuroscience is the science, scientific study of the nervous system (the brain, spinal cord, and peripheral nervous system), its functions and disorders. It is a Multidisciplinary approach, multidisciplinary science that combines physiology, an ...
postgraduate Postgraduate or graduate education refers to academic or professional degrees, certificates, diplomas, or other qualifications pursued by post-secondary students who have earned an undergraduate ( bachelor's) degree. The organization and ...
student Nathan Whitmore, also released on Google Colab several months after the public release of ''AI Dungeon''. Reflecting later on the first version of ''AI Dungeon'', 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 (which determine the accuracy with which a machine learning model can perform a task), compared with the 126 million parameter version used in the earliest stages of ''AI Dungeon'''s development. The game was recreated by Walton, leveraging this new version of the model, and temporarily rebranded as ''AI Dungeon 2''. ''AI Dungeon 2'''s AI was given more focused
training Training is teaching, or developing in oneself or others, any skills and knowledge or fitness that relate to specific useful competencies. Training has specific goals of improving one's capability, capacity, productivity and performance. I ...
compared to its predecessor, using genre-specific text. This training material included approximately 30
megabyte The megabyte is a multiple of the unit byte for digital information. Its recommended unit symbol is MB. The unit prefix ''mega'' is a multiplier of (106) in the International System of Units (SI). Therefore, one megabyte is one million bytes o ...
s 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) and multiple D&D rulebooks &
adventures An adventure is an exciting experience or undertaking that is typically bold, sometimes risky. Adventures may be activities with danger such as traveling, exploring, skydiving, mountain climbing, scuba diving, river rafting, or other extreme ...
. Initially, the new version was released as
open-source software Open-source software (OSS) is computer software that is released under a license in which the copyright holder grants users the rights to use, study, change, and distribute the software and its source code to anyone and for any purpose. ...
available on
GitHub GitHub, Inc. () is an Internet hosting service for software development and version control using Git. It provides the distributed version control of Git plus access control, bug tracking, software feature requests, task management, cont ...
; however, in December 2019, it became closed-source,
proprietary software Proprietary software is software that is deemed within the free and open-source software to be non-free because its creator, publisher, or other rightsholder or rightsholder partner exercises a legal monopoly afforded by modern copyright and i ...
and was relaunched by Walton's start-up development team, Latitude (with Walton taking on the role of CTO). This relaunch included both a new web-based interface on December 5 and
mobile app A mobile application or app is a computer program or software application designed to run on a mobile device such as a phone, tablet, or watch. Mobile applications often stand in contrast to desktop applications which are designed to run on d ...
s for iOS & Android (built by app developer Braydon Batungbacal) 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 Patreon (, ) is a membership platform that provides business tools for content creators to run a subscription service. It helps creators and artists earn a monthly income by providing rewards and perks to their subscribers. Patreon charges a com ...
campaign to support the game's further growth (such as addition of multiplayer and voice support, along with longer-term plans to include music and image content) 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. ''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 mode was originally restricted to premium subscribers, although any players could join a hosted game.


''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 Generative Pre-trained Transformer 3 (GPT-3) is an autoregressive language model that uses deep learning to produce human-like text. Given an initial text as prompt, it will produce text that continues the prompt. The architecture is a standar ...
model without maintaining a local copy (released on June 11, 2020). GPT-3 was trained with 570 gigabytes of text content (approximately one
trillion ''Trillion'' is a number with two distinct definitions: *1,000,000,000,000, i.e. one million million, or (ten to the twelfth power), as defined on the short scale. This is now the meaning in both American and British English. * 1,000,000,000,00 ...
words, with a $12 million development cost) and can support 175 billion parameters, compared to the 40 gigabytes of training content and 1.5 billion parameters of GPT-2. The free model was also upgraded to a less advanced version of GPT-3 and was named ''Griffin''. Speaking shortly after this release, on the differences between GPT-2 and GPT-3, Walton stated:
" PT-3 isone of the most powerful AI models in the world... 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."
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. In February 2021, it was announced that ''AI Dungeon'''s developers, Latitude, had raised $3.3 million in
seed funding Seed money, sometimes known as seed funding or seed capital, is a form of securities offering in which an investor invests capital in a startup company in exchange for an equity stake or convertible note stake in the company. The term ''seed'' su ...
(led by NFX, with participation from Album VC and Griffin Gaming Partners) to "build games with ‘infinite' story possibilities." 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. After its announcement on August 20th, a new 'See' interaction mode was made available for all players and added to the game on August 30th, 2022.


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.


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 ''Stuff'' is a British consumer electronics magazine published by Kelsey Media. History ''Stuff'' was first published in Britain in November 1996 by Dennis Publishing. A bimonthly title, it followed the success of magazines such as ''FHM'' a ...
'' 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:
" 'AI Dungeon'' isan endless world of dreamlike storytelling, and a fascinating glimpse into the future of AI."
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:
''"AI Dungeon'' is like doing improv with a partner who is equal parts enthusiastic and drunk... tis a game that's charming, occasionally frustrating, but mostly just impressive in its raw creativity and spirit."
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.


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 A chief executive officer (CEO), also known as a central executive officer (CEO), chief administrator officer (CAO) or just chief executive (CE), is one of a number of corporate executives charged with the management of an organization especially ...
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".


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 Wikipedia is a multilingual free online encyclopedia written and maintained by a community of volunteers, known as Wikipedians, through open collaboration and using a wiki-based editing system. Wikipedia is the largest and most-read refer ...
), thereby allowing the game to adapt to areas outside of this core focus. Examples of ''AI Dungeon'' being used in this way include: * Co-writing an article discussing GPT-3 itself. * Responding to
philosophical Philosophy (from , ) is the systematized study of general and fundamental questions, such as those about existence, reason, knowledge, values, mind, and language. Such questions are often posed as problems to be studied or resolved. Some ...
essays written on GPT-3. * Having a discussion with a
psychologist A psychologist is a professional who practices psychology and studies mental states, perceptual Perception () is the organization, identification, and interpretation of sensory information in order to represent and understand the pre ...
. * Fabricating an
interview An interview is a structured conversation where one participant asks questions, and the other provides answers.Merriam Webster DictionaryInterview Dictionary definition, Retrieved February 16, 2016 In common parlance, the word "interview" ...
discussion on
ethics Ethics or moral philosophy is a branch of philosophy that "involves systematizing, defending, and recommending concepts of right and wrong behavior".''Internet Encyclopedia of Philosophy'' The field of ethics, along with aesthetics, concer ...
. * Participating in its own
therapy A therapy or medical treatment (often abbreviated tx, Tx, or Tx) is the attempted remediation of a health problem, usually following a medical diagnosis. As a rule, each therapy has indications and contraindications. There are many different ...
session. * Allowing interaction with fictional versions of
celebrities Celebrity is a condition of fame and broad public recognition of a person or group as a result of the attention given to them by mass media. An individual may attain a celebrity status from having great wealth, their participation in sports ...
. * Posting content to a fictional version of
Instagram Instagram is a photo and video sharing social networking service owned by American company Meta Platforms. The app allows users to upload media that can be edited with filters and organized by hashtags and geographical tagging. Posts can ...
. * Creating
pornographic Pornography (often shortened to porn or porno) is the portrayal of Human sexual activity, sexual subject matter for the exclusive purpose of sexual arousal. Primarily intended for adults,
content.


Content moderation and user privacy

In April 2021, ''AI Dungeon'' implemented a new algorithm for
content moderation On Internet websites that invite users to post comments, content moderation is the process of detecting contributions that are irrelevant, obscene, illegal, harmful, or insulting with regards to useful or informative contributions. The purpose of ...
to prevent instances of text-based
simulated child pornography Simulated child pornography is child pornography depicting what appear to be minors but which is produced without the direct involvement of children. Types Types of simulated child pornography include: modified photographs of real children, non- ...
created by users. The moderation process involved a human moderator reading through private stories. The filter frequently flagged
false positives A false positive is an error in binary classification in which a test result incorrectly indicates the presence of a condition (such as a disease when the disease is not present), while a false negative is the opposite error, where the test result ...
due to wording (terms like "eight-year-old laptop" misinterpreted as the age of a child), affecting permissible pornographic and non-pornographic stories. Controversy and
review bombing A review bomb is an Internet phenomenon in which a large number of people or a few people with multiple accounts post negative user reviews online in an attempt to harm the sales or popularity of a product, a service, or a business. While a large ...
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.


Addition of advertisements

In June 2022, ''AI Dungeon'' added
advertisements Advertising is the practice and techniques employed to bring attention to a product or service. Advertising aims to put a product or service in the spotlight in hopes of drawing it attention from consumers. It is typically used to promote a ...
to replace the past "energy" (users would need to wait to get more turns at generating AI content) system. The advertisement system would allow infinite tries of AI output, but would occasionally interrupt gameplay with advertisements. This addition was met with backlash from users, and Latitude would add a beta system in response, allowing storing of actions with the only way of getting more actions being watching an advertisement.


Release on Steam

The
Steam Steam is a substance containing water in the gas phase, and sometimes also an aerosol of liquid water droplets, or air. This may occur due to evaporation or due to boiling, where heat is applied until water reaches the enthalpy of vaporization ...
version of ''AI Dungeon'' was released on July 28, 2022. It received a generally positive reception.


References


External links

* {{Official website, https://aidungeon.io/
Original open-source code for ''AI Dungeon'' on GitHub
(archived) 2010s interactive fiction 2019 video games AI software Browser games Multiplayer and single-player video games Multiplayer video games Interactive fiction Interactive narrative Random text generation Single-player video games Video games developed in the United States Video games using procedural generation