Luis A Camacho-Vázquez,Vanessa A Camacho-Vázquez,Sandra D Orantes-Jiménez,Grigori Sidorov
{"title":"利用深度神经网络检测短文本中的负面情绪。","authors":"Luis A Camacho-Vázquez,Vanessa A Camacho-Vázquez,Sandra D Orantes-Jiménez,Grigori Sidorov","doi":"10.1089/cyber.2024.0457","DOIUrl":null,"url":null,"abstract":"Emotion detection is crucial in various domains, including psychology, health, social sciences, and marketing. Specifically, in psychology, identifying negative emotions in short Spanish texts, such as tweets, is vital for understanding individuals' emotional states. However, this process is challenging because of factors such as lack of context, cultural nuances, and ambiguous expressions. Although much research on emotion classification in tweets has focused on applications such as crisis analysis, mental health monitoring, and affective computing, most of it has been conducted in English, leaving a significant gap in addressing the emotional needs of Spanish-speaking communities. To address this gap, we used a corpus of 12,000 Spanish tweets tagged with Ekman's negative emotions (sadness, anger, fear, and disgust). Traditional features (n-grams of different types and sizes), syntactic n-grams, and combined features were evaluated. Different deep neural networks, including convolutional neural networks, Bidirectional Encoder Representations of Transformers (BERT), and the robust optimized BERT approach called RoBERTa, were implemented and compared with traditional machine learning methods to identify the most effective method. Extensive testing revealed that BERT achieved the best result, with a macro F1 score of 0.9973. Furthermore, we reported the carbon emissions generated during the training of each implemented method. This study makes a unique contribution by focusing on negative emotions in Spanish, leveraging one of the largest and highest-quality corpora available. It stands out for implementing advanced transformers such as RoBERTa and integrating combined and syntactic n-grams in traditional methods. Furthermore, it highlights how parameters, features, and preprocessing significantly influence performance.","PeriodicalId":10872,"journal":{"name":"Cyberpsychology, behavior and social networking","volume":"47 1","pages":""},"PeriodicalIF":4.2000,"publicationDate":"2025-05-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Detection of Negative Emotions in Short Texts Using Deep Neural Networks.\",\"authors\":\"Luis A Camacho-Vázquez,Vanessa A Camacho-Vázquez,Sandra D Orantes-Jiménez,Grigori Sidorov\",\"doi\":\"10.1089/cyber.2024.0457\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Emotion detection is crucial in various domains, including psychology, health, social sciences, and marketing. Specifically, in psychology, identifying negative emotions in short Spanish texts, such as tweets, is vital for understanding individuals' emotional states. However, this process is challenging because of factors such as lack of context, cultural nuances, and ambiguous expressions. Although much research on emotion classification in tweets has focused on applications such as crisis analysis, mental health monitoring, and affective computing, most of it has been conducted in English, leaving a significant gap in addressing the emotional needs of Spanish-speaking communities. To address this gap, we used a corpus of 12,000 Spanish tweets tagged with Ekman's negative emotions (sadness, anger, fear, and disgust). Traditional features (n-grams of different types and sizes), syntactic n-grams, and combined features were evaluated. Different deep neural networks, including convolutional neural networks, Bidirectional Encoder Representations of Transformers (BERT), and the robust optimized BERT approach called RoBERTa, were implemented and compared with traditional machine learning methods to identify the most effective method. Extensive testing revealed that BERT achieved the best result, with a macro F1 score of 0.9973. Furthermore, we reported the carbon emissions generated during the training of each implemented method. This study makes a unique contribution by focusing on negative emotions in Spanish, leveraging one of the largest and highest-quality corpora available. It stands out for implementing advanced transformers such as RoBERTa and integrating combined and syntactic n-grams in traditional methods. Furthermore, it highlights how parameters, features, and preprocessing significantly influence performance.\",\"PeriodicalId\":10872,\"journal\":{\"name\":\"Cyberpsychology, behavior and social networking\",\"volume\":\"47 1\",\"pages\":\"\"},\"PeriodicalIF\":4.2000,\"publicationDate\":\"2025-05-07\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Cyberpsychology, behavior and social networking\",\"FirstCategoryId\":\"102\",\"ListUrlMain\":\"https://doi.org/10.1089/cyber.2024.0457\",\"RegionNum\":2,\"RegionCategory\":\"心理学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"PSYCHOLOGY, SOCIAL\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Cyberpsychology, behavior and social networking","FirstCategoryId":"102","ListUrlMain":"https://doi.org/10.1089/cyber.2024.0457","RegionNum":2,"RegionCategory":"心理学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"PSYCHOLOGY, SOCIAL","Score":null,"Total":0}
Detection of Negative Emotions in Short Texts Using Deep Neural Networks.
Emotion detection is crucial in various domains, including psychology, health, social sciences, and marketing. Specifically, in psychology, identifying negative emotions in short Spanish texts, such as tweets, is vital for understanding individuals' emotional states. However, this process is challenging because of factors such as lack of context, cultural nuances, and ambiguous expressions. Although much research on emotion classification in tweets has focused on applications such as crisis analysis, mental health monitoring, and affective computing, most of it has been conducted in English, leaving a significant gap in addressing the emotional needs of Spanish-speaking communities. To address this gap, we used a corpus of 12,000 Spanish tweets tagged with Ekman's negative emotions (sadness, anger, fear, and disgust). Traditional features (n-grams of different types and sizes), syntactic n-grams, and combined features were evaluated. Different deep neural networks, including convolutional neural networks, Bidirectional Encoder Representations of Transformers (BERT), and the robust optimized BERT approach called RoBERTa, were implemented and compared with traditional machine learning methods to identify the most effective method. Extensive testing revealed that BERT achieved the best result, with a macro F1 score of 0.9973. Furthermore, we reported the carbon emissions generated during the training of each implemented method. This study makes a unique contribution by focusing on negative emotions in Spanish, leveraging one of the largest and highest-quality corpora available. It stands out for implementing advanced transformers such as RoBERTa and integrating combined and syntactic n-grams in traditional methods. Furthermore, it highlights how parameters, features, and preprocessing significantly influence performance.
期刊介绍:
Cyberpsychology, Behavior, and Social Networking is a leading peer-reviewed journal that is recognized for its authoritative research on the social, behavioral, and psychological impacts of contemporary social networking practices. The journal covers a wide range of platforms, including Twitter, Facebook, internet gaming, and e-commerce, and examines how these digital environments shape human interaction and societal norms.
For over two decades, this journal has been a pioneering voice in the exploration of social networking and virtual reality, establishing itself as an indispensable resource for professionals and academics in the field. It is particularly celebrated for its swift dissemination of findings through rapid communication articles, alongside comprehensive, in-depth studies that delve into the multifaceted effects of interactive technologies on both individual behavior and broader societal trends.
The journal's scope encompasses the full spectrum of impacts—highlighting not only the potential benefits but also the challenges that arise as a result of these technologies. By providing a platform for rigorous research and critical discussions, it fosters a deeper understanding of the complex interplay between technology and human behavior.