Few-shot Hate Speech Detection Based on the MindSpore Framework
Not on the map. Why?
Abstract (arXiv)
The proliferation of hate speech on social media poses a significant threat to online communities, requiring effective detection systems. While deep learning models have shown promise, their performance often deteriorates in few-shot or low-resource settings due to reliance on large annotated corpora. To address this, we propose MS-FSLHate, a prompt-enhanced neural framework for few-shot hate speech detection implemented on the MindSpore deep learning platform. The model integrates learnable prompt embeddings, a CNN-BiLSTM backbone with attention pooling, and synonym-based adversarial data augmentation to improve generalization. Experimental results on two benchmark datasets-HateXplain and HSOL-demonstrate that our approach outperforms competitive baselines in precision, recall, and F1-score. Additionally, the framework shows high efficiency and scalability, suggesting its suitability for deployment in resource-constrained environments. These findings highlight the potential of combining prompt-based learning with adversarial augmentation for robust and adaptable hate speech detection in few-shot scenarios.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 12 of its 25 references that are in the map. First posted on arXiv 22 Apr 2025.
Builds on
12 of 25 references.
References · 12
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
- 2018FewRel: A Large-Scale Supervised Few-Shot Relation Classification Dataset with State-of-the-Art Evaluationcited by 254
- 2019Meta-Learning without Memorizationcited by 92
- 2021FLEX: Unifying Evaluation for Few-Shot NLPcited by 67
- 2020On Episodes, Prototypical Networks, and Few-shot Learningcited by 46
- 2022Toxicity Detection with Generative Prompt-based Inferencecited by 35
- 2023Enhancing Zero-Shot Crypto Sentiment with Fine-tuned Language Model and Prompt Engineeringcited by 2
Built on by
Citing papers per year: 2025: 1.
1 paper.