CLCYApr 22, 2025

Few-shot Hate Speech Detection Based on the MindSpore Framework

arXiv:2504.15987v12 citationsh-index: 2
Originality Incremental advance
AI Analysis

This work addresses the problem of detecting hate speech on social media in low-resource settings, offering an incremental improvement over existing methods.

The paper tackled few-shot hate speech detection by proposing MS-FSLHate, a prompt-enhanced neural framework with adversarial data augmentation, which outperformed baselines in precision, recall, and F1-score on HateXplain and HSOL datasets.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes