Software:Theaitre
Theaitre (stylized as THEaiTRE) is an interdisciplinary research project investigating to what extent artificial intelligence is able to generate theatre play scripts.[1] The first theatre play produced within the project, AI, premiered online on February 26, 2021.[2]
Goal
Following similar previous projects such as Sunspring, a short sci-fi movie with an automatically generated script, the THEaiTRE project investigates whether current language generation approaches are mature enough to generate a theatre play script that could be successfully performed in front of an audience.[3][4] The project falls within the area of generative art, famously represented e.g. by the portrait of Edmond de Belamy which was generated by an artificial neural network. In this field, artists are trying to use automated techniques to create "art", questioning the modern definition of art itself.
More broadly, the project aims at promoting cooperation rather than competition of humans and artificial intelligence as the more beneficial approach for both.[5]
The first theatre play created within the project, titled AI: When a Robot Writes a Play, was presented in February 2021 at the 100th anniversary of the premiere of the R.U.R. theatre play by the Czech author Karel Čapek to celebrate the invention of the word "robot".[6] While R.U.R. was a play written by a human about robots (and humans), THEaiTRE tried to reverse this idea by presenting a play written by a "robot" (artificial intelligence) about humans (and robots).[7] The script of the play was published online, with marked parts of the text which were written manually or manually post-edited.[8] The analysis shows that 90% of the script is automatically generated, with 10% manually written or manually post-edited.
The project also plans to produce a second play in 2022, addressing some of the many shortcomings of the approach used to generate the first play, as well as attempting to further minimize the amount of human influence on the script.[4]
Approach
At the core of the project is the GPT-2 language model by OpenAI with various adjustments motivated by the task of generating theatre play scripts, for which the model is not particularly trained.[9]
The GPT-2 model is used in the usual way, providing it with a start of a document and prompting it to generate a continuation of the document. Specifically, the input for GPT-2 in this project is typically a short description of the scene setting, followed by a few lines to introduce the characters and start the dialogue. The model then generates 10 continuation lines, and hands control to the user, who can then either ask the model to continue generating, or make various edits before letting the model to generate further, deleting some parts of the script or adding new lines into the script.[10][11]
The adjustments include restricting the generator to only produce lines pertaining to characters appearing in the input prompt, limiting the repetitiveness of the generated text, and employing automatic summarization of the input prompt and the generated text to overcome the limitation of the GPT-2 model which only attends to the last 1,024 subword tokens.[12]
The limitations of the model include, among other, a lack of distinctiveness and self-consistency of the characters, an inability to generate the script for the whole play (scripts for individual scenes are generated independently), and errors due to the employment of automated machine translation, as GPT-2 generates English texts but the final play script is being produced in Czech language.[12][13]
The source codes of the project are available under the MIT licence.[14] The project has also published some sample outputs.[15]
Team
The project is a cooperation of the following experts, all based in Prague, Czech Republic:
- computational linguists from the Faculty of Mathematics and Physics, Charles University
- theatre experts from the Švanda Theatre and from the Theatre Faculty of the Academy of Performing Arts in Prague
- hackers from CEE Hacks[16]
The project is financially supported by the Technology Agency of the Czech Republic.
References
- ↑ "THEaiTRE: Can a robot write a theatre play?". https://theaitre.com.
- ↑ "AI: When a robot writes a play". Švandovo divadlo. https://www.svandovodivadlo.cz/en/inscenations/673/ai-kdyz-robot-pise-hru/3445.
- ↑ Fadelli, Ingrid (3 August 2020). "THEaiTRE: A theatre play written entirely by machines" (in en). techxplore.com. https://techxplore.com/news/2020-08-theaitre-theatre-written-machines.html.
- ↑ 4.0 4.1 Oller, Jacob (4 August 2020). "Broadway 'bots? Robots are writing a play to celebrate the 100th anniversary of the word 'robot'" (in en). SYFY WIRE. https://www.syfy.com/syfywire/robot-writing-stageplay-theaitre.
- ↑ Rosa, Rudolf. "THEAITRE: Umělá inteligence autorem divadelní hry?". ÚFAL MFF UK. http://ufal.mff.cuni.cz/grants/theaitre.
- ↑ Morgan, Fergus (22 February 2021). "The AI's the thing: How a robot wrote a play about joy and suffering" (in En). The Stage. https://www.thestage.co.uk/features/the-ais-the-thing-how-a-robot-wrote-a-play-about-joy-and-suffering.
- ↑ Lowe, Simon (10 January 2021). "Art meets tech to mark first 100 years of the robot" (in en). the Guardian. https://www.theguardian.com/technology/2021/jan/10/art-meets-tech-to-mark-first-100-years-of-the-robot.
- ↑ THEaiTRobot 1.0; Košťák, David; Hrbek, Daniel; Rosa, Rudolf; Dušek, Ondřej. AI: When a Robot Writes a Play. Institute of Formal and Applied Linguistics (ÚFAL MFF UK). https://ufal.mff.cuni.cz/techrep/tr67.pdf.
- ↑ Rosa, Rudolf; Dušek, Ondřej; Kocmi, Tom; Mareček, David; Musil, Tomáš; Schmidtová, Patrícia; Jurko, Dominik; Bojar, Ondřej et al. (January 2021). "THEaiTRE: Artificial Intelligence to Write a Theatre Play". AI4Narratives 2020 Workshop on Artificial Intelligence for Narratives: 9–13. http://ceur-ws.org/Vol-2794/.
- ↑ Rosa, Rudolf. "THEaiTRE: Demo of THEaiTRobot 1.0". https://www.youtube.com/watch?v=ksrZouM7Wyg.
- ↑ P, Erika (4 August 2020). "Can A Robot Write A Theater Play? The Unusual Collaboration Between AI, Robotics and Theater" (in en). Science Times. https://www.sciencetimes.com/articles/26729/20200804/robot-wite-theater-play-unusual-collaboration-between-ai-robotics.htm.
- ↑ 12.0 12.1 Rosa, Rudolf; Musil, Tomáš; Dušek, Ondřej; Jurko, Dominik; Schmidtová, Patrícia; Mareček, David; Bojar, Ondřej; Kocmi, Tom; Hrbek, Daniel; Košťák, David; Kinská, Martina; Nováková, Marie; Doležal, Josef; Vosecká, Klára; Studeník, Tomáš; Žabka, Petr (17 February 2021). "THEaiTRE 1.0: Interactive generation of theatre play scripts". arXiv:2102.08892 [cs.CL].
- ↑ Lane, Tom (4 January 2021). "100 years after the word was first used in a Czech play, a 'robot' will actually try to write one" (in en). www.expats.cz. https://www.expats.cz/czech-news/article/100-years-since-the-word-robot-was-used-in-a-czech-play-could-a-robot-actually-write-one.
- ↑ Rosa, Rudolf; Dušek, Ondřej; Kocmi, Tom; Mareček, David; Musil, Tomáš; Schmidtová, Patrícia; Jurko, Dominik; Bojar, Ondřej et al. (5 February 2021). THEaiTRobot 1.0. http://hdl.handle.net/11234/1-3507. Retrieved 19 February 2021.
- ↑ Rosa, Rudolf. "Samples". https://drive.google.com/drive/folders/1dqJPSYTcLLXSpaKv-AwG9n37xEQkY35d.
- ↑ "Central & Eastern Europe Hackathons". CEE Hacks. https://www.ceehacks.com/.
External links
cs:THEaiTRE
Original source: https://en.wikipedia.org/wiki/Theaitre.
Read more |