Unveiling Social Media Comments with a Novel Named Entity Recognition System for Identity Groups

Read original: arXiv:2405.13011 - Published 5/24/2024 by Andr'es Carvallo, Tamara Quiroga, Carlos Aspillaga, Marcelo Mendoza
Total Score

0

👁️

Sign in to get full access

or

If you already have an account, we'll log you in

Overview

  • This paper presents a novel approach to detecting hate speech on social media platforms.
  • The researchers developed a Named Entity Recognition (NER) system to identify identity groups mentioned in potentially hateful text.
  • This goes beyond traditional hate speech detection, which typically focuses on classifying entire sentences or posts as hateful or not.
  • The NER system can accurately tag the specific entities (e.g., ethnicities, genders, sexual orientations) that are being targeted in hateful content.

Plain English Explanation

Social media has become a battleground where some users attack and harass others, often targeting specific identity groups. To counter this, platforms usually try to detect hateful language and block or report the offending users. Typical hate speech detection methods rely on classifying entire posts or comments as hateful or not, but this can be challenging given the huge volume of content.

In this study, the researchers took a more targeted approach. They developed a Named Entity Recognition (NER) system that can identify the specific identity groups (e.g., ethnicities, genders, sexual orientations) being mentioned in potentially hateful text. This allows the system to not only detect that a sentence is hateful, but also pinpoint exactly which group is being attacked.

The researchers created a dataset to train the NER system, and found that it performed well, especially at identifying attacks on ethnic groups and LGBTQ+ individuals. In a case study on social media comments, the NER system accurately tagged the relevant identity groups being targeted, with very few errors.

This more granular approach to hate speech detection could help social media platforms better understand the types of attacks occurring and target their moderation efforts more effectively.

Technical Explanation

The researchers developed a Named Entity Recognition (NER) system to detect identity groups mentioned in potentially hateful text. Unlike traditional hate speech detection methods that classify entire sentences or posts, this NER system can identify the specific entities (e.g., ethnicities, genders, sexual orientations) that are being targeted.

To train the NER system, the researchers created a new dataset that extends conventional NER to recognize identity groups. They then evaluated the system's performance and found that it achieved an average F1-score of 0.75 in identifying groups, outperforming other methods in detecting attacks on ethnicities (F1-score of 0.80).

Notably, the NER system demonstrated strong generalization capabilities, achieving high F1-scores for minority groups related to sexual orientation (0.77) and gender (0.72). In a case study on social media comments, the system accurately tagged the relevant identity groups being targeted, with negligible errors in cross-category tagging.

Critical Analysis

The researchers acknowledge that their NER system is not perfect and may still make some mistakes in identifying the specific groups being targeted in hateful content. They also note that the dataset used for training may not be fully representative of the diversity of identity groups and the nuances of how they are referenced in real-world hate speech.

Additionally, while the NER system can provide more granular insights into the types of attacks occurring, the researchers do not discuss how this information could be effectively leveraged by social media platforms to address the underlying issues and protect vulnerable communities. Further research may be needed to explore the practical applications and potential limitations of this approach.

Overall, the researchers have made a valuable contribution by expanding the capabilities of hate speech detection beyond simple text classification. The NER system represents a step forward in understanding and addressing the complex dynamics of online hate.

Conclusion

This study presents a novel approach to hate speech detection on social media, using a Named Entity Recognition system to identify the specific identity groups being targeted in potentially hateful content. The researchers have demonstrated that this more granular approach can outperform traditional text classification methods, particularly in detecting attacks on vulnerable minority groups.

While the system is not perfect, it provides a promising direction for improving the ability of social media platforms to understand and address the complex and evolving landscape of online hate. By pinpointing the entities being attacked, platforms can potentially develop more targeted and effective moderation strategies to protect users and foster more inclusive, respectful online communities.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Follow @aimodelsfyi on 𝕏 →

Related Papers

👁️

Total Score

0

Unveiling Social Media Comments with a Novel Named Entity Recognition System for Identity Groups

Andr'es Carvallo, Tamara Quiroga, Carlos Aspillaga, Marcelo Mendoza

While civilized users employ social media to stay informed and discuss daily occurrences, haters perceive these platforms as fertile ground for attacking groups and individuals. The prevailing approach to counter this phenomenon involves detecting such attacks by identifying toxic language. Effective platform measures aim to report haters and block their network access. In this context, employing hate speech detection methods aids in identifying these attacks amidst vast volumes of text, which are impossible for humans to analyze manually. In our study, we expand upon the usual hate speech detection methods, typically based on text classifiers, to develop a Named Entity Recognition (NER) System for Identity Groups. To achieve this, we created a dataset that allows extending a conventional NER to recognize identity groups. Consequently, our tool not only detects whether a sentence contains an attack but also tags the sentence tokens corresponding to the mentioned group. Results indicate that the model performs competitively in identifying groups with an average f1-score of 0.75, outperforming in identifying ethnicity attack spans with an f1-score of 0.80 compared to other identity groups. Moreover, the tool shows an outstanding generalization capability to minority classes concerning sexual orientation and gender, achieving an f1-score of 0.77 and 0.72, respectively. We tested the utility of our tool in a case study on social media, annotating and comparing comments from Facebook related to news mentioning identity groups. The case study reveals differences in the types of attacks recorded, effectively detecting named entities related to the categories of the analyzed news articles. Entities are accurately tagged within their categories, with a negligible error rate for inter-category tagging.

Read more

5/24/2024

Exploiting Hatred by Targets for Hate Speech Detection on Vietnamese Social Media Texts
Total Score

0

Exploiting Hatred by Targets for Hate Speech Detection on Vietnamese Social Media Texts

Cuong Nhat Vo, Khanh Bao Huynh, Son T. Luu, Trong-Hop Do

The growth of social networks makes toxic content spread rapidly. Hate speech detection is a task to help decrease the number of harmful comments. With the diversity in the hate speech created by users, it is necessary to interpret the hate speech besides detecting it. Hence, we propose a methodology to construct a system for targeted hate speech detection from online streaming texts from social media. We first introduce the ViTHSD - a targeted hate speech detection dataset for Vietnamese Social Media Texts. The dataset contains 10K comments, each comment is labeled to specific targets with three levels: clean, offensive, and hate. There are 5 targets in the dataset, and each target is labeled with the corresponding level manually by humans with strict annotation guidelines. The inter-annotator agreement obtained from the dataset is 0.45 by Cohen's Kappa index, which is indicated as a moderate level. Then, we construct a baseline for this task by combining the Bi-GRU-LSTM-CNN with the pre-trained language model to leverage the power of text representation of BERTology. Finally, we suggest a methodology to integrate the baseline model for targeted hate speech detection into the online streaming system for practical application in preventing hateful and offensive content on social media.

Read more

5/1/2024

🗣️

Total Score

0

Automatic Textual Normalization for Hate Speech Detection

Anh Thi-Hoang Nguyen, Dung Ha Nguyen, Nguyet Thi Nguyen, Khanh Thanh-Duy Ho, Kiet Van Nguyen

Social media data is a valuable resource for research, yet it contains a wide range of non-standard words (NSW). These irregularities hinder the effective operation of NLP tools. Current state-of-the-art methods for the Vietnamese language address this issue as a problem of lexical normalization, involving the creation of manual rules or the implementation of multi-staged deep learning frameworks, which necessitate extensive efforts to craft intricate rules. In contrast, our approach is straightforward, employing solely a sequence-to-sequence (Seq2Seq) model. In this research, we provide a dataset for textual normalization, comprising 2,181 human-annotated comments with an inter-annotator agreement of 0.9014. By leveraging the Seq2Seq model for textual normalization, our results reveal that the accuracy achieved falls slightly short of 70%. Nevertheless, textual normalization enhances the accuracy of the Hate Speech Detection (HSD) task by approximately 2%, demonstrating its potential to improve the performance of complex NLP tasks. Our dataset is accessible for research purposes.

Read more

7/26/2024

AttackER: Towards Enhancing Cyber-Attack Attribution with a Named Entity Recognition Dataset
Total Score

0

AttackER: Towards Enhancing Cyber-Attack Attribution with a Named Entity Recognition Dataset

Pritam Deka, Sampath Rajapaksha, Ruby Rani, Amirah Almutairi, Erisa Karafili

Cyber-attack attribution is an important process that allows experts to put in place attacker-oriented countermeasures and legal actions. The analysts mainly perform attribution manually, given the complex nature of this task. AI and, more specifically, Natural Language Processing (NLP) techniques can be leveraged to support cybersecurity analysts during the attribution process. However powerful these techniques are, they need to deal with the lack of datasets in the attack attribution domain. In this work, we will fill this gap and will provide, to the best of our knowledge, the first dataset on cyber-attack attribution. We designed our dataset with the primary goal of extracting attack attribution information from cybersecurity texts, utilizing named entity recognition (NER) methodologies from the field of NLP. Unlike other cybersecurity NER datasets, ours offers a rich set of annotations with contextual details, including some that span phrases and sentences. We conducted extensive experiments and applied NLP techniques to demonstrate the dataset's effectiveness for attack attribution. These experiments highlight the potential of Large Language Models (LLMs) capabilities to improve the NER tasks in cybersecurity datasets for cyber-attack attribution.

Read more

8/12/2024