{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,9]],"date-time":"2026-05-09T11:10:09Z","timestamp":1778325009221,"version":"3.51.4"},"reference-count":36,"publisher":"Springer Science and Business Media LLC","issue":"8","license":[{"start":{"date-parts":[[2026,4,1]],"date-time":"2026-04-01T00:00:00Z","timestamp":1775001600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2026,4,11]],"date-time":"2026-04-11T00:00:00Z","timestamp":1775865600000},"content-version":"vor","delay-in-days":10,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/501100001215","name":"La Trobe University","doi-asserted-by":"crossref","id":[{"id":"10.13039\/501100001215","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Neural Comput &amp; Applic"],"published-print":{"date-parts":[[2026,4]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Detecting hate speech is challenging because language constantly evolves, often carrying subtle emotional undertones that can be difficult to interpret. While many existing approaches rely on semantic analysis, they frequently miss these emotional cues and struggle to adapt to different contexts. This paper introduces an enhanced Dual Contrastive Learning (DCL) framework, integrating emotion profiling with fine-tuned language models (BERTweet, RoBERTa, TimeLMs) to address these gaps. By using SHAP (SHapley Additive exPlanations) for interpretability, our approach enhances both detection accuracy and explainability. Experiments on SemEval-2019, Davidson, and a Unified Twitter corpus show that our EmotionDCL models outperform baseline methods, with TimeLMs achieving 81.20% accuracy on SemEval and 94.04% on Davidson. Ablation studies confirm the synergy between contrastive learning and emotion integration, highlighting anger, fear, and anticipation as dominant emotional drivers of hate speech. These findings show the importance of emotion-aware, context-adaptive detection systems and the need for strategies to address class imbalance and linguistic evolution.<\/jats:p>","DOI":"10.1007\/s00521-026-12029-8","type":"journal-article","created":{"date-parts":[[2026,4,11]],"date-time":"2026-04-11T03:10:25Z","timestamp":1775877025000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["An emotion aware context adaptive machine learning approach for detecting hate speech in social media"],"prefix":"10.1007","volume":"38","author":[{"ORCID":"https:\/\/orcid.org\/0009-0006-1143-4391","authenticated-orcid":false,"given":"Krishan","family":"Chavinda","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0009-0002-3934-8226","authenticated-orcid":false,"given":"Pasan","family":"Kalansooriya","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0009-0005-4375-4771","authenticated-orcid":false,"given":"Thushalya","family":"Weerasuriya","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5361-4810","authenticated-orcid":false,"given":"Nisansa","family":"de Silva","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3936-8174","authenticated-orcid":false,"given":"Uthayasanker","family":"Thayasivam","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0009-0000-6803-5304","authenticated-orcid":false,"given":"Kogul","family":"Srikandabala","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0009-0007-2149-0773","authenticated-orcid":false,"given":"Kirishnni","family":"Prabagar","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3291-888X","authenticated-orcid":false,"given":"Damminda","family":"Alahakoon","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"297","published-online":{"date-parts":[[2026,4,11]]},"reference":[{"key":"12029_CR1","doi-asserted-by":"crossref","unstructured":"Lu J et al (2023) Hate speech detection via dual contrastive learning. Speech, and Language Processing, IEEE\/ACM Transactions on Audio","DOI":"10.1109\/TASLP.2023.3294715"},{"key":"12029_CR2","doi-asserted-by":"crossref","unstructured":"Nguyen DQ, Vu T, Nguyen AT (2020) Bertweet: A pre-trained language model for english tweets. arXiv preprint arXiv:2005.10200","DOI":"10.18653\/v1\/2020.emnlp-demos.2"},{"key":"12029_CR3","doi-asserted-by":"crossref","unstructured":"Liu Z, Lin W, Shi Y, Zhao J (2021) A robustly optimized bert pre-training approach with post-training, 471\u2013484, Springer","DOI":"10.1007\/978-3-030-84186-7_31"},{"key":"12029_CR4","doi-asserted-by":"crossref","unstructured":"Loureiro D, Barbieri F, Neves L, Anke LE, Camacho-Collados J (2022) Timelms: Diachronic language models from twitter. arXiv preprint arXiv:2202.03829","DOI":"10.18653\/v1\/2022.acl-demo.25"},{"key":"12029_CR5","unstructured":"Lundberg SM, Lee S-I (2017) A unified approach to interpreting model predictions. Adv Neural Inf Process Syst 30"},{"key":"12029_CR6","unstructured":"Gutmann MU, Hyv\u00e4rinen A (2012) Noise-contrastive estimation of unnormalized statistical models, with applications to natural image statistics. J Mach Learn Res 13"},{"key":"12029_CR7","doi-asserted-by":"crossref","unstructured":"Fang H, Wang S, Zhou M, Ding J, Xie P (2020) Cert: Contrastive self-supervised learning for language understanding. arXiv preprint arXiv:2005.12766","DOI":"10.36227\/techrxiv.12308378"},{"key":"12029_CR8","unstructured":"Giorgi J, Nitski O, Wang B, Bader G (2020) Declutr: Deep contrastive learning for unsupervised textual representations. arXiv preprint arXiv:2006.03659"},{"key":"12029_CR9","doi-asserted-by":"crossref","unstructured":"Gao T, Yao X, Chen D (2021) Simcse: Simple contrastive learning of sentence embeddings. arXiv preprint arXiv:2104.08821","DOI":"10.18653\/v1\/2021.emnlp-main.552"},{"key":"12029_CR10","unstructured":"Gunel B, Du J, Conneau A, Stoyanov V (2020) Supervised contrastive learning for pre-trained language model fine-tuning. arXiv preprint arXiv:2011.01403"},{"key":"12029_CR11","doi-asserted-by":"crossref","unstructured":"Suresh V, Ong DC (2021) Not all negatives are equal: Label-aware contrastive loss for fine-grained text classification. arXiv preprint arXiv:2109.05427","DOI":"10.18653\/v1\/2021.emnlp-main.359"},{"key":"12029_CR12","doi-asserted-by":"crossref","unstructured":"Pan L, Hang C-W, Sil A, Potdar S (2022) Improved text classification via contrastive adversarial training 36:11130\u201311138","DOI":"10.1609\/aaai.v36i10.21362"},{"key":"12029_CR13","unstructured":"Ross B et al (2017) Measuring the reliability of hate speech annotations: The case of the european refugee crisis. arXiv preprint arXiv:1701.08118"},{"key":"12029_CR14","doi-asserted-by":"publisher","first-page":"2205","DOI":"10.1007\/s11263-022-01639-z","volume":"130","author":"Y Li","year":"2022","unstructured":"Li Y et al (2022) Twin contrastive learning for online clustering. Int J Comput Vision 130:2205\u20132221","journal-title":"Int J Comput Vision"},{"key":"12029_CR15","doi-asserted-by":"publisher","first-page":"22400","DOI":"10.1109\/ACCESS.2022.3151098","volume":"10","author":"A Rodriguez","year":"2022","unstructured":"Rodriguez A, Chen Y-L, Argueta C (2022) Fadohs: framework for detection and integration of unstructured data of hate speech on facebook using sentiment and emotion analysis. IEEE Access 10:22400\u201322419","journal-title":"IEEE Access"},{"key":"12029_CR16","doi-asserted-by":"publisher","first-page":"214","DOI":"10.1016\/j.inffus.2023.03.015","volume":"96","author":"C Min","year":"2023","unstructured":"Min C et al (2023) Finding hate speech with auxiliary emotion detection from self-training multi-label learning perspective. Inform Fusion 96:214\u2013223","journal-title":"Inform Fusion"},{"key":"12029_CR17","doi-asserted-by":"crossref","unstructured":"Bharti SK et al (2022) Text-based emotion recognition using deep learning approach. Comput Intell Neurosci 2022:","DOI":"10.1155\/2022\/2645381"},{"key":"12029_CR18","unstructured":"Loureiro D et al (2023) Tweet insights: A visualization platform to extract temporal insights from twitter. arXiv preprint arXiv:2308.02142"},{"key":"12029_CR19","unstructured":"Schneider N, Shouei S, Ghantous S, Feldman E (2023) Hate speech targets detection in parler using bert. arXiv preprint arXiv:2304.01179"},{"key":"12029_CR20","doi-asserted-by":"crossref","unstructured":"Mozafari M, Farahbakhsh R, Crespi N (2020) A bert-based transfer learning approach for hate speech detection in online social media, 928\u2013940, Springer","DOI":"10.1007\/978-3-030-36687-2_77"},{"key":"12029_CR21","unstructured":"Hu EJ et al (2021) Lora: Low-rank adaptation of large language models. arXiv preprint arXiv:2106.09685"},{"key":"12029_CR22","doi-asserted-by":"crossref","unstructured":"Martins R, Gomes M, Almeida JJ, Novais P, Henriques P (2018) Hate speech classification in social media using emotional analysis, 61\u201366. IEEE","DOI":"10.1109\/BRACIS.2018.00019"},{"key":"12029_CR23","doi-asserted-by":"crossref","unstructured":"Camras L (1980) Am J Psychol 93:751\u2013753 http:\/\/www.jstor.org\/stable\/1422394","DOI":"10.2307\/1422394"},{"key":"12029_CR24","first-page":"701","volume-title":"Angrybert: Joint learning target and emotion for hate speech detection,","author":"MR Awal","year":"2021","unstructured":"Awal MR, Cao R, Lee RK-W, Mitrovi\u0107 S (2021) Angrybert: Joint learning target and emotion for hate speech detection,. Springer, pp 701\u2013713"},{"key":"12029_CR25","doi-asserted-by":"crossref","unstructured":"Adoma AF, Henry N-M, Chen W (2020) Comparative analyses of bert, roberta, distilbert, and xlnet for text-based emotion recognition, 117\u2013121. IEEE","DOI":"10.1109\/ICCWAMTIP51612.2020.9317379"},{"key":"12029_CR26","doi-asserted-by":"crossref","unstructured":"Camacho-Collados J et al (2022) Tweetnlp: Cutting-edge natural language processing for social media. arXiv preprint arXiv:2206.14774","DOI":"10.18653\/v1\/2022.emnlp-demos.5"},{"key":"12029_CR27","doi-asserted-by":"crossref","unstructured":"Mohammad S, Bravo-Marquez F, Salameh M, Kiritchenko S (2018) Semeval-2018 task 1: affect in tweets, 1\u201317","DOI":"10.18653\/v1\/S18-1001"},{"key":"12029_CR28","doi-asserted-by":"crossref","unstructured":"Akiba T, Sano S, Yanase T, Ohta T, Koyama M (2019) Optuna: a next-generation hyperparameter optimization framework. 2623\u20132631","DOI":"10.1145\/3292500.3330701"},{"key":"12029_CR29","doi-asserted-by":"crossref","unstructured":"Basile V et al (2019) Semeval-2019 task 5: Multilingual detection of hate speech against immigrants and women in twitter, 54\u201363","DOI":"10.18653\/v1\/S19-2007"},{"key":"12029_CR30","unstructured":"Stappen L, Brunn F, Schuller B (2020) Cross-lingual zero-and few-shot hate speech detection utilising frozen transformer language models and axel. arXiv preprint arXiv:2004.13850"},{"key":"12029_CR31","doi-asserted-by":"crossref","unstructured":"Wang C, Banko M (2021) Practical transformer-based multilingual text classification, 121\u2013129","DOI":"10.18653\/v1\/2021.naacl-industry.16"},{"key":"12029_CR32","doi-asserted-by":"crossref","unstructured":"Davidson T, Warmsley D, Macy M, Weber I (2017) Automated hate speech detection and the problem of offensive language 11:512\u2013515","DOI":"10.1609\/icwsm.v11i1.14955"},{"key":"12029_CR33","doi-asserted-by":"publisher","first-page":"47","DOI":"10.1007\/s13278-023-01051-6","volume":"13","author":"S Nagar","year":"2023","unstructured":"Nagar S, Barbhuiya FA, Dey K (2023) Towards more robust hate speech detection: using social context and user data. Soc Netw Anal Min 13:47","journal-title":"Soc Netw Anal Min"},{"key":"12029_CR34","unstructured":"Devlin J, Chang M-W, Lee K, Toutanova K (2018) Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805"},{"key":"12029_CR35","unstructured":"Loshchilov I, Hutter F (2018) Fixing weight decay regularization in Adam"},{"key":"12029_CR36","doi-asserted-by":"crossref","unstructured":"Zhou X et al (2021) Hate speech detection based on sentiment knowledge sharing, 7158\u20137166","DOI":"10.18653\/v1\/2021.acl-long.556"}],"container-title":["Neural Computing and Applications"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s00521-026-12029-8.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s00521-026-12029-8","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s00521-026-12029-8.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,5,9]],"date-time":"2026-05-09T10:57:50Z","timestamp":1778324270000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s00521-026-12029-8"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,4]]},"references-count":36,"journal-issue":{"issue":"8","published-print":{"date-parts":[[2026,4]]}},"alternative-id":["12029"],"URL":"https:\/\/doi.org\/10.1007\/s00521-026-12029-8","relation":{},"ISSN":["0941-0643","1433-3058"],"issn-type":[{"value":"0941-0643","type":"print"},{"value":"1433-3058","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,4]]},"assertion":[{"value":"6 August 2024","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"3 February 2026","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"11 April 2026","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"The authors have no relevant financial or non-financial interest to disclose.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Conflict of interest"}},{"value":"Not applicable.","order":3,"name":"Ethics","group":{"name":"EthicsHeading","label":"Ethical approval"}},{"value":"Not applicable.","order":4,"name":"Ethics","group":{"name":"EthicsHeading","label":"Consent to participate"}},{"value":"Not applicable.","order":5,"name":"Ethics","group":{"name":"EthicsHeading","label":"Consent for publication"}}],"article-number":"268"}}