{"id":809,"date":"2022-12-03T00:59:38","date_gmt":"2022-12-02T23:59:38","guid":{"rendered":"https:\/\/blogs.ifla.org\/arl\/?p=809"},"modified":"2022-12-03T00:59:38","modified_gmt":"2022-12-02T23:59:38","slug":"litte_bot-a-theatrical-chatbot-conversing-with-molieres-dom-juan-through-dramaturgical-strategies","status":"publish","type":"post","link":"https:\/\/blogs.ifla.org\/arl\/2022\/12\/03\/litte_bot-a-theatrical-chatbot-conversing-with-molieres-dom-juan-through-dramaturgical-strategies\/","title":{"rendered":"LITTE_BOT, a theatrical chatbot:  Conversing with Moli\u00e8re&#8217;s Dom Juan through dramaturgical strategies."},"content":{"rendered":"<p>Author:\u00a0C\u00e9cile Quach, Library Curator, Gallica Studio Project Manager, BnF<\/p>\n<p>As part of the four hundredth anniversary of Moli\u00e8re&#8217;s birth in 2022, LITTE_BOT is a theatrical chatbot which embodies Dom Juan from Moli\u00e8re.<\/p>\n<p>If you come to Paris, why not drop by the recently reopened historic site Richelieu of the French National Library (Biblioth\u00e8que nationale de France, or BnF) and sit down in the BOT\u00b0PHONE to talk with Dom Juan thanks to the chatbot LITTE_BOT? It is freely accessible in the Roux-Spitz Hall until 15 January 2023.<\/p>\n<p>The LITTE_BOT project questions the technological mediation of chatbots in order to engage in dialogue with a literary work and an author.<\/p>\n<p>More specifically, LITTE_BOT is a research-creation project which aims at renewing the experience of reading and stage performance by conversing with a character from Moli\u00e8re, an emblematic figure of French literature whose works and characters are widely known, through teaching and theatrical performances.<\/p>\n<p>LITTE_BOT transposes a character into a chatbot through dramaturgical strategies thanks to an artificial intelligence trained on Moli\u00e8re&#8217;s corpus available on <a href=\"http:\/\/gallica.bnf.fr\/\">Gallica<\/a>, the digital library of BnF and its partners. The project was supported by <a href=\"https:\/\/pro.europeana.eu\/post\/towards-new-uses-of-cultural-heritage-online-gallica-studio\">Gallica Studio<\/a> (now closed), a program from BnF that encourages the use of Gallica&#8217;s public domain documents in a creative and collaborative spirit. The aim is to ultimately encourage the emergence of new uses of online common heritage and related tools. In this case, the project revisits heritage through contemporary creation and experiments with the possibilities opened up by artificial intelligence. It also aims at demystifying AI by documenting the creation process.<\/p>\n<p>This project was born in 2018 from the artistic research of Rocio Berenguer, a playwright and choreographer familiar with digital technologies. Rocio Berenguer has found in the works digitized by BnF a new source of inspiration allowing her to cross her own experience as an artist of today with this literary heritage.<\/p>\n<p><a href=\"https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot1.jpg\"><img decoding=\"async\" class=\"size-medium wp-image-814 aligncenter\" src=\"https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot1-300x226.jpg\" alt=\"\" width=\"300\" height=\"226\" srcset=\"https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot1-300x226.jpg 300w, https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot1-768x578.jpg 768w, https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot1.jpg 985w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: center\">Rocio Berenguer sitting in the BOT\u00b0PHONE<\/p>\n<p>This complex project was made possible by the grant and the framework provided by the <a href=\"https:\/\/eur-artec.fr\/\">ArTec University Research School<\/a> in the context of a call for projects from 2019 through 2022. A consortium of research centers, cultural institutions and art schools, ArTec aims to promote and articulate research projects in the fields of the arts, technology, digital technology, human mediation and creation. The projects articulate in an original and inventive way the methodologies of research-creation, research-action, research-development, in a perspective of inclusive and shared excellence. The<a href=\"https:\/\/eur-artec.fr\/appel_a_projets\/appel-a-projet-mip-aap-mip-2022\/\"> call for projects<\/a> was designed to facilitate collaboration between at least two institutions in the consortium. In this case, it was between the BnF and the Paris 8 University, around issues of creation as a research, as well as technologies and human mediation.<\/p>\n<p>This project mobilized skills and resources specific to each partner which needed to be pooled through this partnership in the form of a research-creation project. The partnership also made it possible to explore cross-cutting issues.<\/p>\n<p>For BnF, the added value in experimenting with a chatbot as a voice mediation interface for a cultural institution lies in the investigation of the benefits of this new type of mediation, especially for the inclusion of people who experience difficulties in reading, but also to help demystify artificial intelligence by documenting the choices and compromises made when the chatbot was created.<\/p>\n<p>From a research perspective, the question is to know how to create and interpret the characteristics that determine the uniqueness of a literary character in the Man\/Machine dialogue without having previously detected and employed these characteristics for the deep learning of an artificial intelligence.<\/p>\n<p>In light of these issues and objectives, the challenges we faced were:<br \/>\n\u25cf Speaking 17th century French and understanding today&#8217;s French<br \/>\n\u25cf Building up a new database from a corpus of 17th century French theatre<br \/>\n\u25cf Processing feeling and emotion (AI impersonating a seductive Don Juan)<br \/>\n\u25cf Make a non-closed expert system<br \/>\n\u25cf Create a reproducible model for other literary works<\/p>\n<p>The research part of the project was undertaken by Anna Pappa (LIASD Laboratory) and Samuel Szoniecky (Paragraphe Laboratory) from the Paris 8 University. Engineering the chatbot involved:<br \/>\n\u25cf AI Deep Learning for chatbot<br \/>\n\u25cf Creating a 17th century theatrical corpus ~100k lines from:<br \/>\n\u25cb Moli\u00e8re\u2019s corpus digitized by Gallica and in <a href=\"https:\/\/obvil.sorbonne-universite.fr\/corpus\/moliere\/moliere\">TEI produced by the OBVIL <\/a>in the framework of a previous joint research project between the BnF and the Sorbonne University. Eventually, we also had to include the Dom Juan from Dorimond and Villiers, as well as the<a href=\"https:\/\/theatre-classique.fr\/pages\/blog.html\"> French 17th century theatre.<\/a><br \/>\n\u25cf Training the bot with Seq2Seq model<br \/>\n\u25cf Articulating two models:<br \/>\n\u25cb Free conversation using AI model<br \/>\n\u25cb Scripting a guided conversation with the visitor<br \/>\n\u25cf Corpus enrichment through additional visitors\/bot interactions<\/p>\n<p>The artistic part of the project was handled by playwright Rocio Berenguer:<br \/>\n\u25cf Scripting the interaction<br \/>\n\u25cf Graphic interface: morphing the visitor\u2019s face (Hugo Arcier)<br \/>\n\u25cf Designing the booth BOT\u00b0PHONE that contains the chatbot (with Arthur Geslin)<\/p>\n<p>Rocio Berenguer directed the chatbot as if it were an actor and created a playful and poetic artificial intelligence device. She has scripted the interaction: the conversation takes place according to a scenario that combines the open chatbot and the closed chatbot. The database has been indexed by Rocio according to each stage of the scenario.<\/p>\n<p>As for the staging of the device, it aims to allow a playful and poetic experience. A comfortable, noise-isolated booth has been built to talk on the phone with Dom Juan. The visitor faces a mirror display where his face is scanned and mixed with other fictional faces. Taking up the idea of the philosopher Jean Baudrillard, who assumes that seduction is the theft of the other person&#8217;s desire, the chatbot will gradually steal the desire of the person in front of it and&#8230; go so far as to steal its face.<\/p>\n<p><a href=\"https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot2.jpg\"><img decoding=\"async\" class=\"size-medium wp-image-815 aligncenter\" src=\"https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot2-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot2-300x225.jpg 300w, https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot2-768x575.jpg 768w, https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot2.jpg 986w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: center\">Morphing in progress while talking with LITTE_BOT ((c) L\u2019ADN\/Romane Mugnier)<\/p>\n<p>The project also includes a historical and linguistic approach to Moli\u00e8re&#8217;s theatre thanks to the collaboration of Georges Forestier, professor of French literature at the Sorbonne. He advised to make the chatbot embody a character from Moli\u00e8re, and to choose Dom Juan as a character eager to meet new people.<\/p>\n<p>It also resonates with the collections of the BnF&#8217;s Performing Arts Department headed by Jo\u00ebl Huthwohl and with the <a href=\"https:\/\/www.bnf.fr\/fr\/agenda\/moliere-le-jeu-du-vrai-et-du-faux\">BnF&#8217;s Moli\u00e8re 2022 exhibition<\/a>, an exhibition produced in partnership with the <a href=\"https:\/\/www.comedie-francaise.fr\/\">Com\u00e9die-Fran\u00e7aise.<\/a><\/p>\n<p><a href=\"https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot3.jpg\"><img decoding=\"async\" class=\"size-medium wp-image-816 aligncenter\" src=\"https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot3-300x137.jpg\" alt=\"\" width=\"300\" height=\"137\" srcset=\"https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot3-300x137.jpg 300w, https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot3.jpg 560w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot4.jpg\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-817\" src=\"https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot4-212x300.jpg\" alt=\"\" width=\"212\" height=\"300\" srcset=\"https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot4-212x300.jpg 212w, https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot4.jpg 655w\" sizes=\"(max-width: 212px) 100vw, 212px\" \/><\/a><\/p>\n<p>In the end, the fact of wanting to train an AI model from a database created from scratch, and of having chosen the character of Dom Juan (which made it harder to achieve a critical mass of data) has made it difficult to meet the deadline of the exhibition. So when<a href=\"https:\/\/www.b12-consulting.com\/en\/\"> B12 Consulting<\/a>, a Belgian company specialized in automatic language processing, offered Rocio Berenguer to create a chatbot pro bono, they were quite welcome. We gave them the corpora and the database already built. Hugo Dendievel used the GPT-2 model (already pre-trained) and pondered it with Moli\u00e8re\u2019s corpus, and the Dom Juan dataset. This model was combined with a similarity analysis model based on a list of questions and answers handled by Rocio Berenguer.<\/p>\n<p>However, the chatbot resulting from the research part is still going on, in order to create a reproducible model for other literary works, in partnership with Tristan Cazenave, professor at Paris Dauphine University (<a href=\"https:\/\/www.lamsade.dauphine.fr\/\">LAMSADE laboratory<\/a>). It is now based on GPT-3 model and has been replicated for Moli\u00e8re&#8217;s theatre in prose and rhyme, and for Bertolt Brecht&#8217;s theatre. You may chat with it online <a href=\"https:\/\/www.lamsade.dauphine.fr\/molierelebot\">here<\/a>.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot5.jpg\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-818\" src=\"https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot5-300x127.jpg\" alt=\"\" width=\"300\" height=\"127\" srcset=\"https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot5-300x127.jpg 300w, https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot5-768x325.jpg 768w, https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot5-1024x434.jpg 1024w, https:\/\/blogs.ifla.org\/arl\/files\/2022\/12\/Bot5.jpg 1230w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: center\">Screenshot of the chatbot from Paris 8 and Paris Dauphine<\/p>\n<p style=\"text-align: left\">For both the exhibition chatbot and this online chatbot, the aim was to get as close as possible to the illusion of a conversation with an identifiable theatre character. The evaluation of these chatbots is done both according to the technical metrics of chatbot design and according to the linguistic and literary criteria of the chosen playwright.<br \/>\nBut it is still a computer program, even if it is an AI, and the user realises this at some point. We accept this imperfection, and this is part of the educational aspect of the project. As Rocio Berenguer puts it, this gap also makes us aware of the power of human capacities and of what real human interaction is, which also has its hazards and misunderstandings.<\/p>\n<p style=\"text-align: left\">C\u00e9cile Quach, library curator, Gallica Studio project manager <a href=\"mailto:cecile.quach@bnf.fr\">cecile.quach@bnf.fr<\/a><\/p>\n<p style=\"text-align: left\"><strong>Acknowledgements<\/strong><br \/>\nThis research-creation project was carried out by <a href=\"https:\/\/rocioberenguer.com\/\">Rocio Berenguer<\/a>, the <a href=\"https:\/\/www.bnf.fr\/fr\/departement-des-arts-du-spectacle\">Performing Arts Department of the BnF<\/a> and the <a href=\"https:\/\/www.univ-paris8.fr\/UR-Laboratoire-d-Intelligence-Artificielle-et-Semantique-des-Donnees-LIASD\">LIASD<\/a> and <a href=\"https:\/\/laboratoire-paragraphe.univ-paris8.fr\/\">Paragraphe <\/a>laboratories of the <a href=\"https:\/\/www.univ-paris8.fr\/\">University of Paris 8 <\/a>within the framework of Gallica Studio, thanks to the support of the <a href=\"https:\/\/eur-artec.fr\/\">ArTec University Research School<\/a>, a State grant managed by the National Research Agency under the Programme of Future Investments <a href=\"https:\/\/anr.fr\/ProjetIA-17-EURE-0008\">(ANR-17-EURE-008<\/a>) The booth was supported by the <a href=\"https:\/\/www.u-plum.fr\/\">Universit\u00e9 Paris Lumi\u00e8res<\/a>. The public version of the chatbot was developed with <a href=\"https:\/\/www.b12-consulting.com\/en\/\">B12 Consulting<\/a>.<\/p>\n<p style=\"text-align: left\"><strong>Further readings<\/strong><br \/>\n(In French, apart from the first reference)<br \/>\n\u25cf <a href=\"https:\/\/www.youtube.com\/watch?v=NgocPzqE6Eg\">Litte_Bot : a theatrical dialogue system using Seq2Seq model by A\/Prof Anna Pappa, Universit\u00e9 Paris 8-France<\/a>, AI4LAM Community Call,19 April 2022, Content Generative Models and GLAM<br \/>\n\u25cf Press release of the exhibition <a href=\"https:\/\/www.bnf.fr\/fr\/expositions-moliere-communique-de-presse\">Moli\u00e8re, le jeu du vrai et du faux<\/a><br \/>\n\u25cf The interview of the actors of the project, with a view to educating the general public about AI: <a href=\"https:\/\/bnf.hypotheses.org\/12976\">https:\/\/bnf.hypotheses.org\/12976<\/a>. A QR code on the cartel of the work refers to it.<br \/>\n\u25cf <a href=\"https:\/\/www.bnf.fr\/fr\/actualites\/botdegphone-installation-interactive-pour-dialoguer-avec-dom-juan\">Page of the BOT\u00b0PHONE<\/a> on the BnF website<br \/>\n\u25cf Interviews of Rocio Berenguer in the <a href=\"https:\/\/www.ladn.eu\/mondes-creatifs\/voulez-vous-parler-avec-dom-juan-rocio-berenguer\/%C2%A0\">ADN webzine<\/a> and <a href=\"https:\/\/leclaireur.fnac.com\/article\/183824-litte_bot-quand-dom-juan-fait-se-rencontrer-moliere-et-lintelligence-artificielle\/\">L\u2019Eclaireur de la Fnac.<\/a><br \/>\n\u25cf <a href=\"https:\/\/www.bnf.fr\/fr\/feuille-de-route-ia\">BnF\u2019s Ai roadmap<\/a><br \/>\n\u25cf <a href=\"https:\/\/www.bnf.fr\/fr\/feuille-de-route-ia\">Ai projects at the BnF<\/a><\/p>\n<h3 style=\"text-align: left\"><strong>Team<\/strong><\/h3>\n<p><strong>Artistic conception of the work BOT\u00b0PHONE<\/strong><br \/>\nRocio Berenguer, design, artistic direction and dramaturgy<br \/>\nHugo Arcier, visual creation 3D avatar<br \/>\nArthur Geslin, co-design of the installation<br \/>\nL\u00e9opold Frey, sound creation, chatbot development and integration<br \/>\n\u00c9tienne Champagne, UE4 development &amp; Face Tracking<br \/>\nGesture, technical design and construction of the installation<\/p>\n<p style=\"text-align: left\"><strong>Scientific design of the chatbot LITTE_BOT<\/strong><br \/>\nAnna Pappa, Associate Professor in Computer Science &#8211; University of Paris 8<br \/>\nSamuel Szoniecky, Associate Professor in Information and Communication Sciences &#8211; University of Paris 8<br \/>\nWith the collaboration of Georges Forestier, Professor of French Literature, Sorbonne University<br \/>\nMichel Herquet, Partner and Hugo Dendievel, Analyst Developer at B12 Consulting: Collaboration for the creation of the public version of the chatbot.<\/p>\n<p style=\"text-align: left\"><strong>BnF Coordination team<\/strong><br \/>\nC\u00e9cile Quach, Library Curator, Gallica Studio project manager<br \/>\nJo\u00ebl Huthwohl, Director of the Performing Arts Department<br \/>\nArnaud Laborderie, Gallica Project Manager, also Associate Professor at Paris 8 University, Paragraphe laboratory<br \/>\nPeter Stirling, Research Project Officer<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Author:\u00a0C\u00e9cile Quach, Library Curator, Gallica Studio Project Manager, BnF As part of the four hundredth anniversary of Moli\u00e8re&#8217;s birth in 2022, LITTE_BOT is a theatrical chatbot which embodies Dom Juan from Moli\u00e8re. If you come to Paris, why not drop by the recently reopened historic site Richelieu of the French National Library (Biblioth\u00e8que nationale de [&hellip;]<\/p>\n","protected":false},"author":1054,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-809","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/blogs.ifla.org\/arl\/wp-json\/wp\/v2\/posts\/809","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ifla.org\/arl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.ifla.org\/arl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ifla.org\/arl\/wp-json\/wp\/v2\/users\/1054"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ifla.org\/arl\/wp-json\/wp\/v2\/comments?post=809"}],"version-history":[{"count":5,"href":"https:\/\/blogs.ifla.org\/arl\/wp-json\/wp\/v2\/posts\/809\/revisions"}],"predecessor-version":[{"id":822,"href":"https:\/\/blogs.ifla.org\/arl\/wp-json\/wp\/v2\/posts\/809\/revisions\/822"}],"wp:attachment":[{"href":"https:\/\/blogs.ifla.org\/arl\/wp-json\/wp\/v2\/media?parent=809"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ifla.org\/arl\/wp-json\/wp\/v2\/categories?post=809"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ifla.org\/arl\/wp-json\/wp\/v2\/tags?post=809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}