In this paper, a context-based affect detection component embedded in an improvisational virtual platform is implemented. The software allows up to five human characters and one intelligent agent to be engaged in one session to conduct creative improvisation within loose scenarios. The transcripts produced showed several conversations being conducted in parallel. Some of these conversations reveal personal subjective opinions or feelings about situations, while others are caused by social interactions and show opinions and emotional responses to other participant characters. These two types of conversations serve to inform the descriptions of the personal and the social contexts, respectively. In order to detect affect from such contexts, first of all a naïve Bayes classifier is used to categorize these two types of conversations based on linguistic cues. A semantic-based analysis is also used to further derive the discussion themes and identify the target audiences for the social interaction inputs. Then, two statistical approaches have been developed to provide affect detection, respectively, in the social and personal emotion contexts. The emotional history of each individual character is used in interpreting affect relating to the personal contexts, while the social context affect detection takes account of interpersonal relationships, sentence types, emotions implied by the potential target audiences in their most recent interactions and discussion themes. The new development of context-based affect detection is integrated with the intelligent agent. The work addresses one challenging cognitive topic in the affective computing field, the detection and revealing of the relevant “context” to inform affect detection. The work addresses the journal’s themes on human emotion behavior analysis and understanding.
This is a preview of subscription content, access via your institution.
Buy single article
Instant access to the full article PDF.
Tax calculation will be finalised during checkout.
Subscribe to journal
Immediate online access to all issues from 2019. Subscription will auto renew annually.
Tax calculation will be finalised during checkout.
The Crohn’s disease scenario is mainly about Peter who has had Crohn’s disease since the age of 15. Crohn’s disease attacks the wall of the intestines and makes it very difficult to digest food properly. Peter has the option to undergo surgery (ileostomy), which will have a major impact on his life. The task of the role-play is to discuss the pros and cons with friends and family and decide whether he should have the operation. The other characters are the following: Janet (mom) who wants Peter to have the operation, Matthew (older brother) who is against the operation, Arnold (Dad) who is not able to face the situation and David (the best friend) who mediates the discussion.
The bully, Mayid, is picking on a new schoolmate, Lisa. Elise and Dave (Lisa’s friends), and Mrs Parton (the school teacher) are trying to stop the bullying.
Zhang L. Exploitation of contextual affect-sensing and dynamic relationship interpretation. ACM Comput Entertaint. 2010; 8(3) (article no.: 18).
Ortony A, Clore GL, Collins A. The cognitive structure of emotions. Cambridge: Cambridge University Press; 1998.
Ekman P. An argument for basic emotions. Cogn Emot. 1992;6:169–200.
Jess, the rule engine for the Java platform. http://www.jessrules.com/. Accessed in Feb 2012.
Briscoe E, Carroll J. Robust accurate statistical annotation of general text. In: Proceedings of the 3rd international conference on language resources and evaluation, Las Palmas, Gran Canaria; 2002. p. 1499–1504.
Zhang L, Barnden JA, Hendley RJ, Wallington AM. Exploitation in affect detection in improvisational E-drama. In: Proceedings of the 6th international conference on intelligent virtual agents. California, USA. Lecture notes in computer science. 2006;4133:68–79. Springer.
Zhang L, Barnden JA, Hendley RJ, Lee MG, Wallington AM, Wen Z. Affect detection and metaphor in E-drama. Cont Eng Educ Life-Long Learn. 2008;18(2):234–52.
Zhang L, Gillies M, Dhaliwal K, Gower A, Robertson D, Crabtree B. E-drama: facilitating online role-play using an AI actor and emotionally expressive characters. Int J Artif Intellig Educ. 2009;19(1):5–38.
Kappas A. Smile when you read this, whether you like it or not: Conceptual challenges to affect detection. IEEE Transact Affect Comput. 2010;1(1):38–41. doi:10.1109/T-AFFC.2010.6.
Hareli S, Rafaeli A. Emotion cycles: on the social influence of emotion in organizations. Res Organ Behav. 2008;28:35–59.
Picard RW. Affective computing. Cambridge MA: The MIT Press; 2000.
Prendinger H, Ishizuka M. Simulating affective communication with animated agents. In: Proceedings of Eighth IFIP TC.13 conference on human–computer interaction. Tokyo, Japan. 2001, p. 182–189.
Mehdi EJ, Nico P, Julie D, Bernard P. Modeling character emotion in an interactive virtual environment. In: Proceedings of AISB 2004 symposium: motion, emotion and cognition. Leeds, UK; 2004.
Gratch J, Marsella S. A domain-independent framework for modeling emotion. J Cogn Syst Res. 2004;5:269–306.
Aylett A, Louchart S, Dias J, Paiva A, Vala M, Woods S et al. Unscripted narrative for affectively driven characters. IEEE Comput Graphics Applicat 2006;26(3):42–52.
Endrass B, Rehm M, André E. Planning small talk behavior with cultural influences for multiagent systems. Comput Speech Lang. 2011;25(2):158–74.
Liu H, Singh P, ConceptNet. A practical commonsense reasoning toolkit. BT Technology Journal, Volume 22, Kluwer Academic Publishers; 2004.
Neviarouskaya A, Prendinger H, Ishizuka M. Recognition of affect, judgment, and appreciation in text. In: Proceedings of the 23rd international conference on computational linguistics, Beijing, China; 2010:806–814.
Mateas M. Ph.D. thesis. Interactive drama, art and artificial intelligence. School of Computer Science, Carnegie Mellon University; 2002.
Zhe X, Boucouvalas AC. Text-to-emotion engine for real time internet communication. In: Proceedings of international symposium on communication systems, Networks and DSPs, Staffordshire University, UK; 2002:164–168.
Ptaszynski M, Dybala P, Shi W, Rzepka, R, Araki K. Towards context aware emotional intelligence in machines: computing contextual appropriateness of affective states. In: Proceeding of IJCAI; 2009.
Craggs R, Wood M. A two dimensional annotation scheme for emotion in dialogue. In: Proceedings of AAAI spring symposium: exploring attitude and affect in text; 2004.
Werry C. Linguistic and interactional features of internet relay chat. In computer-mediated communication: linguistic: social and cross-cultural perspectives. Pragmatics and beyond new series 39. Amsterdam: John Benjamins; 1996:47–64.
Bouckaert RR, Frank E, Hall M, Holmes G, Pfahringer B, Reutemann P, Witten IH. WEKA-experiences with a java open-source project. J Mach Leran Res. 2010;11:2533–41.
Landauer TK, Dumais S. Latent semantic analysis. Scholarpedia. 2008;3(11):4356.
Widdows D, Cohen T. The semantic vectors package: new algorithms and public tools for distributional semantics. The fourth ieee international conference on semantic computing (IEEE ICSC2010); 2010.
Zhang L, Barnden JA. Affect and Metaphor Sensing in Virtual Drama. Int J Comput Games Technol. 2010; 2010 (article ID 512563).
ATT-Meta project databank. http://www.cs.bham.ac.uk/~jab/ATT-Meta/Databank/. Assessed March 2012.
Rabiner LR. A tutorial on hidden markov models and selected applications in speech recognition. Proc IEEE. 1989;77(2):257–86.
Wang Z, Lee J, Marsella S. Towards More comprehensive listening behavior: beyond the bobble head. In: Proceedings of the 10th international conference on intelligent virtual agents. Iceland; 2011.
We thank Dr. Meurig Beynon for his help with proofreading and detailed feedback on the technical aspects and manner of writing. We also thank Dr. Zach Pardos and Dr. Tristan Nixon, the organizers of a tutorial, Parameter Fitting for Learner Models, associated with 2012 International Conference on Intelligent Tutoring Systems.
About this article
Cite this article
Zhang, L., Barnden, J. Affect Sensing Using Linguistic, Semantic and Cognitive Cues in Multi-threaded Improvisational Dialogue. Cogn Comput 4, 436–459 (2012). https://doi.org/10.1007/s12559-012-9170-3
- Affect detection
- Emotion modeling
- Multi-threaded improvisation
- Hidden Markov model
- Neural network