---
title: "GOF at Arabic Hate Speech 2022 — paper by Mostafa et al. (2022)"
description: "The paper addresses offensive-language detection in Arabic tweets for the OSACT5 shared task. 55 references, cited by 2 papers here."
authors: ["Ali Mostafa", "Omar Mohamed", "Ali Ashraf"]
year: 2022
venue: "Proceedinsg of the 5th Workshop on Open-Source Arabic Corpora and Processing Tools with Shared Tasks on Qur'an QA and Fine-Grained Hate Speech Detection"
source: "https://aclanthology.org/2022.osact-1.21/"
licence: "CC BY-NC 4.0 (ELRA, LREC proceedings)"
licence_url: "https://creativecommons.org/licenses/by-nc/4.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/mostafa-2022-gof-arabic-hate-speech-2022/"
---
[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/mostafa-2022-gof-arabic-hate-speech-2022/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2022](https://md.research.elamur.ai/free/en/papers/2022/page/8/) / GOF at Arabic Hate Speech 2022: Breaking The Loss Function Convention For Data-Imbalanced Arabic Offensive Text Detection

# GOF at Arabic Hate Speech 2022: Breaking The Loss Function Convention For Data-Imbalanced Arabic Offensive Text Detection

**Authors:** [Ali Mostafa](https://md.research.elamur.ai/free/en/authors/ali-mostafa/), [Omar Mohamed](https://md.research.elamur.ai/free/en/authors/omar-mohamed/) and [Ali Ashraf](https://md.research.elamur.ai/free/en/authors/ali-ashraf/) · **Year:** 2022 · **Venue:** [Proceedinsg of the 5th Workshop on Open-Source Arabic Corpora and Processing Tools with Shared Tasks on Qur'an QA and Fine-Grained Hate Speech Detection](https://md.research.elamur.ai/free/en/venues/osact/) ([Workshop on Open-Source Arabic Corpora and Processing Tools with Shared Tasks 2022](https://md.research.elamur.ai/free/en/venues/osact/2022/)) · **Publisher:** [European Language Resources Association (ELRA)](https://md.research.elamur.ai/free/en/publishers/european-language-resources-association-elra/) · **Licence:** [CC BY-NC 4.0 (ELRA, LREC proceedings)](https://creativecommons.org/licenses/by-nc/4.0/)

**Links:** [Publisher's page](https://aclanthology.org/2022.osact-1.21/) · [PDF](https://aclanthology.org/2022.osact-1.21.pdf)

**Citations:** [2](https://md.research.elamur.ai/free/en/papers/mostafa-2022-gof-arabic-hate-speech-2022/cited-by/) in our library, of the 149,439 papers whose bibliographies we read

## Summary
The paper addresses offensive-language detection in Arabic tweets for the OSACT5 shared task. The core difficulty is a long-tailed label distribution. In the roughly 13k-tweet dataset of Mubarak et al. (2022), only about 35% of tweets are offensive and 11% are hate speech, and some fine-grained categories are far rarer.

The common remedy is cross-entropy with class weights set inversely to class frequency. Instead of relying on it, the authors test a set of imbalance-oriented objectives while fine-tuning several Arabic pretrained encoders, including MARBERT, MARBERTV2, QARiB and the AraBERT Twitter models. The objectives are focal, Dice, Tversky, focal Tversky and VS loss, plus label-smoothing variants. Tweets are first cleaned: URLs, mentions and emails become Arabic placeholder words, and diacritics, digits, punctuation and non-Arabic characters are removed before normalization.

Changing the loss raised macro F1 by about 0.5–2 points over weighted cross-entropy. The final ensemble of MARBERT, MARBERTV2 and QARiB reaches about 87% macro F1 on development and 85.17% on test. The study shows that the training objective is a cheap, data-free lever for skewed classification problems.

## Key points
- Data: the OSACT-2022 corpus of about 13k emoji-bearing Arabic tweets, split 70/10/20 into train, dev and test, with labels for offensive, hate speech and fine-grained hate speech.
- Losses compared:
  - Weighted CE, alone and with label smoothing
  - Focal loss, alone and with label smoothing
  - Dice, Tversky, focal Tversky and VS loss
- The best loss differed by model: VS loss for MARBERT (85.6), focal loss with label smoothing for MARBERTV2 (85.2), and Dice loss for QARiB (85.7).
- The best single system on dev was LightGBM trained on QARiB embeddings (85.798 macro F1). The MARBERTV2+MARBERT+QARiB ensemble scored 87.044 on dev (the abstract reports 86.97%) and 85.17% on test.
- Evaluation used macro precision, recall and F1, since accuracy is misleading under heavy imbalance. Captum's Integrated Gradients was used to show which tokens and emojis drove each prediction.

## Interesting ideas
- Treat the loss function as a tunable knob for rare classes, trying focal, Dice or Tversky objectives instead of defaulting to frequency-weighted cross-entropy.
- Run the same set of losses across several backbones, because the winning objective changed from model to model rather than being universal.
- Report macro-averaged F1 rather than accuracy whenever classes are skewed, so poor minority-class performance cannot hide behind majority-class hits.
- Replace URLs, mentions and emails with fixed placeholder words instead of deleting them, so the model keeps the signal that such an element was present.
- Use Integrated Gradients attributions to show which tokens pushed a prediction toward each class, making a neural decision inspectable per example.

## For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

- **I1** (tree): gparse could train with focal or Tversky loss so rare UD relations such as vocative, reparandum or dislocated are not swamped by frequent ones like nsubj or det.
- **I2** (learn): when retraining the perceptron and transformer parsers, sweep losses per architecture instead of copying one parser's best setting to the other.
- **I3** (frames): speech-act and irony detectors, where ironic or directive utterances are rare, should be scored with per-class and macro metrics in evaluation.
- **I4** (tokens): the en tokenizer could map web artifacts to typed placeholder tokens with a stable lemma and POS, keeping UD trees well-formed around them.
- **I5** (frames): any neural component in prag, such as an irony classifier, could attach token attributions to its output, supporting the requirement that every step be explainable.

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

📚 Shelves (2): [🖥️ Computer Science](https://md.research.elamur.ai/free/en/shelves/computer-science/) · 16,667 works · [🤖 Artificial Intelligence](https://md.research.elamur.ai/free/en/shelves/computer-science/artificial-intelligence/) · 16,194 works

🧭 Topics (3): [😊 Sentiment & emotion](https://md.research.elamur.ai/free/en/topics/sentiment-emotion/) · 972 works · [Semitic languages](https://md.research.elamur.ai/free/en/topics/semitic-languages/) · 2,908 works · [🛡️ Bias, fairness & safety](https://md.research.elamur.ai/free/en/topics/bias-fairness-safety/) · 517 works

## Cite

Cite as: Ali Mostafa, Omar Mohamed and Ali Ashraf. 2022. GOF at Arabic Hate Speech 2022: Breaking The Loss Function Convention For Data-Imbalanced Arabic Offensive Text Detection. Proceedinsg of the 5th Workshop on Open-Source Arabic Corpora and Processing Tools with Shared Tasks on Qur'an QA and Fine-Grained Hate Speech Detection.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{mostafa2022gof,
  title = {{GOF at Arabic Hate Speech 2022: Breaking The Loss Function Convention For Data-Imbalanced Arabic Offensive Text Detection}},
  author = {Ali Mostafa, Omar Mohamed and Ali Ashraf},
  booktitle = {Proceedinsg of the 5th Workshop on Open-Source Arabic Corpora and Processing Tools with Shared Tasks on Qur'an QA and Fine-Grained Hate Speech Detection},
  year = {2022},
  url = {https://aclanthology.org/2022.osact-1.21/}
}
```

- [← previous Fine-Tuning Approach for Arabic Offensive Language Detection System: BERT-Based Model](https://md.research.elamur.ai/free/en/papers/husain-2022-fine-tuning-approach-arabic-offensive/)
- [next → Handling Stress in Finite-State Morphological Analyzers for Ancient Greek and Ancient Hebrew](https://md.research.elamur.ai/free/en/papers/swanson-2022-handling-stress-finite-state-morphological/)
- [↑ back to papers of 2022](https://md.research.elamur.ai/free/en/papers/2022/page/8/)

## References

55 references, 32 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. Abdelali, A., Hassan, S., Mubarak, H., Darwish, K., and Samih, Y. (2021a). [Pre-training bert on arabic tweets: Practical considerations](https://md.research.elamur.ai/free/en/papers/abdelali-2021-pre-training-bert-arabic-tweets/). [↗](https://doi.org/10.48550/arxiv.2102.10684)
2. Abdelali, A., Hassan, S., Mubarak, H., Darwish, K., and Samih, Y. (2021b). [Pre-training bert on arabic tweets: Practical considerations](https://md.research.elamur.ai/free/en/papers/abdelali-2021-pre-training-bert-arabic-tweets/). arXiv preprint arXiv:2102.10684. [↗](https://arxiv.org/abs/2102.10684)
3. Abdellatif, M. and Elgammal, A. (2020). [Offensive language detection in arabic using ulmfit](https://md.research.elamur.ai/free/en/papers/abdellatif-2020-offensive-language-detection-arabic-ulmfit/). In Proceedings of the 4th Workshop on Open-Source Arabic Corpora and Processing Tools, with a Shared Task on Offensive Language Detection, pages 82–85.
4. Abdul-Mageed, M., Elmadany, A., and Nagoudi, E. M. B. (2021). [ARBERT & MARBERT: Deep bidirectional transformers for Arabic](https://md.research.elamur.ai/free/en/papers/abdul-mageed-2021-arbert-marbert-deep-bidirectional-transformers/). In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 7088–7105, Online, August. Association for Computational Linguistics. [↗](https://doi.org/10.48550/arxiv.2101.01785)
5. Agrawal, S. and Awekar, A. (2018). Deep learning for detecting cyberbullying across multiple social media platforms. In European conference on information retrieval, pages 141–153. Springer. [find](https://scholar.google.com/scholar?q=Agrawal%2C+S%2E+and+Awekar%2C+A%2E+%282018%29%2E+Deep+learning+for+detecting+cyberbullying+across+multiple+social+media+platforms%2E+In+European+conference+on+information+retrieval%2C+pages+141%E2%80%93153%2E+Springer%2E)
6. Alakrot, A., Murray, L., and Nikolov, N. S. (2018). Dataset construction for the detection of anti-social behaviour in online communication in arabic. Procedia Computer Science, 142:174–181. [find](https://scholar.google.com/scholar?q=Alakrot%2C+A%2E%2C+Murray%2C+L%2E%2C+and+Nikolov%2C+N%2E+S%2E+%282018%29%2E+Dataset+construction+for+the+detection+of+anti%2Dsocial+behaviour+in+online+communication+in+arabic%2E+Procedia+Computer+Science%2C+142%3A174%E2%80%93181%2E)
7. Bojanowski, P., Grave, E., Joulin, A., and Mikolov, T. (2017). [Enriching word vectors with subword information](https://md.research.elamur.ai/free/en/papers/bojanowski-2017-enriching-word-vectors-subword-information/). Transactions of the association for computational linguistics, 5:135–146. [↗](https://doi.org/10.1162/tacl_a_00051)
8. Cao, K., Wei, C., Gaidon, A., Arechiga, N., and Ma, T. (2019). Learning imbalanced datasets with label-distribution-aware margin loss. Advances in neural information processing systems, 32. [↗](https://doi.org/10.48550/arxiv.1906.07413)
9. Chen, D., Fisch, A., Weston, J., and Bordes, A. (2017). [Reading wikipedia to answer open-domain questions](https://md.research.elamur.ai/free/en/papers/chen-2017-reading-wikipedia-answer-open-domain/). arXiv preprint arXiv:1704.00051. [↗](https://arxiv.org/abs/1704.00051)
10. Davidson, T., Warmsley, D., Macy, M., and Weber, I. (2017). [Automated hate speech detection and the problem of offensive language](https://md.research.elamur.ai/free/en/papers/davidson-2017-automated-hate-speech-detection-problem/). In Proceedings of the International AAAI Conference on Web and Social Media, volume 11, pages 512–515. [↗](https://doi.org/10.48550/arxiv.1703.04009)
11. Devlin, J., Chang, M.-W., Lee, K., and Toutanova, K. (2018). [Bert: Pre-training of deep bidirectional transformers for language understanding](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/). arXiv preprint arXiv:1810.04805. [↗](https://arxiv.org/abs/1810.04805)
12. Dice, L. R. (1945). Measures of the amount of ecologic association between species. Ecology, 26(3):297– 302. [↗](https://doi.org/10.2307/1932409)
13. Djandji, M., Baly, F., Antoun, W., and Hajj, H. (2020). [Multi-task learning using arabert for offensive language detection](https://md.research.elamur.ai/free/en/papers/djandji-2020-multi-task-learning-arabert-offensive/). In Proceedings of the 4th Workshop on Open-Source Arabic Corpora and Processing Tools, with a Shared Task on Offensive Language Detection, pages 97–101.
14. El-Khair, I. A. (2016). [1.5 billion words arabic corpus](https://md.research.elamur.ai/free/en/papers/el-khair-2016-1-5-billion-words-arabic/). arXiv preprint arXiv:1611.04033. [↗](https://arxiv.org/abs/1611.04033)
15. Elmadany, A., Zhang, C., Abdul-Mageed, M., and Hashemi, A. (2020). [Leveraging affective bidirectional transformers for offensive language detection](https://md.research.elamur.ai/free/en/papers/elmadany-2020-leveraging-affective-bidirectional-transformers-offensive/). arXiv preprint arXiv:2006.01266. [↗](https://arxiv.org/abs/2006.01266)
16. Farha, I. A. and Magdy, W. (2020). [Multitask learning for arabic offensive language and hate-speech detection](https://md.research.elamur.ai/free/en/papers/farha-2020-multitask-learning-arabic-offensive-language/). In Proceedings of the 4th workshop on open-source Arabic corpora and processing tools, with a shared task on offensive language detection, pages 86–90.
17. Gupta, A., Pal, A., Khurana, B., Tyagi, L., and Modi, A. (2021). Humor@IITK at SemEval-2021 task 7: Large language models for quantifying humor and offensiveness. In Proceedings of the 15th International Workshop on Semantic Evaluation (SemEval-2021), pages 290–296, Online, August. Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=Gupta%2C+A%2E%2C+Pal%2C+A%2E%2C+Khurana%2C+B%2E%2C+Tyagi%2C+L%2E%2C+and+Modi%2C+A%2E+%282021%29%2E+Humor%40IITK+at+SemEval%2D2021+task+7%3A+Large+language+models+for+quantifying+humor+and+offensiveness%2E+In+Proceedings+of+the+15th+Internatio)
18. Hada, R., Sudhir, S., Mishra, P., Yannakoudakis, H., Mohammad, S. M., and Shutova, E. (2021). [Ruddit: Norms of offensiveness for English Reddit comments](https://md.research.elamur.ai/free/en/papers/hada-2021-ruddit-norms-offensiveness-english-reddit/). In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 2700– 2717, Online, August. Association for Computational Linguistics.
19. Haddad, B., Orabe, Z., Al-Abood, A., and Ghneim, N. (2020). [Arabic offensive language detection with attention-based deep neural networks](https://md.research.elamur.ai/free/en/papers/haddad-2020-arabic-offensive-language-detection-attention/). In Proceedings of the 4th Workshop on Open-Source Arabic Corpora and Processing Tools, with a Shared Task on Offensive Language Detection, pages 76–81. [↗](https://doi.org/10.5281/zenodo.19687050)
20. Hashemi, S. R., Salehi, S. S. M., Erdogmus, D., Prabhu, S. P., Warfield, S. K., and Gholipour, A. (2018). Tversky as a loss function for highly unbalanced image segmentation using 3d fully convolutional deep networks. arXiv preprint arXiv:1803.11078. [↗](https://arxiv.org/abs/1803.11078)
21. Hassan, S., Samih, Y., Mubarak, H., Abdelali, A., Rashed, A., and Chowdhury, S. A. (2020). [Alt submission for osact shared task on offensive language detection](https://md.research.elamur.ai/free/en/papers/hassan-2020-alt-submission-osact-shared-task/). In Proceedings of the 4th Workshop on Open-Source Arabic Corpora and Processing Tools, with a Shared Task on Offensive Language Detection, pages 61–65.
22. Hegazi, M. O., Al-Dossari, Y., Al-Yahy, A., Al-Sumari, A., and Hilal, A. (2021). Preprocessing arabic text on social media. Heliyon, 7(2):e06191. [↗](https://doi.org/10.1016/j.heliyon.2021.e06191)
23. Howard, J. and Ruder, S. (2018). Universal language model fine-tuning for text classification. arXiv preprint arXiv:1801.06146. [↗](https://arxiv.org/abs/1801.06146)
24. Huang, C., Li, Y., Loy, C. C., and Tang, X. (2016). Learning deep representation for imbalanced classification. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 5375–5384. [find](https://scholar.google.com/scholar?q=Huang%2C+C%2E%2C+Li%2C+Y%2E%2C+Loy%2C+C%2E+C%2E%2C+and+Tang%2C+X%2E+%282016%29%2E+Learning+deep+representation+for+imbalanced+classification%2E+In+Proceedings+of+the+IEEE+conference+on+computer+vision+and+pattern+recognition%2C+pages+)
25. Husain, F. (2020). [Osact4 shared task on offensive language detection: Intensive preprocessing-based approach](https://md.research.elamur.ai/free/en/papers/husain-2020-osact4-shared-task-offensive-language/). arXiv preprint arXiv:2005.07297. [↗](https://arxiv.org/abs/2005.07297)
26. Keleg, A., El-Beltagy, S. R., and Khalil, M. (2020). [Asu opto at osact4-offensive language detection for arabic text](https://md.research.elamur.ai/free/en/papers/keleg-2020-asu-opto-osact4-offensive-language/). In Proceedings of the 4th Workshop on Open-Source Arabic Corpora and Processing Tools, with a Shared Task on Offensive Language Detection, pages 66–70.
27. Kini, G. R., Paraskevas, O., Oymak, S., and Thrampoulidis, C. (2021). Label-imbalanced and group-sensitive classification under overparameterization. Advances in Neural Information Processing Systems, 34. [↗](https://doi.org/10.48550/arxiv.2103.01550)
28. Kokhlikyan, N., Miglani, V., Martin, M., Wang, E., Alsallakh, B., Reynolds, J., Melnikov, A., Kliushkina, N., Araya, C., Yan, S., et al. (2020). Captum: A unified and generic model interpretability library for pytorch. arXiv preprint arXiv:2009.07896. [↗](https://arxiv.org/abs/2009.07896)
29. Lample, G., Ballesteros, M., Subramanian, S., Kawakami, K., and Dyer, C. (2016). [Neural architectures for named entity recognition](https://md.research.elamur.ai/free/en/papers/lample-2016-neural-architectures-named-entity-recognition/). arXiv preprint arXiv:1603.01360. [↗](https://arxiv.org/abs/1603.01360)
30. Li, X., Sun, X., Meng, Y., Liang, J., Wu, F., and Li, J. (2019). [Dice loss for data-imbalanced nlp tasks](https://md.research.elamur.ai/free/en/papers/li-2020-dice-loss-data-imbalanced-nlp/). arXiv preprint arXiv:1911.02855. [↗](https://arxiv.org/abs/1911.02855)
31. Lin, T.-Y., Goyal, P., Girshick, R., He, K., and Dollár, P. (2017). [Focal loss for dense object detection](https://md.research.elamur.ai/free/en/papers/lin-2017-focal-loss-dense-object-detection/). In Proceedings of the IEEE international conference on computer vision, pages 2980–2988. [↗](https://doi.org/10.1109/tpami.2018.2858826)
32. Lison, P. and Tiedemann, J. (2016). [OpenSubtitles2016: Extracting large parallel corpora from movie and TV subtitles](https://md.research.elamur.ai/free/en/papers/lison-2016-opensubtitles2016-extracting-large-parallel-corpora/). In Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC’16), pages 923–929, Portorož, Slovenia, May. European Language Resources Association (ELRA).
33. Ma, X. and Hovy, E. (2016). [End-to-end sequence labeling via bi-directional lstm-cnns-crf](https://md.research.elamur.ai/free/en/papers/ma-2016-end-end-sequence-labeling-bi/). arXiv preprint arXiv:1603.01354. [↗](https://arxiv.org/abs/1603.01354)
34. Mahajan, D., Girshick, R., Ramanathan, V., He, K., Paluri, M., Li, Y., Bharambe, A., and Van Der Maaten, L. (2018). Exploring the limits of weakly supervised pretraining. In Proceedings of the European conference on computer vision (ECCV), pages 181–196. [find](https://scholar.google.com/scholar?q=Mahajan%2C+D%2E%2C+Girshick%2C+R%2E%2C+Ramanathan%2C+V%2E%2C+He%2C+K%2E%2C+Paluri%2C+M%2E%2C+Li%2C+Y%2E%2C+Bharambe%2C+A%2E%2C+and+Van+Der+Maaten%2C+L%2E+%282018%29%2E+Exploring+the+limits+of+weakly+supervised+pretraining%2E+In+Proceedings+of+the+Europea)
35. McCann, B., Keskar, N. S., Xiong, C., and Socher, R. (2018). [The natural language decathlon: Multi-task learning as question answering](https://md.research.elamur.ai/free/en/papers/mccann-2018-natural-language-decathlon-multitask-learning/). arXiv preprint arXiv:1806.08730. [↗](https://arxiv.org/abs/1806.08730)
36. Meng, Y., Wu, W., Wang, F., Li, X., Nie, P., Yin, F., Li, M., Han, Q., Sun, X., and Li, J. (2019). Glyce: Glyph-vectors for chinese character representations. Advances in Neural Information Processing Systems, 32. [↗](https://doi.org/10.48550/arxiv.1901.10125)
37. Mikolov, T., Sutskever, I., Chen, K., Corrado, G. S., and Dean, J. (2013). [Distributed representations of words and phrases and their compositionality](https://md.research.elamur.ai/free/en/papers/mikolov-2013-distributed-representations-words-phrases-their/). Advances in neural information processing systems, 26. [↗](https://doi.org/10.48550/arxiv.1310.4546)
38. Milletari, F., Navab, N., and Ahmadi, S.-A. (2016). V-net: Fully convolutional neural networks for volumetric medical image segmentation. In 2016 fourth international conference on 3D vision (3DV), pages 565–571. IEEE. [find](https://scholar.google.com/scholar?q=Milletari%2C+F%2E%2C+Navab%2C+N%2E%2C+and+Ahmadi%2C+S%2E%2DA%2E+%282016%29%2E+V%2Dnet%3A+Fully+convolutional+neural+networks+for+volumetric+medical+image+segmentation%2E+In+2016+fourth+international+conference+on+3D+vision+%283DV%29%2C+pa)
39. Mubarak, H. and Darwish, K. (2019). Arabic offensive language classification on twitter. In International Conference on Social Informatics, pages 269–276. Springer. [find](https://scholar.google.com/scholar?q=Mubarak%2C+H%2E+and+Darwish%2C+K%2E+%282019%29%2E+Arabic+offensive+language+classification+on+twitter%2E+In+International+Conference+on+Social+Informatics%2C+pages+269%E2%80%93276%2E+Springer%2E)
40. Mubarak, H., Darwish, K., and Magdy, W. (2017). [Abusive language detection on Arabic social media](https://md.research.elamur.ai/free/en/papers/mubarak-2017-abusive-language-detection-arabic-social/). In Proceedings of the First Workshop on Abusive Language Online, pages 52–56, Vancouver, BC, Canada, August. Association for Computational Linguistics.
41. Mubarak, H., Darwish, K., Magdy, W., Elsayed, T., and Al-Khalifa, H. (2020). [Overview of osact4 arabic offensive language detection shared task](https://md.research.elamur.ai/free/en/papers/mubarak-2020-overview-osact4-arabic-offensive-language/). In Proceedings of the 4th Workshop on open-source arabic corpora and processing tools, with a shared task on offensive language detection, pages 48–52.
42. Mubarak, H., Hassan, S., and Chowdhury, S. A. (2022). [Emojis as anchors to detect arabic offensive language and hate speech](https://md.research.elamur.ai/free/en/papers/mubarak-2022-emojis-anchors-detect-arabic-offensive/). arXiv preprint arXiv:2201.06723. [↗](https://arxiv.org/abs/2201.06723)
43. Müller, R., Kornblith, S., and Hinton, G. E. (2019). When does label smoothing help? Advances in neural information processing systems, 32. [find](https://scholar.google.com/scholar?q=Mu%CC%88ller%2C+R%2E%2C+Kornblith%2C+S%2E%2C+and+Hinton%2C+G%2E+E%2E+%282019%29%2E+When+does+label+smoothing+help%3F+Advances+in+neural+information+processing+systems%2C+32%2E)
44. Nagoudi, E. M. B., Elmadany, A., Abdul-Mageed, M., and Alhindi, T. (2020). [Machine generation and detection of Arabic manipulated and fake news](https://md.research.elamur.ai/free/en/papers/nagoudi-2020-machine-generation-detection-arabic-manipulated/). In Proceedings of the Fifth Arabic Natural Language Processing Workshop, pages 69–84, Barcelona, Spain (Online), December. Association for Computational Linguistics. [↗](https://doi.org/10.48550/arxiv.2011.03092)
45. Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., Desmaison, A., Kopf, A., Yang, E., De-Vito, Z., Raison, M., Tejani, A., Chilamkurthy, S., Steiner, B., Fang, L., Bai, J., and Chintala, S. (2019). [Pytorch: An imperative style, high-performance deep learning library](https://md.research.elamur.ai/free/en/papers/paszke-2019-pytorch-imperative-style-high-performance/). In H. Wallach, et al., editors, Advances in Neural Information Processing Systems 32, pages 8024–8035. Curran Associates, Inc. [↗](https://doi.org/10.48550/arxiv.1912.01703)
46. Saeed, H. H., Calders, T., and Kamiran, F. (2020). [Osact4 shared tasks: Ensembled stacked classification for offensive and hate speech in arabic tweets](https://md.research.elamur.ai/free/en/papers/saeed-2020-osact4-shared-tasks-ensembled-stacked/). In Proceedings of the 4th Workshop on Open-Source Arabic Corpora and Processing Tools, with a Shared Task on Offensive Language Detection, pages 71–75.
47. Soliman, A. B., Eissa, K., and El-Beltagy, S. R. (2017). Aravec: A set of arabic word embedding models for use in arabic nlp. Procedia Computer Science, 117:256–265. [find](https://scholar.google.com/scholar?q=Soliman%2C+A%2E+B%2E%2C+Eissa%2C+K%2E%2C+and+El%2DBeltagy%2C+S%2E+R%2E+%282017%29%2E+Aravec%3A+A+set+of+arabic+word+embedding+models+for+use+in+arabic+nlp%2E+Procedia+Computer+Science%2C+117%3A256%E2%80%93265%2E)
48. Sorensen, T. A. (1948). A method of establishing groups of equal amplitude in plant sociology based on similarity of species content and its application to analyses of the vegetation on danish commons. Biol. Skar., 5:1–34. [find](https://scholar.google.com/scholar?q=Sorensen%2C+T%2E+A%2E+%281948%29%2E+A+method+of+establishing+groups+of+equal+amplitude+in+plant+sociology+based+on+similarity+of+species+content+and+its+application+to+analyses+of+the+vegetation+on+danish+commons)
49. Suárez, P. J. O., Sagot, B., and Romary, L. (2019). Asynchronous pipeline for processing huge corpora on medium to low resource infrastructures. In 7th Workshop on the Challenges in the Management of Large Corpora (CMLC-7). Leibniz-Institut für Deutsche Sprache. [find](https://scholar.google.com/scholar?q=Sua%CC%81rez%2C+P%2E+J%2E+O%2E%2C+Sagot%2C+B%2E%2C+and+Romary%2C+L%2E+%282019%29%2E+Asynchronous+pipeline+for+processing+huge+corpora+on+medium+to+low+resource+infrastructures%2E+In+7th+Workshop+on+the+Challenges+in+the+Management+of)
50. Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., and Wojna, Z. (2016). Rethinking the inception architecture for computer vision. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2818–2826. [↗](https://doi.org/10.48550/arxiv.1512.00567)
51. Tversky, A. (1977). Features of similarity. Psychological review, 84(4):327. [↗](https://doi.org/10.1037/0033-295x.84.4.327)
52. Wang, Y.-X., Ramanan, D., and Hebert, M. (2017). Learning to model the tail. Advances in Neural Information Processing Systems, 30. [find](https://scholar.google.com/scholar?q=Wang%2C+Y%2E%2DX%2E%2C+Ramanan%2C+D%2E%2C+and+Hebert%2C+M%2E+%282017%29%2E+Learning+to+model+the+tail%2E+Advances+in+Neural+Information+Processing+Systems%2C+30%2E)
53. Wolpert, D. H. and Macready, W. G. (1997). No free lunch theorems for optimization. IEEE transactions on evolutionary computation, 1(1):67–82. [↗](https://doi.org/10.1109/4235.585893)
54. Yu, A. W., Dohan, D., Luong, M.-T., Zhao, R., Chen, K., Norouzi, M., and Le, Q. V. (2018). [Qanet: Combining local convolution with global self-attention for reading comprehension](https://md.research.elamur.ai/free/en/papers/yu-2018-qanet-combining-local-convolution-global/). arXiv preprint arXiv:1804.09541. [↗](https://arxiv.org/abs/1804.09541)
55. Zeroual, I., Goldhahn, D., Eckart, T., and Lakhouaja, A. (2019). [OSIAN: Open source international Arabic news corpus - preparation and integration into the CLARIN-infrastructure](https://md.research.elamur.ai/free/en/papers/zeroual-2019-osian-open-source-international-arabic/). In Proceedings of the Fourth Arabic Natural Language Processing Workshop, pages 175–182, Florence, Italy, August. Association for Computational Linguistics. [↗](https://doi.org/10.60692/vm65h-ach57)

*Updated 1 November 2026*
