Abstract
With the prosperity of social media, toxic language spreading over social media has become an unignorable challenge for individual mental health and social harmony. Many researchers have studied toxic language identification to control or mitigate it. However, it still leaves a blank in the cognitive patterns of toxic language. Metaphors as a common feature in natural language connect literal and metaphorical meanings, which could be a useful tool to study the underlying cognitive patterns of the text. In this paper, we utilize a metaphor processing tool, MetaPro, to process a public toxic language dataset and analyze the cognitive biases between toxic and non-toxic language, multiple levels and subtypes of toxic language as well as toxic language mentioning different genders, sexual orientations, and races. Our study demonstrates that significant differences exist in cognitive patterns of the above-mentioned categories and analyzes the differences with machine learning methods.











Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Data Availability
No datasets were generated or analyzed during the current study.
Notes
Metaphors are shown in italics.
We show concept mappings in (target, source) format, where the target and source concepts are separated by a comma. To distinguish, we enumerate concept examples in (concept1; concept2;...;) format, where the concepts are separated by semicolons.
For example, let us just coddle [treat] these idiotic standoff perps and let them have their way. The source concept for coddle is darling.
References
Cambria E. Understanding natural language understanding. Springer; 2024. ISBN 978-3-031-73973-6
Cambria E, Zhang X, Mao R, Chen M, Kwok K. SenticNet 8: Fusing emotion AI and commonsense AI for interpretable, trustworthy, and explainable affective computing. In: Proceedings of international conference on human-computer interaction (HCII), Washington DC, USA; 2024. p. 197–216.
Mao R, Liu Q, He K, Li W, Cambria E. The biases of pre-trained language models: an empirical study on prompt-based sentiment analysis and emotion detection. IEEE Trans Affect Comput. 2023;14(3):1743–53.
Ekiciler A, Ahioğlu İ, Yıldırım N, Ajas II, Kaya T. The bullying game: sexism based toxic language analysis on online games chat logs by text mining. J Int Women’s Stud. 2022;24(3):1–16.
Kumar A, Abirami S, Trueman TE, Cambria E. Comment toxicity detection via a multichannel convolutional bidirectional gated recurrent unit. Neurocomputing. 2021;441:272–8.
Pelzer B, Kaati L, Cohen K, Fernquist J. Toxic language in online incel communities. SN Soc Sci. 2021;1:1–22.
Bhat MM, Hosseini S, Hassan A, Bennett P, Li W. Say ‘yes’to positivity: detecting toxic language in workplace communications. In: Findings of the association for computational linguistics: EMNLP 2021; 2021. p. 2017–29.
Kwak H, Blackburn J. Linguistic analysis of toxic behavior in an online video game. In: Social informatics: SocInfo 2014 international workshops, Barcelona, Spain, November 11, 2014, Revised Selected Papers 6. Springer; 2015. p. 209–17.
Nexø LA, Kristiansen S. Players don’t die, they respawn: a situational analysis of toxic encounters arising from death events in league of legends. Eur J Crim Pol Res. 2023;29(3):457–76.
Kanna RK, Mutheeswaran U, Jouda AJ, Hussein MA, Hussain A, Al-Tahee M. Computational cognitive analysis of ADHD patients using Matlab applications. In: 2023 3rd International Conference on Advance Computing and Innovative Technologies in Engineering (ICACITE). IEEE; 2023. p. 1344–8.
Montuori C, Gambarota F, Altoé G, Arfé B. The cognitive effects of computational thinking: a systematic review and meta-analytic study. Comput Educ. 2024;210:104961.
Ottati V, Rhoads S, Graesser AC. The effect of metaphor on processing style in a persuasion task: a motivational resonance model. J Person Soc Psychol. 1999;77(4):688.
Lakoff G. Moral politics: how liberals and conservatives think. Chicago, IL: University of Chicago Press; 2002.
Ang SH, Lim EAC. The influence of metaphors and product type on brand personality perceptions and attitudes. J Advert. 2006;35(2):39–53.
Mao R, Zhang T, Liu Q, Hussain A, Cambria E. Unveiling diplomatic narratives: analyzing United Nations Security Council debates through metaphorical cognition. In: Proceedings of the annual meeting of the cognitive science society (CogSci), vol. 46. Rotterdam, the Netherlands; 2024. p. 1709–16.
Lakoff G, Johnson M. Metaphors we live by. Chicago, IL: University of Chicago; 1980.
Crawford LE. Conceptual metaphors of affect. Emotion Rev. 2009;1(2):129–39.
Nayak NP, Gibbs RW. Conceptual knowledge in the interpretation of idioms. J Exp Psychol Gen. 1990;119(3):315.
Allbritton DW, McKoon G, Gerrig RJ. Metaphor-based schemas and text representations: making connections through conceptual metaphors. J Exp Psychol Learn Mem Cogn. 1995;21(3):612.
Boroditsky L, Ramscar M. The roles of body and mind in abstract thought. Psychol Sci. 2002;13(2):185–9.
Ge M, Mao R, Cambria E. A survey on computational metaphor processing techniques: from identification, interpretation, generation to application. Artif Intell Rev. 2023;56(Suppl 2):1829–95.
Mao R, Li X, He K, Ge M, Cambria E. MetaPro online: a computational metaphor processing online system. In: Proceedings of the 61st annual meeting of the association for computational linguistics (Volume 3: System Demonstrations);2023. vol. 3, p. 127–35.
Mao R, Ge M, Han S, Li W, He K, Zhu L, Cambria E. A survey on pragmatic processing techniques. Inf Fusion. 2025;114:102712.
Mu Y, Bontcheva K, Aletras N. It’s about time: rethinking evaluation on rumor detection benchmarks using chronological splits. In: Findings of the association for computational linguistics: EACL 2023; 2023. p. 736–743.
Mu Y, Song X, Bontcheva K, Aletras N. Examining the limitations of computational rumor detection models trained on static datasets. In: Proceedings of the 2024 joint international conference on computational linguistics, language resources and evaluation (LREC-COLING 2024); 2024. p. 6739–51.
Xia M, Field A, Tsvetkov Y. Demoting racial bias in hate speech detection. In: Proceedings of the eighth international workshop on natural language processing for social media; 2020. p. 7–14.
Halevy M, Harris C, Bruckman A, Yang D, Howard A. Mitigating racial biases in toxic language detection with an equity-based ensemble framework. In: Equity and access in algorithms, mechanisms, and optimization; 2021. p. 1–11.
Chuang Y-S, Gao M, Luo H, Glass J, Lee H-Y, Chen Y-N, Li S-W. Mitigating biases in toxic language detection through invariant rationalization. In: Proceedings of the 5th Workshop on Online Abuse and Harms (WOAH 2021); 2021. p. 114–20.
Sahoo N, Gupta H, Bhattacharyya P. Detecting unintended social bias in toxic language datasets. In: Proceedings of the 26th conference on computational natural language learning (CoNLL); 2022. p. 132–43.
Gevers I, Markov I, Daelemans W. Linguistic analysis of toxic language on social media. Comput Linguist Netherlands J. 2022;12:33–48.
Sharma S, et al. Content analysis of item songs: reflections of a toxic socio-cultural milieu. Turk J Comput Math Educ (TURCOMAT). 2021;12(10):3856–61.
Hu R, Wang X. A cognitive pragmatic analysis of conceptual metaphor in political discourse based on text data mining. In: 2021 4th International conference on information systems and computer aided education; 2021. p. 235–8.
Chen, X.: The greenhouse metaphor and the greenhouse effect: a case study of a flawed analogous model. In: Philosophy and cognitive science: western & eastern studies, Springer; 2012. p. 105–14.
Wang Z, Wang L, Yu S. A metaphorical and cognitive study on idioms with “Ru”. In: Chinese lexical semantics: 17th workshop, CLSW 2016, Singapore, Singapore, May 20–22, 2016, Revised Selected Papers 17. Springer; 2016. p. 534–45.
Dodge EK, Hong J, Stickles E. MetaNet: deep semantic automatic metaphor analysis. In: Proceedings of the third workshop on metaphor in NLP; 2015. p. 40–9.
Lachaud CM. Conceptual metaphors and embodied cognition: EEG coherence reveals brain activity differences between primary and complex conceptual metaphors during comprehension. Cognit Syst Res. 2013;22:12–26.
Fu C, Wang J, Sang J, Yu J, Xu C. Beyond literal visual modeling: understanding image metaphor based on literal-implied concept mapping. In: Multimedia modeling: 26th international conference, MMM 2020, Daejeon, South Korea, January 5–8, 2020, Proceedings, Part I 26. Springer; 2020. p. 111–23
Li H, Zhu KQ, Wang H. Data-driven metaphor recognition and explanation. Trans Assoc Comput Linguist. 2013;1:379–90.
Rosen Z. Computationally constructed concepts: a machine learning approach to metaphor interpretation using usage-based construction grammatical cues. In: Proceedings of the workshop on figurative language processing; 2018. pp. 102–9.
Han S, Mao R, Cambria E. Hierarchical attention network for explainable depression detection on Twitter aided by metaphor concept mappings. In: Proceedings of the 29th international conference on computational linguistics (COLING) 2022; p. 94–104.
Mao R, Du K, Ma Y, Zhu L, Cambria E. Discovering the cognition behind language: financial metaphor analysis with MetaPro. In: 2023 IEEE International Conference on Data Mining (ICDM). IEEE; 2023. p. 1211–6.
Jia M, Mao R, Xie Y, Ren S, Cambria E. Analyzing the cognitive impact of trauma from a metaphorical perspective: a case study on the attempted assassination of Donald Trump. In: 2025 IEEE Symposium Series on Computational Intelligence (SSCI), Trondheim, Norway; 2025.
Mao R, Lin Q, Liu Q, Mengaldo G, Cambria E. Understanding public perception towards weather disasters through the lens of metaphor. In: Proceedings of the thirty-third international joint Conference on Artificial Intelligence, (IJCAI-24); 2024. p. 7394–402.
Manro R, Mao R, Dahiya L, Ma Y, Cambria E. A cognitive analysis of CEO speeches and their effects on stock markets. In: Proceedings of the 5th International Conference on Financial Technology (ICFT), Singapore; 2024.
Mao R, Chen G, Li X, Ge M, Cambria E. A comparative analysis of metaphorical cognition in ChatGPT and human minds. Cognit Comput. 2025;17.
Borkan D, Dixon L, Sorensen J, Thain N, Vasserman L. Nuanced metrics for measuring unintended bias with real data for text classification. In: Companion proceedings of the 2019 world wide web conference; 2019. p. 491–500.
Sennrich R, Haddow B, Birch A. Neural machine translation of rare words with subword units. In: Proceedings of the 54th annual meeting of the association for computational linguistics (Volume 1: Long Papers); 2016. p. 1715–25.
Mao R, Li X. Bridging towers of multi-task learning with a gating mechanism for aspect-based sentiment analysis and sequential metaphor identification. In: Proceedings of the AAAI conference on artificial intelligence; 2021. vol. 35, p. 13534–42.
Mao R, Li X, Ge M, Cambria E. MetaPro: a computational metaphor processing model for text pre-processing. Inf Fusion. 2022;86–87:30–43.
Ge M, Mao R, Cambria E. Explainable metaphor identification inspired by conceptual metaphor theory. In: Proceedings of the AAAI conference on artificial intelligence; 2022. vol. 36, p. 10681–9.
Mao R, He K, Ong CB, Liu Q, Cambria E. MetaPro 2.0: computational metaphor processing on the effectiveness of anomalous language modeling. In: Findings of the association for computational linguistics: ACL; 2024. p. 9891–908.
Agrawal R, Imieliński T, Swami A. Mining association rules between sets of items in large databases. In: Proceedings of the 1993 ACM SIGMOD international conference on management of data; 1993. p. 207–16.
Adams CJ, Borkan D, Sorensen J, Dixon L, Vasserman L, Thain N. Jigsaw unintended bias in toxicity classification. Kaggle; 2019. https://kaggle.com/competitions/jigsaw-unintended-bias-in-toxicity-classification
Brassard-Gourdeau E, Khoury R. Subversive toxicity detection using sentiment information. In: Proceedings of the third workshop on abusive language online; 2019. p. 1–10.
Nejadgholi I, Balkir E, Fraser KC, Kiritchenko S. Towards procedural fairness: uncovering biases in how a toxic language classifier uses sentiment information. In: Proceedings of the fifth BlackboxNLP workshop on analyzing and interpreting neural networks for NLP; 2022. p. 225–37.
Zhang Y, Ding L, Zhang L, Tao D. Intention analysis prompting makes large language models a good jailbreak defender; 2024. arXiv:2401.06561
Roth PL, Purvis KL, Bobko P. A meta-analysis of gender group differences for measures of job performance in field studies. J Manag. 2012;38(2):719–39.
Diamond LM, Pardo ST, Butterworth MR. Transgender experience and identity. Handbook of identity theory and research; 2011. 629–47.
Simon W, Gagnon JH. Homosexuality: the formulation of a sociological perspective. J Health Soc Behav. 1967;177–85.
Funding
This research/project is supported by the Ministry of Education, Singapore under its MOE Academic Research Fund Tier 2 (STEM RIE2025 Award MOE-T2EP20123-0005)
Author information
Authors and Affiliations
Contributions
Mengshi Ge: methodology, formal analysis, data curation, visualization, writing—original draft; Rui Mao: validation, formal analysis, data curation, investigation, writing—review and editing; Erik Cambria: resources, writing - review and editing, supervision, project administration.
Corresponding author
Ethics declarations
Conflict of Interest
The authors declare no competing interests.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Ge, M., Mao, R. & Cambria, E. Discovering the Cognitive Bias of Toxic Language Through Metaphorical Concept Mappings. Cogn Comput 17, 65 (2025). https://doi.org/10.1007/s12559-025-10423-3
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s12559-025-10423-3