Construction and adaptation of AI behaviors in computer games

Computer games are an increasingly popular application for Artificial Intelligence (AI) research, and conversely AI is an increasingly popular selling point for commercial digital games. AI for non playing characters (NPC) in computer games tends to come from people with computing skills well beyond the average user. The prime reason behind the lack of involvement of novice users in creating AI behaviors for NPC's in computer games is that construction of high quality AI behaviors is a hard problem. There are two reasons for it. First, creating a set of AI behavior requires specialized skills in design and programming. The nature of the process restricts it to certain individuals who have a certain expertise in this area. There is little understanding of how the behavior authoring process can be simplified with easy-to-use authoring environments so that novice users (without programming and design experience) can carry out the behavior authoring task. Second, the constructed AI behaviors have problems and bugs in them which cause a break in player experience when the problematic behaviors repeatedly fail. It is harder for novice users to identify, modify and correct problems with the authored behavior sets as they do not have the necessary debugging and design experience. The two issues give rise to a couple of interesting questions that need to be investigated: (a) How can the AI behavior construction process be simplified so that a novice user (without programming and design experience) can easily conduct the authoring activity and (b) How can the novice users be supported to help them identify and correct problems with the authored behavior sets? In this thesis, I explore the issues related to the problems highlighted and propose a solution to them within an application domain, named Second Mind(SM). In SM novice users who do not have expertise in computer programming employ an authoring interface to design behaviors for intelligent virtual characters performing a service in a virtual world. These services range from shopkeepers to museum hosts. The constructed behaviors are further repaired using an AI based approach. To evaluate the construction and repair approach, we conduct experiments with human subjects. Based on developing and evaluating the solution, I claim that a design solution with behavior timeline based interaction design approach for behavior construction supported by an understandable vocabulary and reduced feature representation formalism enables novice users to author AI behaviors in an easy and understandable manner for NPCs performing a service in a virtual world. I further claim that an introspective reasoning approach based on comparison of successful and unsuccessful execution traces can be used as a means to successfully identify breaks in player experience and modify the failures to improve the experience of the player interacting with NPCs performing a service in a virtual world. The work contributes in the following three ways by providing: (1) a novel introspective reasoning approach for successfully detecting and repairing failures in AI behaviors for NPCs performing a service in a virtual world.; (2) a novice user understandable authoring environment to help them create AI behaviors for NPCs performing a service in a virtual world in an easy and understandable manner; and (3) Design, debugging and testing scaffolding to help novice users modify their authored AI behaviors and achieve higher quality modified AI behaviors compared to their original unmodified behaviors.

[1]  Kevin M. Brooks Do story agents use rocking chairs? The theory and implementation of one model for computational narrative , 1997, MULTIMEDIA '96.

[2]  Michael Buro,et al.  RTS Games as Test-Bed for Real-Time AI Research , 2003 .

[3]  Andrea Lockerd Thomaz,et al.  Using perspective taking to learn from ambiguous demonstrations , 2006, Robotics Auton. Syst..

[4]  Reinhard Prügl,et al.  Learning from Leading-Edge Customers at the Sims: Opening Up the Innovation Process Using Toolkits , 2006 .

[5]  Michael Mateas,et al.  Wide Ruled: A Friendly Interface to Author-Goal Based Story Generation , 2007, International Conference on Virtual Storytelling.

[6]  Michael Kearns,et al.  Near-Optimal Reinforcement Learning in Polynomial Time , 2002, Machine Learning.

[7]  John R. Anderson,et al.  Novice LISP Errors: Undetected Losses of Information from Working Memory , 1985, Hum. Comput. Interact..

[8]  Andrew Stern,et al.  A Behavior Language for Story-Based Believable Agents , 2002, IEEE Intell. Syst..

[9]  Marian Petre,et al.  When Visual Programs are Harder to Read than Textual Programs , 1992 .

[10]  Tristan Cazenave,et al.  Metarules to improve tactical Go knowledge , 2003, Inf. Sci..

[11]  Ashwin Ram,et al.  Introspective Multistrategy Learning: On the Construction of Learning Strategies , 1999, Artif. Intell..

[12]  Michael Lebowitz Creating a Story-Telling Universe , 1983, IJCAI.

[13]  D. Gillmor We the Media , 2004 .

[14]  Andrea Corradini,et al.  Interacting with an Animated Conversational Agent in a 3 D Graphical Setting , 2022 .

[15]  Paul Heckel,et al.  The elements of friendly software design , 1984 .

[16]  David B. Nieborg,et al.  Nieborg, David B. "am I Mod or Not? -an Analysis of First Person Shooter Modification Culture." Paper Presented at Creative Gamers Seminar -exploring Participatory Culture in Am I Mod or Not? ‐ an Analysis of First Person Shooter Modification Culture , 2022 .

[17]  Niels Ole Bernsen,et al.  Animating an interactive conversational character for an educational game system , 2005, IUI.

[18]  Brian P. Bailey,et al.  Demais: a behavior-sketching tool for early multimedia design , 2002 .

[19]  Mark A. Peot,et al.  Conditional nonlinear planning , 1992 .

[20]  V. Michael Bove,et al.  Viper: A Framework for Responsive Television , 2003, IEEE Multim..

[21]  Ana Paiva,et al.  "You Cannot Use My Broom! I'm the Witch, You're the Prince": Collaboration in a Virtual Dramatic Game , 2002, Intelligent Tutoring Systems.

[22]  Judith Good,et al.  Learning and motivational affordances in narrative-based game authoring , 2006 .

[23]  Santiago Ontañón,et al.  ON‐LINE CASE‐BASED PLANNING , 2010, Comput. Intell..

[24]  Brad A. Myers,et al.  Usability Issues in the Design of Novice Programming Systems , 1996 .

[25]  Jonathan Schaeffer,et al.  ScriptEase: generative design patterns for computer role-playing games , 2004, Proceedings. 19th International Conference on Automated Software Engineering, 2004..

[26]  Alexander Nareyek,et al.  Intelligent Agents for Computer Games , 2006 .

[27]  Peng Zang,et al.  Towards Runtime Behavior Adaptation for Embodied Characters , 2007, IJCAI.

[28]  Matthias Stifter,et al.  U-Create: Creative Authoring Tools for Edutainment Applications , 2006, TIDSE.

[29]  Hao Wang,et al.  Interactive Storyboard: Animated Story Creation on Touch Interfaces , 2009, AMT.

[30]  Ana Paiva,et al.  An Authoring Tool for an Emergent Narrative Storytelling System , 2007, AAAI Fall Symposium: Intelligent Narrative Technologies.

[31]  Lars Bo Jeppesen,et al.  Consumers as Co-developers: Learning and Innovation Outside the Firm , 2003, Technol. Anal. Strateg. Manag..

[32]  Leslie Pack Kaelbling,et al.  Action and planning in embedded agents , 1990, Robotics Auton. Syst..

[33]  Alan J. Dix,et al.  Designing for appropriation , 2007, BCS HCI.

[34]  Santiago Ontañón,et al.  An Intelligent IDE for Behavior Authoring in Real-Time Strategy Games , 2008, AIIDE.

[35]  Caitlin Kelleher,et al.  Motivating programming: using storytelling to make computer programming attractive to middle school girls , 2006 .

[36]  Regina Barzilay,et al.  A New Approach To Expert System Explanations , 1998, INLG.

[37]  Robert Michael Young,et al.  Towards an intelligent storyboarding tool for 3D games , 2005, ACE '05.

[38]  Andrew Stern,et al.  Façade: An Experiment in Building a Fully-Realized Interactive Drama , 2003 .

[39]  E. Vesterinen,et al.  Affective Computing , 2009, Encyclopedia of Biometrics.

[40]  Jennie Carroll,et al.  Completing design in use: closing the appropriation cycle , 2004, ECIS.

[41]  Maja J. Matarić,et al.  A framework for learning from demonstration, generalization and practice in human-robot domains , 2003 .

[42]  R. James Firby,et al.  An Investigation into Reactive Planning in Complex Domains , 1987, AAAI.

[43]  Michael Mateas,et al.  Towards adaptive programming: integrating reinforcement learning into a programming language , 2008, OOPSLA.

[44]  Axel Bruns Gatewatching: Collaborative Online News Production (Digital Formations) , 2005 .

[45]  John Cullen,et al.  Democratizing Innovation , 2020, Encyclopedia of Creativity, Invention, Innovation and Entrepreneurship.

[46]  Henry Jenkins Confronting the Challenges of Participatory Culture: Media Education for the 21st Century , 2006 .

[47]  Ben Shneiderman,et al.  Design Principles for Tools to Support Creative Thinking , 2005 .

[48]  Arnold Pacey,et al.  Culture technology , 1986, CABI Compendium.

[49]  Adaptive Computer Games : Easing the Authorial Burden , 2008 .

[50]  Ray J. Paul,et al.  The Labyrinths of Information: Challenging the Wisdom of Systems , 2005, Eur. J. Inf. Syst..

[51]  Priscilla S. Markwood,et al.  The Long Tail: Why the Future of Business is Selling Less of More , 2006 .

[52]  Ruth Aylett,et al.  Crowd-Sourced AI Authoring with ENIGMA , 2010, ICIDS.

[53]  Ana Torres,et al.  INSCAPE: Emotion Expression and Experience in an Authoring Environment , 2006, TIDSE.

[54]  Jeff Orkin,et al.  Automatic learning and generation of social behavior from collective human gameplay , 2009, AAMAS.

[55]  Brian Schwab,et al.  AI Game Engine Programming , 2004 .

[56]  Marc A. Saltzman,et al.  Game Design: Secrets of the Sages , 1999 .

[57]  Eleni Stroulia,et al.  Functional representation and reasoning for reflective systems , 1995, Appl. Artif. Intell..

[58]  David P. Miller,et al.  Experiences with an architecture for intelligent, reactive agents , 1995, J. Exp. Theor. Artif. Intell..

[59]  Caitlin Kelleher,et al.  Lowering the barriers to programming: A taxonomy of programming environments and languages for novice programmers , 2005, CSUR.

[60]  Mitchel Resnick,et al.  Empowering kids to create and share programmable media , 2008, Interactions.

[61]  Celia Pearce,et al.  Emergent authorship: the next interactive revolution , 2002, Comput. Graph..

[62]  Pamela Jordan Basics of qualitative research: Grounded theory procedures and techniques , 1994 .

[63]  Matthew J. Conway,et al.  Alice: Easy-to-Learn 3D Scripting for Novices , 1998 .

[64]  Amy L. Lansky,et al.  Reactive Reasoning and Planning , 1987, AAAI.

[65]  Lars Bo Jeppesen,et al.  THE IMPLICATIONS OF "USER TOOLKITS FOR INNOVATION" , 2002 .

[66]  Magy Seif El-Nasr,et al.  Learning through game modding , 2006, Comput. Entertain..

[67]  Ashok K. Goel,et al.  Combining Model-Based Meta-Reasoning and Reinforcement Learning for Adapting Game-Playing Agents , 2008, AIIDE.

[68]  Tim Oates,et al.  A Review of Recent Research in Metareasoning and Metalearning , 2007, AI Mag..

[69]  Marco Antonio Gómez-Martín,et al.  Dynamic Expansion of Behaviour Trees , 2008, AIIDE.

[70]  James Skorupski Storyboard authoring of plan-based interactive dramas , 2009, FDG.

[71]  H. Chad Lane,et al.  Design recommendations to support automated explanation and tutoring , 2005 .

[72]  Henry Lieberman,et al.  Watch what I do: programming by demonstration , 1993 .

[73]  Gary M. Olson,et al.  Can principles of cognition lower the barriers to programming? in empirical studies of programmers: , 1987 .

[74]  David E. Smith,et al.  Extending Graphplan to handle uncertainty and sensing actions , 1998, AAAI 1998.

[75]  H. Chad Lane,et al.  Explainable Artificial Intelligence for Training and Tutoring , 2005, AIED.

[76]  Marian Petre,et al.  Usability Analysis of Visual Programming Environments: A 'Cognitive Dimensions' Framework , 1996, J. Vis. Lang. Comput..

[77]  Jaime G. Carbonell,et al.  Interactive drama, art and artificial intelligence , 2002 .

[78]  Rajesh P. N. Rao,et al.  Imitation and Social Learning in Robots, Humans and Animals: A Bayesian model of imitation in infants and robots , 2007 .

[79]  Babak Esfandiari,et al.  A Case-Based Reasoning Approach to Imitating RoboCup Players , 2008, FLAIRS.

[80]  Santiago Ontañón,et al.  Using Meta-reasoning to Improve the Performance of Case-Based Planning , 2009, ICCBR.

[81]  Eric O. Postma,et al.  Adaptive game AI with dynamic scripting , 2006, Machine Learning.

[82]  David J. Gilmore,et al.  An Investigation of the Utility of Flowcharts During Computer Program Debugging , 1984, Int. J. Man Mach. Stud..

[83]  Michael T. Cox Metacognition in computation: A selected research review , 2005, Artif. Intell..

[84]  Ian Millington,et al.  Artificial Intelligence for Games , 2006, The Morgan Kaufmann series in interactive 3D technology.

[85]  Erann Gat,et al.  Integrating Planning and Reacting in a Heterogeneous Asynchronous Architecture for Controlling Real-World Mobile Robots , 1992, AAAI.