A Framework for Arabic Cyberbullying Detection Using Large Language Models
Abstract
Cyberbullying has become a serious issue that social media faces today, as users can post harmful and abusive content. The detection of cyberbullying in Arabic is challenging because of the intricate linguistic structure of this language. Recent studies have proposed using transformer-based architectures to detect Arabic cyberbullying; however, most of these studies rely on encoder-only architectures such as BERT and AraBERT, while the use of decoder-based large language models remains limited. Therefore, in this study, we propose using the decoderbased Qwen3-8B LLM for detecting Arabic cyberbullying. The task is formulated as an instruction-based binary classification problem. We conducted experiments across different configurations, including zero-shot, few-shot in-context learning, fewshot fine-tuning, and full fine-tuning. Furthermore, we compared the results with the AraBERT architecture across multiple configurations. We used a balanced dataset of 18,012 YouTube comments to evaluate and fine-tune the models. Our findings show trade-offs between performance and efficiency and offer guidance for model selection based on deployment requirements.