Emotion Recognition Based on the Structure of Narratives
Abstract
:1. Introduction
2. Related Work
2.1. Lexicon-Based Methods
2.2. Machine Learning Methods
2.3. Study: Emotion Recognition Based on Narrative Structure Analysis
2.4. Natural Language Processing and Narrative Analysis
2.4.1. Analysis of Goal-Based Structure: Narrative Transformation
2.4.2. Analysis of Evaluative Structure: Narrative Evaluation
3. Materials and Methods
4. Results
5. Discussion
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Bostan, L.A.N.; Klinger, R. An Analysis of Annotated Corpora for Emotion Classification in Text. In Proceedings of the 27th International Conference on Computational Linguistics, Santa Fe, NM, USA, 20–26 August 2018; Association for Computational Linguistics: Santa Fe, NM, USA, 2018; pp. 2104–2119. [Google Scholar]
- Scherer, K.R.; Wallbott., H.G. Evidence for universality and cultural variation of differential emotion response patterning. J. Personal. Soc. Psychol. 1994, 66, 310–318. [Google Scholar] [CrossRef] [PubMed]
- Buechel, S.; Hahn, U. Readers vs. writers vs. texts: Coping with different perspectives of text understanding in emotion annotation. In Proceedings of the 11th Linguistic Annotation Workshop; Association for Computational Linguistics: Valencia, Spain, 2017; pp. 1–12. [Google Scholar]
- Pennebaker, J.W.; Francis, M.E.; Booth, R.J. Linguistic Inquiry and Word Count: LIWC 2001; Lawrence Erlbaum Associates: Mahway, NJ, USA, 2001; p. 71. [Google Scholar]
- Mohammad, S.M. Obtaining reliable human ratings of valence, arousal, and dominance for 20,000 english words. In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL), Melbourne, Australia, 15–20 July 2018. [Google Scholar]
- Boyd, R.L.; Ashokkumar, A.; Seraj, S.; Pennebaker, J.W. The Development and Psychometric Properties of LIWC-22; University of Texas at Austin: Austin, TX, USA, 2022. [Google Scholar]
- Saravia, E.; Liu, H.C.T.; Huang, Y.H.; Wu, J.; Chen, Y.S. CARER: Contextualized affect representations for emotion recognition. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium, 31 October–4 November 2018; Association for Computational Linguistics: Brussels, Belgium, 2018; pp. 3687–3697. [Google Scholar]
- Potapova, R.; Gordeev, D. Detecting state of aggression in sentences using CNN. In Speech and Computer: 18th International Conference, SPECOM 2016, Budapest, Hungary, August 23-27, 2016, Proceedings 18; Springer: Cham, Switzerland, 2016; pp. 240–245. [Google Scholar]
- Mohammad, S. #emotional tweets. In Proceedings of the *SEM 2012: The First Joint Conference on Lexical and Computational Semantics, Montréal, Canada, 7–8 June 2012; Association for Computational Linguistics: Montreal, Canada, 2012; pp. 246–255. [Google Scholar]
- Abdul-Mageed, M.; Ungar, L. Emonet: Fine-grained emotion detection with gated recurrent neural networks. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Vancouver, BC, Canada, 30 July–4 August 2017; pp. 718–728. [Google Scholar]
- Felbo, B.; Mislove, A.; Søgaard, A.; Rahwan, I.; Lehmann, S. Using millions of emoji occurrences to learn any-domain representations for detecting sentiment, emotion and sarcasm. arXiv 2017, arXiv:1708.00524. [Google Scholar]
- Devlin, J.; Chang, M.W.; Lee, K.; Toutanova, K. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv 2018, arXiv:1810.04805. [Google Scholar]
- Che, W.; Zhang, Y. Deep Learning in Lexical Analysis and Parsing. Deep Learning in Natural Language Processing; Deng, L., Liu, Y., Eds.; Springer Nature: Singapore, 2018; pp. 79–116. [Google Scholar]
- Li, D.; Zhang, Y.; Gan, Z.; Cheng, Y.; Brockett, C.; Sun, M.; Dolan, W.B. Domain adaptive text style transfer. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, Hong Kong, China, 3–7 November 2019. [Google Scholar]
- Savchenko, E.; Lazebnik, T. Computer aided functional style identification and correction in modern russian texts. J. Data Inf. Manag. 2022, 4, 25–32. [Google Scholar] [CrossRef]
- Deriu, J.; Lucchi, A.; De Luca, V.; Severyn, A.; Müller, S.; Cieliebak, M.; Hofmann, T.; Jaggi, M. Leveraging large amounts of weakly supervised data for multi-language sentiment classification. In Proceedings of the 26th International Conference on World Wide Web, Perth, Australia, 3–7 April 2017; pp. 1045–1052. [Google Scholar]
- Cortiz, D. Exploring transformers in emotion recognition: A comparison of bert, distillbert, roberta, xlnet and electra. arxiv 2021, arXiv:2104.0204. Available online: https://www.semanticscholar.org/paper/Exploring-Transformers-in-Emotion-Recognition%3A-a-of-Cortiz/5d63495e669a410770373c5017a6738feec74141 (accessed on 10 February 2023).
- Labov, W. The transformation of experience in narrative syntax. In Language in the Inner City; Labov, W., Ed.; Blackwell: Oxford, UK, 1972; pp. 354–396. [Google Scholar]
- László, J. The Science of Stories. An Introduction to Narrative Psychology; Routledge: London, UK, 2008. [Google Scholar]
- Akimoto, T. Cogmic space for narrative-based world representation. Cogn. Syst. Res. 2021, 65, 167–183. [Google Scholar] [CrossRef]
- Habermas, T. Emotion and Narrative. Perspectives in Autobiographical Storytelling; Cambridge University Press: New York, NY, USA, 2019. [Google Scholar]
- Pólya, T. Temporal structure of narratives reveals the intensity of the narrator’s current affective state. Curr. Psych. 2021, 40, 281–291. [Google Scholar] [CrossRef]
- Stein, N.L.; Hernandez, M.V. Assessing understanding and appraisals during emotional experience. In Handbook of Emotion Elicitation and Assessment; Coan, J., Allen, J., Eds.; Oxford University Press: Oxford, UK, 2007; pp. 298–317. [Google Scholar]
- Piper, A.; So, R.J.; Bamman, D. Narrative theory for computational narrative understanding. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, Punta Cana, Dominican Republic, 7–11 November 2021; Association for Computational Linguistics: Punta Cana, Dominican Republic, 2021; pp. 298–311. [Google Scholar]
- Scherer, K.R. The dynamic architecture of emotion: Evidence for the component process model. Cogn. Emot. 2009, 23, 1307–1351. [Google Scholar] [CrossRef]
- Oatley, K. Why fiction may be twice as true as fact: Fiction as cognitive and emotional simulation. Rev. Gen. Psychol. 1999, 3, 101–117. [Google Scholar] [CrossRef]
- Labatut, V.; Bost, X. Extraction and analysis of fictional character networks: A survey. ACM Comput. Surv. 2019, 52, 1–40. [Google Scholar] [CrossRef]
- Elsner, M. Abstract representations of plot structure. Linguist. Issues Lang. Technol. 2015, 52, 89. [Google Scholar] [CrossRef]
- Yauney, G.; Underwood, T.; Mimno, D. Computational prediction of elapsed narrative time. In Proceedings of the Workshop on Narrative Understanding, Minneapolis, Minnesota, 2–7 June 2019. [Google Scholar]
- Alm, C.; Sproat, R. Emotional sequencing and development in fairy tales. In International Conference on Affective Computing and Intelligent Interaction; Springer: Berlin/Heidelberg, Germany, 2005; pp. 668–674. [Google Scholar]
- Boyd, R.L.; Blackburn, K.G.; Pennebaker, J.W. The narrative arc: Revealing core narrative structures through text analysis. Sci. Adv. 2020, 6, eaba2196. [Google Scholar] [CrossRef] [PubMed]
- Doust, R.; Piwek, P. A model of suspense for narrative generation. In Proceedings of the 10th International Conference on Natural Language Generation, Santiago de Compostela, Spain, 4–7 September 2017; Association for Computational Linguistics: Santiago de Compostela, Spain, 2017; pp. 178–187. [Google Scholar]
- Bruner, J.S. Actual Minds, Possible Worlds; Cambridge University Press: New York, NY, USA, 1986. [Google Scholar]
- Todorov, T. Narrative transformations. In The Poetics of Prose; Cornell University Press: Ithaca, NY, USA, 1977; pp. 218–233. [Google Scholar]
- Russell, J.A.; Weiss, A.; Mendelsohn, G.A. Affect Grid: A single-item scale of pleasure and arousal. J. Personal. Soc. Psychol. 1989, 57, 493–502. [Google Scholar] [CrossRef]
- Zsibrita, J.; Vincze, V.; Farkas, R. Magyarlanc: A toolkit for morphological and dependency parsing of Hungarian. In Proceedings of the International Conference Recent Advances in Natural Language Processing, Hissar, Bulgaria, 9–11 September 2013. [Google Scholar]
- Gottschalk, L.A.; Bechtel, R.J. Computerized Content Analysis of Speech and Verbal Texts and Its Many Applications; Nova Science Publisher: New York, NY, USA, 2008. [Google Scholar]
- Gobbo, C.; Raccanello, D. How children narrate happy and sad events: Does affective state count? Appl. Cogn. Psychol. 2007, 21, 1173–1190. [Google Scholar] [CrossRef]
- László, J.; Csertő, I.; Fülöp, É.; Ferenczhalmy, R.; Hargitai, R.; Lendvai, P.; Péley, B.; Pólya, T.; Szalai, K.; Vincze, O.; et al. Narrative language as an expression of individual and group identity. SAGE Open 2013, 3, 1–12. [Google Scholar] [CrossRef]
- Vabalas, A.; Gowen, E.; Poliakoff, E.; Casson, A.J. Machine learning algorithm validation with a limited sample size. PLoS ONE 2019, 14, e0224365. [Google Scholar] [CrossRef] [PubMed]
Narrative Structural Features | Definition | Example (Lexicon and Sentence) |
---|---|---|
Narrative transformation | ||
Mode | Expression of possibility, impossibility, necessity, or prohibition of an action. | will, must, used to [fog, kell, szokott] I will open the book. |
Intention | The intention to perform an action. | want, decide, goal [akar, dönt, cél] I wanted to go there. |
Result | Action presented as already accomplished. | manage, achieve, prevent [sikerül, elér, megakadályoz] I managed to get to the station on time. |
Manner | Specification of the manner in which an action occurs, or expression of its intensity. | adverb He firmly pointed out the flaws. |
Aspect | Expression of the temporal contour of an action. | start, finish, bring up [kezd, befejez, megállít] I started to get into running. |
Status | Negation of the action | not, never, without [nem, soha, nélkül] I did not make the mess. |
Appearance | Indication of the replacement of one event by another. | seem, bewilder, pretend [tűnik, megtéveszt, színlel] It seemed to stop raining. |
Knowledge | Description of awareness of the action. | understand, contrive, feel [megért, kitalál, érez] I understood what he was doing. |
Description | Description of an act of communication. | call, describe, chat [hív, leír, beszélget] I called my sister. |
Supposition | Description of anticipation of a future action. | expect, tomorrow, then [vár, holnap, majd] I expected something different. |
Subjectivation | Attribution of the action, as an object of observation, to a subject. | remember, consider, doubt [emlékszik, fontol, kételkedik] I remember vividly. |
Attitude | Description of the state elicited in the subject by the action. | wonder, laugh, enjoy [csodálkozik, kinevet, élvez] I wonder why you are here. |
Narrative evaluation | ||
Comparative | Comparison between any aspects of two narrative events. | Comparative and superlative adjective, conjunction than [mint] I was happier this morning than yesterday. |
Quantifier | Expression of the quantity of any aspect of an event included in a narrative. | all, some, enough [összes, egész, elég] All my hopes are gone. |
Qualification | Emphasis added to the description of any aspect of a narrative event. | Primary adjective It was a happy day. |
Explanation | Insertion of unknown information in the narrative. | so, consequently, because [ezért, következésképp, mert] So now they have come to us. |
Variables | Frequency | |||
---|---|---|---|---|
Minimum | Maximum | M | SD | |
Emotion lexicons | 0 | 10 | 2.0 | 1.8 |
Narrative transformations | 0 | 141 | 24.7 | 19.7 |
Narrative evaluations | 0 | 54 | 11.3 | 9.3 |
Classifier | Predictor Variables | Arousal | Positive Valence | Negative Valence | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
R % | P % | A % | F1 % | R % | P % | A % | F1 % | R % | P % | A % | F1 % | ||
k-NN | Emotion lexicons | 54.7 | 54.6 | 55.1 | 54.6 | 66.5 | 66.5 | 66.5 | 66.7 | 50.0 | 29.3 | 58.5 | 36.9 |
Narrative transformations | 73.7 | 75.2 | 75.4 | 74.4 | 70.8 | 72.2 | 70.3 | 71.5 | 70.9 | 71.9 | 69.2 | 71.4 | |
Narrative evaluations | 61.4 | 63.7 | 63.2 | 62.5 | 58.8 | 59.9 | 58.4 | 59.3 | 62.5 | 64.8 | 62.2 | 63.6 | |
k-NNTF-IDF | Emotion lexicons | 55.2 | 55.4 | 52.6 | 55.3 | 64.3 | 65.3 | 63.2 | 64.8 | 50.0 | 29.3 | 58.5 | 36.9 |
Narrative transformations | 67.2 | 67.7 | 67.6 | 67.4 | 63.6 | 64.3 | 64.1 | 63.9 | 65.6 | 65.1 | 66.2 | 65.3 | |
Narrative evaluations | 52.8 | 52.3 | 54.1 | 52.5 | 52.2 | 53.7 | 51.8 | 52.9 | 51.3 | 52.1 | 58.2 | 51.7 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Pólya, T.; Csertő, I. Emotion Recognition Based on the Structure of Narratives. Electronics 2023, 12, 919. https://doi.org/10.3390/electronics12040919
Pólya T, Csertő I. Emotion Recognition Based on the Structure of Narratives. Electronics. 2023; 12(4):919. https://doi.org/10.3390/electronics12040919
Chicago/Turabian StylePólya, Tibor, and István Csertő. 2023. "Emotion Recognition Based on the Structure of Narratives" Electronics 12, no. 4: 919. https://doi.org/10.3390/electronics12040919
APA StylePólya, T., & Csertő, I. (2023). Emotion Recognition Based on the Structure of Narratives. Electronics, 12(4), 919. https://doi.org/10.3390/electronics12040919